aquakin.mixing_energy#

aquakin.mixing_energy(t, kla_history, volumes, digester_volume, kla_threshold=20.0, reactor_unit=0.005, digester_unit=0.005)[source]#

Mixing energy (kWh/d) per Gernaey et al. 2014.

A reactor needs mechanical mixing only while it is not aerated (kLa < kla_threshold); an aerated tank is mixed by the aeration. The anaerobic digester is always mechanically mixed. With unit mixing powers in kW/m³ (default 0.005 for both):

ME = 24 × [ Σ_i reactor_unit × V_i × frac_unaerated_i
            + digester_unit × V_digester ]

where frac_unaerated_i is the time fraction reactor i has kLa < kla_threshold.

Parameters:
  • t ((n_t,) save times in days.)

  • kla_history ((n_t, n_reactors) kLa per reactor at each save time.)

  • volumes ((n_reactors,) reactor liquid volumes.)

  • digester_volume (float) – Anaerobic-digester liquid volume.

  • kla_threshold (float)

  • reactor_unit (float)

  • digester_unit (float)

Returns:

Mixing energy in kWh/d.

Return type:

float