enex_analysis.gshpb_pv_ess¶
GSHPB Scenario: Heat Pump driven by PV + ESS with Grid/Dump integration.
Energy routing (all logic lives here, subsystems are pure physics):
PV generation →
pv.calc_performance()DC routing: - PV surplus →
ess.charge(); leftover → dump - PV deficit →ess.discharge(); leftover → grid importInverter conversion loss applied to DC supply
Grid import covers any remaining AC shortfall
Classes
|
GSHPB scenario where the heat pump is supplied by PV + ESS + Grid. |
- class enex_analysis.gshpb_pv_ess.GSHPB_PV_ESS(*, pv, ess=None, eta_inv=0.95, T_inv_K=313.15, **kwargs)[source]¶
GSHPB scenario where the heat pump is supplied by PV + ESS + Grid.
The PV/ESS routing is resolved synchronously inside
_augment_resultsafter the HP electrical load is known. No 1-step lag: the PV energy is allocated to the exact HP load produced in the same timestep.- Parameters:
pv (PhotovoltaicSystem) – Pure-physics PV + charge-controller model.
ess (EnergyStorageSystem) – Pure-physics battery model with
charge()/discharge().eta_inv (float) – Inverter DC→AC efficiency [–].
T_inv_K (float) – Inverter temperature for entropy calculation [K].
**kwargs – Forwarded to
GroundSourceHeatPumpBoiler.
- __init__(*, pv, ess=None, eta_inv=0.95, T_inv_K=313.15, **kwargs)[source]¶
- Parameters:
pv (
PhotovoltaicSystem)ess (
EnergyStorageSystem|None)eta_inv (
float)T_inv_K (
float)