Buildings.Experimental.DHC.Loads.Combined.Examples

This package contains example models

Information

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

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

Package Content

Name Description
Buildings.Experimental.DHC.Loads.Combined.Examples.BuildingTimeSeriesWithETS BuildingTimeSeriesWithETS Example model of a building with loads provided as time series for heat pump heating and free cooling in an ambient district network

Buildings.Experimental.DHC.Loads.Combined.Examples.BuildingTimeSeriesWithETS Buildings.Experimental.DHC.Loads.Combined.Examples.BuildingTimeSeriesWithETS

Example model of a building with loads provided as time series for heat pump heating and free cooling in an ambient district network

Buildings.Experimental.DHC.Loads.Combined.Examples.BuildingTimeSeriesWithETS

Information

Example model of a building with loads provided as time series for heat pump space heating, heat pump domestic hot water heating, and free cooling in an ambient district network.

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

Modelica definition

model BuildingTimeSeriesWithETS "Example model of a building with loads provided as time series for heat pump heating and free cooling in an ambient district network" extends Modelica.Icons.Example; package Medium=Buildings.Media.Water "Medium model"; Buildings.Fluid.Sources.Boundary_pT supAmbWat( redeclare package Medium = Medium, p(displayUnit="bar"), use_T_in=true, T=280.15, nPorts=1) "Ambient water supply"; Buildings.Fluid.Sources.Boundary_pT sinAmbWat( redeclare package Medium = Medium, p(displayUnit="bar"), nPorts=1) "Sink for ambient water"; Buildings.Fluid.Sensors.MassFlowRate senMasFlo(redeclare package Medium = Medium) "Mass flow rate sensor"; Modelica.Blocks.Sources.Constant TDisSup(k( unit="K", displayUnit="degC") = 288.15) "District supply temperature"; Buildings.Experimental.DHC.Loads.Combined.BuildingTimeSeriesWithETS bui( redeclare package MediumSer = Medium, redeclare package MediumBui = Medium, bui(facMul=10), allowFlowReversalSer=true, filNam="modelica://Buildings/Resources/Data/Experimental/DHC/Loads/Examples/SwissOffice_20190916.mos"); Buildings.Controls.OBC.CDL.Reals.Sources.Constant TColWat(k=bui.ets.TColWat_nominal) "Cold water temperature"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant THotWatSupSet(k=bui.ets.THotWatSup_nominal) "Hot water supply temperature set point"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant TChiWatSupSet(k=bui.TChiWatSup_nominal) "Chilled water supply temperature set point"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant THeaWatSupMaxSet(k=bui.THeaWatSup_nominal) "Heating water supply temperature set point - Maximum value"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant THeaWatSupMinSet( k(final unit="K", displayUnit="degC") = 301.15) "Heating water supply temperature set point - Minimum value"; equation connect(supAmbWat.ports[1], senMasFlo.port_a); connect(TDisSup.y,supAmbWat. T_in); connect(senMasFlo.port_b, bui.port_aSerAmb); connect(sinAmbWat.ports[1], bui.port_bSerAmb); connect(THeaWatSupMinSet.y, bui.THeaWatSupMinSet); connect(THeaWatSupMaxSet.y, bui.THeaWatSupMaxSet); connect(TChiWatSupSet.y, bui.TChiWatSupSet); connect(THotWatSupSet.y, bui.THotWatSupSet); connect(TColWat.y, bui.TColWat); end BuildingTimeSeriesWithETS;