Buildings.Controls.OBC.CDL.SetPoints.Validation

Collection of models that validate the SetPoints blocks of the CDL

Information

This package contains models that validate the blocks in Buildings.Controls.OBC.CDL.SetPoints.

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.SetPoints.Validation.HotWaterTemperatureReset HotWaterTemperatureReset Test model for the heating curve

Buildings.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset Buildings.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset

Test model for the heating curve

Buildings.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset

Information

Example that demonstrates the use of the hot water temperature reset for a heating system. The parameters of the block heaCur are for a heating system with 60°C supply water temperature and 40°C return water temperature at an outside temperature of -10°C and a room temperature of 20°C. The offset for the temperature reset is 8 Kelvin, i.e., above 12°C outside temperature, there is no heating load. The figure below shows the computed supply and return water temperatures.

Supply and return water temperatures.

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

Modelica definition

model HotWaterTemperatureReset "Test model for the heating curve" extends Modelica.Icons.Example; Buildings.Controls.OBC.CDL.SetPoints.HotWaterTemperatureReset heaCur( m=1, TSup_nominal=333.15, TRet_nominal=313.15, TOut_nominal=263.15) "Compute the supply and return set point of heating systems with varying outdoor temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp TOut( height=40, duration=1, offset=263.15, y(unit="K")) "Outdoor temperature varying from -10 degC to 30 degC"; Buildings.Controls.OBC.CDL.SetPoints.HotWaterTemperatureReset heaCur1( m=1, dTOutHeaBal=15, TSup_nominal=333.15, TRet_nominal=313.15, TOut_nominal=263.15) "Compute the supply and return set point of heating systems with changing room setpoint temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Pulse TRoo1( offset=273.15 + 20, startTime=0.5, amplitude=-5, period=1, y(unit="K")) "Night set back from 20 degC to 15 degC"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TOut1(k=273.15 - 10, y( unit="K")) "Constant outdoor air temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TRoo(k=273.15 + 20, y( unit="K")) "Room temperature 20 degC"; equation connect(TOut1.y, heaCur1.TOut); connect(TOut.y, heaCur.TOut); connect(TRoo.y, heaCur.TSetZon); connect(TRoo1.y, heaCur1.TSetZon); end HotWaterTemperatureReset;