modelPartialDynamicHeaterWithLosses
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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | homotopyInitialization | true | = true, use homotopy method |
| Nominal condition | |||
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | QNom/cp_default/5 | Nominal mass flow rate through the condensor |
| Modelica.Units.SI.Power | QNom | Nominal thermal power of the heat pump | |
| Thermal capacity | |||
| Modelica.Units.SI.Mass | mWater | 5 | Mass of water in the condensor |
| Modelica.Units.SI.HeatCapacity | CDry | 4800 | Heat capacity of the dry material lumped to condensor |
| Environmental heat losses | |||
| Modelica.Units.SI.Time | tauHeatLoss | 7200 | Time constant of environmental heat losses |
| Modelica.Units.SI.ThermalConductance | UALoss | mWater*mSenFac*cp_default/tauHeatLoss | Thermal conductance, computed based on time constant and thermal mass |
| Flow resistance | |||
| Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal. Used only if model has two ports. |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort | Heat port for thermal losses to environment | |
| Modelica.Blocks.Interfaces.RealInput | TSet | Condensor temperature setpoint | |
| Modelica.Blocks.Interfaces.RealOutput | PEl | Electrical power consumption | |
| Modelica.Blocks.Interfaces.RealOutput | QCon_flow | Actual condensor heat flow rate | |
| Modelica.Thermal.HeatTransfer.Components.ThermalConductor | thermalLosses | ||
| IDEAS.Fluid.MixingVolumes.MixingVolume | vol | Mixing volume for heat injection | |
| IDEAS.Fluid.Sensors.TemperatureTwoPort | Tin | Inlet temperature | |
| IDEAS.Fluid.Sensors.MassFlowRate | senMasFlo | Mass flow rate sensor | |
| IDEAS.Fluid.FixedResistances.PressureDrop | preDro | Flow resistance |
Revisions
-
April 27, 2026, by Jelger Jansen:
Revise and clean up model.
See #1485. -
February 4, 2025, by Jelger Jansen:
AddedModelica.Units.to one or multiple parameter(s) due to the removal ofimportin IDEAS/package.mo. See #1415 . -
June 5, 2018 by Filip Jorissen:
Cleaned up implementation for #821. -
March, 2014, by Filip Jorissen:
Annex60 compatibility