blockTable

Number of occupants read from CombiTimeTable

Extends from BaseClasses.PartialOccupants (Partial for defining the number of occupants).

Parameters

TypeNameDefaultDescription
BooleanuseInput (from PartialOccupants)false=true to use external input
Booleanlinearise (from PartialOccupants)For linearisation checks
Modelica.Units.SI.AreaA (from PartialOccupants)Zone surface area
Table data definition
BooleantableOnFilefalse= true, if table is defined on file or in function usertab
Real[:,:]tablefill(0.0, 0, 2)Table matrix (time = first column; e.g., table=[0,2])
StringtableName"NoName"Table name on file or in function usertab (see docu)
StringfileName"NoName"File where matrix is stored
BooleanverboseReadtrue= true, if info message that file is loading is to be printed
Table data interpretation
IntegercolumnColumn of table that is used
Modelica.Blocks.Types.SmoothnesssmoothnessModelica.Blocks.Types.Smoothness.LinearSegmentsSmoothness of table interpolation
Modelica.Blocks.Types.ExtrapolationextrapolationModelica.Blocks.Types.Extrapolation.LastTwoPointsExtrapolation of data outside the definition range
Real[:]offset{0}Offsets of output signals
Modelica.Units.SI.TimestartTime0Output = offset for time < startTime
Modelica.Units.SI.TimetimeScale1Time scale of first table column

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputnOcc (from PartialOccupants)Number of occupants
Modelica.Blocks.Interfaces.RealInputyOcc (from PartialOccupants)Input for number of occupants

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.CombiTimeTablecombiTimeTableTable for reading number of occupants from file

Revisions

  • August 21, 2018 by Damien Picard:
    Added assert statement such that this model cannot be used when linearizing as it would lead to an error. See #812.
  • July 26, 2018 by Filip Jorissen:
    First implementation See #760.