modelSewageHeatRecovery

Model for sewage heat recovery plant

Extends from Buildings.DHC.Plants.BaseClasses.PartialPlant (Partial class for modeling a plant).

Information

Model of sewage heat recovery plant with sewage mass flow rate and temperature as an input.

Parameters

TypeNameDefaultDescription
Booleanhave_fue (from PartialPlant)nFue > 0Set to true if the plant has fuel use
Buildings.Fluid.Data.Fuels.Generic[nFue]fue (from PartialPlant)Fuel type
Modelica.Units.SI.EfficiencyepsHexHeat exchanger effectiveness
Configuration
Buildings.DHC.Types.DistrictSystemTypetyp (from PartialPlant)Buildings.DHC.Types.DistrictSystemType.CombinedGeneration2to4Type of district system
Booleanhave_fan (from PartialPlant)falseSet to true if fan power is computed
Booleanhave_pum (from PartialPlant)falseSet to true if pump power is computed
Booleanhave_eleHea (from PartialPlant)falseSet to true if the plant has electric heating system
IntegernFue (from PartialPlant)0Number of fuel types (0 means no combustion system)
Booleanhave_eleCoo (from PartialPlant)falseSet to true if the plant has electric cooling system
Booleanhave_weaBus (from PartialPlant)falseSet to true to use a weather bus
Assumptions
BooleanallowFlowReversal (from PartialPlant)falseSet to true to allow flow reversal in service lines
Nominal conditions
Modelica.Units.SI.MassFlowRatemSew_flow_nominalSewage water nominal mass flow rate
Modelica.Units.SI.MassFlowRatemDis_flow_nominalDistrict water nominal mass flow rate
Modelica.Units.SI.PressureDifferencedpSew_nominalSewage side pressure drop at nominal mass flow rate
Modelica.Units.SI.PressureDifferencedpDis_nominalDistrict side pressure drop at nominal mass flow rate

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_aSerAmb (from PartialPlant)Fluid connector for ambient water service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerAmb (from PartialPlant)Fluid connector for ambient water service return line
Modelica.Fluid.Interfaces.FluidPort_aport_aSerHea (from PartialPlant)Fluid connector for heating service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerHea (from PartialPlant)Fluid connector for heating service return line
Modelica.Fluid.Interfaces.FluidPort_aport_aSerCoo (from PartialPlant)Fluid connector for cooling service supply line
Modelica.Fluid.Interfaces.FluidPort_bport_bSerCoo (from PartialPlant)Fluid connector for cooling service return line
Buildings.BoundaryConditions.WeatherData.BusweaBus (from PartialPlant)Weather data bus
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPHea (from PartialPlant)Power drawn by heating system
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPCoo (from PartialPlant)Power drawn by cooling system
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPFan (from PartialPlant)Power drawn by fan motors
Buildings.Controls.OBC.CDL.Interfaces.RealOutputPPum (from PartialPlant)Power drawn by pump motors
Buildings.Controls.OBC.CDL.Interfaces.RealOutputQFue_flow (from PartialPlant)Fuel energy input rate
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSewWatSewage water temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputmPum_flowPumps mass flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealOutputdH_flowVariation of enthalpy flow rate across HX (leaving - entering)

Components

TypeNameDefaultDescription
Fluid.HeatExchangers.ConstantEffectivenesshexHeat exchanger (primary is sewage water side)
Buildings.DHC.ETS.BaseClasses.Pump_m_flowpumDisDistrict water pump
Fluid.Sources.Boundary_pTsouSewSource of sewage water
Buildings.DHC.ETS.BaseClasses.Pump_m_flowpumSewSewage water pump
Fluid.Sensors.TemperatureTwoPortsenTSewOut
Buildings.DHC.Networks.BaseClasses.DifferenceEnthalpyFlowRatesenDifEntFloVariation of enthalpy flow rate
Buildings.Controls.OBC.CDL.Reals.MultiSumsumPPumSum pump power

Revisions

  • November 17, 2025, by Michael Wetter:
    Corrected typo in annotation.
    This is for Buildings, #4406.
  • January 16, 2020, by Michael Wetter:
    First implementation.