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.
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
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.
Modelica definition
 Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal
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.
Modelica definition
 Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck
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.
Modelica definition
 Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal
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.
Modelica definition
 Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger
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.
