Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation

Information

This package contains validations for the models that can be found in Buildings.Air.Systems.SingleZone.VAV.BaseClasses.

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

Package Content

Name Description
Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerChillerDXHeatingEconomizer ControllerChillerDXHeatingEconomizer Validate the block ControllerChillerDXHeatingEconomizer
Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer ControllerEconomizer Validate the block ControllerEconomizer
Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan ControllerHeatingFan Validate the block ControllerHeatingFan

Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerChillerDXHeatingEconomizer Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerChillerDXHeatingEconomizer

Validate the block ControllerChillerDXHeatingEconomizer

Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerChillerDXHeatingEconomizer

Information

Validation test for the block Buildings.Air.Systems.SingleZone.VAV.BaseClasses.ControllerChillerDXHeatingEconomizer.

The inputs include:

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

Modelica definition

model ControllerChillerDXHeatingEconomizer "Validate the block ControllerChillerDXHeatingEconomizer" extends Modelica.Icons.Example; Modelica.Blocks.Sources.Sine mixAirTem( amplitude=7.5, f=1/86400, offset=20 + 273.15) "Mixed air temperature"; Modelica.Blocks.Sources.Sine retAirTem( amplitude=10, f=1/86400, offset=21 + 273.15) "Return air temperature"; Modelica.Blocks.Sources.Sine outAirTem( f=1/86400, amplitude=6, offset=18 + 273.15) "Measured outdoor air temperature"; Buildings.Air.Systems.SingleZone.VAV.BaseClasses.ControllerChillerDXHeatingEconomizer con( TSupChi_nominal=279.15, minAirFlo=0.1, minOAFra=0.4, TSetSupAir=286.15) "Controller"; Controls.OBC.CDL.Reals.Sources.TimeTable TSetRooHea( table=[ 0, 15 + 273.15; 8*3600, 20 + 273.15; 18*3600,15 + 273.15; 24*3600,15 + 273.15], smoothness=Buildings.Controls.OBC.CDL.Types.Smoothness.ConstantSegments, extrapolation=Buildings.Controls.OBC.CDL.Types.Extrapolation.Periodic) "Heating setpoint for room temperature"; Controls.OBC.CDL.Reals.Sources.TimeTable TSetRooCoo( table=[ 0, 30 + 273.15; 8*3600, 25 + 273.15; 18*3600, 30 + 273.15; 24*3600, 30 + 273.15], smoothness=Buildings.Controls.OBC.CDL.Types.Smoothness.ConstantSegments, extrapolation=Buildings.Controls.OBC.CDL.Types.Extrapolation.Periodic) "Cooling setpoint for room temperature"; Controls.SetPoints.OccupancySchedule occSch(occupancy=3600*{8,18}) "Occupancy schedule"; Modelica.Blocks.Sources.Sine supAirTem( amplitude=7, f=1/86400, offset=13 + 273.15) "Supply air temperature"; equation connect(con.TSetRooHea, TSetRooHea.y[1]); connect(con.TSetRooCoo, TSetRooCoo.y[1]); connect(con.uOcc, occSch.occupied); connect(con.TOut, outAirTem.y); connect(con.TRoo, retAirTem.y); connect(mixAirTem.y, con.TMix); connect(supAirTem.y, con.TSup); end ControllerChillerDXHeatingEconomizer;

Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer

Validate the block ControllerEconomizer

Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer

Information

Validation test for the block Buildings.Air.Systems.SingleZone.VAV.BaseClasses.ControllerEconomizer.

The inputs include:

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

Modelica definition

model ControllerEconomizer "Validate the block ControllerEconomizer" extends Modelica.Icons.Example; Buildings.Air.Systems.SingleZone.VAV.BaseClasses.ControllerEconomizer conEco "Controller for economizer"; Modelica.Blocks.Sources.Sine mixAirTem( amplitude=7.5, f=1/86400, offset=20 + 273.15) "Mixed air temperature"; Modelica.Blocks.Sources.Sine retAirTem( amplitude=4, f=1/86400, offset=21 + 273.15) "Return air temperature"; Modelica.Blocks.Sources.Sine mixAirTemSet( amplitude=5, f=1/86400, offset=20 + 273.15) "Mixed air temperature setpoint"; Modelica.Blocks.Sources.Sine minOutAirFra( f=1/86400, offset=0.2, amplitude=0.15) "Minimum outdoor air fraction"; Modelica.Blocks.Sources.Sine outAirTem( f=1/86400, amplitude=6, offset=18 + 273.15) "Measured outdoor air temperature"; Modelica.Blocks.Sources.BooleanConstant cooSta(k=true) "Cooling status"; equation connect(mixAirTemSet.y, conEco.TMixSet); connect(mixAirTem.y, conEco.TMix); connect(retAirTem.y, conEco.TRet); connect(minOutAirFra.y, conEco.minOAFra); connect(outAirTem.y, conEco.TOut); connect(cooSta.y, conEco.cooSta); end ControllerEconomizer;

Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan

Validate the block ControllerHeatingFan

Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan

Information

Validation test for the block Buildings.Air.Systems.SingleZone.VAV.BaseClasses.ControllerHeatingFan.

The sine inputs include:

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

Modelica definition

model ControllerHeatingFan "Validate the block ControllerHeatingFan" extends Modelica.Icons.Example; Buildings.Air.Systems.SingleZone.VAV.BaseClasses.ControllerHeatingFan conHeaFan(minAirFlo=0.6) "Controller for heating and cooling"; Modelica.Blocks.Sources.Sine zonHeaSet( f=1/86400, offset=20 + 273.15, amplitude=1) "Zone heating setpoint"; Modelica.Blocks.Sources.Sine zonCooSet( f=1/86400, amplitude=2, offset=25 + 273.15) "Zone cooling setpoint"; Modelica.Blocks.Sources.Sine zonTem( amplitude=4, f=1/86400, offset=21 + 273.15) "Zone temperature"; equation connect(zonHeaSet.y, conHeaFan.TSetRooHea); connect(zonCooSet.y, conHeaFan.TSetRooCoo); connect(zonTem.y, conHeaFan.TRoo); end ControllerHeatingFan;