This package contains base classes that are used to construct the models in Buildings.Rooms.Examples.BESTEST.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Name | Description |
---|---|
DaySchedule | Schedule that repeats every day |
Type | Name | Default | Description |
---|---|---|---|
table data definition | |||
Boolean | tableOnFile | false | = true, if table is defined on file or in function usertab |
Real | table[:, :] | fill(0.0, 0, 2) | Table matrix (time = first column; e.g., table=[0,2]) |
String | tableName | "NoName" | Table name on file or in function usertab (see docu) |
String | fileName | "NoName" | File where matrix is stored |
table data interpretation | |||
Integer | columns[:] | 2:size(table, 2) | Columns of table to be interpolated |
Smoothness | smoothness | Modelica.Blocks.Types.Smooth... | Smoothness of table interpolation |
Extrapolation | extrapolation | Modelica.Blocks.Types.Extrap... | Extrapolation of data outside the definition range |
Real | offset[:] | fill(0, size(table, 2) - 1) | Offsets of output signals |
Time | startTime | 0 | Output = offset for time < startTime [s] |
Type | Name | Description |
---|---|---|
output RealOutput | y[nout] | Connector of Real output signals |
model DaySchedule "Schedule that repeats every day" extends Modelica.Blocks.Sources.CombiTimeTable( final tableOnFile=false, final tableName="NoName", final fileName="NoName", final columns=2:size(table, 2), final smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments, final extrapolation=Modelica.Blocks.Types.Extrapolation.Periodic, final offset=fill(0, size(table, 2)-1), final startTime=0); end DaySchedule;