Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples

Example models integrating multiple components

Information

This package contains advanced examples illustrating the use of the models in Buildings.Experimental.DHC.Plants.Cooling.Subsystems.

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

Package Content

Name Description
Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel CoolingTowersParallel Example model for parallel cooling tower model
Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass CoolingTowersWithBypass Example model for parallel cooling towers with bypass valve
Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.BaseClasses BaseClasses Package with base classes

Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel

Example model for parallel cooling tower model

Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel

Information

This model validates the parallel connected cooling tower subsystem in Buildings.Experimental.DHC.Plants.Cooling.Subsystems.CoolingTowersParallel.

Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.BaseClasses.PartialCoolingTowersSubsystem (Partial class for test models of subsystems).

Parameters

TypeNameDefaultDescription
Nominal condition
MassFlowRatem_flow_nominal0.5Design water flow rate [kg/s]

Connectors

TypeNameDescription
BusweaBusWeather data bus

Modelica definition

model CoolingTowersParallel "Example model for parallel cooling tower model" extends Modelica.Icons.Example; extends Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.BaseClasses.PartialCoolingTowersSubsystem ( redeclare Buildings.Experimental.DHC.Plants.Cooling.Subsystems.CoolingTowersParallel tow( TAirInWB_nominal=273.15+25.55, TWatIn_nominal=273.15+35, dT_nominal=5.56, dpValve_nominal = 6000, dp_nominal = 6000, PFan_nominal=4800, use_inputFilter=false), weaDat(final computeWetBulbTemperature=true)); Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TSetLea( k=273.15+18) "Setpoint for leaving temperature"; Buildings.Controls.OBC.CDL.Continuous.PIDWithReset conFan( k=1, Ti=60, Td=10, reverseActing=false, u_s( unit="K", displayUnit="degC"), u_m( unit="K", displayUnit="degC")) "Controller for tower fan"; equation connect(TSetLea.y, conFan.u_s); connect(tow.TLvg, conFan.u_m); connect(onOffCon.y, tow.on[1]); connect(onOffCon.y, tow.on[2]); connect(conFan.y, tow.uFanSpe); connect(weaBus.TWetBul, tow.TWetBul); connect(conFan.trigger, onOffCon.y); end CoolingTowersParallel;

Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass

Example model for parallel cooling towers with bypass valve

Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass

Information

This model validates the parallel connected cooling tower subsystem in Buildings.Experimental.DHC.Plants.Cooling.Subsystems.CoolingTowerWithBypass.

Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.BaseClasses.PartialCoolingTowersSubsystem (Partial class for test models of subsystems).

Parameters

TypeNameDefaultDescription
TemperatureTMin273.15 + 10Minimum allowed water temperature entering chiller [K]
Nominal condition
MassFlowRatem_flow_nominal0.5Design water flow rate [kg/s]

Connectors

TypeNameDescription
BusweaBusWeather data bus

Modelica definition

model CoolingTowersWithBypass "Example model for parallel cooling towers with bypass valve" extends Modelica.Icons.Example; extends Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.BaseClasses.PartialCoolingTowersSubsystem ( redeclare Buildings.Experimental.DHC.Plants.Cooling.Subsystems.CoolingTowersWithBypass tow( dpValve_nominal = 6000, dp_nominal(displayUnit="Pa") = 6000, TAirInWB_nominal=273.15 + 25.55, TWatIn_nominal=273.15 + 35, dT_nominal=5.56, PFan_nominal=4800, TMin=TMin, controllerType=Modelica.Blocks.Types.SimpleController.PI), weaDat(final computeWetBulbTemperature=true)); parameter Modelica.Units.SI.Temperature TMin=273.15 + 10 "Minimum allowed water temperature entering chiller"; equation connect(weaBus.TWetBul, tow.TWetBul); connect(onOffCon.y, tow.on[1]); connect(onOffCon.y, tow.on[2]); end CoolingTowersWithBypass;