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

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} = Σ_{r1} C_{r1, in}\)

Acetic acid conversion

\(S_{A, out} = Σ_{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} = Σ_{s} C_{s, in}\)

Zero-flow component conversions

\(C_{z, out} = 0\)

Classes

class watertap.unit_models.translators.translator_adm1_asm2d.TranslatorDataADM1ASM2D(component)[source]

Translator block representing the ADM1/ASM2D interface

build()[source]

Begin building model. :param None:

Returns:

None

initialize_build(state_args_in=None, state_args_out=None, outlvl=0, solver=None, optarg=None)[source]

This method calls the initialization method of the state blocks.

Keyword Arguments:
  • state_args_in – a dict of arguments to be passed to the inlet property package (to provide an initial state for initialization (see documentation of the specific property package) (default = None).

  • state_args_out – a dict of arguments to be passed to the outlet property package (to provide an initial state for initialization (see documentation of the specific property package) (default = None).

  • outlvl – sets output level of initialization routine

  • optarg – solver options dictionary object (default=None, use default solver options)

  • solver – str indicating which solver to use during initialization (default = None, use default solver)

Returns:

None

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.