Anna S.
Laino
*a,
Ben
Wooding
b,
Sadegh
Soudjani
c and
Russell J.
Davenport
a
aSchool of Engineering, Newcastle University, Newcastle upon Tyne, NE1 7RU, UK. E-mail: a.s.laino2@newcastle.ac.uk
bSchool of Computing, Newcastle University, Newcastle upon Tyne, NE4 5TG, UK
cMax Planck Institute for Software Systems, Kaiserslautern, Germany
First published on 31st October 2024
This study develops quantifiable metrics to describe the resilience of Water Resource Recovery Facilities (WRRFs) under extreme stress events, including those posed by long-term challenges such as climate change and population growth. Resilience is the ability of the WRRFs to withstand adverse events while maintaining compliance or an operational level of service. Existing studies lack standardised resilience measurement methods. In this paper, we propose a resilience metric based on signal temporal logic (STL) to describe acceptable functionality of the WRRFs (e.g. meeting regulatory limits). By using Monte Carlo simulations and scenario optimisation on a model of a WRRF, we determine the maximum stress the WRRF can handle while meeting STL constraints for biochemical oxygen demand (BOD) and chemical oxygen demand (COD) compliance limits. The results are applied to a simple digital model of a facility with 22 components. Importantly, this method can be applied to data that water companies routinely and regularly monitor, and could be incorporated into SCADA systems. In our case studies, we determine threshold stressor values of extreme rainfall that result in a loss of resilience. Our results offer insights into the design of more resilient treatment processes to reduce environmental impacts.
Water impactThe study addresses the absence of a general methodology for quantifying resilience in Water Recovery Resource Facilities (WRRFs). Signal temporal logic is introduced as an adaptable formalism, allowing easy adjustments to compliance regulations without altering the metric in its quantitative significance. The integration of STL specifications in real-time systems could improve WRRF monitoring, fostering resource recovery and safe water recycling. |
Butler et al. (2017)9 define a stressor (a.k.a. threat or disturbance) as any event which has the potential to reduce the degree to which a system delivers a defined level of service. In their work, they developed four threat subcategories: external-chronic, external-acute, internal-chronic and internal-acute. These categories lead to two classifications of threats: chronic stressors and acute stressors. Particularly, acute stressors are sudden and unpredictable.
The Intergovernmental Panel on Climate Change's (IPCC) Sixth Assessment Report (AR6) highlighted that climate change will increase the planet's average temperature by at least 1.5 °C within the next few decades compared to the pre-industrial levels during 1850–1900.10 Climate change is a critical challenge of this century and is classified as either an external-chronic threat or an external-acute threat. Due to climate change, WRRFs are expected to experience more severe stressors more frequently. Climate variability is expected to increase, causing both flooding and prolonged periods of dry weather. These can affect sedimentation dynamics in the sewerage systems and the occurrence of “first flush” pollutant loads.5 Another likely stressor for WRRFs is population growth, which is an external chronic threat. Indeed, the population of the United Kingdom (UK) is predicted to increase by 2.1 million by mid-2030, and is projected to reach 69.2 million over the next decade.8 However, Office for National 63 Statistics (2024)11 forecasted that the UK population might reach 70 million by mid-2026, a decade earlier than previous forecasts made in 2021. Population growth affects the resilience of water supply and WRRF systems, due to ensuing increases in flow rate (hydraulic overloading in the influent) and operational constraints (under performance of the process units in the system).12 WRRFs, whose system designs date back to the early 20th century, show a lack of resilience13 due to ageing infrastructure and their long design lifespans. In the case of unforeseen events such as equipment failures or extreme weather, these issues can be further exacerbated, causing the WRRFs to operate less efficiently and effectively, leading to compliance failures, and impacting the long-term reliability and resilience of such systems. Consequently, they may exhibit poor performance in terms of meeting compliance regulations. This impacts the long-term reliability of the facility, further exacerbating its lack of resilience. WRRFs may experience performance failures when operating outside the parameter ranges they were designed for, these include significant changes to the assumed flows, sewage characteristics, or climate conditions. Therefore, more frequent heavy rain or increases in temperature could significantly affect wastewater infrastructure. Higher rainfall intensity would increase flows through the water collection system, thereby conveying higher levels of pathogens to rivers and diluting organic and nutrient loads to WRRFs, which may compromise their biological processes. Low flows, triggered by drought, also cause issues in WRRFs, such as septicity in pipes and/or increased organic and nutrient concentrations. These events can impact the reliability and operating costs of WRRFs.14
Under future stressors, water supply and WRRF systems may not perform sufficiently to satisfy their service requirements. As a consequence, the environment may suffer serious pollution incidents due to a lack of compliance with treatment standards.5 Understanding how different WRRF processes respond to threats will play a fundamental role in adapting to climate change and an increasing population.15
Sweetapple et al. (2022)16 described a general resilience assessment methodology (GRAM) that decomposes the general resilience of a water system through a middle-state based approach. GRAM takes into account the impact of any threat, whether known or unknown, on a system, provided that all possible failure modes of the system can be identified. For the application of this approach, it is not necessary to have a comprehensive knowledge of the stressors affecting the system. Our approach aligns with the GRAM methodology; however, the currently used performance-based levels of service advocated by Sweetapple et al. (2022),16 are not based on regulatory water quality standards. Furthermore, stress/failure modes are arbitrarily quantified and are not necessarily related to the quantities monitored by water companies (dissolved oxygen and un-ionised ammonia concentrations). Our approach could facilitate the quantitative comparison and analysis of stressors to better understand how to increase the resilience of WRRFs that contribute to increasing the resilience in a WRRF. For instance, it allows for the identification of the maximum threshold value of a stressor (or multiple stressors) at which the WRRF can still comply with regulations. This study aims to introduce a new framework and metric for quantifying resilience as a proof of concept that could be incorporated into GRAM and offer further insights for water companies into managing their WRRFs.
We propose for the first time a new strategy and metric with which to quantify resilience founded on temporal logic reasoning that captures the compliance requirements and incorporates a measure of how long a WRRF can recover, adapt or fail in relation to regulatory water quality standards.
Holling (1973)18 was a pioneer of the resilience concept. His qualitative resilience definition was based on the adaptive capacity of an ecological system. In his definition, an ecological resilient system was considered to be able, under dynamic conditions, to absorb disturbances or shocks, and to change a previously stable state into a new stable one. This was possible by changing a system's structure while maintaining its functionalities. DeAngelis (1980)19 also investigated resilience for ecosystems and he defined resilience as “the speed with which a system returns to equilibrium state following a perturbation”. After the work of Holling (1973),18 successive research has focused on developing resilience metrics for various fields.
Considering ecosystems, Holling (1973)18 explained that the development of resilience metric(s) would require deep and comprehensive knowledge about ecological systems, which was often difficult to attain. Resilience in the context of engineering systems took on a new meaning after further developments by Holling (1996).20 The design of engineering systems are expected to provide reliability, the capability to swiftly cope with disturbances and to ensure rapid recovery to normal operating conditions. However, achieving all these aspects is not always feasible due to various factors. Older systems may lack redundancy in their equipment, and a shortage of funding to improve facility operations, including investments in well-trained personnel. The inherent complexity of modern engineering systems can also pose challenges to implementing robust resilience measures. Furthermore, while engineering systems endeavour to cope with most disturbances, the severity and nature of certain events may result in prolonged recovery times, despite best efforts. Therefore, while the aspiration is for engineering systems to rapidly recover from disturbances, achieving this goal may not be universally attainable in practice. What emerges from Holling's work is that the distinction between engineering systems and ecological systems: engineering systems require human intervention to return to their original steady state after a perturbation occurs. WRRFs employing biological processes, are therefore considered hybrid systems as their behaviour is somewhere between ecological and engineering systems. Various definitions of resilience for WRRFs can be found in the literature, but there is no universal resilience metric (qualitative and/or quantitative) that can be applied across all scenarios.
Reliability is associated to the probability of successful operation of the system,21 or equally the probability of being in a non-failed state.22
Niku et al. (1979)23 defined reliability as “the ability to perform the specified requirements free from failure” or “the probability of adequate performance for at least a specified period of time under specified conditions”. In their paper, the authors analysed the concentrations of BOD and the suspended solids (SS) in 37 WRRFs to determine a probabilistic model to predict achievable concentrations for BOD and SS. Butler et al. (2014)22 developed the Safe and SuRe framework for urban water management, stating that systems in this century must be safe, synonymous with reliable, and also resilient, with a strong link to sustainability. They defined resilience as the “degree to which the system minimises level of service failure magnitude and duration over its design life when subject to exceptional conditions”. In this definition, resilience is associated with the performance response of a system following an unexpected event which might lead it to fail the designed level of service. These authors recognised the lack of a general method, and therefore further developed and improved this framework as a set of guidelines.9 Resilience has been generally and simply defined as the capacity of a system to “bounce back”.24–26
Sweetapple et al. (2019)27 analysed the link between resilience and sustainability; where increases in resilience may provide improvements in sustainability. Sustainability is a normative concept, referring to physical and institutional practices which meet the needs of the present without compromising the ability of future generations to meet their needs.
The work by Francis and Bekera (2014)32 provides a resilience assessment framework, which was the first to include the engagement of the stakeholders and a metric for evaluating resilience under deep uncertainty. The resilience metrics are performance based and take into account the speed of recovery after a performance loss. Another approach for quantitative metrics is to consider the performance of the wastewater system under multiple threats. Example resilience metrics include: the efficiency of removal of pollutant concentrations in final effluent, the speed of recovery of the system after a disruption, or the reliability of the system.
Weirich et al. (2015)33 used a general linear model for post hoc statistical analysis of performance, resilience, and stability of secondary WRRFs over 41 months. They demonstrated that WRRFs which failed in the past had a statistically increased likelihood of failing again. In the literature, resilience metrics are associated to a risk analysis for a specific scenario30 and often on specific unit processes within a system. By considering a system, all possible stressors, and their probability of occurrence, the resilience metric will contain all the parameters that play a role in affecting resilience. In literature, resilience has been described through the change in performance or function over time. Cuppens et al. (2012)34 addressed resilience as a performance indicator for a system under disturbance. The authors highlighted the importance of simulating a dynamic disturbance for better analysis. Similarly, Mugume et al. (2014)35 focused on quantifying resilience for urban drainage systems for flooding. In particular, their resilience metric assesses the remaining functionality of the system at different levels of link failure by combining both the failure's scale and duration into a single measurement. Following their previous study, Mugume et al. (2015)36 applied and extended the global resilience analysis (GRA) methodology to a urban drainage system measuring a new resilience index combining the failure magnitude and the duration. GRA considers the system performance when it is under various stressors. Using a case study, they developed a metric to quantify the system residual functionality under various failure scenarios. The resilience index connects the resulting loss of functionality to the system's remaining functionality, which indicates the level of resilience at various levels of link failure. The authors define the severity as the reduction in system functionality. Severity is characterised by the highest degree of failure magnitude (peak severity) and the duration of the failure.
Holloway et al. (2021)13 defined “dynamic resilience” of the biological components in a WRRF. They decoupled stressor events (cause) from process stress (effect) to track the system deviation from normal conditions. The authors used Monte Carlo simulations to compute the probability of failure and then scaled the outputs to show, using a traffic light system, where the biological system stands under certain conditions of stress. This approach shows potential, but success for implementation on other WRRFs requires a large number of samples and data.
One method for broadly evaluating resilience in water systems is failure modes and effects analysis (FMEA). This is a proactive method to identify potential failure modes in a system, and it can help discriminate between them, ranking the severity of each failure, or help discriminate the probability of the occurrence of these various failures. Similar to the FMEA approach,37 GRAM is beneficial in identifying system failure modes, and to plan interventions to make the system more resilient to unforeseen threats in a quantifiable way. For the application of this approach, it is not necessary to have a comprehensive knowledge of the stressors affecting the system.
Xue et al. (2015)38 posed resilience as the core evaluation of a sustainable system and highlighted non-standardisation of resilience assessments/metrics. The resilience assessment highlighted the importance of focusing on the future changes and challenges that can affect the correct operation of the WRRFs. Similarly, Schoen et al. (2015)39 defined resilience as the “ability to prepare for and adapt to changing conditions and withstand and recover rapidly from disruption”. Furthermore, Cuppens et al. (2012)34 defined robustness as the ability of a WRRF to withstand a disturbance without decreasing the performance.
In this paper, we consider the notion of robustness as how close the system is to compliance failure under normal operations. Robustness is commonly mistaken for resilience, and is a measure of the strength of a system. Whereas, resilience is a measure of the flexibility, adaptability, and agility of a system to withstand a stressor without failing the compliance limits, or to recover quickly after a compliance failure. Additionally, resilience is enclosed in the system's operation through controls, while robustness is a property which is embedded in the system's design.31
Water quality monitoring in the UK has been governed by regulatory bodies such as the Environment Agency in England, Scottish Environment Protection Agency in Scotland, Natural Resources Body for Wales, and the Department of Agriculture, Environment, and Rural Affairs in Northern Ireland.
The regulations behind compliance limits are an intricate system divided in two main parts: common regulations for sites with a population equivalent or greater than 2000, and site-specific regulations for a given WRRF. The WRRFs must be compliant under Urban Waste Water Treatment (England and Wales) Regulations 1994 (UWWTR), which implements the European Union Urban Waste Water Treatment Directive (91/271/EEC), and the operator self-monitoring (OSM) environmental permits. Fig. 1 shows the compliance regulations as a logic diagram. It shows a complete flowchart for UWWTR which are the compliance constraints that are not site specific but apply to all sites with a population of 2000 or greater. Furthermore, it shows the different levels of failure for a given parameter.
The compliance regulations of UWWTR for a WRRF put restrictions on BOD, COD, nitrogen (N) and phosphorus (P). In the following we will analyse COD and BOD, while N and P will be addressed in future work. When the WRRF is under the influence of stressors, it is expected to return to normal operation eventually. Normal operation is judged as satisfaction of the compliance requirements set by the UWWTR, see Fig. 1. In this first development of this framework, we consider only a subset of the logic diagram for the compliance regulations on WRRFs as presented in Fig. 2.
Firstly, we will write the compliance constraints as logical statements. A logical statement can be true or false. It is constructed as a hypothesis which has a precondition followed by a conclusion, where the conclusion is the key part to infer if the hypothesis is true. The following logical statements have been written using the threshold values from the look-up table compliance limits for BOD and COD45 following the guidelines of the UWWTR. The logical statements to check compliance against the UWWTR in Fig. 2 over time are:
• BOD concentration under the lower tier BODLT = 25 mg l−1 O2 or the minimum percentage of reduction BOD% must above 70%;†
• BOD concentration always under the upper tier BODUT = 50 mg l−1 O2;
• COD concentration under the lower tier CODLT = 125 mg l−1 O2 or the minimum percentage of reduction COD% must be above 75%;
• COD concentration always under the COD upper tier CODUT = 250 mg l−1 O2.
We now write these logical statements as STL formulae. The definition and syntax of STL formulae can be found in Appendix A and Appendix B. We denote BOD influent concentrations as x1i(t), COD influent concentrations as x2i(t), BOD effluent concentrations as y1i(t), and COD effluent concentrations as y2i(t). The concentrations are change over time t, and i is the index for the concentration, which changes in some range [0, n] where n ∈ , and
is the set of natural numbers including zero.
Furthermore, the STL specification of the compliance regulations for BOD and COD is denoted by ψ. The symbol is read as “is defined to be equal to”. Subscript % denotes the minimum percentage of reduction. The symbol □ is a temporal operator used in STL to mean “always”. The logical operators ∧ and
mean respectively “and” and “or”, and [a, b] is the interval of time considered for the simulation.
ψBOD = ψBOD1 ∧ ψBOD2. |
ψCOD = ψCOD1 ∧ ψCOD2. |
The major advantage of the STL formalism is its adaptability. The specifications can be easily changed if the compliance regulations change, e.g. the thresholds for the upper or lower tier or the percentage of reduction values, yet the metric and its quantitative significance would remain unchanged. The behaviour of the system can then be checked against the STL specification to see if the system is operating as expected and how close the system is to failure. In this study, satisfaction of the STL specification represents the satisfaction of regulatory requirements and other expected recovery behaviour under stressors. The STL formula used for the specification defines how resilient the system is, at any point in time against any given stressor or multiple stressors. In this study, we introduce a comprehensive framework for water companies, encompassing various applications. This framework enhances the resilience monitoring of WRRFs by refining compliance assessments through routine data checks, including parameters such as BOD and COD. Notably, our approach involves running continuous dynamic simulations in GPS-X Hatch with a specific time step, allowing for a comprehensive evaluation of overall system robustness. Importantly, it is worth noting that our framework can be applied equally to both continuous and composite data, with the different approaches not impacting the validity of the framework.
The WRRF serves a population equivalent to 574000 and can treat a capacity of flow-to-full treatment (FFT) of 7.59 m3 s−1. It is an activated sludge plant (ASP) and discharges final effluent to an estuary. Scottish Water provided the data used to calibrate and validate the model following the IWA good modelling practice (GMP) protocol.46 The calibration of the mechanistic model was carried out over the period November and December 2021 (60 days of dynamic simulation). We identified a period where the WRRF was working under stable conditions. A parameter that we used to determine stable operation over the year was the MLSS (mixed liquor suspended solids).
Firstly, we performed a steady state calibration followed by a dynamic simulation to verify the fit with real data. Although the calibration of a real plant is important for referencing to a real world application, the accuracy involves many variables. Our framework maintains its conceptual integrity regardless of the specific data it encounters. We provide detailed information about the calibration of the COD effluent in the Appendix C.
We used the stress–strain methodology which was developed in solid mechanics to study the behaviour (strain) of solid materials under a load (stress). The stressors are applied, with varying the magnitude and the duration, to establish a range of strain profiles.
We use GPS-X to test resilience scenarios by introducing stressors, especially for random and unexpected events, into the model and analysing the model strain outputs. The strain is linked with the final effluent concentrations to verify if the WRRF is compliant for a given scenario. Resilience is quantified by metrics that track the baseline position of the concentrations and report them against set targets over time.
Note that the Monte Carlo simulation is used to provide an approximate solution for the optimisation in the definition of resilience. There is no error attached to these computations, and we only have convergence results: when the number of simulations goes to infinity, the computed value will converge to the optimal value. We have done 1000 simulations and performed curve fitting to get the approximate solution for the optimisation (cf.Fig. 10).
After computing the robustness of the system, we applied a stressor to test resilience and determine the maximum magnitude at which the system returns to normal operation.
Fig. 4 shows the layout of the WRRF after applying a stressor.
The robustness Rob(ψ) can be computed recursively using the structure of ψ and the definitions in Appendix B. We have that if yψ then Rob(ψ) ≥ 0.
![]() | (1) |
The robustness definition for the subset of the logic diagram in Fig. 2 has been implemented in GPS-X using:
cBOD = min[(BODUT − y1i(t)), max[(BODLT − y1i(t)), −(BOD% × x1i(t)) + x1i(t) − y1i(t)]]. | (2) |
cCOD = min[(CODUT − y2i(t)), max[(CODLT − y2i(t)), −(COD% × x2i(t)) + x2i(t) − y2i(t)]]. | (3) |
By using a linear mapping on BOD and COD, we can compare and quantify the robustness Rob(ψ) of the system directly over the same range [0, 1]. The mapping fi takes the following form:
Eqn (1) can also be written as:
Rob(ψ) = Rob{cBOD ∧ cCOD} = min[cBOD(t), cCOD(t)]. | (4) |
Rob(ψ) represents the robustness of the system considering the analysis on both BOD and COD, see Fig. 6. Eqn (2) and (3) within the framework's mathematical structure indicate when the system comes close to failing the required BOD and COD standards for the UWWTR. Rob(ψ) is therefore dimensionless. A lower Rob(ψ) denotes that the system is close to the threshold values of the compliance regulations. A negative value means that the system has already passed the compliance threshold, and consequently we can assume that the system is not working under normal design operation.
After identifying Rob(ψ), following the structure in Appendix B for the STL specifications, we applied an inverse transformation to revert the changes. This will allow us to have a quantification of the parameter c in Eqn (1), as shown in Fig. 7. In Fig. 7 the red marker “×” indicates the day when the lowest Rob(ψ) occurs. The magnitude showed next to the marker “×” is meaningful value for quantifying the robustness of the plant. It could be used by water companies to rank their WRRFs, including prioritising them for interventions to avoid compliance failures.
![]() | (5) |
Example of the specification ϕ includes the following: if the effluent concentrations y under the stressors go above a certain threshold yrec, then y should go below this threshold within time interval [0, T]. This is denoted by the specification
![]() | (6) |
Res(ψ, ϕ) can be used to determine the maximum threshold stressor value that ensures the effluent concentrations still meet the compliance and recovery requirements.
Fig. 8 shows two systems under the same stressor. System 1 is resilient as it recovers from the stressor when Δt ≤ T, while system 2 is not resilient since its output does not fall below the threshold line yrec. Our definition changes the perspective by specifying the set of acceptable recovery behaviours by ϕ as e.g. in Eqn (6) and then comparing different systems with respect to the maximum stressor they can tolerate while showing an acceptable recovery behaviour. Fig. 9 illustrates the recovery behaviours of three systems, which are acceptable according to ϕ if the times Δt1, Δt2, Δt3 are less than the specified threshold T. System 1 (blue) recovers within Δt1, system 2 (orange) recovers within Δt2, and system 3 (grey) recovers within Δt3.
![]() | ||
Fig. 8 Examples of responses of two systems under a stressor. System 1 (magenta) is resilient recovering within time Δt ≤ T. System 2 (blue) is not resilient as it does not recover at any time. |
![]() | ||
Fig. 9 Recovery behaviours of three systems under stressors. Systems exhibit acceptable recovery behaviours when the times Δt1, Δt2, Δt3 ≤ T. |
The optimisation in Eqn (5) for the computation of resilience becomes a multi-objective optimisation when the set of stressors has more than one parameter. In the next section, we discuss how to do the computation when the set of stressors can be characterised with only one parameter.
The rainfall intensity (mm h−1) threshold value to apply at the inlet for having Res(ψ, ϕ) = 0 is approximately 1.86 mm h−1. For values above this threshold, the system starts to fail the compliance regulations. This threshold is the resilience metric defined in Eqn (5). Given the critical failure threshold at 1.86 mm h−1 and the testing range extending from 0 to 10 mm h−1, it appears that the system exhibits limited resilience, particularly in light of the observed challenges at the lower end of the spectrum.
We performed an analysis of rainfall data for the November–December 2021 period. The data revealed notable peaks reaching up to 25 mm d−1 with average daily rainfall during this period being 2.19 mm d−1. Since our resilience metric is targeting the behaviour of the system under extreme events, multiple simulations should be obtained under different stressors to find a suitable range for rainfall densities that make the system violate the compliance (and potentially other recovery) requirements. This range is not necessarily associated with datasets that contains data points being observed under normal circumstances, but it is associated with data points that are rare and can be observed with very small probability (i.e., extreme events that has happened a few times in the life cycle of the system50). In our model, the system exhibited signs of violating compliance requirement beyond a threshold of 1.86 mm h−1. Given the observed limitations of the system and the desire to understand its behaviours under more extreme conditions, we opted to push the simulation by introducing higher rainfall intensities. This deliberate choice aims to stress-test the system and compute our resilience metric.
• STL specifications can help track the behaviour over time of WRRFs and identify via effluent concentrations if there is a lack of resilience in the facility in order to plan interventions. The STL specification describes the compliance requirements using an easy to check logical syntax.
• Resilience is a system specific metric, so failure modes of a wastewater facility are an intrinsic characteristic of that system. Resilience analysis for specific threats can help identify the resilience threshold values in order to avoid compliance failure.
• The recovery time T after a failure is not set by the water companies. If set, it can help the water companies better understand the resilience of their facilities.
• This framework enables water companies to better monitor their WRRF's resilience by improving how water companies check compliance using the data that they routinely and regularly collect for facilities under their management.
• Analysis of the robustness of the WRRF can help the water companies understand how the system is operating, in terms of meeting compliance, under normal operating conditions. Then, a comprehensive study of stressors affecting the WRRF can help identify potential vulnerabilities.
• A real-time controller in Supervisory Control and Data Acquisition (SCADA) systems with implemented STL specifications can enhance the monitoring of WRRFs leading to better resource management. Resilient processes lead to more reliable facilities that enable the recovery of more nutrients, energy, and other resources, while recycling water safely to the environment.
The proposed metric provides a unified way of assessing resilience quantitatively. It will also be possible to use the resilience values for comparing resilience of different plants. For instance, water companies invest more in monitoring and maintenance of bigger WRRFs. It will allow hypothesis testing for general resilience of bigger WRRFs compared with smaller ones. Furthermore, their redundancies are generally higher; having spare components to overcome failures in case of unexpected threats. Small WRRFs are sampled less frequently and, as a consequence, if a failure happened it is impossible to estimate the recovery time just by looking at samples taken at specific time point. Therefore, real-time monitoring of resilience embedded in the SCADA system, or in a digital twin of a facility, could help water companies visualise if the WRRF meets the STL specification, and so prioritise interventions that enhance the resilience of their WRFFs.
A trajectory ξ satisfies a specification ψ, denoted by , if
. Moreover, other operators can be defined as follows:
The horizon of an STL formula is defined by the len(ψ) which the maximum threshold value of an interval, which is also the length of the interval where the satisfaction of is studied.
ρT(ξ, t) = + ∞, |
ρμ(ξ, t) = α(ξ(t)) where μ(ξ(t)) = T if α(ξ(t)) ≥ 0, |
ρψ∧ϕ(ξ, t) = min(ρψ(ξ, t), ρϕ(ξ, t)), |
![]() | ||
Fig. 11 Effluent concentrations of COD effluent concentration (mg l−1). The continuous red line is the modelled COD effluent concentration and the red diamonds are the measured composite data. |
Fig. 12 shows the COD effluent during one of the Monte Carlo simulations under a stressor.
• BODUT = 50, BODLT = 25; |
• CODUT = 250, CODLT = 125. |
Then the linear mapping is applied to upper tier and lower tier for BOD and COD:
• % reductionBOD = 0.7 |
• % reductionCOD = 0.75. |
• UTBOD(t) = UTnormBOD − linBODe(t) |
• LTBOD(t) = LTnormBOD − linBODe(t) |
• BODp(t) = −(% reductionBOD × linBODi(t)) + linBODi(t) − linBODe(t) |
• max1(t) = maximum(LTBOD(t), BODp(t)) |
• cBOD(t) = minimum(max1(t), UTBOD(t)) |
• UTCOD(t) = UTnormCOD − linCODe(t) |
• LTCOD(t) = LTnormCOD − linCODe(t) |
• CODp(t) = −(% reductionCOD(t) × linCODi(t)) + linCODi(t) − linCODe(t) |
• max2 = maximum(LTCOD(t), CODp(t)) |
• cCOD(t) = minimum(max2(t), UTCOD(t)) |
• c(t) = minimum(cBOD(t), cCOD(t)). |
Footnote |
† For some facilities this could be up to 90%. |
This journal is © The Royal Society of Chemistry 2025 |