Buildings.Applications.DataCenters.DXCooled.Controls.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.Applications.DataCenters.DXCooled.Controls.

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.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer AirsideEconomizer Example that demonstrate the use of model Buildings.Applications.DataCenters.DXCooled.Controls.AirsideEconomizer
Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor Compressor Example that demonstrates the use of a speed controller for DX coil
Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode CoolingMode Example that demonstrates the use of cooling mode selection for the airside economizer

Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer

Example that demonstrate the use of model Buildings.Applications.DataCenters.DXCooled.Controls.AirsideEconomizer

Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer

Information

This example demonstrates how the outside air damper position changes under different cooling mode. During the first 120s, the system is in free cooling mode, and the damper position is controlled to maintain the mixed air temperature at its setpoint. In the second 120s, the system is in partial mechanical cooling mode and the outside air damper is fully open. As a result, the mixed air temperature is equal to the outdoor air temperature. In the last 120 seconds, the system is in fully mechnical cooling mode, which means the outside air damper is fully closed, and the mixed air temperature equals to the return air temperature.

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

Parameters

TypeNameDefaultDescription
replaceable package MediumBuildings.Media.Air 
MassFlowRatemA_flow_nominal0.43Nominal air flowrate [kg/s]

Connectors

TypeNameDescription
replaceable package Medium 

Modelica definition

model AirsideEconomizer "Example that demonstrate the use of model Buildings.Applications.DataCenters.DXCooled.Controls.AirsideEconomizer" extends Modelica.Icons.Example; replaceable package Medium = Buildings.Media.Air; parameter Modelica.Units.SI.MassFlowRate mA_flow_nominal=0.43 "Nominal air flowrate"; Buildings.Applications.DataCenters.DXCooled.Controls.AirsideEconomizer con( minOAFra= 0, Ti=1) "Outdoor air damper controller"; Modelica.Blocks.Sources.Constant mixAirSetPoi(k=291.15) "Mixed air temperature setpoint"; Modelica.Blocks.Sources.CombiTimeTable cooMod( table=[0, Integer(Buildings.Applications.DataCenters.Types.CoolingModes.FreeCooling); 120,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.FreeCooling); 120,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.PartialMechanical); 240,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.PartialMechanical); 240,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.FullMechanical); 360,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.FullMechanical)]) "Cooling mode signal"; Buildings.Fluid.Sources.Boundary_pT OA( redeclare package Medium = Medium, nPorts=2, use_T_in=true, p(displayUnit="Pa") = 100000) "Boundary conditions for outside air"; Buildings.Fluid.Actuators.Dampers.MixingBox eco( redeclare package Medium = Medium, mOut_flow_nominal=mA_flow_nominal, mRec_flow_nominal=mA_flow_nominal, mExh_flow_nominal=mA_flow_nominal, use_inputFilter=false, dpDamExh_nominal=0.27, dpDamOut_nominal=0.27, dpDamRec_nominal=0.27, dpFixExh_nominal=20, dpFixOut_nominal=20, dpFixRec_nominal=20) "Airside economizer"; Buildings.Fluid.Sensors.TemperatureTwoPort senTemMixAir( redeclare package Medium = Medium, m_flow_nominal=mA_flow_nominal) "Temperature sensor for mixed air"; Buildings.Fluid.Sources.Boundary_pT roo( redeclare package Medium = Medium, nPorts=1, p=100000 + 30, T(displayUnit="degC") = 298.15) "Boundary conditions for room air"; Modelica.Blocks.Sources.CombiTimeTable outAir(table=[0,273.15 + 5; 120,273.15 + 5; 120,273.15 + 20; 240,273.15 + 20; 240,273.15 + 30; 360,273.15 + 30]) "Outdoor air temperature"; Buildings.Fluid.Sources.Boundary_pT supAir( redeclare package Medium = Medium, nPorts=1, p(displayUnit="Pa") = 100000 - 30) "Boundary conditions for supply air"; Modelica.Blocks.Math.RealToInteger reaToInt "Conversion from real to integer"; equation connect(mixAirSetPoi.y, con.TMixAirSet); connect(OA.ports[1], eco.port_Out); connect(eco.port_Exh, OA.ports[2]); connect(eco.port_Sup,senTemMixAir. port_a); connect(senTemMixAir.T, con.TMixAirMea); connect(con.y, eco.y); connect(eco.port_Ret, roo.ports[1]); connect(outAir.y[1], OA.T_in); connect(senTemMixAir.port_b, supAir.ports[1]); connect(con.cooMod, reaToInt.y); connect(cooMod.y[1], reaToInt.u); end AirsideEconomizer;

Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor

Example that demonstrates the use of a speed controller for DX coil

Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor

Information

This example demonstrates how the speed signal of a variable-speed DX unit can be controlled. The detailed control logic can be refered in Buildings.Applications.DataCenters.DXCooled.Controls.Compressor.

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

Modelica definition

model Compressor "Example that demonstrates the use of a speed controller for DX coil" extends Modelica.Icons.Example; Buildings.Applications.DataCenters.DXCooled.Controls.Compressor dxSpeCon "Speed controller for a variable DX coil"; Modelica.Blocks.Sources.Constant TSupSet(k=291.15) "Supply air temperature setpoint"; Modelica.Blocks.Sources.Sine TSupMea( amplitude=2, f=1/120, offset=291.15) "Measured supply air temperature"; Modelica.Blocks.Sources.CombiTimeTable cooMod( table=[0, Integer(Buildings.Applications.DataCenters.Types.CoolingModes.FreeCooling); 120,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.FreeCooling); 120,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.PartialMechanical); 240,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.PartialMechanical); 240,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.FullMechanical); 360,Integer(Buildings.Applications.DataCenters.Types.CoolingModes.FullMechanical)]) "Cooling mode signal"; Modelica.Blocks.Math.RealToInteger reaToInt "Conversion from real to integer"; equation connect(TSupSet.y, dxSpeCon.TMixAirSet); connect(TSupMea.y, dxSpeCon.TMixAirMea); connect(cooMod.y[1], reaToInt.u); connect(reaToInt.y, dxSpeCon.cooMod); end Compressor;

Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode

Example that demonstrates the use of cooling mode selection for the airside economizer

Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode

Information

This example demonstrates how the cooling mode signal can be generated according to varying outside air dry bulb temperature, outside air dewpoint temperature, return air temperature and supply air temperature setpoint.The detailed control logic can be refered in Buildings.Applications.DataCenters.DXCooled.Controls.CoolingMode.

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

Connectors

TypeNameDescription
BusweaBusWeather data bus

Modelica definition

model CoolingMode "Example that demonstrates the use of cooling mode selection for the airside economizer" extends Modelica.Icons.Example; Buildings.Applications.DataCenters.DXCooled.Controls.CoolingMode cooModCon(tWai=1200) "Cooling mode controller for the DX cooling system with an airside economizer"; Modelica.Blocks.Sources.Constant TSupSet(k=291.15) "Supply air temperature setpoint"; Modelica.Blocks.Sources.Constant TRet(k=295.15) "Return air temperature"; BoundaryConditions.WeatherData.ReaderTMY3 weaDat( pAtmSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, filNam=Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) "Weather data reader"; BoundaryConditions.WeatherData.Bus weaBus "Weather data bus"; equation connect(TSupSet.y, cooModCon.TSupSet); connect(TRet.y, cooModCon.TRet); connect(weaDat.weaBus,weaBus); connect(weaBus.TDryBul, cooModCon.TOutDryBul); end CoolingMode;