aquakin.BSM1Evaluation#
- class aquakin.BSM1Evaluation(eqi, oci, aeration_energy, pumping_energy, sludge_production, mixing_energy=0.0, effluent=<factory>, aerated_tanks=<factory>, air_flow=None, oci_note='BSM1 OCI (updated benchmark): AE + PE + ME + 5*sludge, where ME is the mechanical-mixing energy of the unaerated reactors (the original Copp 2002 index omits it). Sludge production is the wastage TSS mass flow (plant TSS-inventory change neglected -- ~0 at steady state).')[source]#
Bases:
objectHeadline BSM1 performance indices from a solved plant.
str(eval)/report()give a labeled, units-annotated breakdown of the EQI, the OCI and every component term plus theoci_notecaveat; the raw fields below stay available for programmatic use.- Variables:
eqi (float) – Effluent Quality Index (kg pollutant / day), lower is better.
oci (float) – BSM1 Operational Cost Index:
AE + PE + ME + 5·sludge(the updated benchmark convention, which adds mixing energy to the original Copp 2002AE + PE + 5·sludge).aeration_energy (float) – Aeration energy AE (kWh/d).
pumping_energy (float) – Pumping energy PE (kWh/d): the internal recycle, RAS and wastage pumps.
sludge_production (float) – Wasted-sludge TSS mass flow (kg TSS/d), time-averaged.
mixing_energy (float) – Mixing energy ME (kWh/d): mechanical mixing of the unaerated reactors.
effluent (dict) – Time/flow-weighted average effluent concentrations (COD, BOD, TSS, TKN, SNH, SNO; g/m^3) from
effluent_averages().aerated_tanks (list[str]) – The reactors whose aeration was counted.
air_flow (float or None) – Total blower air flow (m³/d, time-averaged) when an
aeration_systemdiffuser/blower design was supplied;Nonefor the correlation default.oci_note (str) – Notes on the OCI computation.
- Parameters:
eqi (float)
oci (float)
aeration_energy (float)
pumping_energy (float)
sludge_production (float)
mixing_energy (float)
effluent (dict)
aerated_tanks (list)
air_flow (float | None)
oci_note (str)
- __init__(eqi, oci, aeration_energy, pumping_energy, sludge_production, mixing_energy=0.0, effluent=<factory>, aerated_tanks=<factory>, air_flow=None, oci_note='BSM1 OCI (updated benchmark): AE + PE + ME + 5*sludge, where ME is the mechanical-mixing energy of the unaerated reactors (the original Copp 2002 index omits it). Sludge production is the wastage TSS mass flow (plant TSS-inventory change neglected -- ~0 at steady state).')#
- Parameters:
eqi (float)
oci (float)
aeration_energy (float)
pumping_energy (float)
sludge_production (float)
mixing_energy (float)
effluent (dict)
aerated_tanks (list)
air_flow (float | None)
oci_note (str)
- Return type:
None
Methods
__init__(eqi, oci, aeration_energy, ...[, ...])kpis()Headline performance KPIs for a scenario comparison table.
report()A labeled, units-annotated EQI / OCI breakdown (also
str(eval)).Total electricity draw (kWh/d) = aeration + pumping + mixing -- the energy basis for the GHG and cost layers.
Attributes
air_flowmixing_energyoci_noteeqiociaeration_energypumping_energysludge_productioneffluentaerated_tanks