enex_analysis.enex_engine

Energy, Entropy, and Exergy Analysis Engine.

This module contains classes for modeling various energy systems including: - Domestic hot water systems (electric boiler, gas boiler, heat pump boiler) - Air source heat pumps (cooling and heating modes) - Ground source heat pumps (cooling and heating modes) - Solar-assisted systems - Electric heaters

Classes

AirSourceHeatPump_cooling()

Air source heat pump model for cooling mode.

AirSourceHeatPump_heating()

Air source heat pump model for heating mode.

GroundSourceHeatPump([H_b, D_b, r_b, k_p, ...])

Ground source heat pump model for both cooling and heating mode.

GroundSourceHeatPump_cooling()

Ground source heat pump model for cooling mode.

GroundSourceHeatPump_heating()

Ground source heat pump model for heating mode.

class enex_analysis.enex_engine.AirSourceHeatPump_cooling[source]

Air source heat pump model for cooling mode.

Simulates a single-step refrigerant cycle with indoor/outdoor heat exchangers and fans. Call system_update() after setting operating conditions to compute COP, capacities, and component powers.

system_update()[source]
__init__()
class enex_analysis.enex_engine.AirSourceHeatPump_heating[source]

Air source heat pump model for heating mode.

Mirror of AirSourceHeatPump_cooling configured for space heating. The condenser rejects heat to the indoor side while the evaporator absorbs from outdoor air.

system_update()[source]
__init__()
class enex_analysis.enex_engine.GroundSourceHeatPump_cooling[source]

Ground source heat pump model for cooling mode.

Uses borehole heat exchangers with finite-line-source g-functions for soil thermal response. Call system_update() each time step to advance the ground temperature history.

system_update()[source]
__init__()
class enex_analysis.enex_engine.GroundSourceHeatPump_heating[source]

Ground source heat pump model for heating mode.

Mirror of GroundSourceHeatPump_cooling configured for space heating. The evaporator absorbs heat from the ground loop while the condenser supplies heat indoors.

system_update()[source]
__init__()
class enex_analysis.enex_engine.GroundSourceHeatPump(H_b=150.0, D_b=2.0, r_b=0.08, k_p=0.4, k_grout=1.5, r_out=0.016, r_in=0.013, D_s=0.032, k_g=2.0, c_g=800.0, rho_g=2000.0, T_g=15.0, dV_f=20.0, Q_rated_cooling=20590.0, Q_rated_heating=16450.0, E_pmp=40.0, dP_iu_fan_design=60.0, eta_iu_fan_design=0.6, dt_hours=1, sim_hours=8760, Q_r_iu=0.0, T0=20.0, boundary_condition='uniform_temperature')[source]

Ground source heat pump model for both cooling and heating mode.

Uses borehole heat exchangers with pygfunction step-response factor array for precise soil thermal response with temporal superposition of dynamic building loads.

Parameters:
  • H_b (float)

  • D_b (float)

  • r_b (float)

  • k_p (float)

  • k_grout (float)

  • r_out (float)

  • r_in (float)

  • D_s (float)

  • k_g (float)

  • c_g (float)

  • rho_g (float)

  • T_g (float)

  • dV_f (float)

  • Q_rated_cooling (float)

  • Q_rated_heating (float)

  • E_pmp (float)

  • dP_iu_fan_design (float)

  • eta_iu_fan_design (float)

  • dt_hours (int)

  • sim_hours (int)

  • Q_r_iu (float)

  • T0 (float)

  • boundary_condition (str)

H_b: float = 150.0
D_b: float = 2.0
r_b: float = 0.08
k_p: float = 0.4
k_grout: float = 1.5
r_out: float = 0.016
r_in: float = 0.013
D_s: float = 0.032
k_g: float = 2.0
c_g: float = 800.0
rho_g: float = 2000.0
T_g: float = 15.0
dV_f: float = 20.0
Q_rated_cooling: float = 20590.0
Q_rated_heating: float = 16450.0
E_pmp: float = 40.0
dP_iu_fan_design: float = 60.0
eta_iu_fan_design: float = 0.6
dt_hours: int = 1
sim_hours: int = 8760
Q_r_iu: float = 0.0
T0: float = 20.0
boundary_condition: str = 'uniform_temperature'
system_update()[source]
__init__(H_b=150.0, D_b=2.0, r_b=0.08, k_p=0.4, k_grout=1.5, r_out=0.016, r_in=0.013, D_s=0.032, k_g=2.0, c_g=800.0, rho_g=2000.0, T_g=15.0, dV_f=20.0, Q_rated_cooling=20590.0, Q_rated_heating=16450.0, E_pmp=40.0, dP_iu_fan_design=60.0, eta_iu_fan_design=0.6, dt_hours=1, sim_hours=8760, Q_r_iu=0.0, T0=20.0, boundary_condition='uniform_temperature')
Parameters:
  • H_b (float)

  • D_b (float)

  • r_b (float)

  • k_p (float)

  • k_grout (float)

  • r_out (float)

  • r_in (float)

  • D_s (float)

  • k_g (float)

  • c_g (float)

  • rho_g (float)

  • T_g (float)

  • dV_f (float)

  • Q_rated_cooling (float)

  • Q_rated_heating (float)

  • E_pmp (float)

  • dP_iu_fan_design (float)

  • eta_iu_fan_design (float)

  • dt_hours (int)

  • sim_hours (int)

  • Q_r_iu (float)

  • T0 (float)

  • boundary_condition (str)