The use of Dynamic Mathematical Models for improving the Designs of upgraded Wastewater Treatment Plants
Abstract
Mathematical models and simulation are becoming increasingly used tools in the optimization of wastewater treatment plants. In this paper, the use of these tools is presented for wastewater treatment plant upgrading. Two case studies are presented, which will be upgraded for tertiary treatment to achieve effluent total nitrogen and total phosphorous concentrations below 10 mg/l and 1 mg/l, respectively. The plant performance after upgrading was assessed by first designing the process model, before upgrading the model for future operation under dynamic influent conditions. Long-term simulations revealed some bottlenecks in the upgraded plant performance and thus helped to improve the plant designs. In one case the total volume of the reactors was increased subsequently, while in the other case tighter denitrification control or additional reject water treatment was proposed. These results indicate that mathematical models can be considered as valuable tools to complement the established wastewater treatment plant design procedures. Advantages are gained by simulating the operation under dynamic operating conditions, precise wastewater characterization, as well as adjustment of stoichiometric and kinetic parameters to a particular wastewater treatment plant operation.
In the last two decades, dynamic mathematical models and simulation are becoming state of the art tools in wastewater treatment [1]. The models of wastewater treatment processes are based on modelling elementary biological processes in waste water. Important milestones in modelling Wastewater Treatment Plants (WWTP) are the derivation of Monod nonlinear equation for biomass growth and consumption of substrate [2], the setting of unified Activated Sludge Models (ASM) for degradation of organic matter, nitrogen and phosphorus [3], and the construction of generic Anaerobic Digester Model (ADM1) [4]. Models are also available for other process modifications, e.g. sequencing batch reactor [5], fixed biomass processes [6], membrane reactors [7], etc. The design of models and simulation are supported by dedicated software tools. Examples of some more recognised platforms for dynamic simulation of WWTP are for example ASIM, AQUASIM, BioWin, GPS-X, SIMBA, STOAT, WEST, etc. Models are also used within benchmark simulation models to objectively evaluate the performance of control strategies by simulation at the level of the activated sludge unit (BSM1) or at the plant-wide level (BSM2) [8]. Dynamic Modelling is coupled with Life Cycle Assessment (DM-LCA) to evaluate new alternatives in wastewater treatment plants for energy efficient operation, indicating the importance of dynamic modelling versus steady-state approach [9]. Models for predicting the fate of micro-pollutants in WWTP have been developed to evaluate their removal [10] and impact on the receiving waters [11].
Besides this scientific development, the use of models is also spreading from academia to practice. One of the application areas is the use of models in optimisation and troubleshooting of real wastewater treatment plants. A recent book on applications of activated sludge models [12] encompasses a number of case studies, where models were developed and applied in real-world applications for optimization of nitrogen and phosphorous removal processes, plant hydraulics evaluation, effluent quality optimization, plant wide modelling and cost-effective design and reconstruction of wastewater treatment infrastructure. A membrane bioreactor’s case-study performed in [13] confirmed significant improvements on the nitrogen removal efficiency as well as energy reduction that was gained through a model-based approach. Mathematical simulations and additional laboratory tests were used in the study of WWTP with co-precipitation [14] to determine favourable process operating conditions (sludge retention time, dissolved oxygen concentration, effluent nitrate) that enable to achieve the required effluent standards. Shortcomings in model performance due to poor quality of full-scale treatment data can be reduced by efficient data evaluation and reconciliation techniques using mass balances [15]. The complex model calibration procedure can be tackled more efficiently by parameter sensitivity analysis and step-wise Monte Carlo-based calibration of the subset of influential parameters [16].
The process of model building is becoming more developed and standardized. In the literature, several practical protocols for modelling wastewater treatment plants can be found that define the steps in model building, i.e., BIOMATH, HSG, STOWA and WERF. A SWOT analysis [17] of these protocols revealed that they have many similarities (e.g, definition of goal that determines the calibration procedure; data collection, verification and reconciliation is considered as very significant; validation is required under different operating conditions than those used for model calibration) as well as differences (design of measurement campaign; experimental methods for influent characterisation and kinetic/stoichiometric parameter estimation; calibration of the model parameters). Recently, the International Water Association (IWA) Task Group on Good Modelling Practice has reviewed the modelling approaches and published a report [18] proposing a unified protocol and guidelines for modelling projects that include the following steps:
Project definition;
Data collection and reconciliation;
Plant model set-up;
Calibration and validation;
Simulation and result interpretation.
This paper presents two case studies where models were used for upgrading the two largest WWTP in Slovenia, i.e., Ljubljana WWTP and Domzale-Kamnik WWTP. In both case studies, the existing technological processes facilitate the removal of organic matter and nitrification, while a complete denitrification and phosphorus removal will be possible only after the plants upgrading. For the plants upgrading, a preliminary design of technological solutions was prepared by consulting companies. In addition, the proposed technological solutions for upgrading were also examined by the mathematical process models and simulation as presented in this paper to reveal any potential bottlenecks in plant designs. Simulations of the upgraded Ljubljana WWTP were based on first designing the dynamic model of the existing plant and then including new processes for plant upgrading. Domžale-Kamnik WWTP will be upgraded with a new biological stage using Sequencing Batch Reactor (SBR) technology and was thus simulated with an SBR model. In both cases, simulations were performed with GPS-X simulation software [19]. A measured long-term real-plant influent data was used in dynamic simulations and adjusted for the expected increase of input load. The plant performance was evaluated with regard to compliance with the target effluent concentrations as required by legislation.
This paper adds to the existing literature in the field of WWTP modelling and simulation by presenting two additional real world case studies. As mentioned in several recent publications related to WWTP modelling (e.g., [1] and [12]), “the development of standardized modelling procedures and better knowledge transfer by making available some practical case studies” are considered as “key instruments to address certain obstacles like the complexity of the model procedures, the time consuming steps and the reliability of the models”. In this paper the procedure of model design is demonstrated, long-term performance of models compared to real plant operation data is evaluated, and potential improvement of plant designs based on simulation models is demonstrated.
The existing treatment facilities at Ljubljana WWTP consist of mechanical treatment (screens, grit and grease chamber), biological stage with suspended biomass activated sludge process (three parallel aerobic reactors and four parallel secondary settlers) and sludge treatment (anaerobic digestion and sludge drying). The plant is currently operated at 435,000 PE. It efficiently removes carbon and achieves nitrification, but lacks denitrification and P-removal.
The preliminary design for the upgraded plant as prepared by a consulting company defined suitable technological solutions for the expected increase of future input load, efficient removal of N and P components, as well as for the reception and treatment of sludge from other WWTP. To simulate the upgraded plant performance the model was designed in two stages. First, a model of the existing plant was developed since the upgraded plant will rely on current plant configuration. Simulations of the existing plant operation enable to assess the model quality, especially the appropriateness of input wastewater characterization and replication of operating conditions. Second, the model was supplemented with the proposed technological solutions for the plant upgrading and simulated at increased input load.
The model was designed in CNP library in GPS-X [19], thus considering the removal of organics, N and P components. The design of the model for the current configuration included the following:
Collection of long-term regular data and additional measurements for the model design;
Selection of modelled objects;
Determination of physical parameters and plant operating parameters;
Influent wastewater characterization and adjustment of model parameters;
Simulation and model evaluation.
Figure 1 shows configuration of Ljubljana WWTP water line with indicated locations where measurements for the purpose of model design were performed. Measurements included regular daily laboratory measurements, on-line measurements, as well as estimated process variables from sample measurements. In addition, an intensive 5-day measurements were performed specifically for influent wastewater characterization.
Following the scheme in Figure 1, the designed simulation model included the following objects:
Influent wastewater from the sewer modelled with “Chemical Oxygen Demand (COD) fractions model” [19];
Reject water from the sludge treatment line (filtrate from a filter press, centrate from centrifuge, condensate from sludge drying) also modelled with “COD fractions model”;
Grit chamber modelled with “empiric model” [19];
Aeration tanks modelled as a plug-flow reactor with four tanks using “ASM2d” model for biological reactions [3];
Secondary clarifier with a “simple1d” model, i.e., 1-dimensional settler model without biological reactions [19].
The scheme of Ljubljana WWTP water line with indicated locations of measurements for the purpose of model identification and validation
For each object the corresponding physical parameters (tank volume, tank surface, water depth, etc.) and operational parameters were determined. Airflow to aerobic reactors was determined by controlling Dissolved Oxygen (DO) concentration in aerobic tanks at measured values. Return sludge flow was set to low or high value, depending on the inflow as in real plant operation. Excess sludge flow was determined by controlling Mixed Liquor Suspended Solids (MLSS) after aeration tanks at measured values (junction 13 in Figure 1).
The performance of the model was improved by more precise influent wastewater characterization and adjustment of model parameters as presented in Table 1. Influent characterization was performed according to STOWA protocol [20] for low loaded WWTP using measurements in intensive 5-day measurement campaign. The estimated fbod and ivt values were higher than the pre-set values in GPS-X, but did not give satisfactory performance - therefore default values were used. Based on parameter sensitivity analysis performed in [6], the three most sensitive model parameters (YA, YH and μmax,A) were adjusted in “ASM2d” model to obtain a better fit.
Parameter |
Symbol |
Pre-set value* |
Adjusted value |
|
---|---|---|---|---|
Influent characterization |
XCOD/VSS |
icv |
1.8 |
1.22 |
BOD5/BODultimate |
fbod |
0.66 |
0.66 |
|
VSS/TSS |
ivt |
0.75 |
0.75 |
|
Soluble fraction of total COD |
frscod |
0.25 |
0.48 |
|
Inert fraction of soluble COD |
frsi |
0.2 |
0.12 |
|
VFA fraction of soluble COD |
frslf |
0 |
0.16 |
|
Substrate fraction of particulate COD |
frxs |
0.82 |
0.74 |
|
Ortho-phosphate fraction of soluble P |
frsp |
0.9 |
0.8 |
|
Kinetic and stoichiometric parameters |
Autotrophic maximum specific growth rate [1/d] |
μmax,A |
1 |
0.95 |
Heterotrophic yield [gCOD/gCOD] |
YH |
0.625 |
0.656 |
|
Autotrophic yield [gCOD/gN] |
YA |
0.24 |
0.24 |
Parameter |
Symbol |
Pre-set value* |
Adjusted value |
|
---|---|---|---|---|
Influent characterization |
XCOD/VSS |
icv |
1.8 |
2.8 |
BOD5/BODultimate |
fbod |
0.75 |
0.79 |
|
VSS/TSS |
ivt |
0.8 |
0.6 |
|
Substrate fraction of particulate COD |
frxs |
0.8 |
0.75 |
|
Ammonium fraction of soluble TKN |
frsnh |
0.9 |
0.91 |
Influent parameter |
Unit |
Input load in preliminary design |
---|---|---|
Biological Oxygen Demand (BOD5) |
[t BOD/d] |
33.5 |
Chemical Oxygen Demand (COD) |
[t COD/d] |
61 |
Total Nitrogen (TN) |
[t N/d] |
4.9 |
Total Phosphorus (TP) |
[t P/d] |
0.9 |
Total Suspended Solids (TSS) |
[t/d] |
34.5 |
Simulations of the upgraded plant operation were performed by increasing the inflow for 30%, while wastewater characterisation and influent concentrations were the same as in the existing plant simulations. The average inflow thus obtained in one-year plant operation was 110,519 m3/d, while input load was 33.6 t BOD/d, 62.6 t COD/d, 5.5 t N/d, 1.07 t P/d and 33.8 t TSS/d for the BOD5, COD, TN, TP and TSS, respectively. Comparison with predicted input load in the preliminary design (Table 3) shows that for TN and TP the load in simulations is higher than in preliminary, since it takes into account also the load from reject water. It was also assumed that because of the inclusion of primary clarifier and the increased influent PE, the amount of sludge digested will increase, imposing also higher amounts of reject water from sludge line to water line. Highly concentrated reject water is returned to water line in the periods of sludge drying and centrifuge operation. These periods currently amount for approximately 64% of total time. Increased amount of sludge will require almost constant sludge drying and centrifuge operation, and therefore also constant return of highly concentrated reject water to water line.
The upgraded plant was simulated at increased MLSS concentration of 4,500 mg/l in the biological stage. The external recycle flow was simulated as 1.6 times influent flow, while internal recycle flow was 4 times influent flow.
With the simulation model of the upgraded plant three different operation scenarios were considered:
Plant operated in BioP-DN configuration;
Plant operated in DN configuration;
Plant operated in both configurations, depending on the temperature.
Simulations have shown that in all three cases the effluent COD, BOD5 and TSS are almost the same and below the required limit values as given in Table 4. In simulations, the increase of effluent TSS because of higher TSS values in aerobic reactors (4,500 mg/l) was not noticed, which was most probably due to a limited capability of the settler model prediction.
Parameter |
Limit value [mg/l] |
---|---|
Total Suspended Solids (TSS) |
35 |
Biological Oxygen Demand (BOD5) |
20 |
Chemical Oxygen Demand (COD) |
100 |
Total Phosphorus (TP) |
1 |
Total Nitrogen (TN)* |
10 |
Ammonia Nitrogen (NH4-N)* |
5 |
Influent parameter |
Unit |
Maximum daily load |
---|---|---|
Biological Oxygen Demand (BOD5) |
[kg BOD/d] |
6,705 |
Chemical Oxygen Demand (COD) |
[kg COD/d] |
13,410 |
Total Suspended Solids (TSS) |
[kg/d] |
5,215 |
Total Nitrogen (TN) |
[kg N/d] |
1,765 |
Ammonia Nitrogen (NH4-N) |
[kg N/d] |
1,260 |
Total Phosphorous (TP) |
[kg P/d] |
239 |
Operation of Domžale-Kamnik upgraded plant was first simulated for the total SBR volume of 19,000 m3 as planned in the preliminary design. The height of the reactors was 5.5 m, while the lowest water level in the reactors was predicted as 4.13 m. In simulations the influent daily average values were used as measured at the Domžale-Kamnik WWTP after the mechanical stage. Only the days with no major failure of sensors were included. In total 316 days of operation were collected with the following measurements: wastewater temperature, flow, COD, TKN and NH4-N. The measured average flow at the plant (around 19,200 m3/d) was lower than that used in preliminary design (25,000 m3/d). Therefore the inflow was increased by about 30%. The input load thus obtained was still slightly lower than the planned one in Table 5.
Because of the increase of influent flow, the minimum water level in the reactor was lowered from 4.13 m to 3.7 m. In this way the plant is able to treat larger amount of wastewater without overflow. SBR plant operation was simulated for three different waste flows, i.e. 500 m3/d, 900 m3/d and 1,000 m3/d, to potentially obtain better plant performance at higher biomass concentrations. In the filling and aeration phase the set point for dissolved oxygen concentration of PI controllers was set to 2 mg/l. During the filling phase, the methanol was added in the reactor with the flow of 30 l/h. Methanol was added as an external carbon source to complete the denitrification and thus not limit total nitrogen removal because of low denitrification rate. The obtained simulation results for the effluent are shown in Figure 8.
SBR effluent concentrations at increased influent flow and total volume of 19,000 m3. Simulations for different values of waste sludge flow: 1,000 m3/d (blue), 900 m3/d (red) and 500 m3/d (green). From top to bottom: soluble COD, TN, NH4-N and NO3-N
From the figure it can be seen that effluent TN and NH4-N concentrations exceed the limit values of 10 mg/l and 5 mg/l for tertiary treatment, respectively, as also given in Table 4. At high waste sludge flow, the amount of sludge in the reactors is lower, resulting in high effluent NH4-N concentrations. On the other hand, at low waste sludge flow, the effluent TN and TSS concentrations are too high. Hence it was concluded that for the efficient SBR operation it was necessary to use larger reactor volumes.
The operation of SBR was simulated also at increased total reactor volume of 26,400 m3 as proposed in the revised preliminary design. For the inflow new measurements from the real plant operation were collected. Again, average daily measurements were taken after the mechanical stage for 365 days of plant operation. For the missing data, the annual average measured values were used. The influent flow was also in this case, lower than that used in the preliminary design. Therefore the inflow was increased for 27% to reach the design daily average flow of 25,000 m3/d. Also in this case, the input load was still slightly lower than the one planned in Table 5.
The set point for the DO concentration of PI controllers was set to 2 mg/l. The set point for the average daily TSS concentration at the reactor surface was set to 2,750 mg/l to adjust the waste sludge flow by PI controller. Methanol was not added in this case.
Simulated effluent SBR concentrations are shown in Figure 9. For the effluent parameters with the legislation limit values also the percentages of time below the limit values were calculated. They are given in Table 6.
SBR effluent concentrations at increased influent flow and total volume of 26,400 m3. The red lines represent the legislation limit values
Effluent parameter |
Limit value [mg/l] |
Percentage of time below the legislation limit value [%] |
---|---|---|
BOD5 |
20 |
82 |
COD |
100 |
97.2 |
TSS |
35 |
100 |
TN |
10 |
79.8 |
NH4-N |
5 |
100 |
Simulation results show that with the increased reactor volume of 26,400 m3, the average daily COD, TSS in NH4-N concentrations meet the legislation limits in more than 80% of time during one year of plant operation. BOD5 and TN are below the limits approximately 80% of time. Effluent BOD5 exceeds the limit value especially because of the high soluble biodegradable matter in the effluent, while TN exceeds the limit value because of high values of NO3-N and soluble organic nitrogen. The average concentration of soluble organic nitrogen in the effluent is around 4 mg/l.
This paper presents simulation models that were designed for Ljubljana WWTP and Domžale-Kamnik WWTP for the purpose of plants upgrading for tertiary treatment. The future plant configurations were simulated for expected increase of input load. In simulations the upgraded plant treatment efficiency and compliance with new stricter legislation requirements for tertiary treatment were verified.
For the Ljubljana WWTP the simulation results have not revealed any significant problems or deviations from the results expected in the preliminary design. The simulations did show, however, that at some operating conditions the plant is operated close to limit conditions. The most challenging is to achieve TN concentrations below the limit value during biological P removal. In this case, the plant has lower denitrification potential due to the course of internal recirculation flow. These operating conditions could be enhanced by different measures, e.g. the change of recirculation flow, improved control of operating parameters, or introduction of additional processes (e.g. ammonification) to treat reject water from sludge treatment.
Simulation tests of Domžale-Kamnik WWTP operation after upgrading have shown that larger total volume of SBR reactors than initially designed, i.e. in total 26,400 m3, is required to achieve average effluent concentrations below the permitted limit values at least 80% of time, which is required by legislation. Hence, with larger total reactor volume satisfactory treatment performance and compliance with legislation requirements is obtained even if influent load is increased for up to 30% compared to present load. The most demanding is the achievement of effluent TN and BOD5 concentrations. Higher effluent TN concentrations are due to the higher effluent NO3-N and soluble organic nitrogen concentrations, while higher BOD5 concentrations are due to the soluble biodegradable organic matter present in the effluent.
Besides obvious advantages of using the models for plant upgrading, the models have shown also some weaknesses in predicting some events that are well known for process experts. The two most notable weaknesses of the models are the prediction of higher plant nitrification potential than usually obtained at the real plant, and simplified modelling of the settler, which does not give reliable results for TSS concentrations in the effluent. In both cases the weaknesses need to be overcome by the improvement of the state-of-the-art WWTP models.
Anaerobic Digestion Model
Activated Sludge Model No. 2d
Plant Configuration with Biological P removal, nitrification, denitrification
Biological Oxygen Demand
Five Day BOD
Cyclic Activated Sludge Technology
Chemical Oxygen Demand
Plant Configuration with nitrification, denitrification
Dissolved Oxygen
Simulation Software
Mixed Liquor Suspended Solids
Ammonia Nitrogen
Nitrate Nitrogen
Population Equivalent
Ortho-phosphate
Sequencing Batch Reactor
Total Kjeldahl Nitrogen
Total Nitrogen
Total Organic Carbon
Total Phosphorus
Total Suspended Solids
Volatile Fatty Acids
Volatile Suspended Solids
Wastewater Treatment Plant
Particulate COD