aquakin.pumping_energy_bsm2#

aquakin.pumping_energy_bsm2(t, flows, factors=None)[source]#

Pumping energy (kWh/d) for the full BSM2 pump set.

PE = (1/T) × Σ_k PF_k × Q_k dt over the pumped streams: the AS internal recirculation, sludge recycle and wastage, plus the primary / thickener / dewatering underflows. flows maps a stream key to its (n_t,) flow trajectory; factors maps the same keys to per-m³ energy factors (default _BSM2_PUMP_FACTORS). Keys present in flows but not factors (or vice versa) are ignored.

Returns:

Pumping energy in kWh/d, time-averaged over t.

Return type:

float

Parameters:
  • t (Array)

  • flows (dict[str, Array])

  • factors (dict[str, float] | None)