Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

Water Research 156 (2019) 264e276

Contents lists available at ScienceDirect

Water Research
journal homepage: www.elsevier.com/locate/watres

Evaluation of anaerobic digestion post-treatment options using an


integrated model-based approach
X. Flores-Alsina a, *, H. Feldman a, V.T. Monje a, P. Ramin a, K. Kjellberg b, U. Jeppsson c,
D.J. Batstone d, K.V. Gernaey a
a
Process and Systems Engineering Centr (PROSYS), Department of Chemical and Biochemical Engineering, Technical University of Denmark, Building, 229,
DK-2800 Kgs. Lyngby, Denmark
b
Novozymes A/S, Hallas Alle 1, DK-4400 Kalundborg, Denmark
c
Division of Industrial Electrical Engineering and Automation, Department of Biomedical Engineering, Lund University, Box 118, SE-221 00, Lund, Sweden
d
Advanced Water Management Centre (AWMC), The University of Queensland, St Lucia, Brisbane, Queensland, 4072, Australia

a r t i c l e i n f o a b s t r a c t

Article history: The objective of this paper is to present the main results of an engineering-research project dealing with
Received 3 December 2018 model-based evaluation of waste streams treatment from a biotech company. This has been extensively
Received in revised form done in domestic treatment systems, but is equally important, and with different challenges in industrial
16 February 2019
wastewater treatment. A new set of biological (activated sludge, anaerobic digestion), physicochemical
Accepted 18 February 2019
(aqueous phase, precipitation, mass transfer) process models and model interfaces are required to
Available online 4 March 2019
describe removal of organics in an upflow anaerobic sludge blanket (UASB) reactor plus either traditional
nitrification/denitrification (A1) or partial nitritation (PN)/anammox (ANX) (A2) processes. Model-based
Keywords:
Anammox
analysis shows that option A1 requires a decrease in digestion energy recovery (Erecovery) in order to have
Bacterial competition enough organic substrate for subsequent post NO3 reduction treatment (95 kWh.kg N1). In contrast, A2
Biofilms in an aerobic granular sludge reactor allows for higher UASB conversion since N removal is carried out
Industrial wastewater autotrophically. The study also reveals that the addition of an aerated pre-treatment unit prior to the PN/
Physico chemical modelling ANX (A2) reactor promotes COD and H2S oxidation, CO2 and CH4 stripping, a pH increase (up to 8.5) and a
reduction of the risk of intra-granular precipitation as well as sulfide inhibition. Simulations indicate
clear differences regarding the microbial distribution/abundance within the biofilm in A2 when
comparing the two operational modes. Final results show the effects of different loading and operational
conditions; dissolved oxygen (DO), Total Suspended Solids (TSSop), energy recovery (Erecovery); on the
overall process performance; N removal, aeration energy (Eaeration), net energy production (Erecovery);
using response surfaces, highlighting the need of integrated approaches to avoid sub-optimal outcomes.
The study shows the benefits of virtual plant simulation and demonstrates the potential of model-based
evaluation when process engineers in industry have to decide between competing options.
© 2019 Elsevier Ltd. All rights reserved.

1. Introduction demands within the treatment facility, and 3) handle a high volu-
metric load with a small spatial footprint (Van Lier, 2015). Never-
Upflow Anaerobic Sludge Blanket (UASB) reactors provide a theless, the effluent of UASB digesters may contain high quantities
sustainable and economic approach to treat high strength domestic of nitrogen, sulfide and methane (Chen et al., 2016a, b). Nitrogen
and industrial wastewaters (Batstone et al., 2015). These systems plays an important role in the eutrophication of the urban catch-
can: 1) substantially reduce the organic load to be in accordance ment and can be toxic for aquatic life (Tchobanoglous et al., 2003).
with the effluent discharge limits, 2) produce biogas that can be Sulfide causes pipe corrosion, health hazards and odour nuisance
converted to energy (heat/electricity) to reduce the power (Zhang et al., 2008). Methane is a potent greenhouse gas with a
warming potential 34 times stronger than that of carbon dioxide
over a 100-year horizon (IPCC, 2013). The transformation/destruc-
tion/capture of nitrogen, sulfide and methane in different forms
* Corresponding author. and qualities should be achieved by adding downstream processes
E-mail address: xfa@kt.dtu.dk (X. Flores-Alsina).

https://doi.org/10.1016/j.watres.2019.02.035
0043-1354/© 2019 Elsevier Ltd. All rights reserved.
X. Flores-Alsina et al. / Water Research 156 (2019) 264e276 265

Nomenclature SCa Calcium (ADM) (kmol.m3) (ASM) (g.m3)


SCl Chloride (ADM) (kmol.m3) (ASM) (g.m3)
AD Anaerobic digestion SCH4 Methane (ADM) (kg.m3) (ASM) (g.m3)
ADM Anaerobic Digestion Model SEtOH Ethanol (ADM) (kmol.m3)
AER Aerobic zone (activated sludge reactor) Sfa Fatty acids (ADM) (kg.m3)
Ai Alternative, post-digestion treatment option: i ¼ 1 SH2 Hydrogen (ADM) (kg.m3)
traditional nitrification/denitrification, i ¼ 2 partial SHx S Inorganic total sulfides (ADM) (kg.m3) (ASM)
nitritation/anammox (g.m3)
ANOX Anoxic zone (activated sludge reactor) SK Potassium (ADM) (kmol.m3) (ASM) (g.m3)
ASM Activated Sludge Model SMg Magnesium (ADM) (kmol.m3) (ASM) (g.m3)
BOD Biochemical Oxygen Demand SNa Sodium (ADM) (kmol.m3) (ASM) (g.m3)
BSM Benchmark Simulation Model S N2 Nitrogen gas (ASM) (g.m3)
CBIM Continuous Based Interfacing Methodology SNHx Inorganic ammonium nitrogen (ADM) (kmol.m3)
COD Chemical Oxygen Demand (ASM) (g.m3)
CSTR Continuous Stirred Tank Reactor SNO2 Nitrite (ASM) (g.m3)
DO Dissolved Oxygen SNO3 Nitrate (ASM) (g.m3)
Eaireation Energy consumption for aeration (kWh.d1) S O2 Dissolved oxygen (ASM) (g.m3)
EDSS Environmental Decision Support System Spro Total propionic acid (ADM) (kg.m3)
Eheating Energy consumption for heating (kWh.d1) SPOx Inorganic phosphorus (ADM) (kmol.m3) (ASM)
Eheating,net Net energy consumption for heating (kWh.d1) (g.m3)
assuming that 1 kg CH4 produces 7 kWh of heat SSOx Sulfate (ADM) (kmol.m3) (ASM) (g.m3)
(resulting from the gas motor) Ssu Sugars (ADM) (kg.m3)
Enet Net energy balancing (kWh.d1) Sva Total valeric acid (ADM) (kg.m3)
Epumping Energy consumption for pumping (kWh.d1) SCi Scenario evaluated (i ¼ 1 to 3)
EQI Effluent Quality Index SEC Secondary clarifier
Erecovery Energy recovery (kWh.d1) SIi Saturation Index, i ¼ CaCO3 and Ca3(PO4)2
Fe Iron SPLIT Splitter unit
G-L Gas liquid separator (UASB reactor) TKN Total Kjeldahl Nitrogen (g.m3)
HRT Hydraulic retention time (h) TN Total Nitrogen (g.m3)
I Ionic strength TSS Total Suspended Solids
IWA International Water Association TSSop Operational Total Suspended Solids (ASM) (g.m3)
KH Henry's constant UASB Upflow Anaerobic Sludge Blanket
KLai Transfer coefficient, i ¼ oxygen, carbon dioxide, Vbiofilm Biofilm volume (m3) (for option A2)
nitrogen gas, ammonia and sulfide Vbulk Bulk volume (m3) (for option A2)
L Biofilm thickness VFA Volatile Fatty Acids
M Mixing section (UASB reactor) WRRF Water Resource Recovery Facility
MLE Modified Ludzack Ettinger process WWTS Wastewater Treatment System
N/DN Nitrification/Dentrification X Particulate compound
OCI Operational Cost Index Xac Acetate degraders (ADM) (kg.m3)
ODE Ordinary Differential Equation XANX Anammox Bacteria (ASM) (g.m3)
P Phosphorus XAOB Ammonium Oxidizing Bacteria (ASM) (g.m3)
PCM Physico-Chemical Model Xbio Total biomass (ASM) (g.m3) (ADM) (kg.m3)
Pi Partial pressure of compound i XC4 Butyrate and valerate degraders (ADM) (kg.m3)
PI Proportional Integral controller XCa3 ðPO3Þ 4 Calcium phosphate (ADM) (kmol.m3) (ASM) (g.m3)
PN/ANX Partial Nitritation/Anammox XCaðCO3 Þ Calcium carbonate (ADM) (kmol.m3) (ASM) (g.m3)
PreAD Pre-acidification tank before the AD reactor XDAMO1 Denitrifying Anaerobic Methane Oxidizing archaea
PWM Plant-Wide Model (ASM) (g.m3)
Qair Airflow (activated sludge reactor, aerobic granular XDAMO2 Denitrifying Anaerobic Methane Oxidation bacteria
reactor) (ASM) (g.m3)
Qintr Internal recycle flow between AER3 to ANOX1 (for XEtOH Ethanol Oxidizing Bacteria (ADM) (kg.m3)
option A1) (m3.d1) XI Inert particulate organics (ADM) (kg.m3) ASM
Qr External recirculation flow between SEC to ANOX1 (g.m3)
(for option A1) (m3.d1) Xli Lipids (ADM) (kg.m3)
Qw Waste flow from SEC (for option A1) (m3.d1) XMOB Methane Oxidizing Bacteria (ASM) (g.m3)
R1 Expanded sludge bed (AD reactor) XNOB Nitrite Oxidizing Bacteria (ASM) (g.m3)
R2 Polishing section (AD reactor) XOHO Ordinary Heterotrophic Bacteria (ASM) (g.m3)
REAC Aerobic granular sludge reactor (physical unit) where Xorg Particulate organics (ASM) (g.m3)
PN/ANX takes place Xpr Proteins (ADM) (kg.m3)
S Soluble compound Xpro Propionate degraders (ADM) (kg.m3)
Saa Amino acids (ADM) (kg.m3) XS Biodegradable particulate organics ASM (g.m3)
Sac Total acetic acid (ADM) (kg.m3) XSRB Sulfate reducing bacteria (ADM) (kg.m3)
SiC Inorganic carbon (ADM) (kmol.m3) (ASM) (g.m3) XS0 Mineral sulphur (ADM) (kg.m3) (ASM) (g.m3)
Sbu Total butyric acid (ADM) (kg.m3)
266 X. Flores-Alsina et al. / Water Research 156 (2019) 264e276

