Buildings.Controls.OBC.CDL.Conversions.Validation
Collection of models that validate the conversion blocks of the CDL
Information
This package contains models that validate the blocks in Buildings.Controls.OBC.CDL.Conversions.
The examples plot various outputs, which have been verified against analytical solutions. These model outputs are stored as reference data to allow continuous validation whenever models in the library change.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
BooleanToInteger | Validation model for the BooleanToInteger block |
BooleanToReal | Validation model for the BooleanToReal block |
DayTypeCheck | Model to validate blocks IsWorkingDay, IsNonWorkingDay, IsHoliday |
IntegerToReal | Validation model for the IntegerToReal block |
RealToInteger | Validation model for the RealToInteger block |
Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger
Validation model for the BooleanToInteger block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal
Validation model for the BooleanToReal block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Conversions.BooleanToReal.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck
Model to validate blocks IsWorkingDay, IsNonWorkingDay, IsHoliday
Information
This example validates the bocks IsWorkingDay
,
IsNonWorkingDay
, IsHoliday
. The instance
dayTypSat
generates DayType signals for three consecutive weeks,
with five working and two non-working days. The first day is Saturady, which
is a non-working day.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal
Validation model for the IntegerToReal block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Conversions.IntegerToReal.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger
Validation model for the RealToInteger block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Conversions.RealToInteger.
Extends from Modelica.Icons.Example (Icon for runnable examples).