modelHeatPumpDetailed

Heat pump model with good level of detail. Mainly fed with manufacturing data.

Extends from AixLib.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

Overview

Heat pump black box model with two simple heat exchangers, no controllers included.

Works as on/off-controlled heat pump or heat pump with capacity control. The type of capacity and electrical power calculation can be chosen:

  1. Polynom
    a) depending on evaporator input temperature, condenser output temperature and variable speed (via conditional speed connector) for capacity controlled heat pumps
    b) depending on evaporator input temperature, condenser output temperature and nominal speed for on/off-controlled heat pump
  2. Table data according for on/off-controlled heat pump, depending on evaporator input temperature, condenser output temperature

Assumptions

Correction models of the calculation can be activated that effect the efficiency or the start-up and shut-off behavior of the heat pump.

  1. Icing and Defrosting: Simple model that uses the evaporator inlet temperature and calculates a factor for CoP correction (according to Wetter and Afjei, 1996). Not enabled for table data, as usually already included (data according EN255 and EN14511).
  2. Mass flow in condenser/evaporator: Model according to Pahud and Lachal, 2004, that corrects the temperatures used within table and polynomial. If the mass flow rates are already taken into account in the chosen polynomial, this sould be deactivated!
  3. First order behavior of heat pump capacity: Start-up and shut-off of heat pump can be modeled with a first order behavior.
  4. Electric efficiency: The electric efficiency of the electric drive is implemented to calculate the evaporator heat flow
  5. Scaling factor: A scaling facor is implemented for scaling of the heat pump power and capacity without effecting the heat pump efficiency which is not physically correct but may be helpful for rough calculation.
  6. Additional electric power: This is a constant value that is added to the power consumption. This may be helpful if e.g. an electric drive operates together with the compressor and shall be included in overall electric power and CoP calculation.
  7. The smoothness of table interpolation can be chosen.
  8. Allowed sink temperature: A maximum condenser outlet temperature limits the condenser heat flow through a PID controller.

Known Limitations

  • Allowed source temperature: No limits for source temperature is implemented. Though, usually this is not a problem if the heat pump is properly integrated into a system model.
  • Defrost: No direct implementation of defrost behavior. This heat pump does not operate in a defrost mode. Only a general CoP correction can be chosen therefore.

Concept

The heat pump speed is helt between the boundaries N_min and N_max even if the input speed is higher or lower. But no further controlling is implemented. The control logic is conciously not integrated into this model.

The calculation of the capacity and electric power does not represent any dynamic behavior of the refrigerant cycle as it occurs in real heat pumps. Therefor two possibilities exist, to add dynamic behavior:

  1. The condenser and evaporator can be parametized with a certain external fluid volume to represent their thermal inertia in the tab Evaporator/Condenser
  2. A first order element can be added to the calculation in the tab Advanced if the check box PT1_cycle is enabled (see: Correction models)

References

Sources:

  • Pahud, D. and Lachal, B.: Mesure des performances thermiques d?une pompe à chaleur couplée sur des sondes géothermiques à Lugano (TI). Office fédéral de l'energie, Bern, Switzerland. 2004.
  • Wetter, M. and Afjei, T.: TRNSYS TYPE 401 - Kompressionswärmepumpe inklusiv Frost- und Taktverluste. Zentralschweizerisches Technikum Luzern - Ingenieruschule HTL, Switzerland. 1996.

Example

See AixLib.Obsolete.Year2024.Fluid.HeatPumps.Examples.HeatPumpDetailed

  • June 23, 2015  by Kristian Huchtemann:
    formatted for use in AixLib
  • December 10, 2013  by Ole Odendahl:
    Formatted documentation appropriately
  • March 27, 2013  by Kristian Huchtemann:
    Corrected connection of evaporator inlet and outlet temperature connectors. Added maximum condenser temperature implementation.
  • January 09, 2006  by Peter Matthes:
    V0.1: Initial configuration.

Parameters

