Professional Documents
Culture Documents
a r t i c l e i n f o a b s t r a c t
Article history: The increasing number of alternative wastewater treatment technologies and stricter effluent re-
Received 4 June 2014 quirements make the optimal treatment process selection for wastewater treatment plant design a
Received in revised form complicated problem. This task, defined as wastewater treatment process synthesis, is currently based on
3 November 2014
expert decisions and previous experiences. This paper proposes a new approach based on mathematical
Accepted 24 November 2014
programming to manage the complexity of the problem. The approach generates/identifies novel and
Available online 12 December 2014
optimal wastewater treatment process selection, and the interconnection between unit operations to
create a process flow diagram. Towards this end, a superstructure approach is used to represent the
Keywords:
Design
treatment alternatives for reaction and separation. A generic process interval model is used to describe
Modeling each alternative in terms of inputeoutput mass balances including conversion and separation factors.
Superstructure optimization Next the design problem is formulated as a Mixed Integer (Non)linear Programming problem e MI(N)LP
Wastewater treatment e and solved. A case study is formulated and solved to highlight the application of the framework.
Process flow © 2014 Elsevier Ltd. All rights reserved.
Interconnection
http://dx.doi.org/10.1016/j.envsoft.2014.11.023
1364-8152/© 2014 Elsevier Ltd. All rights reserved.
H. Bozkurt et al. / Environmental Modelling & Software 64 (2015) 164e176 165
stage decision making in WWTP design and retrofitting problems. can grow exponentially, which needs an effective formulation and
When the design procedure is divided into different stages as stated analysis method, which is the focus of this study. Moreover, the
in the development funnel approach, which is shown in Fig. 1 knowledge-based decision support systems developed for con-
(Quaglia, 2013), the first stage of the funnel e the early stage de- ceptual WWTP design have been presented in the literature
cision making stage e corresponds to the design stage where a covering many different aspects of early stage design including
variety of concepts and ideas are generated and a high number of technical, economical, environmental and social considerations;
alternatives are evaluated in a less detailed/simplified manner. The however, these approaches do not cover the optimization step for
alternatives that are proven to satisfy the criteria needed by the the process synthesis (Comas et al., 2003; Garrido-Baserba et al.,
designer can move further through the funnel to be investigated in 2012).
more detail. When considering the WWTP design case, early stage In this study, we propose a superstructure based optimization
decision making is mainly about: (a) Which treatment processes framework based on mathematical programming to manage the
and unit operations to select for a particular wastewater treatment complexity of the problem and generate/identify novel and optimal
problem; and, (b) How to verify the rationale and ensure engi- process selection and interconnection to create a process flow di-
neering optimality of the decision. Often e if not always e such agram for design of WWTPs. The purpose of the framework is to
decisions are multi-objective and multi-criteria based considering support the WWTP design specialists in the process of making early
economics, environmental, legal and social constraints. stage design decisions by allowing them to compare several
Recently, the WWTP process selection and network design different treatment technologies with respect to many different
problem has evolved from being a simple technical design problem criteria. The framework contains a superstructure method for
to a complex integrated decision making task, mainly because of representing the design space, and a systematic method for
the many aspects that are being considered in the early decision modeling and data collection which enables effective formulation
making stage (Hamouda et al., 2009). Currently, the early stage of a mixed integer nonlinear programming problem using a tem-
decision making for WWTP design is mainly based on expert de- plate approach. The framework is explained in more detail in Sec-
cisions and previous experiences (Tchobanoglous et al., 2003). This tion 2, and is then applied to a case study for retrofitting the
approach takes values like environmental issues, water reuse, by- Benchmark Simulation Model no. 2 (BSM2) plant as described in
product recovery (if possible) and impacts of the selected treat- Section 3. The framework is evaluated under a number of scenarios
ment technologies on the surrounding population into account and and the results are critically analyzed and discussed in Section 3.5.
identifies the alternatives based on experience, similar existing
solutions and brainstorming to come up with the most viable 2. Framework for synthesis and design of WWTP networks
WWTP network (Daigger, 2005). However, with the increased
complexity of the technologies for wastewater treatment and the A superstructure based optimization framework was developed
stricter limit values for effluents, making the most feasible decision and evaluated successfully for various network design problems
using this approach is expected to become harder and harder. including soybean oil processing, biorefinery, oil refinery waste-
An alternative approach is to cast the decision problem using water treatment etc. (Quaglia et al., 2012). The framework, modi-
mathematical programming which has been an active research area fied and adapted in the context of the WWTP design problem is
in chemical process synthesis (Grossmann, 2005), but has also seen given in Fig. 2.
various applications in the wastewater treatment field including Each of the steps mentioned in Fig. 2 will now be explained in
Rigopoulos and Linke (2002), Vidal et al. (2002), Alasino et al. (2007, more detail:
2010). While these studies provided valuable insights and showed Step 1: In the first step the scope of the problem (wastewater
the promising potential of the optimization based approaches for characterization, effluent limit definitions etc.) is defined together
plant design, their scope was however rather limited and focused with the objective function. The problem is defined as the treat-
on either optimizing a given treatment process or selecting the best ment of domestic wastewater where a set of pollutants such as
candidate process from a limited number of alternatives. To realize organic nitrogen need to be removed. The characterization of the
the full potential of this approach, however, there are a number of wastewater source and the sink limitations for different water,
barriers that need to be addressed and solved including represen- solids and gas streams leaving the plant (for example effluent re-
tation of the increasing number of processes and unit operations in strictions) are defined here. The objective function, which repre-
wastewater treatment processes as well as tackling the resulting sents the total annualized cost (TAC), is formulated together with
multi-disciplinary complexity of the optimization problem which different scenario definitions. In the below equation, TAC is defined
requires both competences and methods from optimization as well as the summation of operational (OPEX) and capital cost (CAPEX).
as wastewater engineering disciplines. In particular, for formulating
a realistic wastewater treatment plant design problem, the CAPEX
TAC ¼ OPEX þ (1)
complexity of the mixed integer nonlinear programming problem t
Fig. 1. Illustration of the development funnel approach, where the number of feasible process options is gradually reduced from left to right (Quaglia, 2013).
166 H. Bozkurt et al. / Environmental Modelling & Software 64 (2015) 164e176
Fig. 2. The superstructure based optimization methodology adapted for design of optimal WWT systems (Quaglia et al., 2012).
Step 2: The second step comprises a superstructure definition search space and redundant configurations. A third approach is
consisting of different water sources, different tasks for water and called the insight-based approach, which is used in this study. The
sludge treatment together with sinks and process alternatives for latter approach takes into account expert knowledge to include the
the defined tasks. A superstructure, for example shown in Fig. 3, is a well-known configurations together with the innovative technol-
compact representation of different process alternatives (i.e. ogies and configurations in the superstructure, as well as elimi-
treatment technologies in the wastewater treatment case). Process nating the unfeasible and non-convenient alternatives and
steps, which are the columns, represent wastewater sources and connections (Quaglia et al., 2014a). At this point, the selection of
sinks for the effluent streams (effluent water, sludge, by-products technologies to be placed in the superstructure and the connections
etc.) as well as different tasks to be carried out throughout the between the alternatives are defined by design experts with a prior
network in order to connect sources and sinks. In each step, in the screening procedure. A representative superstructure example is
rows, alternative treatment process intervals (e.g. separation (pri- given in Fig. 3, where a treatment plant is defined as a sequence of
mary clarifier, secondary clarifier, membrane reactor, etc.) or reac- different treatment tasks in addition to wastewater sources and
tion (activated sludge for C, N or P removal together, nitritation, sinks. Under each treatment task, a number of alternative tech-
anammox etc.) and their different configurations) responsible for a nologies are listed. The superstructure is then formulated by
specific task are placed. There are three different ways of con- defining the feasible connection streams between treatment tasks.
structing a superstructure. One of the methods is alternative In this example, a full-combinatorial connection between different
collection, in which all known WWTP network configurations are source/sink/process intervals is defined.
arranged in a superstructure representation. The resulting super- Step 3: In this step, a systematic data collection procedure is
structure includes the known configurations and enables only to used to design the treatment technologies placed in the super-
screen among the known candidates, which does not allow the structure, which is illustrated in Fig. 4. In this context, we used the
selection of innovative technologies or configurations. The second commonly accepted design procedures given by the ATV design
approach is the method of combinatorial synthesis. In this standards (2000), Tchobanoglous et al. (2003), WEF manuals
approach, the superstructure is composed of all treatment tech- (2010) and Henze et al. (2008) for the design of a treatment pro-
nologies placed under the relevant task connected to the others in cess alternative for a given wastewater source. A particular treat-
every possible connection way (Fig. 3 is an example of a full ment process design is made by using system specific design
combinatorial superstructure). This approach results in a very large criteria like SRT and HRT together with temperature dependent
biokinetic constants, settling tank data and internal/external
recycle ratios. Here, the treatment technologies are designed at
their optimality by fixing the SRT and HRT values rather than
optimizing them and in a second step more rigorous models can be
used for optimization once the number of alternatives is reduced.
This two-tiered approach for optimization is chosen on purpose to
manage the complexity of the optimization problem which be-
comes otherwise intractable (Quaglia et al., 2014b). The output
from the design includes volumes, utility consumption (electricity,
chemicals, aeration), and sludge production data which are used to
calculate the capital and operational costs as well. The algorithms
for the design were implemented in a Matlab script to automate
this step and ensure consistency and reproducibility. The system
design parameters, e.g. SRT and HRT, are selected from a given
range that is obtained from engineering practice (Tchobanoglous
Fig. 3. A representative superstructure for wastewater treatment networks. et al., 2003) so that they satisfy the effluent requirements with
H. Bozkurt et al. / Environmental Modelling & Software 64 (2015) 164e176 167
minimum required capital and operational cost. The procedure is the utilities added, while maintaining the overall mass balance
iterative; i.e. the SRT and HRT are modified until converging to a within the system boundaries of the process interval. The reaction
solution satisfying all the constraints. equation (1.4) calculates the flow after reaction; the key reactant is
Each process interval in the superstructure is structured using a removed with specified conversion efficiency and the other com-
generic model which is illustrated in Fig. 5. The intervals are ponents are produced or removed according to the defined stoi-
composed of a number of phenomena namely: mixing of all the chiometry. As shown in Fig. 6, the stoichiometry matrix (gi,kk,rr) is
flows entering the interval and the utilities added, reaction, sepa- defined by expressing the reactions occurring in a treatment
ration of flow for internal recycle and sludge wastage, waste sep- technology. After the design of the treatment technology, the flows
aration, flow separation for external recycle and sending the flow to of the components after the reaction are known; therefore, the
the process intervals of the next step. The mathematical equations resulting design data are converted into a matrix which the MI(N)
defining the intervals are given in Table 1. LP routine can use by applying equation (2). The next equation (1.5)
Using the generic model (Fig. 5, Table 1), the treatment alter- calculates the flow after waste separation, where any waste stream
natives are described by inputeoutput mass balances. In the mixing which is separated from the main flow is defined by a waste split
equation, all different influent flows containing the same compo- factor. According to our design assumptions, the sludge is wasted
nent originating from the previous process intervals to the process from the reaction tank; therefore, the corresponding flow (Fi;kk out3 ) is
interval of interest (from k to kk) are mixed together by using the separated from the main stream before any composition change
first equation (1.1) and then the flow after mixing is obtained in occurs. The amount of wastage is defined by the ratio SW. The flow
equation (1.2) by mixing the flow resulting from equation (1.1) with is then separated to different outflows with their respective com-
the utility flow (where 0 ai,kk 1). The utility flow is calculated by positions as it happens in the secondary sedimentation tank as
the third equation (1.3) (where mi,ii,kk is given as daily mass of utility well, with a separate thickening factor applied for soluble and
added/flow of corresponding component). The reaction in the out1 ) is
particulate components (Spliti,kk). The first outlet stream (Fi;kk
generic interval is defined so that the key reactant is converted to the effluent water stream and follows the water stream line,
the other components with a given conversion efficiency by using whereas the concentrated stream is separated into two other
streams which are the sludge recycle flow (Fi;kkrec ) and the secondary
out2 ). The ratio between these two streams is deter-
outlet flow (Fi;kk
mined by the external recycle ratio. The outlet streams (FXi;k;kk ) are
then directed to the other intervals and the direction of the flow
leaving the process interval is determined by the binary variable
which contains superstructure information (Sk,kk). Its value is equal
to 1 if the connection is present and 0 if there is no connection
between two intervals. If a process interval is selected by the
optimization tool, then the binary variable assigned to it (ykk) is
equal to 1, otherwise it is 0. This is only possible by expressing
relations between binary and continuous variables, which is done
with the activation constraints. Logical cuts, represented by equa-
tion (1.12), are included to ensure the selection of only one process
interval from a process step, which thus prevents the selection of
undesired or infeasible solutions. The last equation (1.13) ensures
Fig. 5. Generic process interval structure: mass inputeoutput model. that the effluent limits are satisfied in the sink intervals for defined
168 H. Bozkurt et al. / Environmental Modelling & Software 64 (2015) 164e176
Table 1
Mathematical equations representing the generic process model in each interval of the superstructure.
out3 reac
Fi;kk ¼ Fi;kk *SWkk (1.8)
rec w out1
Fi;kk ¼ Fi;kk Fi;kk *reckk (1.9)
outX
FXi;k;kk Fi;kk *Sk;kk (1.10)
Activation
ykk *xLO UP
k xk ykk *xk (1.11)
Logical cuts
X
ykk 1 (1.12)
kk
Effluent limits
X
in
Limi;kk Fi;kk (1.13)
f
components. Once the design data of the treatment technologies treatment network and the value of the objective function. With
are converted into model parameters, the generic process interval respect to the nature of the problem, the optimization problem can
model is run and validated by using the design data. result in a linear or non-linear formulation. In this step the MI(N)LP
problem is formulated and solved. The models represent the mass
! inputeoutput model for each process interval, process constraints,
mix F reac
Fi;kk i;kk structural constraints, effluent limit constraints, cost models
gi;kk;rr ¼ (2) together with the objective function. The adapted MI(N)LP formu-
mix
Freact;kk Freact;kk
reac
lation for the specific case of a WWTP design/retrofit study is
Step 4: The formulation of the MI(N)LP and its solution take described below. The detailed model is given elsewhere in Table 1.
place in the fourth step of the synthesis and design framework, and
results in the optimal network, fate of pollutants throughout the X CAPEXkk
Min OBJ ¼ OPEXkk þ (3)
t
kk
subject to;
Process model
h ai;kk ; mi;ii;kk ; gi;kk;rr ; qreact;kk;rr ; Wi;kk ; Spliti;kk ; SWkk ; reckk ¼ 0
Fig. 6. Illustration of the reaction occurring in the process interval and its
(4)
stoichiometry.
H. Bozkurt et al. / Environmental Modelling & Software 64 (2015) 164e176 169
3. Case study: Benchmark wastewater treatment plant The development of the database for the represented super-
structure was done by following the steps of the systematic data
To highlight the presentation and application of the super- collection procedure given in Fig. 4. For illustration purposes, the
structure based optimization methodology, a simple yet represen- detailed calculations for a selected process interval (MLE) are given
tative wastewater treatment network problem was defined, with below. Moreover, the calculation steps for all other process in-
focus on a domestic WWTP layout design. The activated sludge tervals can be found in Appendix 1.
plant defined in the Benchmark Simulation Model no. 2 (Gernaey
et al., 2014) was selected, since this plant layout is generally Data Step 1: The characterization of the wastewater source is
known in the wastewater treatment modeling community. taken from the Benchmark Simulation Model no.2 (BSM2)
definition (Gernaey et al., 2014) and given in Table 2. The pol-
lutants are represented by Activated Sludge Model no.1 (ASM1)
Table 2
components (Henze et al., 2000). The effluent limits given in the
Influent wastewater characterization, average composition (Gernaey et al., 2014).
Urban Wastewater Treatment Directive (91/271/EEC) are taken
Description Component Value Unit as a reference for the sink intervals.
Soluble inert organic matter SI 27.23 g COD/m3 Data Step 2: The technology to be designed is selected as a Pre-
Readily biodegradable substrate SS 58.18 g COD/m3 denitrification activated sludge system with low SRT and the
Particulate inert organic matter XI 92.49 g COD/m3 configuration is specified as MLE technology.
Slowly biodegradable substrate XS 363.94 g COD/m3
Active heterotrophic biomass XB,H 50.68 g COD/m3
Data Step 3: The SRT and HRT of the system are selected as 14
Active autotrophic biomass XB,A 0 g COD/m3 days and 12 h respectively, whereas the anoxic to aerobic vol-
Particulate products arising from XP 0 g COD/m3 ume ratio is set to 0.6 (Tchobanoglous et al., 2003). All the
biomass decay temperature dependent biokinetic constants needed in the
Oxygen SO 0 g -COD/m3
design procedure are taken from the BSM2 (Gernaey et al., 2014)
Nitrate and nitrite nitrogen SNO 0 g N/m3
NHþ g N/m3 for a temperature of 15 C and given in Table 3. The external
4 þ NH3 nitrogen SNH 23.85
Soluble biodegradable organic nitrogen SND 5.65 g N/m3 recycle ratio is fixed to be 100% of the influent flow rate.
Particulate biodegradable organic nitrogen XND 16.13 g N/m3 Data Step 4: The design is done as follows (ATV design standards,
Alkalinity SALK 7 mol/m3 2000; Tchobanoglous et al., 2003; WEF, 2010; Henze et al.,
Flow rate Q 20,648 m3/d
2008):
170 H. Bozkurt et al. / Environmental Modelling & Software 64 (2015) 164e176
The volume of the tanks is calculated by using the aerobic and The amount of solids produced is found by using the following
anoxic HRT values and the influent flow rate Q. Accordingly Vae is equations, where S0 represents the influent total COD concentra-
calculated to be 5764 m3 and Van is 3459 m3. tion and CN represents the NH4eN to be oxidized
Vae ¼ HRTae *Q (7) (CN ¼ Sin in in out
NH þ SND þ XND SNH NS with NS being the nitrogen
content of biomass). (XBH ¼ 961 g COD/m3, XBA ¼ 182 g N/m3,
XP ¼ 833 g COD/m3, XI ¼ 1434 g COD/m3 and XT ¼ 3410 g/m3)
Van ¼ HRTan *Q (8)
The effluent COD (denoted as S) and ammonia (denoted as NH) SRT Yh ðS0 SÞ
XBH ¼ (11)
are calculated by using the following equations where S ¼ 3.29 g HRT 1 þ bh *SRT
COD/m3 and NH ¼ 0.64 g NH4eN/m3.
SRT Ya *CN
Ks *ð1 þ bh *SRTÞ XBA ¼ (12)
S¼ (9) HRT 1 þ ba *SRT
SRT* mh VVtot
an
bh 1
h i
XP ¼ fp *bh *XBH þ fp *ba *XBA *SRT (13)
KNH *ð1 þ ba *SRTÞ
NH ¼ (10)
SRT* ma VVtot ba 1 SRT
XI ¼ XI0 *
ae
(14)
HRT
Table 4
Process information for secondary treatment task process intervals.
1 fp *ba *MXBH * VVant
Properties Process interval DP3 ¼ (21)
2:86*Q
Corresponding technology Modified Oxidation Upflow
LudzackeEttinger ditch Anaerobic
(MLE) Sludge DP ¼ DP1 þ DP2 þ DP3 (22)
Blanket
(UASB)
Temperature ( C) 15 15 15 Seff
NO ¼ CN DP (23)
SRT (days) 14 28 120
HRT (h) 12 24 14 Data Step 5: The separation step is designed by defining a
Reactor volume (m3) 9223 18,446 12,956
thickening factor for the sedimentation part of the separation.
Settler volume (m3) 3774 3411 e
Anoxic/Aerobic volume ratio 0.6 0.6 e These values differ for soluble components and particulate com-
MLSS (g/m )3
3410 3032 18,590 ponents. Accordingly, 48% of the soluble and 0.2% of particulates by
Wastage flowrate (% influent flow) 3.5 3.5 e mass leave with the water stream, while the rest is assumed to
Sludge recycle flow (% influent flow) 100 100 e settle in the sludge zone. The flow equal to the influent flow rate is
COD removal efficiency (%) 88.4 87.78 68.5
Total N removal efficiency (%) 77.2 78.48 e
directed to the influent of the same process interval as the sludge
recycle, and the rest is sent to the water effluent line. Moreover, the
volume of the sedimentation basin is calculated by assuming spe-
The wastage flow rate, which is assumed to be wasted from the cific surface overflow rate (SOR) and solids loading rate (SLR) values
reaction tank, (Qw ¼ 658 m3/d) is calculated as follows. as well as a certain depth of the tank from a range given for circular
clarifiers (WEF, 2010). In this respect, SOR and SLR values for the
V system are selected as 1.6 m/h and 130 kg/m2*d, respectively
Qw ¼ (18)
SRT whereas the depth of the clarifier was 4 m. The resulting volume of
the sedimentation basin then became 3774 m3.
In order to find the effluent nitrate concentration, the deni-
Secondary treatment process alternatives were designed and
trification potential (DP) is calculated by using the following
the features of the processes are summarized in Table 4. For the
equations where K2 refers to denitrification rate and was taken as
purpose of validating the systematic data collection procedure used
0.07 g NO3/(g cell COD*d) (Henze et al., 2008). Accordingly
in the case study, the design parameters and performance values of
DP1 ¼ 8.02, DP2 ¼ 12.78 and DP3 ¼ 15.13 g N/m3 which gives a total
the pre-denitrification activated sludge type of treatment units
denitrification potential (DP) of 35.93 g N/m3 and a nitrate effluent
obtained using the steady-state design model (Eqs. (7)e(23)) are
concentration of 10.14 g N/m3. DP1, DP2 and DP3 represent the
compared with the steady state results obtained from a simulation
denitrification potential for readily biodegradable COD, slowly
carried out using a rigorous model, i.e., Activated Sludge Model 1
biodegradable COD and biomass respiration, respectively.
(ASM1). The simulation with the rigorous ASM1 model was per-
formed in Matlab/Simulink®. The results are presented in Table 5
Ssi * 1
Yh which indicates that the differences between the estimated
DP1 ¼ (19) removal efficiencies for COD, TN and TSS by the rigorous model
2:86
(ASM1) and the steady-state design model used in this study were
K2 *ðXS SÞ*Yh *SRTan quite small, i.e. the average relative error is less than 1.5%, 5% and
DP2 ¼ (20) 1.5%, respectively. Therefore it is concluded that with the same
1 þ ðbh *SRTÞ
design values selected (temperature, SRT and HRT), the estimated
Table 5
Validation of systematic data collection procedure.
Parameter Rigorous model (ASM1) Steady-state design model Rigorous model (ASM1) Steady-state design model
(this study) (this study)
COD (g COD/m3)
Influent 381.19 381.19 381.19 381.19
Effluent 47.50 44.16 46.56 42.59
Reduction (%) 87.54 88.42 87.78 88.83
Nitrogen (g N/m3)
Total N influent 54.14 54.14 54.14 54.14
SNO effluent 11.41 10.14 9.95 7.77
SNH effluent 0.17 0.64 0.07 0.39
Total-N effluent 12.80 12.32 11.65 9.51
Total-N reduction (%) 76.36 77.24 78.48 82.43
Table 6
Cost information for operational and capital cost items.
system performance results in terms of removal efficiencies were in parameters used in the MILP problem formulation is presented. The
agreement with each other and therefore the systematic data maintenance of the database will be ensured by the user by
collection and design for treatment alternatives is considered to be selecting and using the updated model parameters in the model
validated against the more rigorous model. generation step. The optimization methodology allows also
Data Step 6: The objective function represents the total annu- including expert knowledge about technology selection by means
alized cost (TAC) as shown in Eq. (1) and the optimization problem of logical cuts in the superstructure definition. In this particular
is formulated to minimize the TAC. OPEX corresponds to the case study, since it is known from expert knowledge that selection
operational cost and is composed of aeration, electricity, chemical of a high SRT activated sludge technology (in this case oxidation
addition, pumping, mixing and landfill cost as well as biogas price ditch) together with the anaerobic digestion is not meaningful, this
as an income. CAPEX, on the other hand represents the capital cost combination is eliminated from the search space by simply
and t is the lifetime of the treatment plant. All the cost data are inserting a constraint in the problem formulation as
collected from information available in the open literature and y(OxD) þ y(AnD) 1.
summarized in Table 6. Pumping (PE ¼ 0:004Qa þ 0:008Qr þ
0:05Qw Þ and mixing cost (ME ¼ 24*0:005Vi Þ in kWh/d are defined
as a function of flow (return sludge e Qr , internal recycle e Qa and 3.5. Results and discussion
sludge wastage e Qw ) and tank volumes e Vi , respectively (Copp,
2002). 3.5.1. Optimal process selection
The objective of the optimization problem is to select among the
treatment alternatives so that the resulting treatment process flow
3.4. Generic process interval model and MILP formulation diagram has the minimum TAC and at the same time satisfies the
effluent limits given in the Urban Wastewater Treatment Directive
One of the most challenging steps in optimization based ap- (91/271/EEC). The formulated optimization problem is solved by
proaches is the resulting mathematical complexity of formulating using GAMS (GAMS Development Corporation, 2011) using the
and solving the optimization problem. To manage this complexity solver CPLEX. The details of the solution will be analyzed and dis-
and facilitate the effective formulation and analysis of the problem, cussed in this section for three scenarios corresponding to different
a separation principle was used that separates the database needed objective function formulations.
for model parameters from MINLP formulation and solution in The optimal process selection and the process flow diagram
GAMS. The procedure is explained as follows. after solution of the model are given in Table 8 for three different
Once the data have been collected for all the process intervals, scenarios, and the process flow diagram for scenario 1 is illustrated
they are stored as matrices in an MS Excel based structure. The data in Fig. A.2. The first scenario takes only the OPEX into account while
in the matrices are sent to GAMS by using GDX (GAMS Data Ex- the other scenarios are based on TAC. In the third scenario a more
change) utilities. GDXXRW is used in this respect, which is the stringent total N limit is defined for the sink interval.
utility responsible for reading from and writing to an MS Excel Under the conditions of the first scenario, tertiary treatment and
spreadsheet. Once the data are transferred to GAMS, the formulated disinfection tasks are by-passed and the water stream is sent to the
MILP problem, consisting of the generic equations defined in water sink interval after being treated by the primary clarifier and
Table 1, is solved. Note that when a new problem is defined, only low SRT MLE system whereas the sludge is stabilized in the
the database needs to be changed, while the generic MINLP model anaerobic digester and sent to the sink interval. When the capital
can still be used. The data flow and problem formulation (partly as a cost is also added into the formulation of the objective function (i.e.
screenshot) can be seen in Fig. A.1. In Table 7, a summary of the scenario 2), the network selection does not change; however an
Table 7
Summary table for the data collection.
Treatment Mixing ai,kk mi,ii,kk Key reactant(s) Reaction stoichiometry (gi,kk,rr) Reaction efficiency Sludge Waste Sludge recycle Flow separation (Spliti,kk)
process (react) (qreact,kk,rr) wastage separation (reckk)
(SWkk) (Wi,kk)
173
174 H. Bozkurt et al. / Environmental Modelling & Software 64 (2015) 164e176
Table 10
Scenario 1 stream table.
cannot be decreased, e.g. by improving the available wastewater ATV-DVWK Standard - A131E Dimensioning of single-stage activated sludge plants
(2000).
characterization through a long term measurement campaign, then
AWWA Michigan Section, 2006. Sodium Hypochlorite and Chlorine Gas: Design,
one can consider designing a flexible network which is a solution Handling and Storage Issues. Water Treatment Practices Committee, AWWA
that is addressed elsewhere (Quaglia et al., 2013). Michican Section, Spring Regionals.
Birge, J.K., Louveaux, F., 1999. Introduction to Stochastic Programming. Springer,
New York, USA.
3.5.4. Future perspectives of the mathematical programming Bozkurt, H., Quaglia, A., Gernaey, K.V., Sin, G., 2014. Superstructure development
framework and optimization under uncertainty for design and retrofit of municipal
wastewater treatment plants. Comput. Aided Chem. Eng. 33, 37e42.
Current work focused on presenting the underlying founda-
Comas, J., Alemany, J., Poch, M., Torrens, A., Salgot, M., Bou, J., 2003. Development of
tions, theory and practical implementation of the methodology a knowledge-based decision support system for identifying adequate waste-
using an illustrative example. Future work will consider (a) water treatment for small communities. Water Sci. Technol. 48, 11e12,
expanding and updating the superstructure database of technolo- 393e400.
Copp, J.B., 2002. The COST Simulation Benchmark: Description and Simulator
gies; (b) including resource recovery technologies for the WWTP; Manual. Office for Official Publications for the European Communities,
(c) adding greenhouse gas emissions estimations in addition to the Luxembourg.
energy consumption and production for sustainability analysis etc.; Daigger G.T., 2005. Wastewater treatment plant of the future: decision analysis
approach for increased sustainability. Presented at the Water Security: Policies
and, (d) consideration of technical uncertainties such as key per- & Investments Water Week 2005 Making Decisions on Water Quality. Wash-
formance parameters (yield, conversion, etc.) to make decision ington DC.
making more robust (Sin et al., 2011; Quaglia et al., 2013). GAMS Development Corporation, 2011. GAMS Development Corporation, Wash-
ington DC, USA.
Therefore as well, the expanded tool is expected to be an Garrido-Baserba, M., Reif, R., Rodriguez-Roda, I., Poch, M., 2012. A knowledge
enabling technology for design engineers for early stage idea gen- management methodology for the integrated assessment of WWTP configu-
eration and comparison of the treatment technologies at their rations during conceptual design. Water Sci. Technol. 66 (1), 165e172.
Gernaey, K.V., Jeppsson, U., Vanrolleghem, P.A., Copp, J.B. (Eds.), 2014. Bench-
optimality, and for selection of the best among the alternatives with
marking of Control Strategies for Wastewater Treatment Plants. IWA Publishing,
respect to the desired criteria from the WWTP network (i.e. low London, UK. IWA Scientific and Technical Report No. 23.
cost, low energy consumption, nutrient recovery, complying with Grossmann, I., 2005. Enterprise-wide optimization: a new frontier in process sys-
tems engineering. AICHE J. 51 (7), 1846e1857.
the effluent limitations, robustness etc.).
Hahn H., Rutz D., Ferber E., Kirchmayer, F., 2010. Examples for financing of biogas
projects in Germany, Austria, The Netherlands, Denmark and Italy. IEE Project
4. Conclusions BiogasIN. Report no. D.3.2.,WP3.
Hamouda, M.A., Anderson, W.B., Huck, P.M., 2009. Decision support system in water
and wastewater treatment process selection and design: a review. Water Sci.
A superstructure based optimization methodology has been Technol. 60 (7), 1757e1770.
developed to support optimal treatment process selection which is Henze, M., Gujer, W., Mino, T., Van Loosdrecht, M., 2000. IWA Scientific and Tech-
a critical and challenging step in the early stage of wastewater nical Report on Activated Sludge Models ASM1, ASM2, ASM2d and ASM3. IWA
Task group on Mathematical Modelling for Design and Operation of Biological
treatment plant design. A novel framework to help effective Wastewater Treatment.
formulation and management of the complexity of the optimiza- Henze, M., van Loosdrecht, M.C.M., Ekama, G., Brdjanovic, D., 2008. Biological
tion problem is developed. The underlying theory and mathemat- Wastewater Treatment Principles, Modelling and Design. IWA Publishing,
Glasgow.
ical concepts, the required methods for its solution and analysis and Lew, B., Tarre, S., Belavski, M., Green, M., 2004. UASB reactor for domestic waste-
its practical implementation as a tool is presented, using the BSM1 water treatment at low temperatures: a comparison between a classical UASB
as an illustrative case study. For the design space, the superstruc- and hybrid UASB-filter reactor. Water Sci. Technol. 49 (11e12), 295e301.
Quaglia, A., Sarup, B., Sin, G., Gani, R., 2012. Integrated business and engineering
ture method is used representing several process alternatives, framework for synthesis and design of enterprise-wide processing networks.
which are mathematically described using a generic process model, Comput. Chem. Eng. 38, 213e223.
to enable the user to compare them in an optimization context. The Quaglia, A., Sarup, B., Sin, G., Gani, R., 2013. A systematic framework for enterprise-
wide optimization: synthesis and design of processing networks under uncer-
database consisting of all the necessary parameters for the generic
tainty. Comput. Chem. Eng. 59 (5), 47e62.
process models is developed for each alternative in the super- Quaglia, A., 2013. An Integrated Business and Engineering Framework for Synthesis
structure and validated against a more rigorous model (ASM1). The and Design of Processing Networks. PhD Thesis. Technical University of
Denmark, p. 220.
deterministic solution resulted in different objective function
Quaglia, A., Gargalo, C.L., Chairakwongsa, S., Sin, G., Gani, R., 2014a. Systematic
values for different scenario definitions; however, when the data network synthesis and design: problem formulation, superstructure genera-
uncertainty is taken into account considerable variations in the tion, data management and solution. Comput. Chem. Eng. 72, 68e86.
network performance and objective function value were observed. Quaglia, A., Pennati, A., Bogataj, M., Kravanja, Z., Sin, G., Gani, R., 2014b. Industrial
process water treatment and reuse: a framework for synthesis and design.
The tool is expected to support and facilitate generation and eval- Industrial Eng. Chem. Res. 53, 5160e5171.
uation of ideas for identifying optimal solutions to design and Rigopoulos, S., Linke, P., 2002. Systematic development of optimal activated sludge
retrofitting of WWTPs. Future work will focus on further expansion process designs. Comput. Chem. Eng. 26, 585e597.
Siemens, 2009. Providing answers to the wastewater aeration market: air
of the superstructure and its database (with MBR, SBR, sludge reject compression solutions. Germany.
water stream treatment alternatives, etc.), as well as on treatment Sin, G., Gernaey, K.V., Neumann, M.B., van Loosdrecht, M.C.M., Gujer, W., 2011.
of uncertainties in the optimization based design of wastewater Global sensitivity analysis in wastewater treatment plant model applications:
prioritizing sources of uncertainty. Water Res. 45 (2), 639e651.
treatment plants. Takahara, H., Nakayama, S., Tsuno, H., 2006. Application of ozone to munic
ipal sewage treatment. International Conference Ozone and UV, Wasser
Appendix A. Supplementary data Berlin.
Tchobanoglous, G., Burton, F.L., Stensel, H.D., 2003. Wastewater Engineering:
Treatment and Reuse. McGraw-Hill Publishing, New York.
Supplementary data related to this article can be found at http:// URL1, 2013. Europe's Energy Portal. www.energy.eu (visited on October 2013).
dx.doi.org/10.1016/j.envsoft.2014.11.023. URL2, 2013. Confederation of European Waste-to-Energy plants. www.cewep.eu
(visited on October 2013).
Van Haandel, A.C., van der Lubbe, J.G.M., 2012. Handbook of Biological Wastewater
References Treatment: Design and Optimisation of Activated Sludge Systems. IWA Pub-
lishing, London, UK.
Alasino, N., Mussati, M.C., Scenna, N., 2007. Wastewater treatment plant synthesis Vidal, N., Ban ~ ares-Alc
antara, R., Rodrigues-Roda, I., Poch, M., 2002. Design of
and design. Indust. Eng. Chem. Res. 46, 7497e7512. wastewater treatment plants using a conceptual design methodology. Indust.
Alasino, N., Mussati, M.C., Scenna, N., Aguirre, P., 2010. Wastewater treatment plant Eng. Chem. Res. 41, 4993e5005.
synthesis and design: combined biological nitrogen and phosphorus removal. WEF and ASCE/EWRI, 2010. Design of Municipal Wastewater Treatment Plants. WEF
Indust. Eng. Chem. Res. 49, 8601e8612. Press, Virginia.