Buildings.Utilities.Plotters.Examples.BaseClasses.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.Utilities.Plotters.Examples.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve CoolingCoilValve Validation model for the cooling coil valve control sequence

Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve

Validation model for the cooling coil valve control sequence

Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve

Information

This model validates the cooling coil signal control sequece as implemented in B33 on the main LBNL campus.

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

Parameters

TypeNameDefaultDescription
RealTOutCooCut283.15Lower outdoor air temperature limit for enabling cooling [F]
RealTSup293.15Supply air temperature [F]
RealTSupSet289.15Supply air temperature setpoint [F]
RealTSetMinLowLim278.71Minimum supply air temperature for defining the upper limit of the valve position [F]
RealTSetMaxLowLim283.15Maximum supply air temperature for defining the upper limit of the valve position [F]
RealLowTSupSet280.37Supply air temeprature setpoint to check the limiter functionality [F]
RealfanFee0.60Fan feedback [1]

Modelica definition

model CoolingCoilValve "Validation model for the cooling coil valve control sequence" extends Modelica.Icons.Example; parameter Real TOutCooCut( final unit="F", final quantity = "ThermodynamicTemperature") = 283.15 "Lower outdoor air temperature limit for enabling cooling"; parameter Real TSup( final unit="F", final quantity = "ThermodynamicTemperature") = 293.15 "Supply air temperature"; parameter Real TSupSet( final unit="F", final quantity = "ThermodynamicTemperature") = 289.15 "Supply air temperature setpoint"; parameter Real TSetMinLowLim( final unit="F", final quantity = "ThermodynamicTemperature") = 278.71 "Minimum supply air temperature for defining the upper limit of the valve position"; parameter Real TSetMaxLowLim( final unit="F", final quantity = "ThermodynamicTemperature") = 283.15 "Maximum supply air temperature for defining the upper limit of the valve position"; parameter Real LowTSupSet( final unit="F", final quantity = "ThermodynamicTemperature") = 280.37 "Supply air temeprature setpoint to check the limiter functionality"; parameter Real fanFee( final unit="1") = 0.60 "Fan feedback"; Buildings.Utilities.Plotters.Examples.BaseClasses.CoolingCoilValve cooVal( final reverseActing=false, final alc_int_k=1/100) "Cooling valve control sequence"; Buildings.Utilities.Plotters.Examples.BaseClasses.CoolingCoilValve cooVal1( final reverseActing=false, final alc_int_k=1/100) "Cooling valve control sequence"; Buildings.Utilities.Plotters.Examples.BaseClasses.CoolingCoilValve cooVal2( final reverseActing=false, final alc_int_k=1/100) "Cooling valve control sequence"; Buildings.Utilities.Plotters.Examples.BaseClasses.CoolingCoilValve cooVal3( final reverseActing=false, final alc_int_k=1/100) "Cooling valve control sequence"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTOutAboveCutoff( final k=TOutCooCut + 5) "Outdoor air temperature is below the cutoff"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTSup( final k=TSup) "Supply air temperature"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTSupSet( final k=TSupSet) "Supply air temperature setpoint"; Buildings.Controls.OBC.CDL.Logical.Sources.Pulse uSupFan( final period=900) "Supply fan status"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uFanFee( final k=fanFee) "Supply fan feedback"; // Tests disable if it is warm outside Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTOutBelowCutoff( final k=TOutCooCut - 5) "Outdoor air temperature is above the cutoff"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTSup1( final k=TSup) "Supply air temperature"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTSupSet1( final k=TSupSet) "Supply air temperature setpoint"; Buildings.Controls.OBC.CDL.Logical.Sources.Constant uSupFan1( final k=true) "Supply fan status"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uFanFee1( final k=fanFee) "Supply fan feedback"; // Tests controler normal operation when supply air temperature is above limiter values Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTOutAboveCutoff2( final k=TOutCooCut + 5) "Outdoor air temperature is above the cutoff"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTSupSet2( final k=TSupSet) "Supply air temperature setpoint"; Buildings.Controls.OBC.CDL.Logical.Sources.Constant uSupFan2( final k=true) "Supply fan status"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uFanFee2( final k=fanFee) "Supply fan feedback"; // Tests controler operation when supply air temperature is within limiter values Buildings.Controls.OBC.CDL.Reals.Sources.Ramp uTSup2( final duration=1800, final height=4, final offset=TSupSet - 2, final startTime=0) "\"Supply air temperature\""; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTOutAboveCutoff1( final k=TOutCooCut + 5) "Outdoor air temperature is below the cutoff"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uTSupSet3( final k=LowTSupSet) "Supply air temperature setpoint"; Buildings.Controls.OBC.CDL.Logical.Sources.Constant uSupFan3( final k=true) "Supply fan status"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp uTSup3( final duration=1800, final startTime=0, final height=TSetMaxLowLim - TSetMinLowLim, final offset=TSetMinLowLim) "Supply air temperature source"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant uFanFee3( final k=fanFee) "Supply fan feedback"; equation connect(uTSup.y, cooVal.TSup); connect(uTSupSet.y, cooVal.TSupSet); connect(uTOutAboveCutoff.y, cooVal.TOut); connect(uFanFee.y, cooVal.uFanFee); connect(cooVal.uFanSta, uSupFan.y); connect(uTSup2.y, cooVal2.TSup); connect(uTSupSet2.y, cooVal2.TSupSet); connect(uTOutAboveCutoff2.y, cooVal2.TOut); connect(uFanFee2.y, cooVal2.uFanFee); connect(uSupFan2.y, cooVal2.uFanSta); connect(uTSup1.y, cooVal1.TSup); connect(uTSupSet1.y, cooVal1.TSupSet); connect(uTOutBelowCutoff.y, cooVal1.TOut); connect(uFanFee1.y, cooVal1.uFanFee); connect(uSupFan1.y, cooVal1.uFanSta); connect(uTSup3.y, cooVal3.TSup); connect(uTSupSet3.y, cooVal3.TSupSet); connect(uTOutAboveCutoff1.y, cooVal3.TOut); connect(uFanFee3.y, cooVal3.uFanFee); connect(uSupFan3.y, cooVal3.uFanSta); end CoolingCoilValve;