modelHeatPumpDetailed
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:
- 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 - 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.
- 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).
- 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!
- First order behavior of heat pump capacity: Start-up and shut-off of heat pump can be modeled with a first order behavior.
- Electric efficiency: The electric efficiency of the electric drive is implemented to calculate the evaporator heat flow
- 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.
- 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.
- The smoothness of table interpolation can be chosen.
- 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:
- The condenser and evaporator can be parametized with a certain external fluid volume to represent their thermal inertia in the tab Evaporator/Condenser
- 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
| Type | Name | Default | Description |
|---|---|---|---|
| Heat Pump cycle | |||
| Boolean | HPctrlType | true | Capacity control type |
| Integer | capCalcType | 1 | Type of capacity calculation |
| Evaporator, Condenser › Condenser | |||
| SI.PressureDifference | dp_conNominal | 0 | Pressure loss at nominal mass flow in condenser |
| SI.Volume | volume_con | 0.004 | External medium volume in heat exchanger |
| Evaporator, Condenser › Evaporator | |||
| SI.PressureDifference | dp_evaNominal | 0 | Pressure loss at nominal mass flow in evaporator |
| SI.Volume | volume_eva | 0.004 | External medium volume in heat exchanger |
| Capacity data | |||
| AixLib.Obsolete.Year2024.DataBase.HeatPump.HeatPumpBaseDataDefinition | dataTable | AixLib.Obsolete.Year2024.DataBase.HeatPump.EN255.Vitocal350BWH113() | Look-up table data for on/off heat pump according to EN255 or EN14511 |
| Real | N_max | 4200 | Maximum speed of compressor in 1/min (only used if used in polynom) |
| Real | N_min | 1500 | Minimum speed of compressor in 1/min (only used if used in polynom) |
| Real | N_nom | 3600 | Nominal speed of compressor in 1/min (only used if used in polynom) |
| SI.Temperature | T_conMax | 338.15 | Maximum condenser outlet temperature |
| Evaporator, Condenser › Initialization | |||
| SI.Temperature | T_startEva | 273.15 | Initial evaporator temperature |
| SI.Temperature | T_startCon | 308.15 | Initial condenser temperature |
| Advanced › Optional outputs | |||
| Boolean | P_eleOutput | false | Electric power consumption |
| Boolean | CoP_output | false | CoP |
| Advanced › Start/stop behavior | |||
| Boolean | PT1_cycle | false | First Order model for capacity |
| SI.Time | timeConstantCycle | 1 | Time constant for first order model |
| Advanced › Assumptions | |||
| Real | eta_ele | 1 | Assumption of P_tech/P_el (for calculation of Evaporator load) |
| Real | factorScale | 1 | Scaling factor (Attention: not physically correct) |
| SI.Power | P_eleAdd | 0 | Additional electric power when heat pump is on (not influenced through scaling factor) |
| Modelica.Blocks.Types.Smoothness | smoothness | Modelica.Blocks.Types.Smoothness.LinearSegments | Smoothness of table interpolation |
| Advanced › Mass flow correction | |||
| Boolean | CorrFlowCo | false | Correction of mass flow different from nominal flow in condenser (polynomials: make sure mass flow rate is not corrected in polynomials) |
| SI.MassFlowRate | mFlow_conNominal | 0.5 | Nominal mass flow rate in condenser (only with polynomials, as already given in data tables) |
| Boolean | CorrFlowEv | false | Correction of mass flow different from nominal flow in evaporator (polynomials: make sure mass flow rate is not corrected in polynomials) |
| SI.MassFlowRate | mFlow_evaNominal | 0.5 | Nominal mass flow rate in evaporator (only for polynomials, as already given in data tables) |
| Advanced › Heat losses of condenser | |||
| Boolean | heatLosses_con | false | Consider heat losses of condenser to ambient |
| SI.ThermalConductance | R_loss | 1 | Thermal conductance of heat loss to ambient |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_b | port_evaOut | Evaporator fluid output port | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_evaIn | Evaporator fluid input port | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_conIn | Condenser fluid input port | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_conOut | Condenser fluid ouput port | |
| Modelica.Blocks.Interfaces.RealOutput | P_eleOut | Electical power consumption | |
| Modelica.Blocks.Interfaces.RealOutput | CoP_out | Coefficient of Performance | |
| Modelica.Blocks.Interfaces.BooleanInput | onOff_in | Enable or disable heat pump | |
| Modelica.Blocks.Interfaces.RealInput | N_in | Rotational speed of compressor | |
| Modelica.Blocks.Interfaces.RealInput | T_amb | Ambient temperatur input signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| AixLib.Fluid.Sensors.TemperatureTwoPort | T_evaIn | Temperature sensor at inlet of the evaporator | |
| AixLib.Fluid.Sensors.TemperatureTwoPort | T_conIn | Temperature sensor at inlet of the condenser | |
| AixLib.Fluid.Sensors.TemperatureTwoPort | T_conOut | Temperature sensor at outlet of the condenser | |
| AixLib.Fluid.Sensors.TemperatureTwoPort | T_evaOut | Temperature sensor at outlet of the evaporator | |
| AixLib.Fluid.Sensors.MassFlowRate | mFlow_con | Mass flow sensor at the condenser | |
| Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow | heatFlowRate_con | Heat flow rate of the condenser | |
| Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow | heatFlowRate_eva | Heat flow rate of the evaporator | |
| AixLib.Fluid.Sensors.MassFlowRate | mFlow_eva | Mass flow sensor at the evaporator | |
| AixLib.Fluid.HeatPumps.BaseClasses.CycleHP | cycle | Heat pump refrigerant circuit black box model | |
| Modelica.Blocks.Sources.RealExpression | dummyZero | Dummy value used for rotational speed | |
| Modelica.Thermal.HeatTransfer.Components.ThermalConductor | heatConv | Heat flow through condenser casing with a given conductance | |
| Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature | varTemp | Foreces heat losses according to ambient temperature | |
| Modelica.Blocks.Math.Gain | gainMinusOne | Calculated heat flow in evaporator has to be withdrawn | |
| AixLib.Fluid.MixingVolumes.MixingVolume | evaporator | Volume of evaporator | |
| AixLib.Fluid.FixedResistances.PressureDrop | hydRes_eva | The pressure drop caused by flow resistance in the evaporator | |
| AixLib.Fluid.MixingVolumes.MixingVolume | condenser | Volume of condenser | |
| AixLib.Fluid.FixedResistances.PressureDrop | hydRes_con | The pressure drop caused by flow resistance in the condenser |
Contents
| Name | Description |
|---|---|
| Medium outside the refrigerant cycle (Condenser) | |
| Medium outside the refrigerant cycle (Evaporator) | |