Buildings.Experimental.DHC.Loads.Heating.Examples

Information

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

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

Package Content

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

Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS

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

Buildings.Experimental.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS

Information

This model provides an example for a building with loads provided as time series and connected to a direct ETS for heating with the return heating water temperature controlled below a maximum 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.Experimental.DHC.Loads.Heating.BuildingTimeSeriesWithETS buiWitETS(filNam="modelica://Buildings/Resources/Data/Experimental/DHC/Loads/Examples/MediumOffice-90.1-2010-5A.mos") "Building Time Series load coupled with ETS"; Buildings.Fluid.Sources.Boundary_pT supHeaWat( redeclare package Medium = Medium, p(displayUnit="bar") = 350000, use_T_in=true, nPorts=1) "Heating water supply"; Buildings.Fluid.Sources.Boundary_pT sinHeaWat( redeclare package Medium = Medium, p(displayUnit="bar") = 340000, nPorts=1) "Sink for heating water"; Buildings.Fluid.Sensors.MassFlowRate senMasFlo(redeclare package Medium = Medium) "Mass flow rate sensor"; Modelica.Blocks.Sources.Constant TDisRetSet(k=273.15 + 45) "Setpoint for district return temperature"; Modelica.Blocks.Sources.Constant TDisSup(k( unit="K", displayUnit="degC") = 323.15) "District supply temperature"; equation connect(supHeaWat.ports[1], senMasFlo.port_a); connect(TDisSup.y,supHeaWat. T_in); connect(TDisRetSet.y, buiWitETS.TSetDisRet); connect(senMasFlo.port_b, buiWitETS.port_aSerHea); connect(buiWitETS.port_bSerHea, sinHeaWat.ports[1]); end BuildingTimeSeriesWithETS;