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

Collection of validation models

Information

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

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.Validation.Controller Controller Validation head pressure controller

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

Validation head pressure controller

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

Information

This example validates Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Controller. It demonstrates the setpoint controls according to the head pressure control. It has four instances:

Instance Waterside economizer Condenser water pump speed Note
enaWSE Yes Variable Economizer enabled
disWSE Yes Variable Economizer disabled
conSpePum No Constant n/a
varSpePum No Variable n/a

It shows the following process:

Modelica definition

model Controller "Validation head pressure controller" Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Controller enaWSE "Head pressure for plant with waterside economizer that is enabled"; Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Controller disWSE "Head pressure for plant with waterside economizer that is disabled"; Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Controller conSpePum( final have_WSE=false, have_fixSpeConWatPum=true) "Head pressure for plant without waterside economizer, constant speed condenser water pump"; Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Controller varSpePum( final have_WSE=false) "Head pressure for plant without waterside economizer, variable speed condenser water pump"; protected 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.Sin TConWatRet( final amplitude=-11, final freqHz=2/10, final offset=273.15 + 27) "Measured condenser water return temperature"; Buildings.Controls.OBC.CDL.Reals.Sources.Sin TChiWatSup( final amplitude=1, final freqHz=1/5, final offset=273.15 + 6) "Measured chilled water supply temperature"; Buildings.Controls.OBC.CDL.Logical.Sources.Constant runWSE( final k=true) "Constant true"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant desPumSpe( final k=0.75) "Design condenser water pump speed at current stage"; Buildings.Controls.OBC.CDL.Logical.Not not1 "Logical not"; equation connect(booPul.y,enaWSE.uChiHeaCon); connect(TConWatRet.y, enaWSE.TConWatRet); connect(TChiWatSup.y, enaWSE.TChiWatSup); connect(desPumSpe.y, enaWSE.desConWatPumSpe); connect(runWSE.y, enaWSE.uWSE); connect(booPul.y,disWSE.uChiHeaCon); connect(TConWatRet.y, disWSE.TConWatRet); connect(TChiWatSup.y, disWSE.TChiWatSup); connect(desPumSpe.y, disWSE.desConWatPumSpe); connect(runWSE.y, not1.u); connect(not1.y, disWSE.uWSE); connect(booPul.y,conSpePum.uChiHeaCon); connect(booPul.y,varSpePum.uChiHeaCon); connect(TConWatRet.y, conSpePum.TConWatRet); connect(TChiWatSup.y, conSpePum.TChiWatSup); connect(TConWatRet.y, varSpePum.TConWatRet); connect(TChiWatSup.y, varSpePum.TChiWatSup); connect(desPumSpe.y, varSpePum.desConWatPumSpe); end Controller;