aquakin.stripped_n2o#

aquakin.stripped_n2o(t, kla_o2_history, s_n2o_history, volumes, *, kla_ratio=1.0, s_n2o_sat=0.0)[source]#

Time-averaged N₂O stripped from the aerated reactors (kg N₂O-N/d).

Each reactor strips dissolved N₂O at the aeration mass-transfer rate:

G_i(t) = kLa_{N2O,i} × (S_{N2O,i} − S*_{N2O}) × V_i

summed over reactors and time-averaged over the window. The N₂O transfer coefficient is taken as the oxygen kLa scaled by kla_ratio (the diffusivity ratio D_{N2O}/D_{O2} ≈ 1), so an unaerated tank (kLa = 0) strips nothing – only the aerated tanks emit. The atmospheric saturation S*_{N2O} is ~0.

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

  • kla_o2_history ((n_t, n_reactors) oxygen kLa per reactor (1/d).)

  • s_n2o_history ((n_t, n_reactors) dissolved N₂O-N concentration (g N/m³).)

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

  • kla_ratio (float) – N₂O-to-O₂ mass-transfer-coefficient ratio (default 1.0).

  • s_n2o_sat (float) – Atmospheric N₂O saturation concentration (g N/m³, default 0).

Returns:

Stripped N₂O-N mass flow (kg N/d), time-averaged.

Return type:

float