TypeNameDefaultDescription
Heat Pump cycle
BooleanHPctrlTypetrueCapacity control type
IntegercapCalcType1Type of capacity calculation
Evaporator, Condenser › Condenser
SI.PressureDifferencedp_conNominal0Pressure loss at nominal mass flow in condenser
SI.Volumevolume_con0.004External medium volume in heat exchanger
Evaporator, Condenser › Evaporator
SI.PressureDifferencedp_evaNominal0Pressure loss at nominal mass flow in evaporator
SI.Volumevolume_eva0.004External medium volume in heat exchanger
Capacity data
AixLib.Obsolete.Year2024.DataBase.HeatPump.HeatPumpBaseDataDefinitiondataTableAixLib.Obsolete.Year2024.DataBase.HeatPump.EN255.Vitocal350BWH113()Look-up table data for on/off heat pump according to EN255 or EN14511
RealN_max4200Maximum speed of compressor in 1/min (only used if used in polynom)
RealN_min1500Minimum speed of compressor in 1/min (only used if used in polynom)
RealN_nom3600Nominal speed of compressor in 1/min (only used if used in polynom)
SI.TemperatureT_conMax338.15Maximum condenser outlet temperature
Evaporator, Condenser › Initialization
SI.TemperatureT_startEva273.15Initial evaporator temperature
SI.TemperatureT_startCon308.15Initial condenser temperature
Advanced › Optional outputs
BooleanP_eleOutputfalseElectric power consumption
BooleanCoP_outputfalseCoP
Advanced › Start/stop behavior
BooleanPT1_cyclefalseFirst Order model for capacity
SI.TimetimeConstantCycle1Time constant for first order model
Advanced › Assumptions
Realeta_ele1Assumption of P_tech/P_el (for calculation of Evaporator load)
RealfactorScale1Scaling factor (Attention: not physically correct)
SI.PowerP_eleAdd0Additional electric power when heat pump is on (not influenced through scaling factor)
Modelica.Blocks.Types.SmoothnesssmoothnessModelica.Blocks.Types.Smoothness.LinearSegmentsSmoothness of table interpolation
Advanced › Mass flow correction
BooleanCorrFlowCofalseCorrection of mass flow different from nominal flow in condenser (polynomials: make sure mass flow rate is not corrected in polynomials)
SI.MassFlowRatemFlow_conNominal0.5Nominal mass flow rate in condenser (only with polynomials, as already given in data tables)
BooleanCorrFlowEvfalseCorrection of mass flow different from nominal flow in evaporator (polynomials: make sure mass flow rate is not corrected in polynomials)
SI.MassFlowRatemFlow_evaNominal0.5Nominal mass flow rate in evaporator (only for polynomials, as already given in data tables)
Advanced › Heat losses of condenser
BooleanheatLosses_confalseConsider heat losses of condenser to ambient
SI.ThermalConductanceR_loss1Thermal conductance of heat loss to ambient

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_bport_evaOutEvaporator fluid output port
Modelica.Fluid.Interfaces.FluidPort_aport_evaInEvaporator fluid input port
Modelica.Fluid.Interfaces.FluidPort_aport_conInCondenser fluid input port
Modelica.Fluid.Interfaces.FluidPort_bport_conOutCondenser fluid ouput port
Modelica.Blocks.Interfaces.RealOutputP_eleOutElectical power consumption
Modelica.Blocks.Interfaces.RealOutputCoP_outCoefficient of Performance
Modelica.Blocks.Interfaces.BooleanInputonOff_inEnable or disable heat pump
Modelica.Blocks.Interfaces.RealInputN_inRotational speed of compressor
Modelica.Blocks.Interfaces.RealInputT_ambAmbient temperatur input signal

Components

TypeNameDefaultDescription
AixLib.Fluid.Sensors.TemperatureTwoPortT_evaInTemperature sensor at inlet of the evaporator
AixLib.Fluid.Sensors.TemperatureTwoPortT_conInTemperature sensor at inlet of the condenser
AixLib.Fluid.Sensors.TemperatureTwoPortT_conOutTemperature sensor at outlet of the condenser
AixLib.Fluid.Sensors.TemperatureTwoPortT_evaOutTemperature sensor at outlet of the evaporator
AixLib.Fluid.Sensors.MassFlowRatemFlow_conMass flow sensor at the condenser
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowheatFlowRate_conHeat flow rate of the condenser
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowheatFlowRate_evaHeat flow rate of the evaporator
AixLib.Fluid.Sensors.MassFlowRatemFlow_evaMass flow sensor at the evaporator
AixLib.Fluid.HeatPumps.BaseClasses.CycleHPcycleHeat pump refrigerant circuit black box model
Modelica.Blocks.Sources.RealExpressiondummyZeroDummy value used for rotational speed
Modelica.Thermal.HeatTransfer.Components.ThermalConductorheatConvHeat flow through condenser casing with a given conductance
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperaturevarTempForeces heat losses according to ambient temperature
Modelica.Blocks.Math.GaingainMinusOneCalculated heat flow in evaporator has to be withdrawn
AixLib.Fluid.MixingVolumes.MixingVolumeevaporatorVolume of evaporator
AixLib.Fluid.FixedResistances.PressureDrophydRes_evaThe pressure drop caused by flow resistance in the evaporator
AixLib.Fluid.MixingVolumes.MixingVolumecondenserVolume of condenser
AixLib.Fluid.FixedResistances.PressureDrophydRes_conThe pressure drop caused by flow resistance in the condenser

Contents

NameDescription
Medium_conMedium outside the refrigerant cycle (Condenser)
Medium_evaMedium outside the refrigerant cycle (Evaporator)
data_poly
Corr_icing