zmax Maximum biofilm thickness (in UASB and aerobic ZCO2 Carbon dioxide (PCM) (kmol.m3)
granular reactors) ZHx S Free hydrogen sulfide (PCM) (kmol.m3)
z Radial distance within the biofilm (m) ZHNO2 Free nitrous acid (PCM) (kmol.m3)
Z Inorganic species (calculated with the PCM) ZNH3 Free ammonia (PCM) (kmol.m3)

when designing Wastewater Treatment Systems (WWTS) (Vela heterotrophic) and the main (bio)chemical processes involving
et al., 2015). methane and sulphur transformations. The entire system
Mathematical models are currently applied in normal water (AD þ post treatment) is simulated simultaneously. The main
engineering practice to evaluate competing design treatment op- novelties of this contribution can be summarized as follows:
tions (Flores-Alsina et al., 2012; Benedetti et al., 2010). In addition,
models can also be used for benchmarking (Copp, 2002; Jeppsson 1) A plant-wide model incorporating a UASB reactor þ two post-
et al., 2007), diagnosing (Rodriguez-Roda et al., 2002), and opti- treatment alternatives within an industrial context. Published
mizing (Rivas et al., 2008; Feldman et al., 2018) water systems, as studies considering plant-wide aspects have focused on virtual
well as for teaching purposes (Hug et al., 2009). Since the publi- case studies (Volcke et al., 2006b; Flores-Alsina et al., 2014).
cation of the International Water Association (IWA) Activated When full-scale facilities were modelled, the type of wastewater
Sludge Models (ASM1, 2d & 3) (Henze et al., 2000) and the was urban (Kazadi-Mbama et al., 2016). Indeed, industrial
Anaerobic Digestion Model No. 1 (ADM1) (Batstone et al., 2002), the wastewater has some drivers and challenges, including elevated
field has been rapidly expanding. Special efforts have been devoted sulfide, high strength inputs and very different system config-
to Plant-Wide Modelling (PWM) in recent years. The main idea in urations, which make state-of-the-art-models for municipal
PWM is that the WWTS should be considered as an integrated wastewater systems less suitable, and often additional exten-
process, where the different units comprising the flow diagram are sions are needed (Feldman et al., 2017).
linked together and need to be operated and controlled not as in- 2) Simultaneous simulation of two types of biofilm systems (anaer-
dividual unit operations, but taking into account all the interactions obic/aerobic). Previous investigations have often been focused
amongst the processes (Skogestad, 2000; Jeppsson et al., 2013). on studying process units (AD, post treatment) separately
One of the most difficult aspects in plant-wide modelling is (Batstone et al., 2015; Chen et al., 2016a, b; Winkler et al., 2014;
prediction and interaction of aquatic chemistry states, which are Castro-Barros et al., 2018) but never combined.
not normally considered in an efficient way in biological models. 3) A biofilm model implementation allowing the consideration of
Recent advances by the IWA Task Group on Physico-Chemical control aspects. This has been a particular drawback when ana-
Modelling (PCM) (Batstone et al., 2012) have boosted this field of lysing aerobic/anaerobic granular systems in the past (Volcke
research, particularly because considering PCM in addition to bio- et al., 2010, 2012; Ni et al., 2009), where the state-of-the-art
logical process models allows predicting the close interactions software used for these studies (Reichert, 2001) did not allow
between the phosphorus (P), sulphur (S) and iron (Fe) cycles (Solon for the inclusion of sophisticated process control elements
et al., 2017). Special aspects, such as model interfacing, have to be (Rosen et al., 2008).
taken into account (Batstone et al., 2015), unless integrated 4) Integration of physico-chemical aspects within (aerobic) biofilms
modelling methodologies are used (Barker and Dold, 1997; Grau systems. Previous works have been focused on granular micro-
et al., 2007; Ekama, 2009; Barat et al., 2013; Ferna ndez-Are valo bial composition (Pe rez et al., 2014; Poot et al., 2016), but there is
et al., 2017). PWM requires elemental mass balance verification no study where rigorous aqueous phase chemistry has been
and continuity checking for all the components comprising the included when modelling aerobic biofilms (Vangsgaard et al.,
model (Volcke et al., 2006a; Zaher et al., 2007; Nopens et al., 2009). 2013).
Therefore, COD, C, N, P, Fe and S need to be balanced across the 5) A holistic evaluation approach using net energy balances (UASB
interface (Flores-Alsina et al., 2016). The main advantage of using recovery e post treatment energy demand) that are applied under
an interface-based approach with respect to other integrated different operational conditions. This is closely linked to the first
methodologies is that the original model structure can be used, point, where there is a lack of full-scale studies using integrated
thus there is no need to consider all the state variables for each models and global criteria (Solon et al., 2017; Ferna ndez-Are valo
simulated unit process, with a reduction of the required compu- et al., 2017).
tational power and better overall model transparency (Grau et al.,
2009). The paper details the development of the new PWM developed
In this paper, we present a model-based feasibility study of for this study by presenting sequentially the elements of which it is
different anaerobic digestion post-treatment options in a biotech- comprised as well as highlighting the integration/interfacing as-
nology company using a PWM. The main motivation of the study is pects. The capabilities/potentials of the proposed approach are
to analyse how the selected technologies may affect the fate of illustrated by means of several simulated scenario analyses. Lastly,
nitrogen, methane and sulfide compounds leaving an industrial AD opportunities and limitations that arise from utilization of the new
system. Special aspects such as energy expenditures and potential models are discussed in detail.
(energy) recovery through the entire flow diagram will be
accounted for. This will be done using a previously published multi- 2. Methods
scale mathematical model approach describing the competition
between sulfate reducing bacteria and methanogens, the addition Sections 2.1.1 and 2.1.2 describe the processes and state variables
of ethanol as a separate model component, the effect of ionic included in both the Anaerobic Digestion (ADM) and the Activated
strength/activity corrections and the formation of multiple mineral Sludge (ASM) models, respectively. Additional aspects, with special
precipitates (Feldman et al., 2017). The above is linked to two emphasis on linking the ADM and ASM with a Physico-Chemical
different reactor designs (activated sludge/granular) representing Model (PCM) (Section 2.2), are described in Section 2.3 (Model
two post treatment options where a new model is developed. This integration). Implementation details for different types of reactor
model describes nitrification, denitrification (autotrophic/ designs: UASB, activated sludge and aerobic granular, are detailed
X. Flores-Alsina et al. / Water Research 156 (2019) 264e276 267

in Sections 2.4.2, 2.4.3 and 2.4.4. 2.3. Model interfacing

2.3.1. ADM to ASM interface


2.1. Biological models In this study the continuous-based interface methodology CBIM
is used to ensure continuity in the mass balances and avoid
2.1.1. Anaerobic digestion model (ADM) component leaks (Volcke et al., 2006a; Nopens et al., 2009). All the
The ADM1 version, implemented in the plant-wide context ADM organic states, such as carbohydrates, proteins and lipids (Xpr ,
provided by the Benchmark Simulation Model No. 2 (BSM2) Xli , Xch ), sugars, amino acids and fatty acids (Saa , Sfa , Ssu ) and volatile
(Batstone et al., 2002; Rosen et al., 2006) is extended with P, S and fatty acids (Sac , Spro , Sbu , Sva ) are converted into ASM general/
Fe interactions (Flores-Alsina et al., 2016). It also includes ethanol lumped biodegradable organic soluble (SS ) and particulate (XS )
(SEtOH ) degradation, which is modelled assuming a specific group of materials. In addition, immediate decay of the AD biomass (Xbio Þ to
microorganisms (XEtOH ), which ends up producing hydrogen (SH2 ) XS and organic inert compounds (XI Þ is assumed. There is no vari-
and acetate (Sac ) (Batstone et al., 2004). Mass balances, stoichi- ation of cations/anions before and after the interface. A compre-
ometry coefficients and continuity verification of the model can be hensive description with detailed explanation of the involved
found Supplemental Information section (xls files). processes, conversions and mass balance verification can be found
in Flores-Alsina et al. (2016).

2.1.2. Activated sludge model (ASM) 2.3.2. ASM/ADM to PCM interface


Reaction rates describing organic carbon (C) and nitrogen (N) The outputs of the ASM/ADM interface at each integration step
removal are described as in Vangsgaard et al. (2012). The model are used as inputs for the PCM module to estimate pH and ion
accounts for Ammonium/Nitrite Oxidizing Bacteria (XAOB /XNOB ), speciation/pairing (PMC module works as a sub-routine). The
Anammox Bacteria (XANX ) and Ordinary Heterotrophic Bacteria precipitation/stripping/inhibition equations are embedded within
(XOHO ). The default implementation is upgraded to include the AD/AS ordinary differential equation (ODE) model structure
methane (SCH4 ) and sulphur species (SHx S / XS0 / SSOx ) conversion and are therefore included in the overall mass balance. This is
processes. Hence, Methane Oxidation Bacteria (XMOB ), Denitrifying especially complicated in granular systems (UASB þ PN/ANX op-
Anaerobic Methane Oxidation (DAMO) archaea (XDAMO1 ) and bac- tion), where this communication is established for each discretized
teria (XDAMO2 ) are the main responsible organisms for biological layer within the biofilm (see Sections 2.4.2 and 2.4.4). For example,
SCH4 removal (Winkler et al., 2014; Daelman et al., 2014). Biological the PCM predicts the quantity of free ammonia (ZNH3 ) and free
conversion of SHx S / XS0 / SSOx is carried out by Sulphur Oxidation nitrous acid (ZHNO2 ) used by XAOB and XNOB as substrates for growth
Bacteria ðXSOB Þ involving different electron acceptors (SO2 / SNO3 / in the ASM implementation. In a similar way, calculated hydrogen
SNO2 ). Further information can be found in (Chen et al., 2016a, b). sulfide (ZH2 S ) and ammonia (ZNH3 ) concentrations are used for
The compounds SHx S and XS0 can also be oxidized chemically using calculating both stripping rates and inhibition functions in both the
a two-step reaction (from SHx S to XS0 and finally to SSOx ) as ADM and ASM approaches, according to Batstone et al. (2002) and
described in Gutierrez et al. (2010). Mass balances, stoichiometry Kalyuzhnyi and Fedorovich (1998). Finally, the calculation of the SI
coefficients and continuity verification of this part of the model can is the driving force to trigger the precipitation reactions, which in
also be found in the Supplemental Information section. turn are based on activities (Kazadi-Mbamba et al., 2015a, b).

2.4. Additional elements


2.2. Physico-chemical models (PCM)
2.4.1. Data measuring campaign and influent generation
2.2.1. Aqueous phase chemistry þ precipitation model The influent flow rate/mass loadings into the industrial AD are
A common physico-chemical framework is implemented to both 144 m3 h1, 1600 kg COD.h1, 80 kg N.h1 and 9 kg P.h1. The
ADM and ASM. The model simulates the acid-base system and is influent S:COD ratio is 0.025 kg S.(kg COD)1. It is important to
thereby able to predict pH (Solon et al., 2015). It also corrects for highlight that the influent to be treated is industrial wastewater,
ionic strength (I) via the Davies approach to consider chemical not waste activated sludge. Samples were taken at the outlet of the
activities instead of molar concentrations and hence perform all the pre-acidification tank (PreAD), a unit that is located before the
calculations under non-ideal conditions (Flores-Alsina et al., 2015). studied anaerobic granular bioreactor to promote the formation of
Multiple mineral precipitation potential is based on Saturation In- VFA. Data on influent/effluent cations (Naþ, Kþ, Mg2þ, Ca2þ) and
dex calculations (SI) as described in Kazadi Mbamba et al. (2015a, anions (Cl, SO2
4 ) concentrations are available. Analyses were done
b). using Standard Methods (APHA, 2012), using 1-day composite
samples. Influent fractionation and generation of additional
influent dynamics were carried out as stated in Feldman et al.
2.2.2. Gas-liquid transfer (2017). Interested readers are referred to the Supplemental infor-
Mass transfer between the liquid and the gas phase is accounted mation section where specific information about the influent
for selected compounds (i ¼ SO2 , SN2 , ZCO2 , ZH2 S , ZNH3 , SCH4 and SH2 ). characteristics can be found.
The transport rates are formulated as a function of the difference
between the saturation concentration and the actual concentration 2.4.2. USAB reactor model
of the gas dissolved in the liquid (Batstone et al., 2012). The satu- The plant under study is located in Kalundborg in the North
ration concentration of the gas in the liquid is given by Henry's law Western part of Zealand (Denmark) and treats the wastewater (not
of dissolution, which states that the saturation concentration is sludge) from Novo Nordisk and Novozymes, two of the biggest
equal to the product of Henry's constant (KH) multiplied by the biotechnology industries in Denmark. Reactor design is based on
partial pressure of the gas (Pi). The latter will be different in closed the BIOPAQ®IC technology (Paques, the Netherlands), an advanced
(UASB) and open (N/DN and PN/ANX) reactors (Rosen et al., 2006). high-rate granular anaerobic digester. The reactor is comprised of
The mass transfer rate constant (KLai) is calculated for each gaseous four parts: 1) a mixing section (M); 2) an expanded sludge bed (R1);
component as described in Musvoto et al. (2000). 3) a polishing section (R2); and, 4) a gas-liquid separator (G-L) (see
268 X. Flores-Alsina et al. / Water Research 156 (2019) 264e276

Fig. 1. Schematic representation of the system under investigation: UASB reactor þ two digestion post treatment options. A1 ¼ conventional nitrification/denitrification system,
A2 ¼ PN/ANX system (with pre-treatment).

Fig. 1 for details). The multi-scale approach described in Feldman assuming a response time of 4 min for the blowers. More info about
et al. (2017) is used to describe reactor hydrodynamics using mul- sensor and actuator models can be found elsewhere (Rieger et al.,
tiple Continuous Stirred Tank Reactors (CSTRs), a granule size dis- 2003; Rosen et al., 2008).
tribution and biofilm growth. More specifically, the biofilm model is
based on the one-dimensional approach reported in Wanner et al. 2.4.4. Aerobic granular sludge reactor model
(2006). The model contains both soluble (S) and particulate (X) A similar approach as described in Section 2.4.2 is used to
state variables. The mass balance assumes that the transport of describe the aerobic granular sludge reactor (A2). For simplicity
soluble compounds is governed solely by (homogenous) diffusion, purposes, the REAC is modelled by assuming one single CSTR and
whereas movement of particulate compounds takes place by con- one single granule size (zmax) type (additional information in
vection (Saravanan and Sreekrishnan, 2006). Biofilm thickness (L) is Vansgaard et al. (2012)). The exact same strategy as described
given as the radial distance (z) from the centre to the surface of the above predicts competition for substrate/space within the biofilm
granule and varies due to two phenomena: 1) the net growth of the by the different microorganisms accounted for by the ASM. An ideal
particulate species and 2) detachment from the biofilm surface separator (SEP) avoids that the granules leave REAC. An aerated
(Lackner et al., 2008). The resulting system of partial differential tank (PRE) and a splitting unit (SPLIT) are added before REAC, and
equations (PDEs) is solved using the method of lines (Press et al., act as a pre-treatment using the ASM as in the conventional N/DN
2007). reactor (Jeppsson et al., 2007) (see Fig. 1 for details). The objective of
PRE is to adjust COD/N ratios þ pH as well get rid of potentially
2.4.3. Conventional N/DN reactor model troublesome compounds (H2S) that can hinder Anammox biomass
The first configuration (A1) is based on a modified Ludzack- activity. Literature values were used to determine the hydraulic
Ettinger (MLE) design. The plant is described as 5 CSTRs in series retention time (HRT) and TSSop (Lackner et al., 2014). A default
and one secondary sedimentation tank (SEC) (see Fig. 1 for details). strategy based on a simple PI DO loop with similar sensor/actuator
The behaviour of the SEC is approximated by using the double- characteristics (noise, delay, response time) as described in Section
exponential settling function proposed in Tak acs et al. (1991). 2.4.3 is implemented (set-point ¼ 0.25 g (-COD).m3). Note the
Tanks 1 and 2 are anoxic (ANOX1, 2). Tanks 3, 4 and 5 (AER1, 2 and difference between REAC (physical unit where PN/ANX takes place)
3) are aerobic. All reactors are assumed to have the same volume. and A2 (alternative comprising both PRE þ REAC).
AER3 and ANOX1 are linked by means of an internal recycle (QINTR).
Literature values were used to determine the hydraulic retention 2.4.5. Evaluation criteria
time (HRT) and TSSop (Tchobanoglous et al., 2003). A PI controller To assess the performance of the different treatment options, a
regulating the airflow (Qair) to maintain a constant dissolved oxy- set of evaluation criteria is necessary (Jeppsson et al., 2013). Different
gen (DO) concentration (set-point ¼ 2 g (-COD).m3) is imple- effluent quality criteria, such as Total Kjeldahl Nitrogen (TKN) and
mented in AER2. Proportional controllers are used to determine Qair Total Nitrogen (TN), are calculated from ASM state variables (Henze
in AER1 and AER3 (see Gernaey et al., 2014) according to AER2. The et al., 2000) to assess the pollution removal efficiency of the system.
DO sensor response time (1 min), sensor delay and white noise are Energy recovery (Erecovery) in the UASB is calculated by using the
included in the sensor/actuator models in order to avoid creating a energy content of the methane gas (50.014 MJ (kg CH4)1) and
simulation of unrealistic ideal control applications. Finally, the assuming a 43% efficiency for electricity generation. Aeration energy
aeration system (Qair), is defined with significant dynamics, (Eaeration) is calculated imposing an energy expenditure equal to
X. Flores-Alsina et al. / Water Research 156 (2019) 264e276 269

