modelCycleHP

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

Information

Overview

Heat pump refrigerant circuit black box model, no controllers included. It is used within the HeatPump model and delivers the basic functionality of the heat pump. The HeatPump model only adds the external heat exchangers and according connectors.

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.

Concept

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

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. Therefore 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.

Parameters

TypeNameDefaultDescription
Heat Pump cycle
BooleanHPctrlTypetrueCapacity control type
IntegercapCalcType1Type of capacity calculation
SI.TemperatureT_conMax338.15Maximum condenser outlet temperature
Capacity data
DataBase.HeatPump.HeatPumpBaseDataDefinitiondataTableAixLib.Obsolete.Year2024.DataBase.HeatPump.EN255.Vitocal350BWH113()Look-up table data for on/off heat pump according to EN255/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)
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 (use only if not included in polynom)
SI.MassFlowRatemFlow_conNominal0.5Nominal mass flow rate in condenser
BooleanCorrFlowEvfalseCorrection of mass flow different from nominal flow in evaporator (use only if not included in polynom)
SI.MassFlowRatemFlow_evaNominal0.5Nominal mass flow rate in evaporator

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputP_eleOut
Modelica.Blocks.Interfaces.BooleanInputonOff_in
Modelica.Blocks.Interfaces.RealOutputCoP_out
Modelica.Blocks.Interfaces.RealInputN_in
Modelica.Blocks.Interfaces.RealOutputQdot_conOutValue of Real output
Modelica.Blocks.Interfaces.RealInputT_conInConnector of Real input signal to be converted
Modelica.Blocks.Interfaces.RealInputT_evaInConnector of Real input signal to be converted
Modelica.Blocks.Interfaces.RealOutputQdot_evaOutValue of Real output
Modelica.Blocks.Interfaces.RealInputT_conOutConnector of Real input signal to be converted
Modelica.Blocks.Interfaces.RealInputT_evaOutConnector of Real input signal to be converted
Modelica.Blocks.Interfaces.RealInputmFlow_evaConnector of Real input signal to be converted
Modelica.Blocks.Interfaces.RealInputmFlow_conConnector of Real input signal to be converted

Components

TypeNameDefaultDescription
SI.PowerP_ele
SI.PowerP_eleChar
SI.HeatFlowRateQdot_eva
SI.HeatFlowRateQdot_con
SI.HeatFlowRateQdot_conChar
RealCoP
RealCoP_corr
RealCoP_char
RealN
RealfactorCoP_icing
Real[2]Char
RealT_conOutCorr
RealT_evaInCorr
Modelica.Blocks.Sources.RealExpressionrealQdot_con
Modelica.Blocks.Sources.RealExpressionrealQdot_eva
Modelica.Blocks.Sources.RealExpressionrealPel
Modelica.Blocks.Sources.RealExpressionrealCoP
Modelica.Blocks.Tables.CombiTable2DsQdot_ConTable
Modelica.Blocks.Tables.CombiTable2DsP_eleTableElectrical power table
Modelica.Blocks.Sources.RealExpressionrealT_evaIn
Modelica.Blocks.Sources.RealExpressionrealT_conOut
Modelica.Blocks.Continuous.FirstOrderfirstOrder
Modelica.Blocks.Math.ProductproductPelCoP1
Modelica.Blocks.Math.UnitConversions.To_degCt_Ev_in
Modelica.Blocks.Math.UnitConversions.To_degCt_Co_out
Modelica.Blocks.Sources.RealExpressiondummyZero
Modelica.Blocks.Sources.RealExpressionrealCoP_corr
Modelica.Blocks.Logical.TriggeredTrapezoidrealP_eleAdd
Modelica.Blocks.Logical.GreaterThresholdgreaterZero
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Sources.RealExpressiondummyOne
Modelica.Blocks.Math.UnitConversions.To_degCt_conIn
Modelica.Blocks.Sources.RealExpressionmaxTempCon
Modelica.Blocks.Math.ProductproductPelCoP2
Modelica.Blocks.Continuous.LimPIDPIDmaxHeatFlowCon

Contents

NameDescription
data_poly
Corr_icing

Revisions

  • March 27, 2013 by Kristian Huchtemann:
    Added maximum condenser temperature implementation.
  • December 10, 2013  by Ole Odendahl:
    Formatted documentation appropriately
  • April 23, 2013  by Kristian Huchtemann:
    implemented