modelBuildingTimeSeriesWithETS

Model of a building with loads provided as time series, connected to an ETS

Extends from Buildings.DHC.Loads.Combined.BaseClasses.PartialBuildingWithETS (Partial model with ETS model and partial building model).

Information

This model is composed of a heat pump based energy transfer station model Buildings.DHC.ETS.Combined.HeatPumpHeatExchanger connected to a simplified building model where the space heating, cooling and hot water loads are provided as time series.

Scaling

The parameter bui.facMul is the multiplier factor applied to the building loads that are provided as time series. It is used to represent multiple identical buildings served by a unique energy transfer station. The parameter facMul is the multiplier factor applied to the whole system composed of the building(s) and the energy transfer station. It is used to represent multiple identical ETSs served by the DHC system. So, if for instance the overall heating and cooling efficiency is equal to 1, then the load on the district loop is the load provided as time series multiplied by facMul * bui.facMul.

Note that the parameters QCoo_flow_nominal, QHea_flow_nominal and QHot_flow_nominal are the ETS design values. They include the building loads multiplier factor bui.facMul but not the building and ETS multiplier factor facMul.

Parameters

TypeNameDefaultDescription
IntegeridxPHeaETS (from PartialBuildingWithPartialETS)max(Modelica.Math.BooleanVectors.countTrue({bui.have_eleHea, ets.have_eleHea}), 1)Index for connecting the ETS output connector
IntegeridxPCooETS (from PartialBuildingWithPartialETS)max(Modelica.Math.BooleanVectors.countTrue({bui.have_eleCoo, ets.have_eleCoo}), 1)Index for connecting the ETS output connector
IntegeridxPFanETS (from PartialBuildingWithPartialETS)max(Modelica.Math.BooleanVectors.countTrue({bui.have_fan, ets.have_fan}), 1)Index for connecting the ETS output connector
IntegeridxPPumETS (from PartialBuildingWithPartialETS)max(Modelica.Math.BooleanVectors.countTrue({bui.have_pum, ets.have_pum}), 1)Index for connecting the ETS output connector
StringfilNamLibrary path of the file with thermal loads as time series
Configuration
IntegernPorts_heaWat (from PartialBuildingWithPartialETS)0Number of heating water fluid ports
IntegernPorts_chiWat (from PartialBuildingWithPartialETS)0Number of chilled water fluid ports
TypDisSystyp (from PartialBuildingWithPartialETS)ets.typType of district system
Booleanhave_heaWat (from PartialBuildingWithPartialETS)ets.have_heaWatSet to true if the ETS supplies heating water
Booleanhave_hotWat (from PartialBuildingWithPartialETS)ets.have_hotWatSet to true if the ETS supplies domestic hot water
Booleanhave_chiWat (from PartialBuildingWithPartialETS)ets.have_chiWatSet to true if the ETS supplies chilled water
Booleanhave_eleHea (from PartialBuildingWithPartialETS)bui.have_eleHea or ets.have_eleHeaSet to true if the building or ETS has electric heating system
IntegernFue (from PartialBuildingWithPartialETS)ets.nFueNumber of fuel types (0 means no combustion system)
Booleanhave_eleCoo (from PartialBuildingWithPartialETS)bui.have_eleCoo or ets.have_eleCooSet to true if the building or ETS has electric cooling system
Booleanhave_fan (from PartialBuildingWithPartialETS)bui.have_fan or ets.have_fanSet to true if fan power is computed
Booleanhave_pum (from PartialBuildingWithPartialETS)bui.have_pum or ets.have_pumSet to true if pump power is computed
Booleanhave_weaBus (from PartialBuildingWithPartialETS)bui.have_weaBus or ets.have_weaBusSet to true to use a weather bus
Scaling
RealfacMul (from PartialBuildingWithPartialETS)1Multiplier factor
Assumptions
BooleanallowFlowReversalSer (from PartialBuildingWithPartialETS)falseSet to true to allow flow reversal on service side
BooleanallowFlowReversalBui (from PartialBuildingWithPartialETS)falseSet to true to allow flow reversal on building side
Nominal condition
Modelica.Units.SI.HeatFlowRateQHeaWat_flow_nominal (from PartialBuildingWithPartialETS)ets.QHeaWat_flow_nominalNominal capacity of heating system (>=0)
Modelica.Units.SI.HeatFlowRateQHotWat_flow_nominal (from PartialBuildingWithPartialETS)ets.QHotWat_flow_nominalNominal capacity of hot water production system (>=0)
Modelica.Units.SI.HeatFlowRateQChiWat_flow_nominal (from PartialBuildingWithPartialETS)ets.QChiWat_flow_nominalNominal capacity of cooling system (<=0)
ETS model parameters
Modelica.Units.SI.TemperatureTDisWatMin (from PartialBuildingWithETS)6 + 273.15District water minimum temperature
Modelica.Units.SI.TemperatureTDisWatMax (from PartialBuildingWithETS)17 + 273.15District water maximum temperature
Modelica.Units.SI.TemperatureDifferencedT_nominal (from PartialBuildingWithETS)4Water temperature drop/increase accross load and source-side HX (always positive)
Modelica.Units.SI.TemperatureTChiWatSup_nominal (from PartialBuildingWithETS)18 + 273.15Chilled water supply temperature
Modelica.Units.SI.TemperatureTHeaWatSup_nominal (from PartialBuildingWithETS)38 + 273.15Heating water supply temperature
Modelica.Units.SI.TemperatureTHotWatSup_nominal (from PartialBuildingWithETS)63 + 273.15Domestic hot water supply temperature to fixtures
Modelica.Units.SI.TemperatureTColWat_nominal (from PartialBuildingWithETS)288.15Cold water temperature (for hot water production)
Modelica.Units.SI.Pressuredp_nominal (from PartialBuildingWithETS)50000Pressure difference at nominal flow rate (for each flow leg)
RealCOPHeaWat_nominal (from PartialBuildingWithETS)4.0COP of heat pump for heating water production
RealCOPHotWat_nominal (from PartialBuildingWithETS)2.3COP of heat pump for hot water production
Design parameter
Modelica.Units.SI.HeatFlowRateQCoo_flow_nominalbui.facMul*bui.QCoo_flow_nominalSpace cooling design load (<=0)
Modelica.Units.SI.HeatFlowRateQHea_flow_nominalbui.facMul*bui.QHea_flow_nominalSpace heating design load (>=0)
Modelica.Units.SI.HeatFlowRateQHot_flow_nominalbui.facMul*Buildings.DHC.Loads.BaseClasses.getPeakLoad(string = "#Peak water heating load", filNam = Modelica.Utilities.Files.loadResource(filNam))Hot water design load (>=0)

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_aSerAmb (from PartialBuildingWithPartialETS)Fluid connector for ambient water service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerAmb (from PartialBuildingWithPartialETS)Fluid connector for ambient water service return line
Modelica.Fluid.Interfaces.FluidPort_aport_aSerHea (from PartialBuildingWithPartialETS)Fluid connector for heating service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerHea (from PartialBuildingWithPartialETS)Fluid connector for heating service return line
Modelica.Fluid.Interfaces.FluidPort_aport_aSerCoo (from PartialBuildingWithPartialETS)Fluid connector for cooling service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerCoo (from PartialBuildingWithPartialETS)Fluid connector for cooling service return line
BoundaryConditions.WeatherData.BusweaBus (from PartialBuildingWithPartialETS)Weather data bus
Buildings.Controls.OBC.CDL.Interfaces.RealOutputQHea_flow (from PartialBuildingWithPartialETS)Total heating heat flow rate transferred to the loads (>=0)
Buildings.Controls.OBC.CDL.Interfaces.RealOutputQCoo_flow (from PartialBuildingWithPartialETS)Total cooling heat flow rate transferred to the loads (<=0)
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPHea (from PartialBuildingWithPartialETS)Power drawn by heating system
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPCoo (from PartialBuildingWithPartialETS)Power drawn by cooling system
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPFan (from PartialBuildingWithPartialETS)Power drawn by fan motors
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPPum (from PartialBuildingWithPartialETS)Power drawn by pump motors
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nFue]QFue_flow (from PartialBuildingWithPartialETS)Fuel energy input rate
Buildings.Controls.OBC.CDL.Interfaces.RealInputTChiWatSupSet (from PartialBuildingWithETS)Chilled water supply temperature set point
Buildings.Controls.OBC.CDL.Interfaces.RealInputTHeaWatSupMaxSet (from PartialBuildingWithETS)Heating water supply temperature set point - Maximum value
Buildings.Controls.OBC.CDL.Interfaces.RealInputTHeaWatSupMinSet (from PartialBuildingWithETS)Heating water supply temperature set point - Minimum value
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPPumETS (from PartialBuildingWithETS)ETS pump power
Buildings.Controls.OBC.CDL.Interfaces.RealInputTHotWatSupSetService hot water supply temperature set point
Buildings.Controls.OBC.CDL.Interfaces.RealInputTColWatCold water temperature

