Buildings.ThermalZones.Detailed.Validation.BESTEST.BaseClasses
Package with base classes for Buildings.ThermalZones.Detailed.Validation.BESTEST
Information
This package contains base classes that are used to construct the models in Buildings.ThermalZones.Detailed.Validation.BESTEST.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
DaySchedule | Schedule that repeats every day |
Buildings.ThermalZones.Detailed.Validation.BESTEST.BaseClasses.DaySchedule
Schedule that repeats every day
Information
Time schedule that is used for set points.
Extends from Buildings.Controls.OBC.CDL.Continuous.Sources.TimeTable (Table look-up with respect to time and linear or periodic extrapolation).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Real | table[:, :] | Table matrix (time = first column is time in seconds, unless timeScale <> 1) | |
Smoothness | smoothness | Buildings.Controls.OBC.CDL.T... | Smoothness of table interpolation |
Extrapolation | extrapolation | Buildings.Controls.OBC.CDL.T... | Extrapolation of data outside the definition range |
Real | offset[:] | fill(0, size(table, 2) - 1) | Offsets of output signals |
Time | timeScale | 1 | Time scale of first table column. Set to 3600 if time in table is in hours [s] |
Connectors
Type | Name | Description |
---|---|---|
output RealOutput | y[nout] | Output of the table |
Modelica definition
model DaySchedule "Schedule that repeats every day"
extends Buildings.Controls.OBC.CDL.Continuous.Sources.TimeTable(
final smoothness=Buildings.Controls.OBC.CDL.Types.Smoothness.LinearSegments,
final extrapolation=Buildings.Controls.OBC.CDL.Types.Extrapolation.Periodic,
final offset=fill(0, size(table, 2)-1));
end DaySchedule;