modelPartialIndirect

Partial indirect energy transfer station for district energy systems

Extends from Buildings.DHC.ETS.BaseClasses.PartialETS (Partial class for modeling an energy transfer station).

Information

Indirect cooling energy transfer station (ETS) model that controls the building chilled water supply temperature by modulating a primary control valve on the district supply side. The design is based on a typical district cooling ETS described in ASHRAE's District Cooling Guide. As shown in the figure below, the building pumping design (constant/variable) is specified on the building side and not within the ETS.

DHC.ETS.Indirect

Reference

American Society of Heating, Refrigeration and Air-Conditioning Engineers. (2019). Chapter 5: End User Interface. In District Cooling Guide, Second Edition and Owner's Guide for Buildings Served by District Cooling.

Parameters

TypeNameDefaultDescription
Buildings.Fluid.Data.Fuels.Generic[nFue]fue (from PartialETS)Fuel type
Configuration
TypDisSystyp (from PartialETS)Buildings.DHC.Types.DistrictSystemType.CombinedGeneration2to4Type of district system
IntegernPorts_aHeaWat (from PartialETS)0Number of heating water return ports
IntegernPorts_bHeaWat (from PartialETS)0Number of heating water supply ports
IntegernPorts_aChiWat (from PartialETS)0Number of chilled water return ports
IntegernPorts_bChiWat (from PartialETS)0Number of chilled water supply ports
Booleanhave_heaWat (from PartialETS)falseSet to true if the ETS supplies heating water
Booleanhave_hotWat (from PartialETS)falseSet to true if the ETS supplies hot water
Booleanhave_chiWat (from PartialETS)falseSet to true if the ETS supplies chilled water
Booleanhave_fan (from PartialETS)falseSet to true if fan power is computed
Booleanhave_pum (from PartialETS)falseSet to true if pump power is computed
Booleanhave_eleHea (from PartialETS)falseSet to true if the ETS has electric heating system
IntegernFue (from PartialETS)0Number of fuel types (0 means no combustion system)
Booleanhave_eleCoo (from PartialETS)falseSet to true if the ETS has electric cooling system
Booleanhave_weaBus (from PartialETS)falseSet to true to use a weather bus
Assumptions
BooleanallowFlowReversalSer (from PartialETS)falseSet to true to allow flow reversal on service side
BooleanallowFlowReversalBui (from PartialETS)falseSet to true to allow flow reversal on building side
Nominal condition
Modelica.Units.SI.HeatFlowRateQHeaWat_flow_nominal (from PartialETS)0Nominal capacity of heating system (>=0)
Modelica.Units.SI.HeatFlowRateQHotWat_flow_nominal (from PartialETS)0Nominal capacity of hot water production system (>=0)
Modelica.Units.SI.HeatFlowRateQChiWat_flow_nominal (from PartialETS)0Nominal capacity of cooling system (<=0)
Modelica.Units.SI.MassFlowRatemDis_flow_nominalNominal mass flow rate of district side
Modelica.Units.SI.MassFlowRatemBui_flow_nominalNominal mass flow rate of building side
Modelica.Units.SI.PressureDifferencedpConVal_nominal6000Nominal pressure drop of fully open control valve
Heat exchanger
Modelica.Units.SI.PressureDifferencedp1_nominalNominal pressure difference on primary side
Modelica.Units.SI.PressureDifferencedp2_nominalNominal pressure difference on secondary side
Booleanuse_Q_flow_nominaltrueSet to true to specify Q_flow_nominal and temeratures, or to false to specify effectiveness
Modelica.Units.SI.HeatFlowRateQ_flow_nominalNominal heat transfer (positive for heat transfer from district to building)
Modelica.Units.SI.TemperatureT_a1_nominalNominal temperature at port a1 (district supply)
Modelica.Units.SI.TemperatureT_a2_nominalNominal temperature at port a2 (building return)
Modelica.Units.SI.Efficiencyeta0.8Constant effectiveness
PID controller
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PIType of controller
Realk1Gain of controller
Modelica.Units.SI.TimeTi120Time constant of integrator block
Modelica.Units.SI.TimeTd0.1Time constant of derivative block
RealyMax1Upper limit of output
RealyMin0.01Lower limit of output

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aHeaWat]ports_aHeaWat (from PartialETS)Fluid connectors for heating water return (from building)
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bHeaWat]ports_bHeaWat (from PartialETS)Fluid connectors for heating water supply (to building)
Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aChiWat]ports_aChiWat (from PartialETS)Fluid connectors for chilled water return (from building)
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bChiWat]ports_bChiWat (from PartialETS)Fluid connectors for chilled water supply (to building)
Modelica.Fluid.Interfaces.FluidPort_aport_aSerAmb (from PartialETS)Fluid connector for ambient water service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerAmb (from PartialETS)Fluid connector for ambient water service return line
Modelica.Fluid.Interfaces.FluidPort_aport_aSerHea (from PartialETS)Fluid connector for heating service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerHea (from PartialETS)Fluid connector for heating service return line
Modelica.Fluid.Interfaces.FluidPort_aport_aSerCoo (from PartialETS)Fluid connector for cooling service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerCoo (from PartialETS)Fluid connector for cooling service return line
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPHea (from PartialETS)Power drawn by heating system
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPCoo (from PartialETS)Power drawn by cooling system
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPFan (from PartialETS)Power drawn by fan motors
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPPum (from PartialETS)Power drawn by pump motors
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nFue]QFue_flow (from PartialETS)Fuel energy input rate
BoundaryConditions.WeatherData.BusweaBus (from PartialETS)Weather data bus
Modelica.Blocks.Interfaces.RealInputTBuiSupSetSetpoint temperature for building supply
Modelica.Blocks.Interfaces.RealOutputQ_flowMeasured heating demand at the ETS
Modelica.Blocks.Interfaces.RealOutputQMeasured energy consumption at the ETS

Components

TypeNameDefaultDescription
Buildings.Fluid.Sensors.TemperatureTwoPortsenTDisSupDistrict supply temperature sensor
Buildings.Fluid.Sensors.MassFlowRatesenMasFloDistrict supply mass flow rate sensor
Buildings.Fluid.Actuators.Valves.TwoWayEqualPercentageconValControl valve
Buildings.Fluid.HeatExchangers.PlateHeatExchangerEffectivenessNTUhexHeat exchanger
Buildings.Fluid.Sensors.TemperatureTwoPortsenTDisRetDistrict return temperature sensor
Buildings.Fluid.Sensors.TemperatureTwoPortsenTBuiRetBuilding return temperature sensor
Buildings.Fluid.Sensors.TemperatureTwoPortsenTBuiSupBuilding supply temperature sensor
Controls.OBC.CDL.Reals.PIDconBuilding supply temperature controller
Modelica.Blocks.Math.AdddTDisTemperature difference on the district side
Modelica.Blocks.Math.Productproproduct
Modelica.Blocks.Math.GaincpSpecific heat multiplier to calculate heat flow rate
Modelica.Blocks.Continuous.IntegratorintIntegration

Revisions

  • March 11, 2024, by Michael Wetter:
    Corrected wrong displayUnit string.
  • April 7, 2023, by David Blum:
    Changed to partial base class for indirect so can extend to heating and cooling ETS.
  • January 11, 2023, by Michael Wetter:
    Changed controls to use CDL. Changed PID to PI as default for controller.
  • March 21, 2022, by Chengnan Shi:
    Update with base class partial model.
  • Novermber 13, 2019, by Kathryn Hinkelman:
    First implementation.