LBL logo

Buildings.Rooms.Examples.BESTEST.BaseClasses

Package with base classes for Buildings.Rooms.Examples.BESTEST

Information

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).

Package Content

NameDescription
Buildings.Rooms.Examples.BESTEST.BaseClasses.DaySchedule DaySchedule Schedule that repeats every day


Buildings.Rooms.Examples.BESTEST.BaseClasses.DaySchedule Buildings.Rooms.Examples.BESTEST.BaseClasses.DaySchedule

Schedule that repeats every day

Buildings.Rooms.Examples.BESTEST.BaseClasses.DaySchedule

Information

Extends from Modelica.Blocks.Sources.CombiTimeTable (Table look-up with respect to time and linear/perodic extrapolation methods (data from matrix/file)).

Parameters

TypeNameDefaultDescription
table data definition
BooleantableOnFilefalse= true, if table is defined on file or in function usertab
Realtable[:, :]fill(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
table data interpretation
Integercolumns[:]2:size(table, 2)Columns of table to be interpolated
SmoothnesssmoothnessModelica.Blocks.Types.Smooth...Smoothness of table interpolation
ExtrapolationextrapolationModelica.Blocks.Types.Extrap...Extrapolation of data outside the definition range
Realoffset[:]fill(0, size(table, 2) - 1)Offsets of output signals
TimestartTime0Output = offset for time < startTime [s]

Connectors

TypeNameDescription
output RealOutputy[nout]Connector of Real output signals

Modelica definition

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;

Automatically generated Tue Jan 8 08:31:55 2013.