1.8 kg (-COD) (kWh)1. Pumping energy (Epumping) is calculated as 3. Results


the weighted averaged sum of internal (QINTR) and external recycle
(QR) and waste flow (QW). Epumping also quantifies the quantity of 3.1. Post-anaerobic digestion treated water options evaluation
particulate material removed in PRE (for alternative A2) via under-
flow. The heating energy (Eheating) is calculated from the quantity of 3.1.1. Default operational conditions
water entering into the UASB. The net energy heating demand Table 2 shows steady state UASB influent data þ model pre-
(Eheating,net) is met by the heat generated from the assumed gas used dictions for the proposed post-digestion treatment options (A1, A2).
for electricity production from biogas (1 kg CH4 produces 7 kWh of The multi-scale approach, parameter values and full-scale data
heat). The difference between Erecovery - Eaeration e Epumping e Ehea- reported in Feldman et al. (2017) are used to obtain the anaerobic
ting,net is the net energy generated (Enet). Further information can be digester results represented in columns I and II (see Sections 2.4.1
found in Gernaey et al. (2014). and 2.4.2.). Model interfaces and the ASM implementation in the
aerobic granular reactor yield columns III and IV (see Sections 2.4.3
and 2.4.4). More information about model interfaces and how COD,
2.5. Simulation scenarios C, N and P are maintained when leaving the UASB reactor and
entering the subsequent post treatment options (for subsequent
Three different scenarios are considered in this work (see post-treatment evaluation) are provided in the Supplemental in-
Table 1). The conditions for the first scenario (SC1) are selected to formation section. Simulation results displayed in Table 2 indicate
study two potential options to treat the pollution loads from the substantial differences regarding N removal efficiencies between A1
UASB effluent. The first technology (A1) is a conventional activated and A2 (74 and 90% respectively) while COD, CH4 and S removal are
sludge configuration where traditional nitrification (N)/denitrifi- almost the same. These differences are attributed to the fact that
cation (DN) processes take place. The alternative configuration (A2) scenario A1 fails to complete SNO3 / SNO2 denitrification due to
includes a granular aerobic reactor based on the partial nitritation insufficient carbon source (SS ). Option A2 can reduce SNO2 to SN2
(PN)/Anammox (ANX) process. In this particular scenario, the since this process is done autotrophically by XANX (and Salk is not a
compromise between energy recovery in the UASB and denitrifi- limiting factor). The surplus heat that may be produced during
cation potential is also studied in both post treatment cases by electricity generation is for heating the anaerobic digester, there-
conducting integrated simulations, i.e. UASB model and post- fore Eheating,net is zero. Regarding Erecovery Table 2 shows that at
treatment configuration model are solved simultaneously. The default operational conditions of the UASB reactor it is possible to
second scenario (SC2) explores the effect of PRE on A2. Special recover 149.2 MWh.d1. This corresponds to 10,800 m3d-1 of CH4
emphasis is placed on evaluation of influent characteristics, process (78% of the total produced biogas). When it comes to Eaeration, A1
performance, biofilm microbial distribution and the risk of intra- would require 5652 kWh.d1 or 3.95 kWh/kg Nremoved. These esti-
granule precipitation. The third scenario (SC3) explores variations mations are close to the values reported in Lackner et al. (2014).
on the overall process performance (N removal, Eairation, Enet) when Additionally, around 102 kWh.d1 is necessary to reach the
selected operational/design/loading conditions for the UASB þ A2 required pumping rates of typical MLE configurations (QINTR, QR
treatment train (PN/ANX þ pre-treatment) are modified (DO, VSSOP, and QW). This leads to an Enet of 143.5 MWh.d1. On the other hand
Erecovery). All dynamic simulations start from steady state condi- in A2, partial nitrification occurs and the required airflow is much
tions (1000 days) to eliminate bias due to the selection of initial lower (2700 kWh.d1 or 1.75 kWh/kg Nremoved) compared to A1
conditions (Gernaey et al., 2014). The sensor and actuator models (even though A2 includes AE in both PRE and REAC). These values
are only used during dynamic simulations. correspond again to literature references where reported aeration
energy values for PN/ANX range from 1.05 to 4.7 kWh/kg Nremoved
(Lackner et al., 2014). This makes the operation of A1 significantly
Table 1
Definition of the different scenarios and assumed design/operational conditions.

