Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.

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.

Package Content

Name Description
Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.ControlLoop ControlLoop Validate sequence of output head pressure control signal
Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE MappingWithWSE Validate sequence of specifying equipment setpoint based on head pressure control loop output
Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE MappingWithoutWSE Validate sequence of specifying equipment setpoint based on head pressure control loop output

Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.ControlLoop Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.ControlLoop

Validate sequence of output head pressure control signal

Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.ControlLoop

Information

This example validates Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.ControlLoop. It demonstrates how the head pressure control loop signal is generated.

Modelica definition

model ControlLoop "Validate sequence of output head pressure control signal" Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.ControlLoop chiHeaPreLoo "Output chiller head pressure control loop signal"; Buildings.Controls.OBC.CDL.Logical.Sources.Pulse booPul( final width=0.7, final period=5, final shift=0.5) "Head pressure control enabling status"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant TChiWatSup(k=280.15) "Measured chilled water supply temperature"; Buildings.Controls.OBC.CDL.Reals.Sources.Pulse TConWatRet( final amplitude=-11, period=5, final offset=273.15 + 20) "Measured condenser water return temperature"; equation connect(TChiWatSup.y, chiHeaPreLoo.TChiWatSup); connect(booPul.y, chiHeaPreLoo.uHeaPreEna); connect(TConWatRet.y, chiHeaPreLoo.TConWatRet); end ControlLoop;

Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE

Validate sequence of specifying equipment setpoint based on head pressure control loop output

Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE

Information

This example validates Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.MappingWithWSE. It demonstrates the setpoints control based on the output from the head pressure control loop.

The instances witWSE and noWSE show the control when the waterside economizer is enabled and disabled respectively.

Modelica definition

model MappingWithWSE "Validate sequence of specifying equipment setpoint based on head pressure control loop output" Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.MappingWithWSE witWSE "Specify setpoints for plant when waterside economizer is enabled"; Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.MappingWithWSE noWSE "Specify setpoints for plant when waterside economizer is disabled"; protected Buildings.Controls.OBC.CDL.Logical.Sources.Constant enaWSE( k=true) "Constant true"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant desPumSpe( k=0.75) "Design condenser water pump speed at current stage"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp conLoo(duration=3.5) "Control loop output"; Buildings.Controls.OBC.CDL.Logical.Not disWSE "Disabled economizer"; Buildings.Controls.OBC.CDL.Logical.Sources.Pulse enaPreCon( width=0.9, period=5) "Pressure control enabling status"; equation connect(conLoo.y, witWSE.uHeaPreCon); connect(desPumSpe.y, witWSE.desConWatPumSpe); connect(enaWSE.y, witWSE.uWSE); connect(conLoo.y, noWSE.uHeaPreCon); connect(desPumSpe.y, noWSE.desConWatPumSpe); connect(enaWSE.y, disWSE.u); connect(disWSE.y, noWSE.uWSE); connect(enaPreCon.y, witWSE.uHeaPreEna); connect(enaPreCon.y, noWSE.uHeaPreEna); end MappingWithWSE;

Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE

Validate sequence of specifying equipment setpoint based on head pressure control loop output

Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE

Information

This example validates Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.MappingWithoutWSE. It demonstrates the setpoints control based on the output from the head pressure control loop.

The instances fixPumSpe and varPumSpe show the control of the plants with the fixed speed condenser water pump and the variable speed condenser water pump, respectively.

Modelica definition

model MappingWithoutWSE "Validate sequence of specifying equipment setpoint based on head pressure control loop output" Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.MappingWithoutWSE fixPumSpe "Specify setpoints for plant with constant speed condenser water pumps"; Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.MappingWithoutWSE varPumSpe(final have_fixSpeConWatPum=false) "Specify setpoints for plant with constant speed condenser water pumps"; protected Buildings.Controls.OBC.CDL.Logical.Sources.Pulse enaPreCon( width=0.8, period=5) "Constant true"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant desPumSpe( k=0.75) "Design condenser water pump speed at current stage"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp conLoo(duration=3.5) "Control loop output"; equation connect(conLoo.y, fixPumSpe.uHeaPreCon); connect(enaPreCon.y, fixPumSpe.uHeaPreEna); connect(conLoo.y, varPumSpe.uHeaPreCon); connect(enaPreCon.y, varPumSpe.uHeaPreEna); connect(desPumSpe.y, varPumSpe.desConWatPumSpe); end MappingWithoutWSE;