Result keys¶
analyze_steady returns a flat dict and analyze_dynamic a
pandas.DataFrame whose columns are the same keys, one row per time step.
This page lists every key the five released families return with their
default options: what it means, its unit and sign, and which family carries
it. The model pages explain the physics behind a group of keys; this page is
the index.
How to read a result¶
The unit is in the key.
E_cmp [W]is in watts,T_tank_w [°C]in degrees Celsius,dV_ou_a [m3/s]in cubic metres per second. A key without a bracket is a flag (bool), a name (str) or a plain ratio.Everything is a rate. Heat and power are in watts, never joules. In a dynamic row they are means over the step, so energy is the column times
dt_s.Location, not role. Heat duties are named after the heat exchanger they cross (
Q_ref_iu,Q_ref_ou,Q_ref_tank,Q_ref_ground) and are never negative;modesays which of them is the condenser.The request is signed, the result is not.
Q_r_iu < 0asks for heating andQ_r_iu > 0for cooling;Q_request [W]repeats it as given,Q_ref_iu [W]is the magnitude delivered.Off is 0, undefined is NaN. An off or failed row has
hp_is_on == False, zero heat and power, and NaN for what does not exist without a running cycle (COP, refrigerant states, efficiencies).failure_reasonseparates “not asked to run” ("none") from “could not run” (failure_reason semantics).A row can be a time average. Below the minimum compressor speed a steady result is the mean of on/off operation, and a boiler’s dynamic step is the mean over a step in which the thermostat may have switched the compressor.
runtime_fraction [-]is below 1 on such rows: rates are means, temperatures, pressures and speed are those of the running machine.
In the Where column a family name alone means the key is in both
analyze_steady and analyze_dynamic; (s) marks steady only, (d)
dynamic only; all is all five families in both. The families are ASHP
(AirSourceHeatPump), GSHP
(GroundSourceHeatPump), ASHPB
(AirSourceHeatPumpBoiler), GSHPB
(GroundSourceHeatPumpBoiler) and WSHPB
(WaterSourceHeatPumpBoiler).
from tmhp import AirSourceHeatPump
row = AirSourceHeatPump().analyze_steady(Q_r_iu=-9_000, T0=-15.0, T_a_room=20.0)
row["failure_reason"] # "none": the unit runs
row["capacity_clamped"] # "max": it delivers less than the 9 kW asked for
row["capacity_binding"] # "compressor": the speed ceiling stops it
row["Q_ref_iu [W]"] # heat delivered, about 4.4 kW
row["Q_unmet [W]"] # the rest of the request, about 4.6 kW
Status and flags¶
Keys without a unit bracket are flags or names. Read these first: they say whether the numbers of the row are an operating point, a reduced one, a time average, or placeholders.
Key |
Where |
Meaning |
|---|---|---|
|
all |
|
|
all |
|
|
all |
The operating point closed: heat exchangers and compressor speed. |
|
all |
The compressor-speed solve met the duty inside |
|
all |
|
|
all |
|
|
all |
On a |
|
ASHP, GSHP (s), ASHPB (s), GSHPB (s), WSHPB (s) |
A default compressor efficiency is evaluated outside the data of its maps at this point: the speeds 30–110 rev/s and the convex hull of the measured points in pressure ratio and evaporating saturation temperature ( |
|
all |
The discharge-temperature control acted: suction superheat reduced, then wet suction, to hold |
|
GSHP, ASHPB |
The pressure ratio was raised to the floor |
|
ASHP, GSHP |
The indoor air receives heat in heating and gives it up in cooling (with a wet coil: sensible plus latent, net of the fan heat). |
|
ASHP, ASHPB |
The outdoor fan runs at its smallest airflow (ASHPB: |
|
ASHP, ASHPB |
The outdoor fan runs at its largest airflow (ASHPB: |
|
ASHP, GSHP |
The indoor fan runs at its smallest airflow. |
|
ASHP, GSHP |
The indoor fan runs at its largest airflow. |
Request, capacity and part load¶
What was asked for, what was delivered, and how a request outside the modulation range was answered.
runtime_fraction [-] is the one key that tells a time-averaged row from a continuous one.
Key |
Where |
Meaning |
|---|---|---|
|
all |
The duty asked for, with the sign it was given ( |
|
ASHP, GSHP |
Part of the request not delivered, ≥ 0, on the basis of |
|
ASHP |
What |
|
ASHP |
Only on a row asked with |
|
all |
On a |
|
ASHP, GSHP, ASHPB (s), GSHPB (s), WSHPB (s) |
On a |
|
ASHPB (s) |
Requested duty over |
|
ASHPB (s) |
Delivered duty over |
|
ASHP, GSHP, ASHPB (s), GSHPB (s), WSHPB (s) |
Request over the minimum-speed duty (the CR of EN 14825); 1 on a row that does not cycle, 0 when off. |
|
ASHP, GSHP, ASHPB (s), GSHPB (s), WSHPB (s) |
Mean COP over the continuous minimum-speed COP on a cycling row (EN 14825 degradation); 1 otherwise. |
|
all |
Share of the time the compressor runs. Steady: 1, or below 1 on a |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Number of compressor starts inside the step (boiler dynamic steps). |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
|
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Only on the rows of a boiler built with |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Only on the rows of a boiler built with |
|
ASHP, GSHP, ASHPB (s), GSHPB (s), WSHPB (s) |
Mean electrical power drawn beyond |
Heat rates¶
Q_ref_* are refrigerant-side duties named by where the heat exchanger is, always ≥ 0: in heating the
indoor unit or tank is the condenser, in cooling the indoor unit is the evaporator. Stream keys
(Q_a_*, Q_tank_w_*, Q_mix_*) are enthalpy flows ṁ c (T − T0) counted from the outdoor
temperature of the row and can be negative; only their differences are heat rates.
Key |
Where |
Meaning |
|---|---|---|
|
ASHP, GSHP |
Indoor-coil duty on the refrigerant side, before indoor-fan heat: heat delivered in heating, heat removed in cooling. All sensible for a dry coil; with |
|
ASHP, ASHPB |
Outdoor-coil duty: heat absorbed from outdoor air in heating (and by the boiler), rejected to it in cooling. |
|
ASHPB, GSHPB, WSHPB |
Heat the condenser delivers to the tank water. |
|
GSHP, GSHPB |
Duty of the heat exchanger between refrigerant and ground-loop fluid: absorbed in heating, rejected in cooling. |
|
WSHPB |
Duty of the evaporator on the source-water loop: WSHPB’s counterpart of |
|
GSHP, GSHPB, WSHPB |
Heat taken from the ground (or source water) by the loop: positive when extracted, negative when rejected in cooling. Differs from |
|
ASHPB |
Heat the outdoor air gives up across the coil (air-side counterpart of |
|
ASHP, GSHP |
Enthalpy flow of the air entering the indoor unit, from |
|
ASHP, GSHP |
Enthalpy flow of the dry air leaving the indoor unit (after the fan), from |
|
ASHP |
Sensible heat across the indoor coil, air side, before the indoor fan: air heat capacity rate times |
|
ASHP |
Latent heat the indoor coil takes from the room air in cooling: |
|
ASHP |
Net sensible heat the room air gives up in cooling ( |
|
ASHPB, GSHPB, WSHPB |
Heat lost through the tank wall to its surroundings ( |
|
ASHPB |
Enthalpy flow of the make-up water entering the tank, from |
|
ASHPB, GSHPB (d), WSHPB (d) |
Enthalpy flow of the hot water leaving the tank, from |
|
ASHPB |
Enthalpy flow of the mains water entering the mixing valve, from |
|
ASHPB |
Enthalpy flow of the mixed water delivered to the tap, from |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Hot-water heat the step was asked for: scheduled draw at the set point |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Part of |
Electrical power and COP¶
All E_* are electrical input, ≥ 0, and 0 on an off row. COPs are NaN on an off or failed row, never 0.
Key |
Where |
Meaning |
|---|---|---|
|
all |
Compressor electrical input, |
|
all |
Heat the compressor shell gives off, |
|
GSHP |
Work the compressor does on the refrigerant, |
|
GSHP |
|
|
ASHP, ASHPB |
Outdoor-fan electrical input. |
|
ASHP, GSHP |
Indoor-fan electrical input. Its heat is in the air leaving the indoor unit. |
|
GSHP, GSHPB, WSHPB |
Source-loop pump electrical input. It warms the loop fluid. |
|
GSHP, GSHPB |
|
|
all |
Whole electrical input of the row: compressor plus the family’s fans or pump (and subsystem loads in composed variants). |
|
all |
Refrigerant-side COP: the delivered duty ( |
|
all |
System COP. Boilers: |
Frost and defrost (ASHP, ASHPB)¶
Present on every ASHP and ASHPB row; neutral (0 or 1) in cooling, above the frosting limit and with defrost=False. In an ASHPB dynamic frame E_defrost, Q_defrost and the two frost-free rates are step averages like the other rates. See Air-source heat pump (ASHP — space conditioning) and Air-source heat pump boiler (ASHPB).
Key |
Where |
Meaning |
|---|---|---|
|
ASHP, ASHPB |
Fraction of the compressor’s runtime spent defrosting. |
|
ASHP, ASHPB |
Heating-capacity multiplier of the frosted coil, defrost time included; 1 without frost. |
|
ASHP, ASHPB |
Input-power multiplier of the frosted coil; 1 without frost. |
|
ASHP, ASHPB |
Mean compressor power spent defrosting (part of |
|
ASHP, ASHPB |
Mean heat a reverse-cycle defrost takes from the room (ASHP) or from the tank water (ASHPB). |
|
ASHP |
Indoor-coil duty of the frost-free cycle the row was solved at. |
|
ASHPB |
Condenser duty of the frost-free cycle the row was solved at; equal to |
|
ASHP, ASHPB |
Electrical input of that frost-free cycle. |
|
ASHP, ASHPB |
Outdoor relative humidity the frost correction used (fraction); NaN where no correction applies. |
Compressor and cycle¶
Values of the running machine. On an off row speeds and flows are 0 and efficiencies NaN.
Key |
Where |
Meaning |
|---|---|---|
|
all |
Compressor speed ( |
|
all |
Compressor speed over the rated speed |
|
all |
Compressor pressure ratio, discharge over suction pressure. |
|
all |
Volumetric efficiency at this point, |
|
all |
Overall efficiency at this point, |
|
all |
Heat-loss share at this point, |
|
all |
Refrigerant mass flow (a mean on a cycling row). |
|
all |
Refrigerant density at the compressor suction. |
|
all |
Suction superheat the cycle ran at: the set value, capped by the evaporator approach, or reduced by the discharge control. 0 with wet suction. |
|
all |
Suction vapour quality: 1 for dry suction, below 1 (down to |
Air side¶
T0 is the outdoor (dead-state) temperature of the row.
Key |
Where |
Meaning |
|---|---|---|
|
all |
Outdoor air temperature given for the row; also the reference temperature of enthalpy and exergy flows. |
|
ASHP, GSHP |
Room air temperature given for the row. |
|
ASHP |
Room relative humidity the wet indoor coil was solved with (fraction): the |
|
ASHP |
Humidity ratio of the air entering the indoor coil [kg water per kg dry air]: room air at |
|
ASHP |
Humidity ratio of the air leaving the indoor coil, and the unit (the fan does not change it): the supply air’s. Equal to |
|
ASHP |
Sensible heat ratio of the indoor coil, |
|
ASHP |
Water the indoor coil condenses out of the room air: the air’s dry mass flow times |
|
ASHP, ASHPB |
Air entering the outdoor coil (equals |
|
ASHP, ASHPB |
Air leaving the outdoor coil, before the fan. |
|
ASHP, ASHPB |
Air leaving the outdoor unit, fan heat included. |
|
ASHP, GSHP |
Air entering the indoor coil (equals |
|
ASHP, GSHP |
Air leaving the indoor coil, before the fan. |
|
ASHP, GSHP |
Supply air, fan heat included. |
|
ASHP, ASHPB |
Outdoor airflow, a volume at the coil inlet temperature (a mean on a cycling row). |
|
ASHP, GSHP |
Indoor airflow, a volume at the coil inlet temperature (a mean on a cycling row). |
|
ASHP, ASHPB |
Face velocity at the outdoor coil. |
|
ASHP, GSHP |
Face velocity at the indoor coil. |
|
ASHPB (s) |
Outdoor-coil conductance at this airflow. |
|
ASHPB (s) |
Outdoor-coil number of transfer units at this airflow. |
|
ASHPB (s) |
Outdoor-coil effectiveness. |
|
GSHP |
Rated indoor-coil conductance of the machine (echo of the model value). |
|
GSHP |
Temperature difference between room air and refrigerant saturation the indoor coil ran at. |
|
GSHP |
Heat the indoor coil transfers at the solved approach (running machine). |
|
GSHP |
Refrigerant duty the indoor coil has to carry (running machine). A requirement of the solved cycle, not the caller’s request (that is |
|
GSHP |
Available minus required indoor-coil heat at the solved airflow; 0 when balanced. |
|
GSHP |
The same margin at the smallest indoor airflow. |
|
GSHP |
The same margin at the largest indoor airflow. |
Ground and source-water loop¶
The loop fluid is named from the borehole’s side: T_bhe_f_in enters the borehole, i.e. leaves the heat
pump (the coldest fluid in heating); T_bhe_f_out leaves the borehole and enters the heat pump. WSHPB
reuses these names for its source-water coil.
Key |
Where |
Meaning |
|---|---|---|
|
GSHP, GSHPB, WSHPB |
Undisturbed ground temperature (WSHPB: source-water temperature) of the model or step. |
|
GSHP, GSHPB, WSHPB |
Borehole-wall temperature. Dynamic: the ground response to the load history. |
|
GSHP, GSHPB, WSHPB |
Mean loop-fluid temperature, |
|
GSHP, GSHPB, WSHPB |
Fluid entering the borehole = leaving the heat pump: the temperature the freezing limit of the loop liquid applies to. Step mean in a dynamic boiler row. |
|
GSHP, GSHPB, WSHPB |
Fluid leaving the borehole = entering the heat pump. |
|
GSHPB (d), WSHPB (d) |
Mean loop-fluid temperature while the compressor runs (NaN on a step without a run). |
|
GSHPB (d), WSHPB (d) |
Fluid leaving the heat pump while the compressor runs: the coldest loop temperature of the step. |
|
GSHPB (d), WSHPB (d) |
Fluid entering the heat pump while the compressor runs: what the step’s cycle was solved against. |
|
GSHP (s) |
Echo of the |
|
GSHP, GSHPB, WSHPB |
Loop volume flow (total, all boreholes). |
|
GSHP, GSHPB |
Loop volume flow as the ground-flow controller set it. |
|
GSHP, GSHPB |
Loop flow over the reference flow |
|
GSHP, GSHPB |
|
|
GSHP, GSHPB |
The loop flow sits on its lower limit. |
|
GSHP, GSHPB |
The loop flow sits on its upper limit. |
|
GSHP, GSHPB |
Mass flow through one borehole (a mean on a cycling row). |
|
GSHP, GSHPB |
Borehole thermal resistance used at this flow. |
|
GSHP, GSHPB |
Conductance of the fluid-to-refrigerant heat exchanger at this flow. |
|
GSHP |
Its rated value (echo of the model value). |
|
GSHP; GSHPB (s) with |
Temperature difference between the loop fluid and the refrigerant saturation the ground-side heat exchanger ran at. |
|
GSHP |
|
|
GSHP, GSHPB |
Heat the ground-side heat exchanger transfers at the solved approach (running machine). |
|
GSHP, GSHPB |
Refrigerant duty it has to carry (running machine): the source-side heat the solved cycle needs, not the caller’s request (that is |
|
GSHP, GSHPB |
|
|
GSHP, GSHPB |
|
|
GSHP, GSHPB |
The ground-side heat exchanger balance closed (margin within tolerance). |
|
GSHP, GSHPB, WSHPB |
Closure residual of the source-side heat exchanger (ground loop, source water): the refrigerant duty minus the heat the exchanger carries at the solved approach, ≈ 0 on a solved point (GSHP in cooling: the ground-side condenser). The pair of |
|
GSHP, GSHPB |
Pump speed over its reference speed; NaN unless the hydraulic pump model is on. |
|
GSHP, GSHPB |
Pump efficiency used; NaN when off. |
|
GSHP, GSHPB |
Loop pressure drop; NaN unless the hydraulic pump model is on. |
|
GSHP, GSHPB |
Its borehole part. |
|
GSHP, GSHPB |
Its part outside the boreholes ( |
|
GSHP, GSHPB |
Same value as |
|
GSHP, GSHPB |
The coupled ground-flow solve found the ground approach ( |
|
GSHP, GSHPB |
The solved ground approach sits on a bound of its search band. |
|
GSHP, GSHPB |
The flow optimiser of |
|
GSHP, GSHPB |
Number of flow candidates it evaluated. |
|
GSHP, GSHPB |
The optimal flow sits on a flow limit. |
Tank and hot water¶
Boiler families. Flows are step means in a dynamic row. A stream that does not flow reports 0 for its flow, its
enthalpy flow and its exergy flow, and NaN for its temperature (there is no water to have one), in the three
boilers alike: on a step without a draw dV_mix_w_out, Q_mix_w_out and X_mix_w_out are 0 and
T_mix_w_out is NaN. (ASHPB used to report that heat and exergy as NaN, GSHPB and WSHPB the valve’s set point
as the temperature.)
Key |
Where |
Meaning |
|---|---|---|
|
ASHPB, GSHPB, WSHPB |
Tank water temperature: the argument in |
|
ASHPB, GSHPB, WSHPB |
Temperature of the make-up water entering the tank: the mains water, or the preheated water of a variant that preheats it (solar thermal). |
|
ASHPB |
Mains water temperature, before any preheating; the same as |
|
ASHPB, GSHPB, WSHPB |
Temperature of the water delivered by the mixing valve; NaN when nothing is drawn. |
|
ASHPB, GSHPB, WSHPB |
Mixed hot water delivered to the tap. This and the three flows below are 0 when the water does not flow. |
|
ASHPB, GSHPB, WSHPB |
Mains water entering the mixing valve. |
|
ASHPB, GSHPB, WSHPB |
Hot water leaving the tank. |
|
ASHPB, GSHPB, WSHPB |
Make-up water entering the tank. |
|
ASHPB (s), GSHPB, WSHPB |
Tank fill level, 1 = full. |
|
ASHPB (s), GSHPB, WSHPB |
Condensing approach the cycle ran at: condensing temperature minus tank temperature. |
|
ASHPB (s), GSHPB, WSHPB |
Imbalance left in the tank heat-exchanger closure; 0 unless it could not be bracketed. |
|
ASHPB (s) |
Tank heat-exchanger conductance (echo of the model value). |
|
ASHPB (s) |
Heat-capacity flow of the water pumped through the condenser; NaN for a coil immersed in the tank (no |
|
ASHPB (s) |
Effectiveness of the condenser against that water flow; NaN for an immersed coil. |
Time¶
Every dynamic frame carries the time of its rows; the index stays the step number. Row i covers
i·dt_s to (i+1)·dt_s.
Key |
Where |
Meaning |
|---|---|---|
|
all (d) |
Start of the step, seconds from the start of the run ( |
|
all (d) |
The same in hours. |
Refrigerant state points¶
Every family reports the same seven points of the cycle, in analyze_steady and in every dynamic row.
An off or failed row carries NaN. For a zeotropic blend the condenser’s dew and bubble points differ by
the glide (R407C: about 4.5 K; R410A: 0.1 K). Every family reports the dew point under
T_ref_cond_sat_v and the bubble point, which the cycle condenses at, under T_ref_cond_sat_l. The
condensing limit T_cond_max is a dew-point temperature (tmhp.compressor_envelope), and the
condenser-heat exergy (a boiler’s X_ref_tank [W]; X_ref_iu [W], X_ref_ou [W] or
X_ref_ground [W] of ASHP and GSHP, whichever coil condenses) uses the bubble point. For a pure
refrigerant the two keys are equal. T_ref_evap_sat is the saturated-vapour (dew) temperature of the
evaporating pressure, the pressure the cycle is fixed at; a blend enters the evaporator colder than that
(T_ref_exp_out), by the part of the glide it still has to evaporate through.
Point |
Temperature |
Pressure |
Specific enthalpy |
Specific entropy |
|---|---|---|---|---|
Compressor suction |
|
|
|
|
Compressor discharge |
|
|
|
|
Expansion-valve inlet (subcooled liquid) |
|
|
|
|
Expansion-valve outlet (evaporator inlet) |
|
|
|
|
Saturated vapour at the evaporating pressure |
|
|
|
|
Saturated vapour at the condensing pressure (dew point) |
|
|
|
|
Saturated liquid at the condensing pressure (bubble point) |
|
|
|
|
Exergy¶
Exergy columns are added by post-processing, with the row’s T0 [°C] as the dead state.
analyze_dynamic adds them in every family; analyze_steady adds them for ASHP only
(postprocess=True, the default). X_* is an exergy flow or the exergy of a heat or power,
Xc_* the exergy consumed in a component, X_in_*/X_out_* what enters and leaves it, and
X_eff_* its exergy efficiency 1 − Xc / X_in (system and cycle: product over input). Rows
without a running cycle carry NaN or 0.
Key |
Where |
Meaning |
|---|---|---|
|
ASHP, GSHP (d) |
Flow exergy of the air entering the indoor coil: the thermal exergy of a dry air stream (heat capacity rate times |
|
ASHP, GSHP (d) |
Flow exergy of the air leaving the indoor coil, before the fan (thermal part, as |
|
ASHP, GSHP (d) |
Flow exergy of the supply air (thermal part, as |
|
ASHP, ASHPB (d) |
Flow exergy of the air entering the outdoor coil. |
|
ASHP, ASHPB (d) |
Flow exergy of the air leaving the outdoor coil, before the fan. |
|
ASHP, ASHPB (d) |
Flow exergy of the air leaving the outdoor unit. |
|
GSHP (d), GSHPB (d), WSHPB (d) |
Flow exergy of the loop fluid entering the borehole (the source-water loop for WSHPB), at |
|
GSHP (d), GSHPB (d), WSHPB (d) |
Flow exergy of the loop fluid leaving the borehole, at |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy of |
|
GSHP (d) |
Exergy of |
|
GSHP (d), GSHPB (d) |
Exergy of |
|
GSHP (d) |
Exergy of |
|
ASHP, GSHP (d) |
Exergy of |
|
ASHP |
Exergy of |
|
GSHP (d) |
Exergy efficiency of the ground-side heat exchanger. |
|
ASHP, GSHP (d), ASHPB (d) |
Exergy efficiency of the compressor. |
|
ASHP, GSHP (d), ASHPB (d) |
Exergy efficiency of the expansion valve. |
|
ASHP, GSHP (d) |
Exergy efficiency of the indoor fan. |
|
ASHP, GSHP (d) |
Exergy efficiency of the indoor coil. NaN on an ASHP row whose coil removes water ( |
|
ASHPB (d) |
Exergy efficiency of the mixing valve. |
|
ASHP, ASHPB (d) |
Exergy efficiency of the outdoor fan. |
|
ASHP, ASHPB (d) |
Exergy efficiency of the outdoor coil: |
|
GSHP (d) |
Exergy efficiency of the source-loop pump. |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy efficiency of the refrigerant cycle. |
|
ASHPB (d) |
Exergy efficiency of the tank heat exchanger (condenser). |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy efficiency of the whole system. ASHP: the thermal exergy the room air gains over the electrical input; NaN on a row whose coil removes water (the dehumidification is not in the air’s thermal exergy), and negative in cooling where the outdoor air, the dead state, is colder than the room. |
|
ASHPB (d) |
Exergy efficiency of the tank. |
|
GSHP (d) |
Flow exergy of the loop fluid entering the heat pump, after the pump. |
|
GSHP (d) |
Exergy entering the ground-side heat exchanger. |
|
ASHP, GSHP (d) |
Exergy entering the compressor. |
|
ASHP, GSHP (d) |
Exergy entering the expansion valve. |
|
ASHP, GSHP (d) |
Exergy entering the indoor fan. |
|
ASHP, GSHP (d) |
Exergy entering the indoor coil. |
|
ASHP |
Exergy entering the outdoor fan. |
|
ASHP |
Exergy entering the outdoor coil. |
|
GSHP (d) |
Exergy entering the source-loop pump. |
|
ASHP, GSHP (d) |
Exergy of |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Flow exergy of the mains water entering the mixing valve. |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Flow exergy of the mixed water delivered; 0 when nothing is drawn. |
|
ASHP, ASHPB (d) |
Exergy of |
|
GSHP (d) |
Exergy leaving the ground-side heat exchanger. |
|
ASHP, GSHP (d) |
Exergy leaving the compressor. |
|
ASHP, GSHP (d) |
Exergy leaving the expansion valve. |
|
ASHP, GSHP (d) |
Exergy leaving the indoor fan. |
|
ASHP, GSHP (d) |
Exergy leaving the indoor coil. |
|
ASHP |
Exergy leaving the outdoor fan. |
|
ASHP |
Exergy leaving the outdoor coil. |
|
GSHP (d) |
Exergy leaving the source-loop pump. |
|
GSHP (d), GSHPB (d), WSHPB (d) |
Exergy of |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Flow exergy of the refrigerant at the compressor suction. |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Flow exergy of the refrigerant at the compressor discharge. |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Flow exergy of the refrigerant at the expansion-valve inlet. |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Flow exergy of the refrigerant at the expansion-valve outlet. |
|
GSHP (d), GSHPB (d) |
Exergy of the heat |
|
ASHP, GSHP (d) |
Exergy of the heat |
|
ASHP, ASHPB (d) |
Exergy of the heat |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy of the heat |
|
WSHPB (d) |
Exergy of the heat |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy of the tank’s heat loss, at the tank temperature. |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Flow exergy of the make-up water entering the tank. |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Flow exergy of the hot water leaving the tank. |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy of |
|
ASHP |
Exergy of |
|
GSHP (d) |
Exergy consumed (destroyed) in the ground-side heat exchanger, both streams: the refrigerant from the expansion valve to the compressor inlet (superheating included; the reverse in cooling) and the loop fluid from the pump to the borehole. Not the same control volume as |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy consumed (destroyed) in the compressor. |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy consumed (destroyed) in the expansion valve. |
|
GSHPB (d) |
Exergy consumed (destroyed) between the loop fluid and the evaporating refrigerant: the fluid’s exergy drop across the evaporator minus |
|
ASHP, GSHP (d) |
Exergy consumed (destroyed) in the indoor fan. |
|
ASHP, GSHP (d) |
Exergy consumed (destroyed) in the indoor coil. NaN on an ASHP row whose coil removes water ( |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy consumed (destroyed) in the mixing valve. |
|
ASHP, ASHPB (d) |
Exergy consumed (destroyed) in the outdoor fan. |
|
ASHP, ASHPB (d) |
Exergy consumed (destroyed) in the outdoor coil: refrigerant and outdoor air in, minus refrigerant and air (before the fan) out. |
|
GSHP (d), GSHPB (d), WSHPB (d) |
Exergy consumed (destroyed) in the source-loop pump. |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy consumed (destroyed) in the tank heat exchanger (condenser). |
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Exergy consumed (destroyed) in the tank. |
|
WSHPB (d) |
|
|
ASHPB (d), GSHPB (d), WSHPB (d) |
Rate at which exergy is stored in the tank water. |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Specific flow exergy of the refrigerant at the compressor suction. |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Specific flow exergy of the refrigerant at the compressor discharge. |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Specific flow exergy of the refrigerant at the expansion-valve inlet. |
|
ASHP, GSHP (d), ASHPB (d), GSHPB (d), WSHPB (d) |
Specific flow exergy of the refrigerant at the expansion-valve outlet. |
Keys that appear only in some results¶
These are not in every default result. Composed variants (solar thermal, PV and storage, UV lamp) add their own columns, described on Air-source heat pump boiler (ASHPB) and Ground-source heat pump boiler (GSHPB).
A result has the same keys on every row and in every run of the same machine,
in every family: what does not apply to a row is None or NaN
(capacity_binding and Q_max [W] away from a ceiling, the compressor
efficiencies of an off row, GSHP’s approach keys of a point that was not
solved). In a dynamic frame a name that does not apply reads as missing
(isna()). Two things still depend on how the result was asked for, not on
what the point did: the exergy columns (X_*) of ASHP and GSHP are written
by every dynamic run and by ASHP’s analyze_steady(postprocess=True), and
the diagnostics of GSHP’s coupled ground-flow solver are on that solver’s rows
only (below).
Key |
Appears when |
Meaning |
|---|---|---|
|
a boiler |
Which check rejected the point; see failure_reason semantics. |
|
the tank level varies ( |
Scheduled hot-water flow the tank could not supply at its lowest level. |
|
GSHPB with |
Top-node, bottom-node and draw-off temperatures of the multi-node tank. |
|
GSHPB with |
Highest condensing temperature (bubble point) of the step’s run:
the level the run ends on when it warms the water around the coil,
the condensing limit on a step held at the envelope stop. No heated
node ends the step above it. |
|
GSHP, GSHPB with the hydraulic pump model or
|
Diagnostics of the coupled ground-flow solve (Coupled ground-loop flow).
On every GSHP row of that solver (NaN or |
Renamed keys¶
Names that differed between the families for the same quantity were
replaced by one name each (#96, round 5), and the compressor’s keys were
replaced when its model was rewritten on three quantities (#274). The results
carry only the new names: there is no alias, no old key next to the new one and no deprecation
warning, so code that reads an old name gets a KeyError (a dict) or a
missing column (a frame). Validation results (validation/results/) and
the step goldens use the new column names; their values are unchanged.
Old key (families) |
New key |
Note |
|---|---|---|
|
none |
Renamed |
|
none |
Removed in #274: no isentropic or electromechanical efficiency is defined. The compressor reports |
|
|
|
|
|
The value |
|
|
GSHP’s name for the same condition. |
|
|
Already on every row. The dynamic |
|
|
Always the same value. |
|
|
As ASHP. |
|
removed |
|
|
|
Always the same value. |
|
|
The pair of |
|
|
GSHP’s name: the flow exergy of the loop fluid at |
|
|
ASHP’s name: the same control volume (refrigerant and outdoor air through the outdoor coil) and the same formula. |
Checking a result in code¶
ok = (df["failure_reason"] == "none") & df["converged"]
running = df["hp_is_on"]
averaged = df["runtime_fraction [-]"] < 1
electricity_kWh = (df["E_tot [W]"] * dt_s).sum() / 3.6e6
These four columns are in every frame of every family. A row that delivered
less than asked has capacity_clamped == "max", in a steady result and in a
dynamic frame of every family.
A new key added to a model has to be added here as well:
tests/test_docs_alignment.py runs each family and fails when a result
carries a key this page does not name.