modelBuildingETS
Extends from Buildings.DHC.Loads.BaseClasses.PartialBuildingWithPartialETS (Partial model of a building with an energy transfer station).
Information
Model that connects a building thermal and cooling load, specified by time series, with an energy transfer station, and exposes the fluid connections of the energy transfer station for connecting it to district energy service lines.
The model extends from Buildings.DHC.Loads.BaseClasses.PartialBuildingWithPartialETS, which connects the building and the load, and exposes the fluid connection for connecting it to the district service line. The building load is modeled by reading time series, and drawing as much heating or cooling water as determined by its control. This is implemented through Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.BaseClasses.BuildingTimeSeries. The energy transfer station uses a heat recovery heat pump, and can optionally have domestic hot water preparation. This is implemented in Buildings.DHC.ETS.Combined.HeatRecoveryHeatPump.
See the respective models for a detailed description.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | idxPHeaETS (from PartialBuildingWithPartialETS) | max(Modelica.Math.BooleanVectors.countTrue({bui.have_eleHea, ets.have_eleHea}), 1) | Index for connecting the ETS output connector |
| Integer | idxPCooETS (from PartialBuildingWithPartialETS) | max(Modelica.Math.BooleanVectors.countTrue({bui.have_eleCoo, ets.have_eleCoo}), 1) | Index for connecting the ETS output connector |
| Integer | idxPFanETS (from PartialBuildingWithPartialETS) | max(Modelica.Math.BooleanVectors.countTrue({bui.have_fan, ets.have_fan}), 1) | Index for connecting the ETS output connector |
| Integer | idxPPumETS (from PartialBuildingWithPartialETS) | max(Modelica.Math.BooleanVectors.countTrue({bui.have_pum, ets.have_pum}), 1) | Index for connecting the ETS output connector |
| Real | facTerUniSizHea | Factor to increase design capacity of space terminal units for heating | |
| String | filNam | File name for the load profile | |
| Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.Data.HVAC | datBuiSet | Building set points | |
| Buildings.DHC.ETS.Combined.Data.WAMAK_220kW | datHeaPum | Heat recovery heat pump parameters | |
| Buildings.DHC.Loads.HotWater.Data.GenericDomesticHotWaterWithHeatExchanger | datDhw | Performance data of the domestic hot water component | |
| Configuration | |||
| Integer | nPorts_heaWat (from PartialBuildingWithPartialETS) | 0 | Number of heating water fluid ports |
| Integer | nPorts_chiWat (from PartialBuildingWithPartialETS) | 0 | Number of chilled water fluid ports |
| TypDisSys | typ (from PartialBuildingWithPartialETS) | ets.typ | Type of district system |
| Boolean | have_heaWat (from PartialBuildingWithPartialETS) | ets.have_heaWat | Set to true if the ETS supplies heating water |
| Boolean | have_hotWat (from PartialBuildingWithPartialETS) | ets.have_hotWat | Set to true if the ETS supplies domestic hot water |
| Boolean | have_chiWat (from PartialBuildingWithPartialETS) | ets.have_chiWat | Set to true if the ETS supplies chilled water |
| Boolean | have_eleHea (from PartialBuildingWithPartialETS) | bui.have_eleHea or ets.have_eleHea | Set to true if the building or ETS has electric heating system |
| Integer | nFue (from PartialBuildingWithPartialETS) | ets.nFue | Number of fuel types (0 means no combustion system) |
| Boolean | have_eleCoo (from PartialBuildingWithPartialETS) | bui.have_eleCoo or ets.have_eleCoo | Set to true if the building or ETS has electric cooling system |
| Boolean | have_fan (from PartialBuildingWithPartialETS) | bui.have_fan or ets.have_fan | Set to true if fan power is computed |
| Boolean | have_pum (from PartialBuildingWithPartialETS) | bui.have_pum or ets.have_pum | Set to true if pump power is computed |
| Boolean | have_weaBus (from PartialBuildingWithPartialETS) | bui.have_weaBus or ets.have_weaBus | Set to true to use a weather bus |
| Boolean | have_eleNonHva | Set to true to enable a data reader and output signal for non-HVAC electrical load | |
| Scaling | |||
| Real | facMul (from PartialBuildingWithPartialETS) | 1 | Multiplier factor |
| Assumptions | |||
| Boolean | allowFlowReversalSer (from PartialBuildingWithPartialETS) | false | Set to true to allow flow reversal on service side |
| Boolean | allowFlowReversalBui (from PartialBuildingWithPartialETS) | false | Set to true to allow flow reversal on building side |
| Nominal condition | |||
| Modelica.Units.SI.HeatFlowRate | QHeaWat_flow_nominal (from PartialBuildingWithPartialETS) | ets.QHeaWat_flow_nominal | Nominal capacity of heating system (>=0) |
| Modelica.Units.SI.HeatFlowRate | QHotWat_flow_nominal (from PartialBuildingWithPartialETS) | ets.QHotWat_flow_nominal | Nominal capacity of hot water production system (>=0) |
| Modelica.Units.SI.HeatFlowRate | QChiWat_flow_nominal (from PartialBuildingWithPartialETS) | ets.QChiWat_flow_nominal | Nominal capacity of cooling system (<=0) |
| Modelica.Units.SI.Temperature | TChiWatRet_nominal | datBuiSet.TChiWatRet_nominal | Chilled water return temperature from building load |
| Modelica.Units.SI.Temperature | THeaWatRet_nominal | datBuiSet.THeaWatRet_nominal | Heating water return temperature from building load |
| Modelica.Units.SI.TemperatureDifference | dT_nominal | 4 | Water temperature drop/increase accross load and source-side HX (always positive) |
| Modelica.Units.SI.Temperature | TChiWatSup_nominal | datBuiSet.TChiWatSup_nominal | Chilled water supply temperature to building load |
| Modelica.Units.SI.Temperature | THeaWatSup_nominal | datBuiSet.THeaWatSup_nominal | Heating water supply temperature to building load |
| Design parameter | |||
| Modelica.Units.SI.HeatFlowRate | QCoo_flow_nominal | Buildings.DHC.Loads.BaseClasses.getPeakLoad(string = "#Peak space cooling load", filNam = Modelica.Utilities.Files.loadResource(filNam)) | Design cooling heat flow rate (<=0) |
| Modelica.Units.SI.HeatFlowRate | QHea_flow_nominal | Buildings.DHC.Loads.BaseClasses.getPeakLoad(string = "#Peak space heating load", filNam = Modelica.Utilities.Files.loadResource(filNam)) | Design heating heat flow rate (>=0) |
| Modelica.Units.SI.HeatFlowRate | QHot_flow_nominal | Buildings.DHC.Loads.BaseClasses.getPeakLoad(string = "#Peak water heating load", filNam = Modelica.Utilities.Files.loadResource(filNam)) | Design heating heat flow rate (>=0) |
| ETS model parameters | |||
| Modelica.Units.SI.Temperature | THotWatSup_nominal | datBuiSet.THotWatSupFix_nominal | Domestic hot water supply temperature to fixtures |
Connectors
Components
Revisions
-
November 14, 2025, by Michael Wetter:
First implementation.