Buildings.Utilities.Diagnostics.Validation

Collection of models that validate the diagnostics models

Information

This package contains models that validate the diagnostics models. 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.Utilities.Diagnostics.Validation.CheckEquality CheckEquality Validation model for the check equality model

Buildings.Utilities.Diagnostics.Validation.CheckEquality Buildings.Utilities.Diagnostics.Validation.CheckEquality

Validation model for the check equality model

Buildings.Utilities.Diagnostics.Validation.CheckEquality

Information

This model validates the use of the Buildings.Utilities.Diagnostics.CheckEquality.

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

Modelica definition

model CheckEquality "Validation model for the check equality model" extends Modelica.Icons.Example; Buildings.Utilities.Diagnostics.CheckEquality cheEqu "Checks for equality of the input"; Modelica.Blocks.Sources.Constant con(k=0.1) "Input"; Modelica.Blocks.Sources.Sine sin1(freqHz=1, amplitude=0.03) "Input"; Modelica.Blocks.Math.Add add "Adder to offset the sin input signal"; equation connect(con.y, cheEqu.u1); connect(add.u1, con.y); connect(sin1.y, add.u2); connect(add.y, cheEqu.u2); end CheckEquality;