Heat Pump¶
Description¶
The HeatPump asset models a four-port water-to-water heat pump that extracts heat from a
primary circuit and delivers it to a secondary circuit. In the thermal network, the primary side
acts as a heat sink and the secondary side acts as a heat source. The asset therefore couples two
hydraulic circuits through an energy balance, while electrical power provides the difference between
heat extracted on the primary side and heat delivered on the secondary side.
The asset is mapped from ESDL HeatPump objects. The coefficient of performance is read from the
ESDL COP property, and an optional electrical power limit is read from the ESDL power
property. During simulation, the controller provides temperatures and heat-demand setpoints for both
sides of the asset.
Parameters¶
Parameter |
Description |
Unit |
ESDL Asset Property |
|---|---|---|---|
|
Ratio of delivered secondary heat to electrical input power |
|
|
|
Upper bound on electrical input power, if configured |
W |
|
|
Primary-side inlet temperature |
K |
not mapped from ESDL; set by controller |
|
Primary-side outlet temperature |
K |
not mapped from ESDL; set by controller |
|
Secondary-side inlet temperature |
K |
not mapped from ESDL; set by controller |
|
Secondary-side outlet temperature |
K |
not mapped from ESDL; set by controller |
Controlled Parameters¶
The controller provides setpoints for both hydraulic sides of the heat pump:
Signal |
Description |
Unit |
|---|---|---|
|
Primary-side inlet temperature |
K |
|
Primary-side outlet temperature |
K |
|
Requested heat extraction on the primary side |
W |
|
Secondary-side inlet temperature |
K |
|
Secondary-side outlet temperature |
K |
|
Requested heat delivery on the secondary side |
W |
|
Flag that determines whether the secondary side is pressure-controlled or mass-flow-controlled |
The secondary-side setpoints are applied first. If a maximum electrical power is configured, the requested secondary heat output can be capped before the corresponding primary-side heat extraction is determined.
Additional simulation outputs¶
In addition to the default per-port outputs for mass flow, pressure, temperature, and volume flow, the heat pump asset provides the following additional outputs:
Physics and Assumptions¶
The heat pump couples a cold primary side to a hot secondary side through an energy-transfer model. The secondary side represents the useful heat delivered to the network. The primary side represents heat extracted from a source circuit. Electricity supplies the remaining energy needed to raise heat from the primary temperature level to the secondary temperature level.
COP-based coupling¶
The model uses the coefficient of performance, \(COP\), to define the ratio between extracted primary heat and delivered secondary heat:
Combining these relations gives:
The solver uses the ratio \(c = Q_{cold}/Q_{hot} = 1 - 1/COP\) as the heat-transfer coefficient between the primary and secondary sides.
where:
\(Q_{hot}\) |
Heat delivered on the secondary side [W] |
|---|---|
\(Q_{cold}\) |
Heat extracted on the primary side [W] |
\(W_{el}\) |
Electrical input power [W] |
\(COP\) |
Coefficient of performance [-] |
Mass flow¶
For each side, the requested heat transfer is translated into a mass flow using the prescribed inlet and outlet temperatures:
where:
\(\dot{m}\) |
Mass flow rate [kg/s] |
|---|---|
\(Q\) |
Requested heat transfer on the selected side [W] |
\(c_p\) |
Specific heat capacity at the mean fluid temperature [J/(kg K)] |
\(T_{in}\) |
Inlet temperature on the selected side [K] |
\(T_{out}\) |
Outlet temperature on the selected side [K] |
On the primary side, the resulting mass flow is used to initialize the heat-transfer balance. On the
secondary side, the asset either prescribes mass flow directly or prescribes pressure, depending on
set_pressure.
Electrical power cap¶
If maximum_electrical_power is configured, the requested secondary heat output is limited so that
which implies
When this cap is active, the secondary heat-demand request is reduced before the corresponding primary-side demand is derived.
Heat powers and electricity consumption¶
After solving, the reported heat powers are evaluated from mass flow and internal-energy difference on each side:
The electrical input power is then reported as:
These outputs are useful for checking whether the simulated heat pump is operating near its intended COP and electrical-power limit.
Assumptions¶
The heat pump is represented as a steady-state coupling between a primary and secondary circuit.
The coefficient of performance is constant during a timestep.
Prescribed inlet and outlet temperatures are used directly; no internal refrigerant cycle is modeled.
Dynamic compressor behavior, cycling, and start-up effects are not modeled.
The secondary side can be operated either with prescribed mass flow or prescribed pressure.
Fluid properties are represented through temperature-dependent water properties used elsewhere in the simulator.
Limitations¶
No explicit refrigerant thermodynamics, compressor map, or part-load efficiency curve.
No defrost behavior, auxiliary electric heater, or minimum on/off time logic.
No explicit thermal losses to the surroundings.
The COP does not vary with source temperature, sink temperature, or operating point within the asset model.
The documentation describes the four-port
HeatPumpasset; the separate two-portAirToWaterHeatPumpasset follows different behavior and should be documented separately.
See Also¶
Heat Exchanger — Related four-port heat transfer asset (passive coupling)
Air To Water Heat Pump — Two-port heat pump variant
ProductionCluster — Simple heat source model
References¶
References
(No references listed.)