modelPartialETS

Partial class for modeling an energy transfer station

Information

Partial class to be used for modeling an energy transfer station and optional in-building primary systems.

The connectors to the service lines are configured based on an enumeration defining the type of district system (CombinedGeneration2to4 by default), see Buildings.DHC.Types.DistrictSystemType. In case of a heating service line, the model allows for using two different media at the inlet port port_aSerHea and at the oulet port port_bSerHea to represent a steam supply and condensate return.

The connectors to the building distribution systems are configured based on the Boolean parameters have_heaWat and have_chiWat.

Parameters

TypeNameDefaultDescription
Buildings.Fluid.Data.Fuels.Generic[nFue]fueFuel type
Configuration
TypDisSystypBuildings.DHC.Types.DistrictSystemType.CombinedGeneration2to4Type of district system
IntegernPorts_aHeaWat0Number of heating water return ports
IntegernPorts_bHeaWat0Number of heating water supply ports
IntegernPorts_aChiWat0Number of chilled water return ports
IntegernPorts_bChiWat0Number of chilled water supply ports
Booleanhave_heaWatfalseSet to true if the ETS supplies heating water
Booleanhave_hotWatfalseSet to true if the ETS supplies hot water
Booleanhave_chiWatfalseSet to true if the ETS supplies chilled water
Booleanhave_fanfalseSet to true if fan power is computed
Booleanhave_pumfalseSet to true if pump power is computed
Booleanhave_eleHeafalseSet to true if the ETS has electric heating system
IntegernFue0Number of fuel types (0 means no combustion system)
Booleanhave_eleCoofalseSet to true if the ETS has electric cooling system
Booleanhave_weaBusfalseSet to true to use a weather bus
Assumptions
BooleanallowFlowReversalSerfalseSet to true to allow flow reversal on service side
BooleanallowFlowReversalBuifalseSet to true to allow flow reversal on building side
Nominal condition
Modelica.Units.SI.HeatFlowRateQHeaWat_flow_nominal0Nominal capacity of heating system (>=0)
Modelica.Units.SI.HeatFlowRateQHotWat_flow_nominal0Nominal capacity of hot water production system (>=0)
Modelica.Units.SI.HeatFlowRateQChiWat_flow_nominal0Nominal capacity of cooling system (<=0)

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aHeaWat]ports_aHeaWatFluid connectors for heating water return (from building)
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bHeaWat]ports_bHeaWatFluid connectors for heating water supply (to building)
Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aChiWat]ports_aChiWatFluid connectors for chilled water return (from building)
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bChiWat]ports_bChiWatFluid connectors for chilled water supply (to building)
Modelica.Fluid.Interfaces.FluidPort_aport_aSerAmbFluid connector for ambient water service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerAmbFluid connector for ambient water service return line
Modelica.Fluid.Interfaces.FluidPort_aport_aSerHeaFluid connector for heating service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerHeaFluid connector for heating service return line
Modelica.Fluid.Interfaces.FluidPort_aport_aSerCooFluid connector for cooling service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerCooFluid connector for cooling service return line
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPHeaPower drawn by heating system
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPCooPower drawn by cooling system
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPFanPower drawn by fan motors
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPPumPower drawn by pump motors
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nFue]QFue_flowFuel energy input rate
BoundaryConditions.WeatherData.BusweaBusWeather data bus

Contents

NameDescription
MediumSer
MediumSerHea_a
MediumBui

Revisions

  • December 21, 2020, by Antoine Gautier:
    Refactored to support all DHC system types.
    This is for issue 2291.
  • July 31, 2020, by Antoine Gautier:
    First implementation.