Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.Experimental.DHC.Plants.Cooling.Controls.

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

Package Content

Name Description
Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass ChilledWaterBypass Example to test the chilled water bypass controller
Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed ChilledWaterPumpSpeed Example to test the chilled water pump speed controller
Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage ChillerStage Example to test the chiller staging controller

Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass

Example to test the chilled water bypass controller

Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass

Information

This model validates the chilled water bypass valve control logic implemented in Buildings.Experimental.DHC.Plants.Cooling.Controls.ChilledWaterBypass.

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

Modelica definition

model ChilledWaterBypass "Example to test the chilled water bypass controller" extends Modelica.Icons.Example; Buildings.Experimental.DHC.Plants.Cooling.Controls.ChilledWaterBypass chiBypCon(numChi=2, mMin_flow=0.03) "Chilled water bypass loop control"; Modelica.Blocks.Sources.BooleanTable onOne( table( each displayUnit="s")={300,900}) "On signal of the first chiller"; Modelica.Blocks.Sources.BooleanTable onTwo( table( each displayUnit="s")={600,900}) "On signal of the second chiller"; Modelica.Blocks.Sources.Sine mFloByp( amplitude=0.03, f=1/300, offset=0.03, startTime=300) "Bypass loop mass flow rate"; equation connect(mFloByp.y, chiBypCon.mFloByp); connect(onTwo.y,chiBypCon.chiOn[2]); connect(onOne.y,chiBypCon.chiOn[1]); end ChilledWaterBypass;

Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed

Example to test the chilled water pump speed controller

Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed

Information

This model validates the variable speed pump control logic implemented in Buildings.Experimental.DHC.Plants.Cooling.Controls.ChilledWaterPumpSpeed.

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

Modelica definition

model ChilledWaterPumpSpeed "Example to test the chilled water pump speed controller" extends Modelica.Icons.Example; Buildings.Experimental.DHC.Plants.Cooling.Controls.ChilledWaterPumpSpeed chiWatPumSpe( dpSetPoi=68900, tWai=30, m_flow_nominal=0.5, controllerType=Modelica.Blocks.Types.SimpleController.PI, k=1, Ti=60, Td=0.1) "Chilled water pump speed controller"; Modelica.Blocks.Sources.Pulse mFloTot( amplitude=0.4*chiWatPumSpe.m_flow_nominal, period=300, offset=0.5*chiWatPumSpe.m_flow_nominal, startTime=150) "Total chilled water mass flow rate"; Modelica.Blocks.Sources.Constant dpMea( k=0.6*chiWatPumSpe.dpSetPoi) "Measured demand side pressure difference"; equation connect(dpMea.y,chiWatPumSpe.dpMea); connect(mFloTot.y,chiWatPumSpe.masFloPum); end ChilledWaterPumpSpeed;

Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage

Example to test the chiller staging controller

Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage

Information

This model validates the chiller staging control logic implemented in Buildings.Experimental.DHC.Plants.Cooling.Controls.ChillerStage.

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

Modelica definition

model ChillerStage "Example to test the chiller staging controller" extends Modelica.Icons.Example; Buildings.Experimental.DHC.Plants.Cooling.Controls.ChillerStage chiStaCon( tWai=30, QChi_nominal=-200*3.517*1000) "Chiller staging controller"; Modelica.Blocks.Sources.BooleanTable on( table( each displayUnit="s")={300,900}) "On signal of the cooling plant"; Modelica.Blocks.Sources.Constant TRet(k=18) "Return temperature"; Modelica.Blocks.Sources.Constant TSup(k=8) "Supply temperature"; Modelica.Blocks.Sources.Sine mFlo( amplitude=0.5*chiStaCon.QChi_nominal/(-10)/4200, f=1/300, offset=0.5*chiStaCon.QChi_nominal/(-10)/4200) "Total mass flow rate"; equation connect(on.y,chiStaCon.on); connect(mFlo.y,chiStaCon.mFloChiWat); connect(TRet.y,chiStaCon.TChiWatRet); connect(TSup.y,chiStaCon.TChiWatSup); end ChillerStage;