UASB A1 (conventional N/ A2 (PN/ANX granular Table 2


DN) reactor) Performance evaluation of the different treatment trains (steady state simulation).
Sc1: Evaluation of post digestion options
Influent UASB A1 (conventional A2 (PN/ANX
HRT (h) 6e18 24þ8b 8þ12c
N/DN) granular
TSSop 50/35/15a 4 24d
reactor)
(kg.m3)
zmax (m) 0.004/0.002/ e 0.0005 Effluent quality
0.0005a Kg COD.h1 1600 450 117 120
DO (g.m3) 0 2 0.25 Kg N.h1 80 80 21 8
Sc2: Exploration the effect of pre-treatment (PRE) on A2 Kg CH4.h1 6a <0.1 <0.1
HRT (h) 12 (8) þ 12c Kg S.h1 43 19b <0.1 <0.1
TSSop 50/35/15a 24d Energy recovery, expenditures and net balancing
(kg.m3) Erecovery (MWh.d ) 1
149.2
zmax (m) 0.004/0.002/ 0.0005 Eheating/Eheating,net (MWh.d1) 73c/0 d – e
0.0005a Eaireation (kWh.d1) 5652 2700
DO (g.m3) 0 0.25 Epumping (kWh.d1) 102 20
Sc3: Local/Global evaluation of the overall process performance on A2 Enet (MWh.d1) 143.5 146.5
HRT (h) 6e18 8þ12c a
Kg CH4.h1 only represents the dissolved fraction in the liquid phase (UASB
TSSop 50/35/15a 15e30
effluent).
(kg.m3) b
Kg S.h1 only represents the dissolved fraction of reduced S forms (H2S/HS) in
zmax (m) 0.004/0.002/ 0.0005
the liquid phase (UASB effluent).
0.0005a c
Eheating is energy input that is needed to heat the inlet flow to the UASB until it
DO (g.m3) 0 0.1-.1.5
reaches the desired operational temperature (T ¼ 35 C).
a d
The reactor is discretized vertically in three sections: M, R1 and R2. Eheating,net is quantified assuming that 1 kg CH4 produces 7 kWh of heat
b
Includes the HRT of the bioreactor and the secondary settler. (resulting from the gas motor) from the quantity of methane produced Eheating;net ¼
c
Includes the HRT of the PRE unit. maxð0; Eheating  7MPÞ where MP is methane (gas) production (kgCH4.d1).
d
This is translated to 20% of granule occupation within REAC.
270 X. Flores-Alsina et al. / Water Research 156 (2019) 264e276

more expensive compared to A2 (Enet is up to 146.5 MWh.d1). XDAMO1 / XDAMO2 in SCH4 conversion for A2. Similar results were
Dynamic simulations show again the differences in N removal reported in Daelman et al. (2014) and Winkler et al. (2014).
performance and how option A1 is not capable to remove SNO3 / Regarding SHx S , this compound is (bio)chemically re-oxidated to
SNO2 due to insufficient available carbon source (see Fig. 2, row II). XS0 / SSOx (see row 6) in both A1 and A2. The relatively high oper-
There are substantial differences in SO2 levels for both options. In ational pH (see Table 1) ensures a relatively low ZH2 S stripping, i.e.
option A1, all SNHx has to be transformed to SNO3 . Therefore, the SO2 the equilibrium is moved towards ZHS (Stumm and Morgan, 1996).
demand is very high. In option A2, only a part of the incoming SNHx
is oxidized to SNO2 thereby reducing the aeration requirements 3.1.2. Modification of the UASB reactor conversion efficiency
substantially (see Eaeration in Table 2). It is important to notice the In this section, the balance between organics conversion within
effect of the defined noise/delay level in the sensor and actuator the UASB reactor versus energy consumption and N removal in both
model. These model additions, e.g. the sensor models, provide a aerobic reactors (A1 & A2) is studied in more detail. In order to do
more realistic PI response and hence contribute to avoiding having this, an increase/decrease of conversion efficiency is imposed by
unrealistic (¼ideal) control actions in the simulation (see Fig. 2, row changing the UASB reactor volume. A pH control ensured the same
I). Both A1 and A2 options achieve almost complete removal of SCH4 acid-base conditions. This modified conversion efficiency, com-
and SHx S at the end of the treatment (>99% removal) (see rows 4 bined with alternatives A1 and A2 respectively, is simulated using
and 5). Stripping is the main mechanism for SCH4 removal in the two the PWM presented in this paper (see Table 1). Fig. 3a and b shows
evaluated options. Stripping in A1 takes place in the AER section, the changes in the quantity of SS leaving the reactor (from 240 to
while in A2 it is in the PRE section. The predicted activity of XMOB is 100 kg h1) and the quantity of methane produced (from 9500 to
zero for A1 and A2. Nevertheless, there is a minor contribution of 11,400 m3 d1). The latter is used to calculate the potential Erecovery