Components

TypeNameDefaultDescription
Buildings.DHC.Loads.BaseClasses.PartialBuildingbui (from PartialBuildingWithPartialETS)Building model
Buildings.DHC.ETS.BaseClasses.PartialETSets (from PartialBuildingWithPartialETS)Energy transfer station model
Buildings.Controls.OBC.CDL.Reals.MultiSumtotPHea (from PartialBuildingWithPartialETS)Total power drawn by heating system
Buildings.Controls.OBC.CDL.Reals.MultiSumtotPCoo (from PartialBuildingWithPartialETS)Total power drawn by cooling system
Buildings.Controls.OBC.CDL.Reals.MultiSumtotPFan (from PartialBuildingWithPartialETS)Total power drawn by fan motors
Buildings.Controls.OBC.CDL.Reals.MultiSumtotPPum (from PartialBuildingWithPartialETS)Total power drawn by pump motors
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulQHea_flow (from PartialBuildingWithPartialETS)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulQCoo_flow (from PartialBuildingWithPartialETS)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulPHea (from PartialBuildingWithPartialETS)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulPCoo (from PartialBuildingWithPartialETS)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulPFan (from PartialBuildingWithPartialETS)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulPPum (from PartialBuildingWithPartialETS)Scaling
Fluid.BaseClasses.MassFlowRateMultipliermulSerAmbInl (from PartialBuildingWithPartialETS)Mass flow rate multiplier
Fluid.BaseClasses.MassFlowRateMultipliermulSerAmbOut (from PartialBuildingWithPartialETS)Mass flow rate multiplier
Fluid.BaseClasses.MassFlowRateMultipliermulSerHeaInl (from PartialBuildingWithPartialETS)Mass flow rate multiplier
Fluid.BaseClasses.MassFlowRateMultipliermulSerHeaOut (from PartialBuildingWithPartialETS)Mass flow rate multiplier
Fluid.BaseClasses.MassFlowRateMultipliermulSerCooInl (from PartialBuildingWithPartialETS)Mass flow rate multiplier
Fluid.BaseClasses.MassFlowRateMultipliermulSerCooOut (from PartialBuildingWithPartialETS)Mass flow rate multiplier
Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter[nFue]mulQFue_flow (from PartialBuildingWithPartialETS)Scaling
Buildings.Controls.OBC.CDL.Reals.LineresTHeaWatSup (from PartialBuildingWithETS)HW supply temperature reset
Buildings.Controls.OBC.CDL.Reals.Sources.Constantzer (from PartialBuildingWithETS)Zero
Buildings.Controls.OBC.CDL.Reals.Sources.Constantone (from PartialBuildingWithETS)One
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulPPumETS (from PartialBuildingWithETS)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParameterloaHeaNorNormalized heating load
Buildings.Controls.OBC.CDL.Reals.GreaterThreshold[2]enaHeaCooThreshold comparison to enable heating and cooling
Modelica.Blocks.Sources.BooleanConstantenaSHWSHW production enable signal
Buildings.Controls.OBC.CDL.Reals.MultiplyByParameterloaCooNorNormalized cooling load

Revisions

  • November 21, 2022, by David Blum:
    Change bui.facMulHea and bui.facMulCoo to be default.
    This is for issue 2302.
  • February 23, 2021, by Antoine Gautier:
    First implementation.