modelPartialDynamicHeaterWithLosses

Partial heater model incl dynamics and environmental losses

Extends from IDEAS.Fluid.Interfaces.TwoPortFlowResistanceParameters, IDEAS.Fluid.Interfaces.LumpedVolumeDeclarations.

Information

Model description

This is a partial model for the IDEAS.Fluid.HeatPumps.HP_AirWater_TSet model. This model is dynamic (there is a water content in the heater and a dry mass lumped to it) and it has thermal losses to the environment.

The setpoint temperature of the model is passed as a realInput. The model has two outputs: the electricity consumption PEl and the condensor heat flow rate QCon_flow.

The environmental heat losses are specified by a time constant. Based on the water content, dry capacity and this time constant, the UA value of the heat transfer to the environment will be set.

Assumptions and limitations

The temperature of the dry mass is identical to the outlet temperature of the heater.

Model use

This partial model should not be used as a standalone; use the IDEAS.Fluid.HeatPumps.HP_AirWater_TSet model instead.

Parameters

TypeNameDefaultDescription
BooleanhomotopyInitializationtrue= true, use homotopy method
Nominal condition
Modelica.Units.SI.MassFlowRatem_flow_nominalQNom/cp_default/5Nominal mass flow rate through the condensor
Modelica.Units.SI.PowerQNomNominal thermal power of the heat pump
Thermal capacity
Modelica.Units.SI.MassmWater5Mass of water in the condensor
Modelica.Units.SI.HeatCapacityCDry4800Heat capacity of the dry material lumped to condensor
Environmental heat losses
Modelica.Units.SI.TimetauHeatLoss7200Time constant of environmental heat losses
Modelica.Units.SI.ThermalConductanceUALossmWater*mSenFac*cp_default/tauHeatLossThermal conductance, computed based on time constant and thermal mass
Flow resistance
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal. Used only if model has two ports.

Components

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPortHeat port for thermal losses to environment
Modelica.Blocks.Interfaces.RealInputTSetCondensor temperature setpoint
Modelica.Blocks.Interfaces.RealOutputPElElectrical power consumption
Modelica.Blocks.Interfaces.RealOutputQCon_flowActual condensor heat flow rate
Modelica.Thermal.HeatTransfer.Components.ThermalConductorthermalLosses
IDEAS.Fluid.MixingVolumes.MixingVolumevolMixing volume for heat injection
IDEAS.Fluid.Sensors.TemperatureTwoPortTinInlet temperature
IDEAS.Fluid.Sensors.MassFlowRatesenMasFloMass flow rate sensor
IDEAS.Fluid.FixedResistances.PressureDroppreDroFlow resistance

Revisions

  • April 27, 2026, by Jelger Jansen:
    Revise and clean up model.
    See #1485.
  • February 4, 2025, by Jelger Jansen:
    Added Modelica.Units. to one or multiple parameter(s) due to the removal of import in IDEAS/package.mo. See #1415 .
  • June 5, 2018 by Filip Jorissen:
    Cleaned up implementation for #821.
  • March, 2014, by Filip Jorissen:
    Annex60 compatibility