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
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.Data.Fuels.Generic[nFue] | fue | Fuel type | |
| Configuration | |||
| TypDisSys | typ | Buildings.DHC.Types.DistrictSystemType.CombinedGeneration2to4 | Type of district system |
| Integer | nPorts_aHeaWat | 0 | Number of heating water return ports |
| Integer | nPorts_bHeaWat | 0 | Number of heating water supply ports |
| Integer | nPorts_aChiWat | 0 | Number of chilled water return ports |
| Integer | nPorts_bChiWat | 0 | Number of chilled water supply ports |
| Boolean | have_heaWat | false | Set to true if the ETS supplies heating water |
| Boolean | have_hotWat | false | Set to true if the ETS supplies hot water |
| Boolean | have_chiWat | false | Set to true if the ETS supplies chilled water |
| Boolean | have_fan | false | Set to true if fan power is computed |
| Boolean | have_pum | false | Set to true if pump power is computed |
| Boolean | have_eleHea | false | Set to true if the ETS has electric heating system |
| Integer | nFue | 0 | Number of fuel types (0 means no combustion system) |
| Boolean | have_eleCoo | false | Set to true if the ETS has electric cooling system |
| Boolean | have_weaBus | false | Set to true to use a weather bus |
| Assumptions | |||
| Boolean | allowFlowReversalSer | false | Set to true to allow flow reversal on service side |
| Boolean | allowFlowReversalBui | false | Set to true to allow flow reversal on building side |
| Nominal condition | |||
| Modelica.Units.SI.HeatFlowRate | QHeaWat_flow_nominal | 0 | Nominal capacity of heating system (>=0) |
| Modelica.Units.SI.HeatFlowRate | QHotWat_flow_nominal | 0 | Nominal capacity of hot water production system (>=0) |
| Modelica.Units.SI.HeatFlowRate | QChiWat_flow_nominal | 0 | Nominal capacity of cooling system (<=0) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aHeaWat] | ports_aHeaWat | Fluid connectors for heating water return (from building) | |
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bHeaWat] | ports_bHeaWat | Fluid connectors for heating water supply (to building) | |
| Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aChiWat] | ports_aChiWat | Fluid connectors for chilled water return (from building) | |
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bChiWat] | ports_bChiWat | Fluid connectors for chilled water supply (to building) | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_aSerAmb | Fluid connector for ambient water service supply line | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bSerAmb | Fluid connector for ambient water service return line | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_aSerHea | Fluid connector for heating service supply line | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bSerHea | Fluid connector for heating service return line | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_aSerCoo | Fluid connector for cooling service supply line | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bSerCoo | Fluid connector for cooling service return line | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | PHea | Power drawn by heating system | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | PCoo | Power drawn by cooling system | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | PFan | Power drawn by fan motors | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | PPum | Power drawn by pump motors | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nFue] | QFue_flow | Fuel energy input rate | |
| BoundaryConditions.WeatherData.Bus | weaBus | Weather data bus |
Contents
| Name | Description |
|---|---|
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.