Skip to content

Latest commit

 

History

History
95 lines (70 loc) · 3.41 KB

translator_adm1_asm2d.rst

File metadata and controls

95 lines (70 loc) · 3.41 KB

ADM1 to ASM2d Translator

Introduction

A link is required to translate between biological based and physical or chemical mediated processes to develop plant-wide modeling of wastewater treatment. This model mediates the interaction between the Modified Anaerobic Digester Model 1 (ADM1) and the Modified Activated Sludge Model 2d (ASM2d).

The model relies on the following key assumptions:

  • supports only liquid phase
  • supports only Modified ADM1 to Modified ASM2d translations
.. index::
   pair: watertap.unit_models.translators.translator_adm1_asm2d;translator_adm1_asm2d

.. currentmodule:: watertap.unit_models.translators.translator_adm1_asm2d

Degrees of Freedom

The translator degrees of freedom are the inlet feed state variables:

  • temperature
  • pressure
  • volumetric flowrate
  • solute compositions
  • cations
  • anions

Ports

This model provides two ports:

  • inlet
  • outlet

Sets

Description Symbol Indices
Time t [0]
Inlet/outlet x ['in', 'out']
Phases p ['Liq']
Inlet Components j_{in} ['H2O', 'S_su', 'S_aa', 'S_fa', 'S_va', 'S_bu', 'S_pro', 'S_ac', 'S_h2', 'S_ch4', 'S_IC', 'S_IN', 'S_IP', 'S_I', 'X_ch', 'X_pr', 'X_li', 'X_su', 'X_aa', 'X_fa', 'X_c4', 'X_pro', 'X_ac', 'X_h2', 'X_I', 'X_PHA', 'X_PP', 'X_PAO', 'S_K', 'S_Mg']
Ion j_{in} ['S_cat', 'S_an'] 1
Outlet Components j_{out} ['H2O', 'S_A', 'S_F', 'S_I', 'S_N2', 'S_NH4', 'S_NO3', 'S_O2', 'S_PO4', 'S_K', 'S_Mg', 'S_IC', 'X_AUT', 'X_H', 'X_I', 'X_PAO', 'X_PHA', 'X_PP', 'X_S']
Readily Biodegradable COD r1 ['S_su', 'S_aa', 'S_fa']
Readily Biodegradable COD r2 ['S_va', 'S_bu', 'S_pro', 'S_ac']
Slowly Biodegradable COD s ['X_ch', 'X_pr', 'X_li']
Unchanged Components u ['S_I', 'X_I', 'X_PP', 'X_PHA', 'S_K', 'S_Mg', 'S_IC']
Zero Flow Components z ['S_N2', 'S_NO3', 'S_O2', 'X_AUT', 'X_H', 'X_PAO']
Notes
1 "Ion" is a subset of "Inlet Components" and uses the same symbol j_in.

Equations and Relationships

Description Equation
Volumetric flow equality F_{out} = F_{in}
Temperature balance T_{out} = T_{in}
Pressure balance P_{out} = P_{in}
Fermentable substrate conversion S_{F, out} = \Sigma _{r1} C_{r1, in}
Acetic acid conversion S_{A, out} = \Sigma _{r2} C_{r2, in}
Unchanged component conversions C_{u, out} = C_{u, in}
Ammonium conversion S_{NH4, out} = S_{IN, in}
Phosphate conversion S_{PO4, out} = S_{IP, in}
Biodegradable particulate organics conversion X_{S, out} = \Sigma _{s} C_{s, in}
Zero-flow component conversions C_{z, out} = 0

Classes

.. currentmodule:: watertap.unit_models.translators.translator_adm1_asm2d

.. autoclass:: TranslatorDataADM1ASM2D
    :members:
    :noindex:

References

[1] Flores-Alsina, X., Solon, K., Mbamba, C.K., Tait, S., Gernaey, K.V., Jeppsson, U. and Batstone, D.J., 2016. Modelling phosphorus (P), sulfur (S) and iron (Fe) interactions for dynamic simulations of anaerobic digestion processes. Water Research, 95, pp.370-382.