Figure 10: Circuit for the test set-up in Smart Water Lab
containing a consumer station, a pipe station, a sewer station
and a pumping station.
stant flow to the buffer tank. An MPC minimizing the
performance function equation 24 is implemented in
the laboratory by use of YALMIP (M.C. Grant and
Stephen, 2014), (Lofberg, 2014). It aims to minimize
the variations of the inlet flow to the sewer station.
The result can be seen in Fig. 11. The measurement
of the controlled flow (blue) has poor resolution, a fil-
tered version is the red curve. It is seen that the con-
trolled inlet flow has a lower variance than the original
uncontrolled flow (yellow).
Figure 11: Comparison of uncontrolled (yellow) and con-
trolled (blue and red) inlet to the sewer station.
The laboratory test shows that a buffer tank in
combination with an MPC algorithm can reduce the
variations in the inlet flow to the WWTP.
7 CONCLUSION
Typical inlet to a WWTP consists of periodic house-
hold flow and industrial flow. A control system for
minimization of flow variations to a WWTP using
a buffer tank for the industrial flow has been con-
structed. The controller is based on two models, one
model describing the flow variations from the buffer
tank to the WWTP and one describing the household
flow. The flow from the buffer tank to the WWTP is
described by the Saint-Venant equations. Under linear
assumptions it is shown that the flow model results in
a time delay. The model for the household flow uses
an autonomous description. The two models are in-
serted in a MPC with a performance that minimize
the flow variations. A lab set-up shows that the con-
trol concept is able to minimize the variance of the
mentioned flow.
REFERENCES
Aastrom, K. J. and Haegglund, T. (2006). Avanced PID
contro l. ISA.
Andersen, P. (1977). Optimering af driftsbetingelser for
spildevandsanlæg gennem automatisering. Aalborg
University, Denamrk.
Crossley, A. J. (1999). C, Accurate and efficient numeri-
cal solutions for the Saint Venant equations of open
channel flow. University of Nothingham.
DHI (2017). Wats-wastewater aeronoc/anaerobic transfor-
mation in sewers, mike eco lab template. In Scientific
Description. MIKE.
frese.dk (2018). https://www.frse.dk/Fredericia-
spildevand.aspx. urldate: 2018-10-03.
Kalman, R. E. (1960). A new approach to linear filtering
and prediction problems,Journal of basic Engineering
vol2, nr1, p 35-45. American Society of Mechanical
Engineers.
Kuo, F. F. (1966). Network analysis and synthesis. John
Wiley and Sons.
Lofberg, J. (2014). A toolbox for modeling and optimiza-
tion in MATLAB. CACSD Conference, vol.3, Taipei,
Taiwan.
Maciejowski, J. M. (2002). Predictive control: with con-
straints. Pearson education.
Marinaki, M. and Papageorgiou, M. (2005). Optimal real-
time control of sewer networks. Springer Science &
Business Media.
M.C. Grant, S. B. and Stephen, P. (2014). The
CVX Users Guide, Release 2.1. URL http://cvxr.
com/cvx/doc/CVX.
Mestre, L. S. and Murugesan, P. K. (2019). Laboratory Em-
ulation and Control of a Sewer System with Storage,
Master Thesis, Control and Automation, Aalborg Uni-
versity. Aalborg University, Denmark.
Michelsen, H. (1976). Ikke-stationær strømning i
delvis fyldte kloakledninger: en dimensioneringsme-
tode og en analysemetode. Afdelingen for Jord-
og Vandbygning, Den kgl. Veterinaer-og Landboho-
jskole,Denmark.
Ocampo-Martinez, C. (2005). Model predictive control of
wastewater systems. Springer Science & Business
Media, 2.
Overloop, P. J. V. (2006). Model predictive control on open
water systems. IOS Press.
Pilgaard, T. H. and Pedersen, J. N. (2018). Model Predictive
Control of a Sewer System, Master Thesis, Control
Control of Sewer Flow using a Buffer Tank
69