Buildings.Controls.OBC.CDL.Utilities.Validation
Collection of models that validate the utilities blocks of the CDL
Information
This package contains models that validate the blocks in Buildings.Controls.OBC.CDL.Utilities.
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 |
---|---|
Assert | Validate the Assert block |
SunRiseSet | Test model for the block SunRiseSet |
SunRiseSetNegativeStartTime | Test model for the block SunRiseSet with negative start time |
SunRiseSetPositiveStartTime | Test model for the block SunRiseSet with positive start time |
Buildings.Controls.OBC.CDL.Utilities.Validation.Assert
Validate the Assert block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Utilities.Assert.
Modelica definition
Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet
Test model for the block SunRiseSet
Information
This example includes four instances of the Buildings.Controls.OBC.CDL.Utilities.SunRiseSet block: Two normal cases, an arctic and antarctic case. The normal cases are represented by San Francisco and Sydney, where there is a sunrise and sunset every day.
Above the arctic circle and below the antarctic circle, in winter and summer there is a period in which there is no sunset and sunrise for a few days. Hence, the output signals of the block remain constant.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime
Test model for the block SunRiseSet with negative start time
Information
This example includes 4 tests for the Buildings.Controls.OBC.CDL.Utilities.SunRiseSet block: 2 normal cases, an arctic and antarctic case. The normal cases are represented by San Francisco and Sydney, where there is a sunrise and sunset every day.
This model starts the simulation from -12 hour instead of 0.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime
Test model for the block SunRiseSet with positive start time
Information
This example includes 4 tests for the Buildings.Controls.OBC.CDL.Utilities.SunRiseSet block: 2 normal cases, an arctic and antarctic case. The normal cases are represented by San Francisco and Sydney, where there is a sunrise and sunset every day.
This model starts the simulation from 12 hour instead of 0.
Extends from Modelica.Icons.Example (Icon for runnable examples).