Fig. 2. UASB influent (column I), effluent (column II), data/model predictions and simulation results of the proposed post-digestion treatment options (columns III & IV).
A1 ¼ conventional nitrification/denitrification system, A2 ¼ PN/ANX system (including pre-treatment).
X. Flores-Alsina et al. / Water Research 156 (2019) 264e276 271

Fig. 3. UASB capacity analysis (a,b) and effect on the denitrification efficiency of the two evaluated options (c,d). A1 ¼ conventional nitrification/denitrification system, A2 ¼ PN/ANX
system (with pre-treatment). On the two top plots, also experimental data (plant measurements) are included (marked with x). The bar centred on the figure, represents the default
operational conditions (see Table 2). Bars to the right and to the left of the default condition bars represent an increase and decrease of the AD conversion efficiency, respectively.

(see section 2.4.5). Fig. 3c and d shows the nitrogen removal effi- 3.2. Effect of pre-treatment on PN/ANX performance
ciency for the two evaluated options considering the different UASB
reactor capacities. It is important to highlight that in all cases, the 3.2.1. PN/ANX influent characteristics
total quantity of nitrogen to treat is the same (80 kg N.h1). This section describes the effect on the overall process perfor-
When the UASB reactor volume is lowered, higher N removal mance when the aerated pre-treatment (PRE) unit is utilised (or
rates were achieved in the option A1 (up to þ 67% of the total not) before the PN/ANX reactor (options A2,1 and A2,2) (see Section
incoming N). This is attributed to the higher quantity of organics 2.4). The PRE consists of a CSTR with a residence time of 8 h, which
arriving from the AD to the MLE plant, and therefore more carbon is aerated (see Table 1). Fig. 4 shows the UASB influent (see Section
source is available for the traditional denitrification process. As a 2.4.1), the effluent (see Section 2.4.2.) and the PRE (see Section
direct result, there is a decrease of 11% in the Erecovery. When the 2.2.4) model predictions as well as the measured data (when these
UASB reactor conversion is higher (up to þ 5% in Erecovery) by were available). Computer simulations show that adding the PRE
increasing its volume it has negative effects (¼ not sufficient electron promoted a COD decrease (organic matter and H2S oxidation) in the
donor) on nitrogen removal due to denitrification failure (down to UASB effluent, CH4/CO2 stripping and a pH increase (up to pH 8.5).
34% N removal). Using the numbers generated in this case study, we High pH also promotes the formation of inorganic precipitates
can conclude that each additional kg of nitrogen removed in the post (XCaCO3 and XCa3 ðPO4 Þ2 ), which decreases the quantity of soluble Ca
treatment will require a decrease in the digester performance and P in the effluent. Since compounds containing Mg are present
equivalent to 95 kWh.kg N1. More details are provided in Fig. 3c. in under-saturated conditions, no precipitates of Mg compounds
Regarding option A2, simulation results show that a higher are formed (reflected as struvite in Fig. 4.
destruction of organics in the UASB reactor brings many benefits to
the overall plant performance. Firstly, the quantity of energy re-
covery is higher (up to þ 5% in Erecovery). Secondly, Eaeration in REAC 3.2.2. P/ANX effluent characteristics and granule structure/
is slightly lower due to a minor decrease of the oxygen demand properties
required to remove the arriving COD (Eaeration changes from 1200 to Fig. 5 reveals that the most immediate effect of PRE is a sub-
1100 kWh.d1) (Cao et al., 2017). As a result Enet is more favourable stantial reduction of the H2S inhibition (and consequently SNHx
(from 146.5 to 153.9 MWh.d1). Thirdly, the quantity of nitrogen conversion). Both A2,1 and A2,2 show that the centre of the granule
removed is slightly increased (from 80 to 84%) due to a lower is inactive due to the high concentration of inert material (XI )
competition with XOHO giving advantage to XANX (Ni et al., 2009). resulting from biomass death. The biomass (Xbio ) and organics
More details are provided in Fig. 3d. (Xorg ) concentrations increase for an increasing radial distance (z),
i.e. the closer to the surface, the higher the biomass concentration.
272 X. Flores-Alsina et al. / Water Research 156 (2019) 264e276

Fig. 4. UASB influent (row I), data (circles)/model predictions and simulation (solid lines) results obtained when including a PRE unit (rows II and III). A2,1 ¼ PN/ANX þ pre-
treatment, A2,2 ¼ PN/ANX without pre-treatment. Since the scenario A2,2 does not include pre-treatment, the influent of the PN/ANX is in that case exactly the same as the effluent
of the UASB reactor (where measurements were available).

More specifically, a high portion of XANX is placed in the inner zone granule size (Feldman et al., 2017). In this particular case, the flat pH
and this fraction decreases as the radius of the granule increases. profiles can be justified due to the relatively low SNO2 concentra-
The presence of XAOB and XOHO is comparatively higher in the outer tions and the high buffer capacity of the system.
layers of the biofilm. This distribution corresponds to the degree of
SO2 penetration within the biofilm. 3.3. Variation in loading/operational conditions
The main differences between A2,1 and A2,2 rely on the relative
presence of XOHO , XDAMO and XSOB . This is attributed to the fact that 3.3.1. DO set-point, TSSop and Erecovery
part of the COD, H2S and CH4 is removed in the PRE. Finally, PRE has Response surfaces depicted in Fig. 6 show the effect of changing
an effect on the weak acid-base chemistry of both the bulk and the the operational conditions on: 1) N removal (effluent SNHx /N
granule. As a consequence of including the PRE, the risk of having denitrified), 2) aeration energy (Eaeration), and 3) net energy balance
intra-granular precipitation for calcite (SIcalc) and calcium phos- (Enet) when both UASB reactor þ A2 (PN/ANX þ pre-treatment) are
phate (SICaP) is reduced. In both cases, the system is under- simulated simultaneously. Computer results show that optimal DO
saturated for struvite. Surprisingly, no pH gradient between the levels for N removal ranges from 0.25 > DO < 0.5 g m3. At lower
biofilm and the bulk phase is predicted while some authors values (DO < 0.25 g m3) there is a failure in nitritation efficiency,
observed otherwise (Lemaire et al., 2009). Other simulation studies and there is no conversion of SNHx to SNO2 (Fig. 6b and f). At higher
have shown that pH gradients are increased as function of the DO values, XNOB have a competitive advantage compared to XANX .

Fig. 5. Intra-granule model prediction for option A2 when PRE is active (A2,1 ¼ PN/ANX þ pre-treatment) or not active (A2,2 ¼ PN/ANX without pre-treatment). In the plot,
0 represents the centre of the granule and 0.5 the surface of the granule that is in contact with the liquid phase.
X. Flores-Alsina et al. / Water Research 156 (2019) 264e276 273

Fig. 6. Local (DO set-point and TSSop in REAC) and Global/plant-wide (Erecovery in UASB and DO set-point in REAC) modifications of the operational settings (1st and 2nd row,
respectively) and their effects on TKN, TN, Eaeration and Enet for option A2 (PRE þ PN/ANX). In this case A2 includes PN/ANX þ pre-treatment.

As a result, there is a decrease in the overall N removal efficiency mentioned in the introduction, previous studies including biofilm
due to the substantial amount of SNO3 that is formed in the aqueous reactors did not include sophisticated control elements mainly due
phase. This can be compensated by increasing the TSSop (and to software limitations of the platform on which these simulations
thereby the ratio of Vbiofilm to Vreactor) or increasing the quantity of were executed (Reichert, 2001). The biofilm model presented here,
organics coming from the digester. Nevertheless, this practice has a while carrying a high development overhead, offers a number of
negative effect on the entire energy balance in the plant. (Eaeration, advantages over classic lumped parameter implementations
Erecovery and Enet). (which normally rely on increased solids retention time, Batstone
et al., 2002). This includes inherent incorporation of diffusional
3.3.2. Importance of plant-wide approaches to avoid suboptimal limitations, consideration of how specific gaps will be selectively
outcomes retained, and in-biofilm interactions. Many of these factors are
The potential N removal and Enet maximization in REAC by quite important to short term dynamics, which in turn, impact
modifying TSSop and DO setpoint is a clear example of sub- control strategies. The implementation presented in this paper has
optimization. For example, it was possible to get better Enet shown that the computational demand is manageable. This
values when the UASB and REAC where modified together (see implementation (which will be freely distributed) will allow users
Fig. 6, second row) instead of making local changes in REAC (up to to develop/simulate control strategies using the most common on-
155 MWh.d1 compared to 148 MWh.d1 while N removal effi- line sensors, such as pH, DO, NH4, NO3, NO2 and conductivity
ciency is maintained). The mass and energy balances provided by (Lackner et al., 2014). Implementation of pH has been especially
the PWM can be very useful to suggest ways of better managing the challenging due to the numerical problems that this variable causes
different industrial streams within the factory, and achieving better (Batstone et al., 2012). Some of these implemented sensors might
operational process solutions. In addition, the optimization exam- have considerable noise, response time and delay (Rieger et al.,
ples depicted in Fig. 6 could be combined with other approaches, 2003). The same applies for actuators. Therefore, such elements
such as pH and sulfide production control in the AD. In this regard, should be included in order to evaluate controllers realistically
previous studies (Feldman et al., 2018) have demonstrated that a (Rosen et al., 2008). The special numerical routines implemented in
good pH control could reduce the operational cost of the digester by these models allowed simulating these elements without problems
up to 45% without risking the overall process performance. Another (Flores-Alsina et al., 2015; Feldman et al., 2017).
interesting example is reported in Irizar et al. (2018), where
advanced software sensors are applied to a similar type of UASB 4.2. Generation of alternatives
reactor to ensure stable operating conditions.
The options evaluated in this case study have been systemati-
4. Discussion cally generated, but they are based on general process knowledge.
The combination of plant-wide models (Ekama, 2009; Barat et al.,
4.1. Evaluation of (realistic) control strategies in biofilm systems 2013; Solon et al., 2017, Ferna ndez-Are valo et al., 2017) with envi-
ronmental decision support systems (EDSS) for suggesting process
The PN/ANX model developed during this study will allow flow sheets (Poch et al., 2004; Garrido-Baserba et al., 2012; Castillo
multiple possibilities, thus opening a new field of research. As et al., 2016) is a promising line of research. Indeed, the combination
274 X. Flores-Alsina et al. / Water Research 156 (2019) 264e276

