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.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Controls.OBC.CDL.Utilities.Validation.Assert Assert Validate the Assert block

Buildings.Controls.OBC.CDL.Utilities.Validation.Assert Buildings.Controls.OBC.CDL.Utilities.Validation.Assert

Validate the Assert block

Buildings.Controls.OBC.CDL.Utilities.Validation.Assert

Information

Validation test for the block Buildings.Controls.OBC.CDL.Utilities.Assert.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model Assert "Validate the Assert block" extends Modelica.Icons.Example; Buildings.Controls.OBC.CDL.Utilities.Assert assert(message="input became false") "Trigger warning and print warning message"; Buildings.Controls.OBC.CDL.Logical.Sources.Pulse booPul(period=0.5) "Output boolean pulse"; equation connect(booPul.y, assert.u); end Assert;