Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.

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.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.ExhaustDamper ExhaustDamper Validate of the controller for actuated exhaust damper without fan
Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.OutsideAirFlow OutsideAirFlow Validate the model of calculating minimum outdoor airflow setpoint
Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.VAVSupply_T VAVSupply_T Validation model for outdoor minus room air temperature
Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.VAVSupply_u VAVSupply_u Validation model for control input

Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.ExhaustDamper Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.ExhaustDamper

Validate of the controller for actuated exhaust damper without fan

Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.ExhaustDamper

Information

This example validates Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.ExhaustDamper.

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

Modelica definition

model ExhaustDamper "Validate of the controller for actuated exhaust damper without fan" extends Modelica.Icons.Example; Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.ExhaustDamper exhDamPos "Block of controlling actuated exhaust damper without fan"; Buildings.Controls.OBC.CDL.Logical.Sources.Constant supFan(k=true) "Supply fan status"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp outDamPos( duration=1200, startTime=0, height=0.6, offset=0.4) "Outdoor air damper position"; equation connect(supFan.y, exhDamPos.uFan); connect(outDamPos.y, exhDamPos.uOutDamPos); end ExhaustDamper;

Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.OutsideAirFlow Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.OutsideAirFlow

Validate the model of calculating minimum outdoor airflow setpoint

Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.OutsideAirFlow

Information

This example validates Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.OutsideAirFlow.

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

Modelica definition

model OutsideAirFlow "Validate the model of calculating minimum outdoor airflow setpoint" extends Modelica.Icons.Example; Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.OutsideAirFlow outAirSet_SinZon(AFlo=40, have_occSen=true) "Block to output minimum outdoor airflow rate for system with single zone "; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp numOfOcc(height=4, duration=3600) "Number of occupant detected in zone"; protected Buildings.Controls.OBC.CDL.Logical.Sources.Constant winSta(k=false) "Window status"; Buildings.Controls.OBC.CDL.Logical.Sources.Constant supFan(k=true) "Supply fan status"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp TZon( height=6, offset=273.15 + 17, duration=3600) "Measured zone temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp TDis( height=4, duration=3600, offset=273.15 + 18) "Terminal unit discharge air temperature"; Buildings.Controls.OBC.CDL.Integers.Sources.Constant opeMod(final k=Buildings.Controls.OBC.ASHRAE.G36_PR1.Types.OperationModes.occupied) "AHU operation mode is Occupied"; equation connect(numOfOcc.y, outAirSet_SinZon.nOcc); connect(winSta.y, outAirSet_SinZon.uWin); connect(TZon.y, outAirSet_SinZon.TZon); connect(outAirSet_SinZon.uOpeMod, opeMod.y); connect(supFan.y, outAirSet_SinZon.uSupFan); connect(TDis.y, outAirSet_SinZon.TDis); end OutsideAirFlow;

Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.VAVSupply_T Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.VAVSupply_T

Validation model for outdoor minus room air temperature

Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.VAVSupply_T

Information

This example validates Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.VAVSupply for a change in temperature difference between zone air and outdoor air. Hence, this model validates whether the adjustment of the fan speed for medium cooling load is correct implemented.

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

Modelica definition

model VAVSupply_T "Validation model for outdoor minus room air temperature" extends Modelica.Icons.Example; Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.VAVSupply setPoiVAV( yHeaMax=0.7, yMin=0.3, TMax=303.15, TMin=289.15, yCooMax=0.9) "Block that computes the setpoints for temperature and fan speed"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant uHea(k=0) "Heating control signal"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant uCoo(k=0.6) "Cooling control signal"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp TOut( duration=1, height=18, offset=273.15 + 10) "Outdoor air temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TZon(k=273.15 + 22) "Zone temperature"; Buildings.Controls.OBC.CDL.Continuous.Add dT(k2=-1) "Difference zone minus outdoor temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TSetZon(k=273.15 + 22) "Average zone set point"; equation connect(uCoo.y, setPoiVAV.uCoo); connect(TZon.y, setPoiVAV.TZon); connect(TOut.y, setPoiVAV.TOut); connect(uHea.y, setPoiVAV.uHea); connect(dT.u1, TZon.y); connect(dT.u2, TOut.y); connect(TSetZon.y, setPoiVAV.TSetZon); end VAVSupply_T;

Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.VAVSupply_u Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.VAVSupply_u

Validation model for control input

Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.Validation.VAVSupply_u

Information

This example validates Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.VAVSupply for different control signals.

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

Modelica definition

model VAVSupply_u "Validation model for control input" extends Modelica.Icons.Example; Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.SetPoints.VAVSupply setPoiVAV( yHeaMax=0.7, yMin=0.3, TMax=303.15, TMin=289.15) "Block that computes the setpoints for temperature and fan speed"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TZon(k=273.15 + 23) "Zone air temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TOut(k=273.15 + 21) "Outdoor temperature"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp uHea( duration=0.25, height=-1, offset=1) "Heating control signal"; Buildings.Controls.OBC.CDL.Continuous.Sources.Ramp uCoo(duration=0.25, startTime=0.75) "Cooling control signal"; Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TSetZon(k=273.15 + 22) "Average zone set point"; equation connect(TZon.y, setPoiVAV.TZon); connect(TOut.y, setPoiVAV.TOut); connect(uHea.y, setPoiVAV.uHea); connect(uCoo.y, setPoiVAV.uCoo); connect(TSetZon.y, setPoiVAV.TSetZon); end VAVSupply_u;