of process heuristics with mixed integer non-linear programming implemented in two reactor designs (activated sludge/aerobic
could yield a good set of technologies to be further evaluated using granular sludge). Sensor and actuator models were included to
dynamic process models. There is a bright future if both tools go avoid unrealistic control actions and allow future control pos-
hand in hand when retrofitting an existing plant during the tran- sibilities. The PWM was simulated and the performance of the
sition from WWTPs to Water Resource Recovery Facilities (Daigger, different flow diagrams evaluated in terms of pollution removal
2011). (nitrogen, CH4, H2S), energy production (Erecovery), energy con-
sumption (Eaeration/Epumping) and net energy balance (Enet).
4.3. Outlook, limitations and future research directions  Model-based evaluation revealed that PN/ANX (option A2)
demanded lower aeration rates (Eaeration ¼ 1.75 kWh/kg Nre-
It is important to highlight that only the ADM section of the in- moved) and potentially allowed more energy recovery in the
tegrated approach presented in this study has been validated UASB reactor (Erecovery ¼ up to 156.7 MWh.d1) since the
experimentally with full-scale data. Process equations and kinetic Anammox bacteria in charge of denitrification did not need
and stoichiometric parameters for the ASM part have been extracted organics as electron donor. As a result, the Enet
from literature based on validated case studies. The N removal part (¼153.9 MWh.d1) was potentially higher. Conventional N/DN
using a granular system has been tested in Vangsgaard et al. (2013). (option A1) as post-treatment of UASB effluent required higher
Methane and sulfide process equations were taken from previous aeration rates (Eaeration/Epumping ¼ 3.95 kWh/kg Nremoved) to
studies dealing with a similar type of wastewater (Winkler et al., convert the NHþ 4 all the way to NO3, and lower conversion in the
2014; Chen et al., 2016a, b). pH predictions and precipitation equa- AD (Erecovery is down to 132.8 MWh.d1) to allow denitrification,
tions are validated in Kazadi-Mbamba et al. (2015a, b). Therefore, the i.e. resulting in a considerably lower net energy production Enet
results from the simulation study seem to be correct and reliable, (¼127.1 MWh.d1). Calculations show that 95 kWh.d1 is lost in
within the normal uncertainty range of simulation studies of terms of energy production per extra kg N.d1 removed. These
wastewater treatment systems. It is interesting to note that, as a results are in agreement with the well-known advantages of PN/
result of this study, the company involved will implement alterna- ANX process over the conventional nitrification/denitrification
tive PRE þ PN/ANX at full scale as a post-digestion treatment tech- process.
nology. The potential better results in Enet were the key issue to tip  The addition of an aeration pre-treatment tank (PRE) before the
the scale towards selection of this option. PN/ANX reactor increases COD/H2S oxidation, CH4/CO2 strip-
Last but not least, the reader should be aware that the PWM ping, Ca precipitation and increases pH. These processes change
presented in this case study shows a good compromise between the wastewater influent composition, and due to the presence of
model complexity and prediction capabilities. Nevertheless, the list XDAMO and XSRB this ends up changing the granule microbial
of relevant processes is far from being complete. PN processes (or distribution. pH variation and risk of precipitation are also
systems in general where there is NO 2 accumulation) are well- predicted by the model.
known for producing relatively high quantities of N2O emissions.  The modification of the UASB conversion efficiency þ DO set-
N2O is a powerful greenhouse gas that is 300 times stronger than CO2 point in the PN/ANX reactor rendered better results (Enet) than
(IPCC, 2013). CH4 stripping is an important contribution to green- the local (TSSop þ DO set-point) optimization of the PN/ANX
house gas formation as well. As a consequence, a more integrated operational settings. In this way, it was possible to take full
assessment should include a compromise between effluent quality, advantage of the interactions amongst the different units and
operational cost and greenhouse gas emissions (Flores-Alsina et al., hence avoid sub-optimal outcomes.
2014; Ni and Yuan 2015). Other important factors not included in  The study has shown the potential of using simulations for
this study when evaluating PN/ANX systems is the variation of the virtually evaluating competing options before full-scale imple-
size of the granular sludge (Volcke et al., 2010, 2012) and the effects mentation. Relevant information about the general mass and
of intra-granular precipitation (Johansson et al., 2017; Feldman et al., energy balances will yield additional information that will help
2018). Sulfide inhibition should also be better represented in the the process engineer to take the right decision in terms of
model. In this study, an arbitrarily high value was defined to account treatment option to be selected.
for the S effect on biomass growth. Nevertheless, there are numerous
studies that report quite complex interactions between XANX and
XSRB (Jin et al., 2012, 2013). The present study could be com- 6. Software availability
plemented with more thorough energy balances (Ferna ndez-
Arevalo et al., 2017; Longo et al 2018) or life cycle assessment The Matlab/Simulink implementation of the UASB reactor
(Corominas et al., 2013). Uncertainty/risk analysis, a central concept model, the N/DN reactor model and the PN/ANX reactor model plus
for model-based evaluation of alternatives (Belia et al., 2009), is an model interfaces are available on request. The code is fully docu-
important issue that should be considered as well. The consideration mented and presented results can be reproduced. To express an
of uncertainty/risk factors within the evaluation procedure can interest, please contact Dr. Xavier Flores-Alsina (xfa@kt.dtu.dk) or
substantially change the evaluation results, and preliminary Professor Krist V. Gernaey (kvg@kt.dtu.dk) at the Department of
selected technologies might come up as less desirable while other Chemical and Biochemical Engineering at the Technical University
options retain a higher chance of success under uncertainty. of Denmark.

5. Conclusions Appendix A. Supplementary data

The main findings of this study can be summarized in the Supplementary data to this article can be found online at
following points: https://doi.org/10.1016/j.watres.2019.02.035.

 A plant wide model (PWM) was presented, consisting of a UASB


References
reactor based on an ADM type model þ two post-treatment
options based on an ASM type model. Special features to inter- APHA, 2012. Standard Methods for the Examination of Water and Wastewater.
face both models had to be developed. The ASM approach was American Public Health Association, Washington, D.C., USA.
X. Flores-Alsina et al. / Water Research 156 (2019) 264e276 275

