Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation

Validation package

Information

This package contains validation models for the classes in Buildings.Fluid.HeatPumps.Compressors.BaseClasses.

Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.

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

Package Content

Name Description
Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection TemperatureProtection Validation of temperature protection model

Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection

Validation of temperature protection model

Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection

Information

Model that tests temperature protection functionality.

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

Modelica definition

model TemperatureProtection "Validation of temperature protection model" extends Modelica.Icons.Example; Buildings.Fluid.HeatPumps.Compressors.BaseClasses.TemperatureProtection temPro(TConMax=313.15, TEvaMin=278.15) "Temperature protection block"; Modelica.Blocks.Sources.Cosine TEva( freqHz=1, amplitude=10, offset=283.15) "Evaporator temperature"; Modelica.Blocks.Sources.Cosine TCon( freqHz=1.2, offset=303.15, amplitude=20) "Condenser temperature"; Modelica.Blocks.Sources.Constant one(k=1) "Control signal"; equation connect(TEva.y, temPro.TEva); connect(temPro.TCon, TCon.y); connect(one.y, temPro.u); end TemperatureProtection;