This partial model provides an implementation for a heat pump. Heat is drawn from the fluid at the 'Brine' side and injected into the 'Fluid' side. The model uses performance tables to calculate the COP and electrical power.
Main equations
The COP and electrical power Pel are read from performance tables as a function of the evaporator inlet temperature and the condensor outlet temperature:
COP = f1(T_out_condensor, T_in_evaporator)
P_el = f2(T_out_condensor, T_in_evaporator)
These values are used to calculate the thermal powers:
Q_condensor = P_el*COP
Q_evaporator = P_el*(COP-1)
If the parameter use_scaling is true, the powers of the heat pump will be scaled with QNom / QNomRef. The nominal mass flow rate of the heat pump is also scaled to correctly scale the pressure losses.
The models also allows partial load if use_modulationSignal is set to true. The modulation is assumed to be ideal and it works then as a scaling input of the power.
The heat pump compressor will be switched off when:
In this case P_el will become zero. The transition from on to off can happen discretely or through a filter using the parameter 'avoidEvents'.
A record with the required parameters needs to be provided.
The parameter 'avoidEvents' can be used to avoid an event when activating the over/under-temperature protection. When avoidEvents is true the thermal mass of the condensor and evaporator are increased to avoid undercooling/overheating the heat pump while it is switching off and the mass flow rate is zero. This factor can be quite significant and depends on the 'riseTime'.
Examples of this model can be found in IDEAS.Fluid.Production.Examples.HeatPump_BrineWater, IDEAS.Fluid.Production.Examples.HeatPump_BrineWaterTset and IDEAS.Fluid.Production.Examples.HeatPump_Events