Barat, R., Serralta, J., Ruano, V., Jimenez, E., Ribes, J., Seco, A., Ferrer, J., 2013. Bio- Benchmarking of control strategies for wastewater treatment plants. In:
logical Nutrient Removal no 2 (BNRM2): a general model for wastewater Gernaey, K.V., Jeppsson, U., Vanrolleghem, P.A., Copp, J.B. (Eds.), 2014. IWA
treatment plants. Water Sci. Technol. 67 (7), 1481e1489. Scientific and Technical Report No. 23. IWA Publishing, London, UK.
Barker, P.S., Dold, P.L., 1997. General model for biological nutrient removal activated- Grau, P., Copp, J., Vanrolleghem, P.A., Tak acs, I., Ayesa, E., 2009. A comparative
sludge systems: model presentation. Water Environ. Res. 69 (5), 969e984. analysis of different approaches for integrated WWTP modelling. Water Sci.
Batstone, D.J., Keller, J., Angelidaki, I., Kalyuzhnyi, S.V., Pavlostathis, S.G., Rozzi, A., Technol. 59 (1), 141e147.
Sanders, W.T.M., Siegrist, H., Vavilin, V.A., 2002. Anaerobic Digestion Model No. Grau, P., de Gracia, M., Vanrolleghem, P.A., Ayesa, E., 2007. A new plant-wide
1. IWA Scientific and Technical Report No. 13. IWA Publishing, London, UK. modelling methodology for WWTPs. Water Res. 41 (19), 4357e4372.
Batstone, D.J., Puyol, D., Flores-Alsina, X., Rodriguez, J., 2015. Mathematical Gutierrez, O., Park, D., Sharma, K.R., Yuan, Z., 2010. Iron salts dosage for sulfide
modelling of anaerobic digestion processes: applications and future needs. Rev. control in sewers induces chemical phosphorus removal during wastewater
Environ. Sci. Biotechnol. 14 (4), 595e613. treatment. Water Res. 44 (11), 3467e3475.
Batstone, D.J., Torrijos, M.J., Ruiz, C., Schmidt, J.E., 2004. Use of an anaerobic Henze, M., Gujer, W., Mino, T., van Loosdrecht, M.C.M., 2000. Activated Sludge
sequencing batch reactor for parameter estimation in modelling of anaerobic Models ASM1, ASM2, ASM2d, and ASM3. IWA Scientific and Technical Report
digestion. Water Sci. Technol. 50 (10), 295e303. No. 9. IWA Publishing, London, UK.
Batstone, D.J., Amerlinck, Y., Ekama, G., Goel, R., Grau, P., Johnson, B., Kaya, I., Hug, T., Benedetti, L., Hall, E.R., Johnson, B.R., Morgenroth, E., Nopens, I., Rieger, L.,
Steyer, J.-P., Tait, S., Tak
acs, I., Vanrolleghem, P.A., Brouckaert, C.J., Volcke, E.I.P., Shaw, A., Vanrolleghem, P.A., 2009. Wastewater treatment models in teaching
2012. Towards a generalized physicochemical framework. Water Sci. Technol. and training: the mismatch between education and requirements for jobs.
66 (6), 1147e1161. Water Sci. Technol. 59 (4), 745e753.
Belia, E., Amerlinck, Y., Benedetti, L., Johnson, B., Sin, G., Vanrolleghem, P.A., IPCC, 2013. Climate Change 2013: the Physical Science Basis. Working Group I
Gernaey, K.V., Gillot, S., Neuman, M., Rieger, L., Shaw, A., Villez, K., 2009. Contribution to the IPCC 5th Assessment Report - Changes to the Underlying
Wastewater treatment modelling: dealing with uncertainties. Water Sci. Scientific/technical Assessment. IPCC, Cambridge, United Kingdom and New
Technol. 60 (8), 1929e1941. York, NY, USA.
Benedetti, L., De Keyser, W., Nopens, I., Vanrolleghem, P.A., 2010. Probabilistic Irizar, I., Roche, E., Beltra n, S., Aymerich, E., Esteban-Gutie rrez, M., 2018. Model-
modelling and evaluation of wastewater treatment plant upgrades in the EU based design of a software sensor for real-time diagnosis of the stability con-
Water Framework Directive context. J. Hydroinf. 12 (4), 380e395. ditions in high-rate anaerobic reactors e full-scale application to internal cir-
Cao, Y., van Loosdrecht, M.C.M., Daigger, G.T., 2017. Mainstream partial nitritation- culation technology. Water Res. 143, 479e491.
anammox in municipal wastewater treatment: status, bottlenecks, and Jeppsson, U., Alex, J., Batstone, D., Benedetti, L., Comas, J., Copp, J.B., Corominas, L.,
further studies. Appl. Microbiol. Biotechnol. 101 (4), 1365e1383. Flores-Alsina, X., Gernaey, K.V., Nopens, I., Pons, M.-N., Rodriguez-Roda, I.,
Castillo, A., Cheali, P., Go mez, V., Comas, J., Poch, M., Sin, G., 2016. An integrated Rosen, C., Steyer, J.-P., Vanrolleghem, P.A., Volcke, E.I.P., Vrecko, D., 2013.
knowledge based and optimization tool for the sustainable selection of Benchmark simulation models: quo vadis? Water Sci. Technol. 68 (1), 1e15.
wastewater treatment process concepts. Environ. Model. Softw 84, 177e192. Jeppsson, U., Pons, M.N., Nopens, I., Alex, J., Copp, J.B., Gernaey, K.V., Rosen, C.,
Castro-Barros, C.M., Ho, L.T., Winkler, M.K.H., Volcke, E.I.P., 2018. Integration of Steyer, J.P., Vanrolleghem, P.A., 2007. Benchmark Simulation Model No 2 e
methane removal in aerobic anammox-based granular sludge reactors. Environ. general protocol and exploratory case studies. Water Sci. Technol. 56 (8),
Technol. 39 (13), 1615e1625. 287e295.
Chen, X., Guo, J., Xie, G.J., Liu, Y., Yuan, Z., Ni, B.J., 2016a. A new approach to Jin, R.J., Yang, G.F., Zhang, Q.Q., Ma, C., Yu, J.J., Xing, B.S., 2013. The effect of sulfide
simultaneous ammonium and dissolved methane removal from anaerobic inhibition on the ANAMMOX process. Water Res. 47, 1459e1469.
digestion liquor: a model-based investigation of feasibility. Water Res. 85, Jin, R.J., Yang, G.F., Yu, J.J., Zheng, P., 2012. The inhibition of the Anammox process: a
295e303, 2015. review. Chem. Eng. J. 197, 67e79.
Chen, X., Liu, Y., Peng, L., Yuan, Z., Ni, B.J., 2016b. Model-based feasibility assessment Johansson, S., Ruscalleda, M., Colprim, J., 2017. Phosphorus recovery through bio-
of membrane biofilm reactor to achieve simultaneous ammonium, dissolved logically induced precipitation by partial nitritation-anammox granular
methane, and sulfide removal from anaerobic digestion liquor. Sci. Rep. 6. biomass. Chem. Eng. J. 327, 881e888.
Article number: 25114. Kalyuzhnyi, S.V., Fedorovich, V.V., 1998. Mathematical modelling of competition
Copp, J.B. (Ed.), 2002. The COST Simulation Benchmark: Description and Simulator between sulphate reduction and methanogenesis in anaerobic reactors. Bio-
Manual. Office for Official Publications of the European Community, resour. Technol. 65, 227e242.
Luxembourg, ISBN 92-894-1658-0. Kazadi Mbama, C., Flores-Alsina, X., Batstone, D.J., Tait, S., 2016. Validation of a
Corominas, L., Foley, J., Guest, J.S., Hospido, A., Larsen, H.F., Morera, S., Shaw, A., plant-wide modelling approach with minerals precipitation in a full-scale
2013. Life cycle assessment applied to wastewater treatment: state of the art. WWTP. Water Res. 100, 169e183.
Water Res. 47 (15), 5480e5492. Kazadi Mbamaba, C., Flores-Alsina, X., Batstone, D.J., Tait, S., 2015b. A systematic
Daelman, M.R.J., Van Eynde, T., van Loosdrecht, M.C.M., Volcke, E.I.P., 2014. Effect of study of multiple minerals precipitation modelling in wastewater treatment.
process design and operating parameters on aerobic methane oxidation in Water Res. 85, 359e370.
municipal WWTPs. Water Res. 66, 308e319. Kazadi Mbamba, C., Flores-Alsina, X., Batstone, D.J., Tait, S., 2015a. A generalised
Daigger, G.T., 2011. Changing paradigms: from wastewater treatment to resource chemical precipitation modelling approach in wastewater treatment applied to
recovery. Proc. Water Environ. Fed. 2011 (6), 942e957. calcite. Water Res. 68, 342e353.
Ekama, G.A., 2009. Using bioprocess stoichiometry to build a plant-wide mass Lackner, S., Gilberta, E.M., Siegfried, E.V., Joss, A., Horna, H., van Loosdrecht, M.C.M.,
balance based steady-state WWTP model. Water Res. 43 (8), 2101e2120. 2014. Full-scale partial nitritation/anammox experiences e an application sur-
Feldman, H., Flores-Alsina, X., Ramin, P., Kjellberg, K., Batstone, D.J., Jeppsson, U., vey. Water Res. 55, 292e303.
Gernaey, K.V., 2017. Modelling an industrial anaerobic granular reactor using a Lackner, S., Terada, A., Smets, B.F., 2008. Heterotrophic activity compromises
multi-scale approach. Water Res. 126, 488e500. autotrophic nitrogen removal in membrane-aerated biofilms: results of a
Feldman, H., Flores-Alsina, X., Ramin, P., Kjellberg, K., Jeppsson, U., Batstone, D.J., modeling study. Water Res. 42 (4e5), 1102e1112.
Gernaey, K.V., 2018. Model-based analysis and optimization of a full-scale in- Lemaire, R., Webb, R.I., Yuan, Z., 2009. Micro-scale observations of the structure of
dustrial high rate anaerobic bioreactor. Biotechnol. Bioeng. 115 (11), 2726e2739. aerobic microbial granules used for the treatment of nutrient-rich industrial
Fernandez-Are valo, T., Lizarralde, I., Fdz-Polanco, F., Perez-Elvira, S.I., Garrido, J.M., wastewater. ISME J. 2 (5), 528e541.
Puig, S., Poch, M., Grau, P., Ayesa, E., 2017. Quantitative assessment of energy Longo, S., Hospido, A., Lema, J.M., Maurico-Iglesias, M., 2018. A systematic meth-
and resource recovery in wastewater treatment plants based on plant-wide odology for the robust quantification of energy efficiency at wastewater
simulations. Water Res. 118, 272e288. treatment plants featuring Data Envelopment Analysis. Water Res. 141,
Flores-Alsina, X., Corominas, L., Neumann, M.B., Vanrolleghem, P.A., 2012. Assessing 317e328.
the use of activated sludge processes design guidelines in wastewater treat- Musvoto, E.V., Wentzel, M.C., Ekama, G.A., 2000. Integrated chemical-physical
ment plant projects. Environ. Model. Softw 38, 50e58. processes modelling e II. Simulating aeration treatment of anaerobic digester
Flores-Alsina, X., Kazadi Mbamba, C., Solon, K., Vrecko, D., Tait, S., Batstone, D.J., supernatants. Water Res. 34 (6), 1868e1880.
Jeppsson, U., Gernaey, K.V., 2015. A plant-wide aqueous phase chemistry Ni, B.J., Chen, Y., Liu, S., Fang, F., Xie, W., Yu, H., 2009. Modeling a granule-based
module describing pH variations and ion speciation/pairing in wastewater anaerobic ammonium oxidizing (Anammox) process. Biotechnol. Bioeng. 103
treatment models. Water Res. 85, 255e265. (3), 490e499.
Flores-Alsina, X., Solon, K., Kazadi Mbamba, C., Tait, S., Jeppsson, U., Gernaey, K.V., Ni, B.J., Yuan, Z., 2015. Recent advances in mathematical modeling of nitrous oxides
Batstone, D.J., 2016. Modelling phosphorus, sulphur and iron interactions dur- emissions from wastewater treatment processes. Water Res. 87, 336e346.
ing the dynamic simulation of anaerobic digestion processes. Water Res. 95, Nopens, I., Batstone, D.J., Copp, J.B., Jeppsson, U., Volcke, E., Alex, J.,
370e382. Vanrolleghem, P.A., 2009. An ASM/ADM model interface for dynamic plant-
Flores-Alsina, X., Arnell, M., Amerlinck, Y., Corominas, L., Gernaey, K.V., Guo, L., wide simulation. Water Res. 43 (7), 1913e1923.
Lindblom, E., Nopens, I., Porro, J., Shaw, A., Snip, L., Vanrolleghem, P.A., Perez, J., Lotti, T., Kleerebezem, R., Picioreanu, C., van Loosdrecht, M.C.M., 2014.
Jeppsson, U., 2014. Balancing effluent quality, economical cost and greenhouse Outcompeting nitrite-oxidizing bacteria in single-stage nitrogen removal in
gas emissions during the evaluation of plant-wide wastewater treatment plant sewage treatment plants: a model-based study. Water Res. 66, 208e218.
control strategies. Sci. Total Environ. 466e467, 616e624. Poch, M., Comas, J., Rodríguez-Roda, I., Sa nchez-Marre , M., Cortes, U., 2004.
Garrido-Baserba, M., Reif, R., Herna ndez, F., Poch, M., 2012. Implementation of a Designing and building real environmental decision support systems. Environ.
knowledge-based methodology in a decision support system for the design of Model. Softw 19, 857e873.
suitable wastewater treatment process flow diagrams. J. Environ. Manag. 112, Poot, V., Hoekstra, M., Geleijnse, M.A.A., van Loosdrecht, M.C.M., Pe rez, J., 2016.
384e391. Effects of the residual ammonium concentration on NOB repression during
276 X. Flores-Alsina et al. / Water Research 156 (2019) 264e276

