Buildings.DHC.Loads.Cooling.Examples

Information

This package contains an example illustrating the use of the model in Buildings.DHC.Loads.Cooling.

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

Package Content

Name Description
Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS BuildingTimeSeriesWithETS Example model of a building with loads provided as time series and connected to an ETS for cooling

Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS

Example model of a building with loads provided as time series and connected to an ETS for cooling

Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS

Information

This model provides an example for a building with loads provided as time series and connected to a direct ETS for cooling with the return chilled water temperature controlled above a minimum threshold.

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

Modelica definition

model BuildingTimeSeriesWithETS "Example model of a building with loads provided as time series and connected to an ETS for cooling" extends Modelica.Icons.Example; package Medium=Buildings.Media.Water "Medium model"; Buildings.DHC.Loads.Cooling.BuildingTimeSeriesWithETS buiWitETS( filNam= "modelica://Buildings/Resources/Data/DHC/Loads/Examples/MediumOffice-90.1-2010-5A.mos") "Building Time Series load coupled with ETS"; Buildings.Fluid.Sources.Boundary_pT supChiWat( redeclare package Medium = Medium, p(displayUnit="bar") = 350000, use_T_in=true, T=280.15, nPorts=1) "Chilled water supply"; Buildings.Fluid.Sources.Boundary_pT sinChiWat( redeclare package Medium = Medium, p(displayUnit="bar") = 340000, nPorts=1) "Sink for chilled water"; Buildings.Fluid.Sensors.MassFlowRate senMasFlo(redeclare package Medium = Medium) "Mass flow rate sensor"; Modelica.Blocks.Sources.Constant TDisRetSet(k=273.15 + 16) "Setpoint for district return temperature"; Modelica.Blocks.Sources.Constant TDisSup(k( unit="K", displayUnit="degC") = 280.15) "District supply temperature"; equation connect(supChiWat.ports[1], senMasFlo.port_a); connect(senMasFlo.port_b, buiWitETS.port_aSerCoo); connect(buiWitETS.port_bSerCoo, sinChiWat.ports[1]); connect(TDisSup.y, supChiWat.T_in); connect(TDisRetSet.y,buiWitETS.TDisRetSet); end BuildingTimeSeriesWithETS;