Buildings.Controls.OBC.CDL.Discrete.Examples
Collection of models that illustrate model use and test models
Information
This package contains examples for the use of models that can be found in Buildings.Controls.OBC.CDL.Discrete.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
DayType | Example model for the source that outputs the type of the day |
FirstOrderHold | Example model for the FirstOrderHold block |
Sampler | Example model for the Sampler block |
TriggeredMax | Example model for the TriggeredMax block |
TriggeredSampler | Example model for the TriggeredSampler block |
UnitDelay | Example model for the UnitDelay block |
ZeroOrderHold | Example model for the ZeroOrderHold block |
Buildings.Controls.OBC.CDL.Discrete.Examples.DayType
Example model for the source that outputs the type of the day
Information
This example generates signals for three different work weeks.
The instance dayTypMon
outputs a signal with five working
days, followed by two non-working days.
The instance dayTypSat
does the same, except that the first
days is a non-working day.
The instance dayTypTwoWeeks
outputs six working days, followed
by 8 non-working days.
The instance dayTypMonThr
is configured the same as
dayTypMon
, except that it outputs the type of the day
for three days, starting with the current day, then the next day and
the day after.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold
Example model for the FirstOrderHold block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Discrete.FirstOrderHold.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler
Example model for the Sampler block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Discrete.Sampler.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax
Example model for the TriggeredMax block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Discrete.TriggeredMax.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler
Example model for the TriggeredSampler block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Discrete.TriggeredSampler.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay
Example model for the UnitDelay block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Discrete.UnitDelay.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold
Example model for the ZeroOrderHold block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Discrete.ZeroOrderHold.
Extends from Modelica.Icons.Example (Icon for runnable examples).