Buildings.Experimental.DHC.EnergyTransferStations.Combined.BaseClasses
Package with base classes
Information
This package contains base classes that are used to construct the classes in Buildings.Experimental.DHC.EnergyTransferStations.Combined.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
PartialParallel | Partial ETS model with district heat exchanger and parallel connection of production systems |
Buildings.Experimental.DHC.EnergyTransferStations.Combined.BaseClasses.PartialParallel
Partial ETS model with district heat exchanger and parallel connection of production systems
Information
This is a base model providing the hydronic configuration for an energy transfer
station as described in the schematics below.
It is typically used to integrate systems providing both heating water and chilled
water, such as heat recovery chillers.
Furthermore, it can be connected to an adjustable number (nSouAmb
)
of systems serving as ambient sources (including the district heat exchanger).
- The connection to the district loop is realized with a heat exchanger, according to the operating principles described in Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.HeatExchanger.
- The connection of the heating water and chilled water production systems to the systems serving as ambient sources is realized in parallel.
- A replaceable partial class is used to represent a supervisory controller, which must be replaced by a control block providing at least the control signals listed in Buildings.Experimental.DHC.EnergyTransferStations.Combined.Controls.BaseClasses.PartialSupervisory.
Models that extend this base class must
-
specify the number of systems serving as ambient sources
nSouAmb
, the number of heating water production systemsnSysHea
, and the number of chilled water production systemsnSysCoo
(by defaultnSysCoo=nSysHea
which corresponds to a configuration where both productions are ensured by the same system, such as a heat recovery chiller), -
modify the parameter binding with the nominal mass flow rate of each connection
to each collector/distributor model, namely the parameter
mCon_flow_nominal
(array) of the componentscolChiWat
,colHeaWat
andcolAmbWat
. The connection index1
for the componentscolChiWat
andcolHeaWat
is reserved for the connection with the ambient source circuit. It increases with the distance from the buffer tank. The connection index1
for the componentcolAmbWat
is reserved for the connection with the district heat exchanger. Note that the order of the connections has no impact on the flow distribution as the connections are in parallel.
Note that the model includes a pressure boundary condition which
is shared between the hot water and chilled water circuits, the two circuits
being hydronically connected.
Extends from Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.PartialETS (Partial class for modeling an energy transfer station).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package MediumSer | Water | Service side medium | |
replaceable package MediumSerHea_a | Water | Service side medium at heating inlet | |
replaceable package MediumBui | Water | Building side medium | |
Generic | fue[nFue] | Fuel type | |
ConnectionConfiguration | conCon | Buildings.Experimental.DHC.E... | District connection configuration |
Integer | nSysHea | Number of heating systems | |
Integer | nSysCoo | nSysHea | Number of cooling systems |
Integer | nSouAmb | 1 | Number of ambient sources |
PartialSupervisory | conSup | redeclare Buildings.Experime... | Supervisory controller |
Configuration | |||
DistrictSystemType | typ | Buildings.Experimental.DHC.T... | Type of district system |
Boolean | have_heaWat | true | 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 | true | Set to true if the ETS supplies chilled water |
Boolean | have_fan | false | Set to true if fan power is computed |
Boolean | have_pum | true | 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 |
Nominal condition | |||
HeatFlowRate | QHeaWat_flow_nominal | 0 | Nominal capacity of heating system (>=0) [W] |
HeatFlowRate | QHotWat_flow_nominal | 0 | Nominal capacity of hot water production system (>=0) [W] |
HeatFlowRate | QChiWat_flow_nominal | 0 | Nominal capacity of cooling system (<=0) [W] |
PressureDifference | dpValIso_nominal | 2E3 | Nominal pressure drop of ambient circuit isolation valves [Pa] |
District heat exchanger | |||
PressureDifference | dp1Hex_nominal | Nominal pressure drop across heat exchanger on district side [Pa] | |
PressureDifference | dp2Hex_nominal | Nominal pressure drop across heat exchanger on building side [Pa] | |
HeatFlowRate | QHex_flow_nominal | Nominal heat flow rate through heat exchanger (from district to building) [W] | |
Temperature | T_a1Hex_nominal | Nominal water inlet temperature on district side [K] | |
Temperature | T_b1Hex_nominal | Nominal water outlet temperature on district side [K] | |
Temperature | T_a2Hex_nominal | Nominal water inlet temperature on building side [K] | |
Temperature | T_b2Hex_nominal | Nominal water outlet temperature on building side [K] | |
Real | spePum1HexMin | 0.1 | Heat exchanger primary pump minimum speed (fractional) [1] |
Real | spePum2HexMin | 0.1 | Heat exchanger secondary pump minimum speed (fractional) [1] |
Generic | perPum1Hex | perPum1Hex(motorCooledByFlui... | Record with performance data for primary pump |
Generic | perPum2Hex | perPum2Hex(motorCooledByFlui... | Record with performance data for secondary pump |
Buffer Tank | |||
Volume | VTanHeaWat | Heating water tank volume [m3] | |
Length | hTanHeaWat | (VTanHeaWat*16/Modelica.Cons... | Heating water tank height (assuming twice the diameter) [m] |
Length | dInsTanHeaWat | 0.1 | Heating water tank insulation thickness [m] |
Volume | VTanChiWat | Chilled water tank volume [m3] | |
Length | hTanChiWat | (VTanChiWat*16/Modelica.Cons... | Chilled water tank height (without insulation) [m] |
Length | dInsTanChiWat | 0.1 | Chilled water tank insulation thickness [m] |
Integer | nSegTan | 3 | Number of volume segments for tanks |
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 |
Connectors
Type | Name | Description |
---|---|---|
FluidPorts_a | ports_aHeaWat[nPorts_aHeaWat] | Fluid connectors for heating water return (from building) |
FluidPorts_b | ports_bHeaWat[nPorts_bHeaWat] | Fluid connectors for heating water supply (to building) |
FluidPorts_a | ports_aChiWat[nPorts_aChiWat] | Fluid connectors for chilled water return (from building) |
FluidPorts_b | ports_bChiWat[nPorts_bChiWat] | Fluid connectors for chilled water supply (to building) |
FluidPort_a | port_aSerAmb | Fluid connector for ambient water service supply line |
FluidPort_b | port_bSerAmb | Fluid connector for ambient water service return line |
FluidPort_a | port_aSerHea | Fluid connector for heating service supply line |
FluidPort_b | port_bSerHea | Fluid connector for heating service return line |
FluidPort_a | port_aSerCoo | Fluid connector for cooling service supply line |
FluidPort_b | port_bSerCoo | Fluid connector for cooling service return line |
output RealOutput | PHea | Power drawn by heating system [W] |
output RealOutput | PCoo | Power drawn by cooling system [W] |
output RealOutput | PFan | Power drawn by fan motors [W] |
output RealOutput | PPum | Power drawn by pump motors [W] |
output RealOutput | QFue_flow[nFue] | Fuel energy input rate [W] |
Bus | weaBus | Weather data bus |
input BooleanInput | uHea | Heating enable signal |
input BooleanInput | uCoo | Cooling enable signal |
input RealInput | THeaWatSupSet | Heating water supply temperature set point [K] |
input RealInput | TChiWatSupSet | Chilled water supply temperature set point [K] |