Abstract
A modelling study is under way in preparation for a planned upgrade of the capacity of the kwaMashu WWTP in eThekwini, South Africa, from 50 to 80 ML/d. When the configuration of an existing plant is to be changed, the most critical part of the model calibration is the influent wastewater fractionation. However, the constantly varying characteristics of wastewater make experimental determination of an adequately representative set of components difficult, time-consuming and expensive, which constitutes significant barriers to the adoption of modelling by many municipalities. Compliance and process monitoring generate large sets of influent measurements of chemical oxygen demand (COD), free and saline ammonia (FSA), total suspended solids (TSS), etc., but these are insufficient for modelling purposes. In particular, biodegradability is not routinely measured. However, since influent fractionation is designed to predict the fate of material in the wastewater treatment process, it should be possible to infer the fractionation from a combination of influent and plant measurements. This case study demonstrates the application of a pair of modelling tools, a probabilistic influent fractionator and a simplified steady‑state plant‑wide model, to estimate the influent fractionation, together with certain unmeasured or unreliable operational parameters.
HIGHLIGHTS
Estimation of influent COD fractionation from routine plant measurements.
Data reconciliation using a simplified steady-state plant-wide model.
Estimation of unmeasured or unreliable operational parameters.
Methodology for improving a plant monitoring programme.
Graphical Abstract
ACRONYMS
- AD
Anaerobic digester
- ADM1
Anaerobic Digester Model No. 1
- AS
Activated sludge
- BOD
Biological oxygen demand
- COD
Chemical oxygen demand
- DAF
Dissolved air flotation
- FSA
Free and saline ammonia
- IS
Inorganic solids
- ISS
Inorganic suspended solids
- MLE
Modified Ludzack-Ettinger
- MLSS
Mixed liquor suspended solids
- OHO
Ordinary heterotrophic organism
- Ortho P
Orthophosphate
- PST
Primary settling tank
- PWM_SA
Plant-wide model – South Africa
- RAS
Return activated sludge
- SNL
Supernatant liquor from the secondary digester
- SRT
Sludge retention time
- SSE
Sum of squared errors
- SST
Secondary settling tank
- TKN
Total Kjeldahl nitrogen
- TP
Total phosphorus
- TS
Total solids
- TSS
Total suspended solids
- UCTADM1
University of Cape Town Anaerobic Digester Model No. 1
- VFA
Volatile fatty acid
- VSS
Volatile suspended solids
- WAS
Waste activated sludge
- WWTP
Wastewater treatment plant
SYMBOLS
- CODf
Filtered COD
- CODup
Unbiodegradable particulate COD
- CODus
Unbiodegradable soluble COD
- CxHyOzNaPb
Stoichiometric formula for a generic organic compound
- fcodf
Soluble (filtered) fraction of influent COD
- fcodup
Unbiodegradable particulate fraction of influent COD
- fcodus
Unbiodegradable soluble fraction of influent COD
- fcv,i
COD to VSS ratio of component i
- ffsa
FSA fraction of TKN
- fiss
Influent ISS to TSS ratio
- fn
Nitrogen content per gram organic
- fns,codup
Fraction of influent unbiodegradable particulates in the settled sewage
- fns,iss
Fraction of influent ISS in the settled sewage
- fnsPST
Fraction of influent TSS in the settled sewage
- fOHO
OHO fraction of influent COD
- fp
Phosphorus content per gram organic
- ftknf
Soluble fraction of TKN
- ftpf
Soluble fraction of TP
- ftss
Influent TSS to COD ratio
- fvfa
VFA fraction of influent COD
- H
Hessian matrix
- Np
No. of fitting parameters
- Nd
Number of measured data points
- P
Vector of fitting parameters
- RAD
Hydraulic retention time of the anaerobic digesters
- SF
Soluble fermentable organics
- SNH
Ammonium
- SPO4
Phosphate
- SU
Soluble unbiodegradable organics
- SVFA
Volatile fatty acids
- TKNf
Filtered TKN
- TPf
Filtered TP
- VAD
Anaerobic digester volume
- VAS
Activated sludge reactor volume
- XBInf
Biodegradable particulate influent organics
- XISS
Inorganic suspended solids
- XOHO
Ordinary heterotrophic organisms
- XUInf
Unbiodegradable particulate influent organics
- σ
Covariance matrix
INTRODUCTION
When the configuration of an existing plant is to be changed, the most critical part of the model calibration is the influent wastewater fractionation. Furthermore, due to the complexity of the systems involved, model calibration protocols, for example, Reiger et al. (2012), typically involve the sequential calibration of the various subsystems starting with the influent characterization. As a result, errors in the influent characterization are propagated through the other calibration steps (Grau et al. 2007).
The constantly varying characteristics of wastewater make experimental determination of an adequately representative set of components, using protocols such as those recommended by the IWA Guidelines (Reiger et al. 2012), difficult, time-consuming and expensive, which constitutes significant barriers to the adoption of modelling by many municipalities. Biodegradable organic fractions in raw and settled sewage are typically determined via biological oxygen demand (BOD) measurements (Hulsbeek et al. 2002) or respirometric methods (Vanrolleghem 2002). Both of these methods take days to get results for a single sample, and many municipalities simply do not have the equipment or experienced personnel to undertake these types of characterization studies. Furthermore, translating laboratory results to full scale WWTP plants can be quite challenging due to important differences between the two types of systems (Sin et al. 2005).
Schematic representation of the probabilistic influent fractionator showing measurements, estimates and their correlation with the PWM_SA components.
Schematic representation of the probabilistic influent fractionator showing measurements, estimates and their correlation with the PWM_SA components.
With the exception of the soluble unbiodegradable fraction of the influent (fcodus), which is typically assumed to equal the soluble COD in the secondary effluent (Ekama & Wentzel 2008), the probabilistic fractionator has no way of distinguishing biodegradable and unbiodegradable fractions. Therefore, the influent COD fractionation parameters (fcodf, fcodp, fvfa) are usually best guesses based on the available literature.
In the PWM_SA model (Ekama 2009; Ikumi et al. 2015), each of the organic components is assigned an elemental composition CxHyOzNaPb, from which other important component properties can be calculated, including its COD to VSS ratio (fcv), and nitrogen and phosphorus content per gram (fn and fp). The biodegradable influent particulate component XBInf is assumed to represent a mixture of proteins, carbohydrates and lipids. These are separate components in some other models, e.g. Anaerobic Digestion Model No1 (ADM1) (Batstone et al. 2002); however, since this type of characterization data is very seldom available, they are lumped together in the University of Cape Town Anaerobic Digestion Model No 1 (UCTADM1) (Sötemann et al. 2005), which is used to represent anaerobic digestion in PWM_SA. However, the ratio of proteins, carbohydrates and lipids in raw sewage depends on the diet of the population, how much food waste is entering the sewer, and the impact of industrial and commercial wastewater contributions. Therefore, the average composition of the biodegradable particulate fraction may vary significantly between different treatment works. Table 1 shows the elemental compositions for the XBInf model component for various implementations of the plant-wide model compared with ADM1 components for proteins, carbohydrates and lipids (Batstone et al. 2002). The listed compositions were all experimentally determined at some point, but it is often not clear which plants the samples they are based on came from and how representative they are of conditions in other plants.
Composition of biodegradable influent particulates
. | Wu (2015) . | Ikumi (2011) Table 8.2 . | WEST PWM_SA Default . | Gaszynski (2021) . | Flores-Alsina et al. (2019) . | |||
---|---|---|---|---|---|---|---|---|
XBInf . | Protein . | Carbohydrate . | Lipid . | |||||
fn | 0.035 | 0.03 | 0.035 | 0.03–0.05 | 0.06 | 0.15 | 0 | 0 |
fp | 0.005 | 0.01 | 0.012 | 0.001–0.004 | 0.01 | 0 | 0 | 0.03 |
fcv | 1.52 | 1.47 | 1.478 | 1.49–1.52 | 1.79 | 1.35 | 1.07 | 2.81 |
. | Wu (2015) . | Ikumi (2011) Table 8.2 . | WEST PWM_SA Default . | Gaszynski (2021) . | Flores-Alsina et al. (2019) . | |||
---|---|---|---|---|---|---|---|---|
XBInf . | Protein . | Carbohydrate . | Lipid . | |||||
fn | 0.035 | 0.03 | 0.035 | 0.03–0.05 | 0.06 | 0.15 | 0 | 0 |
fp | 0.005 | 0.01 | 0.012 | 0.001–0.004 | 0.01 | 0 | 0 | 0.03 |
fcv | 1.52 | 1.47 | 1.478 | 1.49–1.52 | 1.79 | 1.35 | 1.07 | 2.81 |
Component compositions are fixed in the probabilistic fractionator, and errors in the composition of XBInf will affect the fitting of the model components to the measured data. In the plant-wide model, the assumed composition of XBInf also affects the predicted release of nutrients in the anaerobic digester, which has implications for nutrient removal.
In this study, we explore the possibility of extending the probabilistic fractionator by including routine process measurements with the routine influent measurements, and coupling the fractionator with a simplified plant-wide steady state model, so as to obtain a more accurate fractionation of the influent. This technique could make wastewater treatment modelling accessible to a wider range of municipalities.
METHODS
kwaMashu wastewater treatment works process description
The detailed plant layout is shown in Figure 3. After screening and de-gritting, raw sewage is pumped to two primary settling tanks (PSTs). The raw sludge from the PSTs is pumped to two gravity thickeners and the thickened primary sludge is then pumped to the two primary anaerobic digesters. The five-cell secondary digester separates the digested solids from the supernatant liquor (SNL) under gravity. The digested sludge is pumped to the dewatering plant while the SNL is pumped back to the head of works. The primary settler effluent (settled sewage) flows to a Modified Ludzack-Ettinger (MLE) activated sludge process consisting of a four-lane aeration unit followed by eight secondary settlers (SSTs). The secondary effluent is discharged to a series of three maturation ponds and the pond effluent is chlorinated prior to discharge to the Umhlangane River.
The waste activated sludge (WAS) is drawn from the return activated sludge (RAS line). The WAS is pumped to the DAF units for thickening. The DAF sludge is sent to the dewatering plant while the sub-natant flows back to the head of works.
The dewatering plant consists of eight screw presses with polymer dosing. The filtrate from dewatering is returned to the head of works while the dewatered sludge is supposed to be trucked to offsite disposal. However, during the study period, sludge was not being removed from the site on a regular basis due to problems with the disposal contracts and consequently, the operating staff were forced to reduce the sludge wasting rate. As a result, the plant was often being operated at sludge ages of greater than the 12 to 20 days the plant was designed for. Furthermore, since the wasting rate data had been lost when the data storage system was damaged, the actual SRTs during the study period were not known.
Data collection
Routine monitoring data for 2018 were provided by eThekwini Water and Sanitation (EWS) from their laboratory information system and plant operating records. June and July were a period of little rain and relatively stable plant operation, so these data were selected for modelling. Table 2 shows the plant sampling schedule for the sampling points shown in Figure 3. Influent flowrate was the only measurement made every day. Additional plant operating data recorded by the SCADA system had been lost when the data storage system was damaged by power disruptions.
Sampling schedule for kwaMashu WWTP
Sampling point . | MON . | TUE . | WED . | THU . | FRI . |
---|---|---|---|---|---|
Raw sewage S1 | pH, TSS, TS, NH3, COD | – | TSS, NH3, COD, PO4 | – | pH, TSS, NH3, COD |
Settled sewage S2 | TSS, NH3, COD | – | TSS, NH3 | – | sett solids, susp solids, NH3, COD |
Aerated basins S11–S13 | pH, TSS, NO2, NO3, NH3 | TSS | TSS, NO3, NH3 | TSS | pH, TSS, NO2, NO3, NH3 |
Secondary effluent S20 | COD, TSS | COD, TSS | – | COD, TSS | – |
Digester feed S3 | %TS | %TS | %TS | %TS | %TS |
Primary digesters S4, S5 | – | %TS, NH3 | %TS | %TS | %TS |
Filter cake S22–S29 | %TS, %IS | %TS, %IS | %TS, %IS | %TS, %IS | %TS, %IS |
Sampling point . | MON . | TUE . | WED . | THU . | FRI . |
---|---|---|---|---|---|
Raw sewage S1 | pH, TSS, TS, NH3, COD | – | TSS, NH3, COD, PO4 | – | pH, TSS, NH3, COD |
Settled sewage S2 | TSS, NH3, COD | – | TSS, NH3 | – | sett solids, susp solids, NH3, COD |
Aerated basins S11–S13 | pH, TSS, NO2, NO3, NH3 | TSS | TSS, NO3, NH3 | TSS | pH, TSS, NO2, NO3, NH3 |
Secondary effluent S20 | COD, TSS | COD, TSS | – | COD, TSS | – |
Digester feed S3 | %TS | %TS | %TS | %TS | %TS |
Primary digesters S4, S5 | – | %TS, NH3 | %TS | %TS | %TS |
Filter cake S22–S29 | %TS, %IS | %TS, %IS | %TS, %IS | %TS, %IS | %TS, %IS |
In addition to the data listed in Table 2, sludge cake production data was available as monthly totals.
Simplified steady state model development
A simplified version of the plant-wide steady state model (Ekama 2009) was set up to track the organic and particulate components through the plant, from the raw sewage to the secondary effluent and sludge filter cake. The purpose of the model was threefold:
- (1)
To estimate the missing internal flows; specifically: the flow to the anaerobic digesters (ADs) and the waste activated sludge (WAS) flow, which determine the hydraulic retention (RAD) time of the ADs and the sludge retention time (SRT) of the activated sludge (AS) plant, respectively.
- (2)
To estimate the biodegradable organic fractions of the influent based on the overall reduction in solids and COD.
- (3)
To estimate fcv and fn of the biodegradable influent particulate component XBInf.
The influent sub-model for the simplified steady state model includes only COD and particulate components, i.e. the components shown in Figure 1.
In the simplified steady state mode, the PST sub-model lumps together the primary settlers and primary sludge thickeners such that its outputs are the settled sewage and the feed to the anaerobic digesters. The PST sub-model parameters are fsetsew, fnsPST, fns,codup and fns,iss, where (1 − fsetsew) is the flow to the anaerobic digesters as a fraction of the plant influent flow and determines the anaerobic digester hydraulic retention time (RAD), while fnsPST, fns,codup and fns,iss are the settled sewage TSS, XUInf and ISS fluxes as a fraction of their corresponding fluxes in the influent.
= digester volume, m3
Raw flow = raw sewage flow to the primary settlers, m3/d
where
SRT = sludge age, d
= activated sludge reactor volume, m3
MLSS = mixed liquor suspended solids, kg/m3
Wasting rate = DAF sludge solids flux fed to sludge dewatering, kg/d
Effluent solids flux = secondary effluent flux, kg/d
Note that is assumed that the impact of recycling the secondary digester supernatant, DAF underflow and dewatering plant filtrate on the flow and solids fluxes have a negligible effect on the overall flow and solids balances. Since the simplified steady state model does not include nutrient removal, the impacts of these internal recycles on the nitrogen and phosphorus fluxes are not considered.
Model implementation, fitting and parameter identifiability
The simplified model and optimization were coded in R (R Project 2021). The standard R non-linear optimization routine optim was used for the parameter regression.
The plant measurements used in the fitting procedure and initial set of fitting parameters are listed in Table 3. Outliers in the raw measurements were removed using the interquartile range and fences method.
Fitted measurements and fitted parameters
Fitted measurements . | Fitting parameters . |
---|---|
Raw COD flux Raw TSS flux Settled sewage COD flux Settled sewage TSS flux Secondary effluent COD flux Secondary effluent TSS flux Reactor MLSS Digester % TS Digester FSA Primary sludge % TS Dry sludge cake produced (as dry solids) Sludge cake % IS | Overall mass balance: Secondary effluent solids flux, Fitted raw COD |
Internal flows: Activated sludge wasting rate Flow split between AS and AD (fsetsew) | |
Influent fractionation: Influent COD/TSS ratio (ftss) Unbiodegradable soluble COD fraction (fcodus) Soluble COD fraction (fcodf) Unbiodegradable particulate COD fraction (fcodup) | |
Settled sewage fractionation Fraction of influent solids in the settled sewage (fns,PST) Fraction of influent ISS in the settled sewage (fns,iss) Fraction of influent unbiodegradable particulate COD in the settled sewage (fnscodup) | |
XBinf composition Biodegradable influent particulate gCOD/g (fcv,XBinf) Biodegradable influent particulate gN/g (fn,XBinf) |
Fitted measurements . | Fitting parameters . |
---|---|
Raw COD flux Raw TSS flux Settled sewage COD flux Settled sewage TSS flux Secondary effluent COD flux Secondary effluent TSS flux Reactor MLSS Digester % TS Digester FSA Primary sludge % TS Dry sludge cake produced (as dry solids) Sludge cake % IS | Overall mass balance: Secondary effluent solids flux, Fitted raw COD |
Internal flows: Activated sludge wasting rate Flow split between AS and AD (fsetsew) | |
Influent fractionation: Influent COD/TSS ratio (ftss) Unbiodegradable soluble COD fraction (fcodus) Soluble COD fraction (fcodf) Unbiodegradable particulate COD fraction (fcodup) | |
Settled sewage fractionation Fraction of influent solids in the settled sewage (fns,PST) Fraction of influent ISS in the settled sewage (fns,iss) Fraction of influent unbiodegradable particulate COD in the settled sewage (fnscodup) | |
XBinf composition Biodegradable influent particulate gCOD/g (fcv,XBinf) Biodegradable influent particulate gN/g (fn,XBinf) |
Some of the parameters listed in Table 3 can be estimated directly from the available raw plant data, using simple mass balances on individual treatment units where necessary, specifically, the fitted raw COD, secondary effluent solids flux, fsetsew, ftss, fcodus and fns,PST. However, the results obtained this way may be subject to errors and systemic biases, e.g. due to data sparsity, how and when samples are collected and how averages are calculated. Furthermore, uncertainties increase when parameter values are interdependent. For the above mentioned parameters, the raw data was used to calculate the initial estimates and expected ranges. The initial estimates for the fitted raw COD and effluent solids flux were calculated as the average of the available measurements. The fraction of the raw flow going to the activated sludge plant (fsetsew) was estimated from a solids balance on the PST using the average raw and settled TSS and thickened primary sludge %TS. The initial estimate of ftss was the ratio of the average measured raw COD and TSS. The initial estimate of the soluble unbiodegradable COD fraction (fcodus) was calculated from the average secondary effluent COD and TSS as described by Ekama & Wentzel (2008). The non-settlable influent solids fraction (fns,PST) was estimated as the ratio of the average measured settled sewage and raw TSS.
The upper and lower fitting bounds of the wasting rate corresponded to SRT values of 12–30 days. Initial estimates and ranges for the settled sewage fractionation parameters fns,codup and fns,iss were specified based on typical values of 0.2–0.3 and 0.1–0.2, respectively, reported by Wentzel et al. (2006). Initial estimates and bounds for the other fractionator parameters were selected based on values in Henze & Comeau (2008) and typical values for various South African wastewater treatments included in a plant-wide steady state design (PWSSD) tool developed by Wu (2015).
wi= weight of measurement i
xi,j = jth observation of measurement i
Xi = predicted steady state value of measurement
To estimate the significance of the regressed parameters P, the parameter covariance matrix was calculated from the inverse of the Hessian matrix H at the optimum point where
(Vanrolleghem et al. 1995). H is a measure of the local model sensitivity to the parameters at the optimum point, and is an output of the optim routine, and
, where Nd is the number of measured data, and Np is the number of regressed parameters. The significance of parameter i was expressed as its standard error
: the ratio of its estimated standard deviation to its value. This approximate procedure implies linearizing the model in the vicinity of the optimum point.
RESULTS AND DISCUSSION
The results of the parameter regression are summarized in Tables 4 and 5. Where a parameter was found to be identifiable in the analysis, the best-fit value is listed. Table 4 also shows the % change from the initial values calculated from the raw plant data.
Parameters which could be estimated directly from raw data
Parameter . | Initial estimate . | Range . | Best estimate . | % adjustment . | Standard deviation . |
---|---|---|---|---|---|
Secondary effluent solids flux, kg/d | 730 | 464–1,158 | 738 | 1% | 36 |
Fitted raw COD, mgCOD/L | 830 | 753–908 | 850 | −2% | 43 |
(1 − fsetsew) | (1 − 0.993) | (1 − 0.97)–(1 − 0.995) | (1 − 0.994) | −1% | 0.00040 |
ftss | 0.62 | 0.4–0.65 | 0.58 | −7% | 0.034 |
fcodus | 0.026 | 0.01–0.05 | 0.020 | −23% | 0.0034 |
fns,PST | 0.267 | 0.2–0.4 | 0.315 | 18% | 0.025 |
Parameter . | Initial estimate . | Range . | Best estimate . | % adjustment . | Standard deviation . |
---|---|---|---|---|---|
Secondary effluent solids flux, kg/d | 730 | 464–1,158 | 738 | 1% | 36 |
Fitted raw COD, mgCOD/L | 830 | 753–908 | 850 | −2% | 43 |
(1 − fsetsew) | (1 − 0.993) | (1 − 0.97)–(1 − 0.995) | (1 − 0.994) | −1% | 0.00040 |
ftss | 0.62 | 0.4–0.65 | 0.58 | −7% | 0.034 |
fcodus | 0.026 | 0.01–0.05 | 0.020 | −23% | 0.0034 |
fns,PST | 0.267 | 0.2–0.4 | 0.315 | 18% | 0.025 |
Parameters which could NOT be estimated directly from raw data
Parameter . | Initial estimate . | Range . | Best estimate . | Standard deviation . |
---|---|---|---|---|
Activated sludge wasting rate, kg/d | 3,600 | 1,300–4,500 | 2,709 | 283 |
fcodf | 0.255 | 0.1–0.5 | – | – |
fcodup | 0.13 | 0.07–0.2 | 0.108 | 0.020 |
fns,iss | 0.03 | 0–0.3 | – | – |
fns,codup | 0.18 | 0.1–0.4 | – | – |
fcv,XBinf | 1.5 | 1.47–1.79 | 1.54 | 0.11 |
fn,XBinf | 0.035 | 0.03–0.05 | 0.033 | 0.0075 |
Parameter . | Initial estimate . | Range . | Best estimate . | Standard deviation . |
---|---|---|---|---|
Activated sludge wasting rate, kg/d | 3,600 | 1,300–4,500 | 2,709 | 283 |
fcodf | 0.255 | 0.1–0.5 | – | – |
fcodup | 0.13 | 0.07–0.2 | 0.108 | 0.020 |
fns,iss | 0.03 | 0–0.3 | – | – |
fns,codup | 0.18 | 0.1–0.4 | – | – |
fcv,XBinf | 1.5 | 1.47–1.79 | 1.54 | 0.11 |
fn,XBinf | 0.035 | 0.03–0.05 | 0.033 | 0.0075 |
It was possible to obtain best fit values for the wasting rate, flow and solids flux split between the anaerobic digesters and AS plant ((1 − fsetsew) and fns,PST in Table 4) and the XBInf composition parameters (fcv,XBinf and fn,XBinf in Table 5). The best fit values for fcv,XBinf and fn,XBinf corresponded most closely to biodegradable particulate compositions reported by Gaszynski (2021) and these were used to estimate the XBInf stoichiometry used in the probabilistic fractionator and WEST model. The SRT corresponding to the best fit wasting rate was 20 days, which was at the limit of the design range of 12–20 days.
For the raw sewage fractionation, fcodus and fcodup (Table 4) were identifiable, but fcodf (Table 5) was not. This means that the multi-parameter regression could not estimate a unique ratio of soluble and particulate biodegradable COD that explained the observed data. For the settled sewage fractionation, fns,iss and fns,codup (Table 5) were not identifiable. Inorganic solids (%IS) were measured only in the dewatering filter cake at kwaMashu, and the regression could not determine in which ratio the organic and inorganic inert particulates follow the two flow paths available in the simplified model.
Parameters that were excluded from the regression were fixed at their initial estimates, and these fixed values will affect the best-fit values of the identifiable parameters, and the subsequent calibration of the detailed model (Brun et al. 2002). However, the results of the analysis also point to a simple and practical solution to the problem: of the three parameters that were not observable from the available data, only fns,codup requires specialized analytical techniques for its measurement. Any wastewater laboratory should be able to conduct measurements for filtered COD to reduce the uncertainty in the estimation of the parameter fcodf. Similarly, the estimation of fns,iss can be improved by measuring the %IS of the primary, digested or waste sludge or the ISS of the settled sewage. In fact, it is quite common to measure the inorganic or ash content of sludge fed to anaerobic digesters.
= mass of XUinf in the reactor
= flux of XUinf fed to the reactor
While the wasting rate and effluent solids flux, which are used in calculating the SRT, are identifiable in the regression, the corresponding flux of XUinf calculated by the model will be very sensitive to variability in the regressed values of these parameters. In fact, when the value of the wasting rate was manually fixed in the regression, the parameter fns,codup became identifiable. Since the SRT is a critical operating parameter, the sludge wasting rate ought to be part of routine plant records, but was not available in this case. The results of the identifiability analysis suggest that with reliable sludge wasting rate data and some additional inorganic solids measurements, even the fractionation of the settled sewage at kwaMashu WWTP can be estimated using the simplified steady state model.
Note that, in principle, the multivariate parameter estimation could be carried out in WEST using the full plant-wide model; however, it is computationally intensive, and will take many hours to converge to a solution. The simplified steady state model provides a convenient and much faster way (a few minutes at most) to find the best fit parameters for the COD and solids balances. This then reduces the number of parameters that require tuning in the detailed model, for example, relating to the nitrogen removal model.
Agreement between model and measured fluxes of solids and COD in the influent, secondary effluent and filter cake.
Agreement between model and measured fluxes of solids and COD in the influent, secondary effluent and filter cake.
Model COD balance showing biodegradable and unbiodegradable soluble and particulate fractions.
Model COD balance showing biodegradable and unbiodegradable soluble and particulate fractions.
As noted above, inorganic solids (IS) were only measured in the belt press filter cake at kwaMashu WWTP. While ISS is usually only a small fraction of the TSS of raw wastewater, it makes up a substantial part of the overall filter cake production (∼40% in Figure 8), which is why including ISS in the raw wastewater characterization is important.
In Figure 9, the influent COD (S1 in Table 2 and Figure 3), effluent (S20) and sludge cake (S22–29) plus the oxygen uptake and methane production represent the overall plant COD balance, while the primary (S3), digested (S6–7) and DAF thickened waste activated sludge (S18–19) are internal streams. The potential for solids and COD reduction is determined by the biodegradable content of the plant influent, while the extents of the reductions are functions of the sludge age of the AS plant and the hydraulic retention time of the anaerobic digesters, which is why the R tool is able to estimate their values from the observed solids and COD reduction.
As shown in Figure 9, all of the soluble biodegradable COD is consumed while the unbiodegradable soluble fraction mostly exits in the effluent. The bulk of the biodegradable influent particulate is fed to the anaerobic digester in the primary sludge and consumed while the unbiodegradable influent particulate plus some unbiodegradable residue of biomass endogenous respiration ends up in the sludge cake. The biodegradable particulate fraction of the DAF sludge consists of biomass (OHOs) rather than influent organics but makes up only 43% of the COD compared to 68% in the influent.
Particulate COD in the effluent is a small fraction of the total COD balance in Figure 9 but makes up 53% of the secondary effluent COD. This was due to the accumulation of solids in the reactor as a result of the long solids retention time leading to the overloading of the secondary clarifiers.
CONCLUSIONS
We have developed a modelling tool which estimates COD fractionation and other mass balance parameters from plant data using a simplified steady state model of a WWTP. This can greatly facilitate setting up models of treatment plants using routine monitoring data even when some critical operating data, such as the sludge wasting rate, is missing or unreliable. While not all the fractionation parameters investigated were identifiable from the available data in this case study, the results of the significance analysis pointed to practical ways in which data collection could be improved to provide data that is useful for modelling, process optimization and design. Thus, for kwaMashu, it was concluded that all the parameters investigated would likely have been identifiable if the sludge wasting rate records had been available and the routine plant measurements had been augmented by some measurements of filtered raw COD, settled wastewater ISS and/or the IS of the primary, digested or waste activated sludge, as detailed in the discussion. The influent fractionation and calibrated plant model of kwaMashu WWTP will be used by the eThekwini municipality as a benchmark against which the current plant performance is evaluated, and in the design of the proposed upgrade.
ACKNOWLEDGEMENTS
This research was funded by the DANIDA fellowship center through the project ‘Evaluation of Resource Recovery Alternatives in South African Water Treatment Systems (ERASE)’ (Contract-No: 18-M09-DTU) and by eThekwini Water and Sanitation.
SOFTWARE AVAILABILITY
The probabilistic influent fractionator code and the R implementation of the simplified steady state WWTP model is available on request. To express interest please contact Chris ([email protected]) and Barbara Brouckaert ([email protected]) at the WASH R&D Centre at the University of KwaZulu Natal (South Africa).
DATA AVAILABILITY STATEMENT
Data cannot be made publicly available; readers should contact the corresponding author for details.
CONFLICT OF INTEREST
The authors declare there is no conflict.