partial nitritation with granular sludge. Water Res. 106, 518e530. Treatment and Reuse, fourth ed. McGraw-Hill Education, Massachusetts, USA.
Press, H., Teukolsky, S.A., Vetterling, W.T., Flannery, B.P., 2007. Numerical Recipes: Van Lier, J., 2015. Celebrating 40 years anaerobic sludge bed reactors for industrial
the Art of Scientific Computing, third ed. Cambridge University Press, New York, wastewater treatment. Rev. Environ. Sci. Biotechnol. 14 (14), 681e702.
NY, USA. Vangsgaard, A.K., Mutlu, G., Gernaey, K.V., Smets, B.F., Sin, G., 2013. Calibration and
Reichert, P., 2001. AQUASIM 2.0-Computer Program for the Identification and validation of a model describing complete autotrophic nitrogen removal in a
Simulation of Aquatic Systems. Swiss Federal Institute for Environmental Sci- granular SBR system. J. Chem. Technol. Biotechnol. 88, 2007e2015.
ence and Technology (EAWAG), Dubendorf, Switzerland. Vangsgaard, A.K., Mauricio-Iglesias, M., Gernaey, K.V., Smets, B.F., Sin, G., 2012.
Rieger, L., Alex, J., Winkler, S., Boehler, M., Thomann, M., Siegrist, H., 2003. Progress Sensitivity analysis of autotrophic N removal by a granule-based bioreactor:
in sensor technology - progress in process control Part I: sensor property influence of mass transfer versus microbial kinetics. Bioresour. Technol. 123,
investigation and classification. Water Sci. Technol. 47 (2), 103e112. 230e241.
Rivas, A., Irizar, I., Ayesa, E., 2008. Model-based optimisation of wastewater treat- Vela, J.D., Stadler, L.B., Martin, K.J., Raskin, L., Bott, C.B., Love, N.G., 2015. Prospects
ment plants design. Environ. Model. Softw 23 (4), 435e450. for biological nitrogen removal from anaerobic effluents during mainstream
Rodriguez-Roda, I., Sa nchez-Marre , M., Comas, J., Baeza, J., Colprim, J., Lafuente, J., wastewater treatment. Environ. Sci. Technol. Lett. 2 (9), 234e244.
Cortes, U., Poch, M., 2002. A hybrid supervisory system to support WWTP Volcke, E.I.P., Picioreanu, C., De Baets, B., van Loosdrecht, M.C.M., 2010. Effect of
operation: implementation and validation. Water Sci. Technol. 45 (4e5), granule size on autotrophic nitrogen removal in a granular sludge reactor.
289e297. Environ. Technol. 31 (11), 1271e1280.
Rosen, C., Vrecko, D., Gernaey, K.V., Pons, M.-N., Jeppsson, U., 2006. Implementing Volcke, E.I.P., Picioreanu, C., De Baets, B., van Loosdrecht, M.C.M., 2012. The granule
ADM1 for plant-wide benchmark simulations in Matlab/Simulink. Water Sci. size distribution in an Anammox-based granular sludge reactor affects the
Technol. 54 (4), 11e19. conversion e implications for modeling. Biotechnol. Bioeng. 109 (7),
Rosen, C., Jeppsson, U., Rieger, L., Vanrolleghem, P.A., 2008. Adding realism to 1629e1636.
simulated sensors and actuators. Water Sci. Technol. 57 (3), 337e344. Volcke, E.I.P., van Loosdrecht, M.C.M., Vanrolleghem, P.A., 2006a. Continuity-based
Saravanan, V., Sreekrishnan, T.R., 2006. Modelling anaerobic biofilm reactors e a model interfacing for plant-wide simulation: a general approach. Water Res. 40
review. J. Environ. Manag. 81, 1e18. (15), 2817e2828.
Skogestad, S., 2000. Plantwide control: the search for the self-optimizing control Volcke, E.I.P., Gernaey, K.V., Vrecko, D., Jeppsson, U., van Loosdrecht, M.C.M.,
structure. J. Process Control 10, 487e507. Vanrolleghem, P.A., 2006b. Plant-wide (BSM2) evaluation of reject water
Solon, K., Flores-Alsina, X., Kazadi Mbamba, C., Volcke, E.I.P., Tait, S., Batstone, D.J., treatment with a SHARON-Anammox process. Water Sci. Technol. 54 (8),
Gernaey, K.V., Jeppsson, U., 2015. Effects of ionic strength and ion pairing on 93e100.
(plant-wide) modelling of anaerobic digestion processes. Water Res. 70, Wanner, O., Eberl, H.J., Morgenroth, E., Noguera, D.R., Picioreanu, C., Rittmann, B.E.,
235e245. van Loosdrecht, M.C.M., 2006. Mathematical Modeling of Biofilms. In: IWA
Solon, K., Flores-Alsina, X., Kazadi-Mbamba, C., Ikumi, D., Volcke, E.I.P., Scientific and Technical Report No. 18. IWA Publishing, London, UK.
Vaneeckhaute, C., Ekama, G., Vanrolleghem, P.A., Batstone, D.J., Gernaey, K.V., Winkler, M.K., Ettwig, K.F., Vannecke, T.P., Stultiens, K., Bogdan, A., Kartal, B.,
Jeppsson, U., 2017. Plant-wide modelling of phosphorus transformations in Volcke, E.I., 2014. Modelling simultaneous anaerobic methane and ammonium
wastewater treatment systems: impacts of control and operational strategies. removal in a granular sludge reactor. Water Res. 73, 323-231.
Water Res. 113, 97e110. Zaher, U., Grau, P., Benedetti, L., Ayesa, E., Vanrolleghem, P.A., 2007. Transformers for
Stumm, W., Morgan, J.J., 1996. In: Schnoor, J.L., Zehnder, A. (Eds.), Aquatic Chem- interfacing anaerobic digestion models to pre- and post-treatment processes in
istry: Chemical Equilibria and Rates in Natural Waters. John Wiley and Sons, a plant-wide modelling context. Environ. Model. Softw 22 (1), 40e58.
New York, NY, USA. Zhang, L., De Schryver, P., De Gusseme, B., De Muynck, W., Boon, N., Verstraete, W.,
Tak
acs, I., Patry, G.G., Nolasco, D., 1991. A dynamic model of the clarification 2008. Chemical and biological technologies for hydrogen sulfide emission
thickening process. Water Res. 25 (10), 1263e1271. control in sewer systems: a review. Water Res. 42 (1e2), 1e12.
Tchobanoglous, G., Burton, F.L., Stensel, H.D., 2003. Wastewater Engineering:

You might also like