Conference PaperPDF Available

Plant wide chemical water stability modelling with PHREEQC for drinking water treatment

Authors:

Abstract and Figures

In practice, drinking water technologists use simplified calculation methods for aquatic chemistry calculations. Recently, the database stimela.dat is developed especially for aquatic chemistry for drinking water treatment processes. The database is used in PHREEQC, the standard in geohydrology for calculating chemical equilibria in groundwater. The development of a graphical user interface for PHREEQC in Microsoft Excel has made it possible to easily incorporate complicated chemical calculations for use by technologists of drinking water treatment plants. By making use of PHREEQC the calculations performed are more accurate because of inclusion of ionic strength, ion pairs and most recent determined chemical equilibrium constants. Due to this development it is possible to for instance validation of laboratory measurements and on-line sensors. The use of PHREEQC is demonstrated in a simulation of the chemical water stability at drinking water treatment plant Weesperkarspel of Waternet.
Content may be subject to copyright.
Plant wide chemical water stability modelling with PHREEQC for
drinking water treatment
A.W.C. van der Helm*/**, O.J.I. Kramer*, J.F.M. Hooft* and P.J. de Moel***/**
* Waternet, PO Box 94370, 1090 GJ, Amsterdam, the Netherlands
(E-mail: alex.van.der.helm@waternet.nl, Tel: +31 6 5248 0203)
** Delft University of Technology, Faculty of Civil Engineering and Geosciences, Department of Water
Management, PO Box 5048, 2600 GA, Delft, the Netherlands
*** Omnisys, Eiberlaan 23, 3871 TG, Hoevelaken, the Netherlands
Abstract
In practice, drinking water technologists use simplified calculation methods for aquatic chemistry
calculations. Recently, the database stimela.dat is developed especially for aquatic chemistry for
drinking water treatment processes. The database is used in PHREEQC, the standard in geohydrology
for calculating chemical equilibria in groundwater. The development of a graphical user interface for
PHREEQC in Microsoft Excel has made it possible to easily incorporate complicated chemical
calculations for use by technologists of drinking water treatment plants. By making use of PHREEQC
the calculations performed are more accurate because of inclusion of ionic strength, ion pairs and most
recent determined chemical equilibrium constants. Due to this development it is possible to for instance
validation of laboratory measurements and on-line sensors. The use of PHREEQC is demonstrated in a
simulation of the chemical water stability at drinking water treatment plant Weesperkarspel of
Waternet.
Keywords
Chemical equilibrium; drinking water treatment; modelling; phreeqc; stimela
INTRODUCTION
PHREEQC (USGS, 2014) has become the ‘de facto’ standard in geohydrology for
calculating chemical equilibria in groundwater. It is developed by the US Geological
Survey (USGS), starting in 1980 with regular updates and extensions to date. Major
aspects contributed to its success are:
scientific base, fully traceable;
adapted to newest scientific knowledge;
users can modify and extend the basics;
freely available;
availability of an MS COM module for communication with e.g. MS Excel.
Recently de Moel et al. (2014) developed the stimela.dat database for PHREEQC
which is specifically designed for water treatment. The stimela.dat database is based
on the phreeqc.dat database (de Moel et al., 2013) that is available in PHREEQC.
Adaptation of the phreeqc.dat database is necessary because, on the contrary to
geochemistry, in water treatment processes thermodynamic equilibrium of all redox
reactions cannot be assumed. Therefore, inert elements are defined for a number of
parameters such as:
non N(+5) oxidation states of nitrogen, with species NH4+, N2 and NO2-;
typical anaerobic groundwater species, such as Fe2+, Mn2+ and NH4+;
all anaerobic gases such as CH4, H2S, NH3 (already implemented in PHREEQC
version 3).
Waternet, the water cycle utility of Amsterdam and surrounding areas in the
Netherlands, is adopting the use of stimela.dat in PHREEQC in their operation
through the use of a Microsoft Excel user interface with PHREEQC. This paper
describes the use of stimela.dat through Excel for calculation of chemical stability in
drinking water treatment.
MATERIALS AND METHODS
Data is used from the Loenderveen-Weesperkarspel drinking water treatment, see
Figure 1. The pre-treatment Loenderveen consists of an intake of seepage water from
the Bethune polder and a consecutive treatment of coagulation and sedimentation,
self-purification in a lake-water reservoir and rapid sand filtration. The pre-treated
water is transported over 14 kilometers to the Weesperkarspel treatment plant without
chlorination. The first process at the treatment plant Weesperkarspel is ozonation for
disinfection purpose and oxidation of organic matter. Thereafter, pellet reactors are
used to reduce hardness (softening) and biological activated carbon filtration is
applied to remove natural organic matter and organic micro-pollutants. The last step
in the treatment is slow sand filtration. The drinking water is transported and
distributed without residual chlorine.
Figure 1 Process scheme of drinking water treatment plant Loenderveen-Weesperkarspel of Waternet
In the model, the water from the lake-water reservoir, with a detention time of about
100 days, is used as influent. The used laboratory measurements are temperature, pH,
calcium, magnesium, alkalinity, ammonium, natrium, kalium, ferric iron, chloride,
sulfate, nitrate, phosphae, oxygen, silica and total organic carbon. In Table 1 an
overview is given of the relevant chemical reactions within the treatment plants. All
these chemical reactions are defined within the PHREEQC/Stimela database, as
equilibrium reactions with all related equilibrium constants and compound
characteristics.
Table 1 Chemical reactions included in the PHREEQC/Stimela water treatment model
Process
Item
Reaction
pH control
HCl-dosing
HCO3- + H+ + Cl- -- > CO2 + H2O + Cl-
Filtration
NH4-oxidation
NH4+ + 2 O2 + 2 HCO3- -- > NO3- + 2 CO2 + 3 H2O
Ozone
O3-reduction
2 O3 -- > 3 O2
Softening
NaOH-dosing
CO2 + OH- + Na+ -- > HCO3- + Na+
NaOH-dosing
HCO3- + OH- + Na+ -- > CO32- + Na+
CaCO3-crystallization
Ca2+ + CO32- -- > CaCO3(s)
pH control
HCl-dosing
CO32- + H+ + Cl- -- > HCO3- + Cl-
AC filtration
DOC-oxidation
CH2O + O2 -- > CO2 + H2O
pH control
NaOH-dosing
CO2 + OH- + Na+ -- > HCO3- + Na+
O2 control
O2-dosing
O2 -- > O2
SS filtration
DOC-oxidation
CH2O + O2 -- > CO2 + H2O
The input file for the model only defines the quantity of dosed chemicals or the
quantity of the converted compounds. In this case the operation of the plant is
simulated for the caustic soda and hydrochloric acid dosages at Loenderveen and
Weesperkarspel based on the set-points used in the plants for the calcium carbonate
saturation index (SI) and total hardness (TH) after pellet softening. The calculated
dosages are obtained within the model by iterative calculations, by specific algorithms
or by ‘normal’ functionality of PHREEQC.
The output of the model is fully in compliance with all related equilibria as defined
within the chemical database. The model calculates the content of all compounds,
after each treatment step, as well as typical calculated values for e.g. pH, SI and
electrical conductivity.
The model set-up allows for the incorporation of non-chemical compounds such as
turbidity and UV-extinction. In this particular model these non-chemical compounds
were not included, as the prime goal for this model was the prediction of acid and
base dosing levels.
The computer program PHREEQC version 3.1.4 (phreeqci-3.1.4-8929.msi) was
used to solve the mathematical equations which are generated from the chemical
database stimela.dat and an input file (.pqi), both adjustable by the user (Parkhurst and
Appelo, 2013). For use of PHREEQC through Excel the communication module
version 3.0.6 (IPhreeqcCOM-3.1.4-8929-win32.msi) was used.
RESULTS
In Figure 2 the TH and the SI of the influent and the set-points in the plants are
shown, as well as the calculations results for the acid and base dosages to meet the
set-points. These are the results of the dataset of one day as they are presented in MS
Excel and calculated with PHREEQC. In Figure 3 the calculation results for 4 years
are shown.
Winning Waterleidingplas Loenderveen Weesperkarspel Drinkwater
1 2 3 4 5 6 7 8 9
Tijdstip 2009 13-Jan 12:00 13:57 17:04 17:09 17:09 17:09 18:08 18:09 3:03
Flow m3/week 473.944 464.465 464.465 464.465 464.465 464.465 463.443 463.443 458.809
m3/h 2.821 2.765 2.765 2.765 2.765 2.765 2.759 2.759 -
Waterkwaliteit
Totale ha rdheid mmol/l 2,27 2,27 2,27 1,49 1,49 1,49 1,49 1,49 1,49
SI 0,39 0,14 0,14 0,79 0,79 -0,05 -0,24 0,35 0,31
Dosering
Werkzame stof HCl NaOH HCl NaOH
Streefwaarde (setpoints) SI 0,35 TH 1,49 SI -0,05 SI 0,35
Hoeveelheid mmol/kgw 0,000 0,14 1,049 1,49 0,189 -0,05 0,175 0,35 0,31
Verbruik
Online kwaliteitsmetingen mmol/ kgw 0,000 1,05 0,189 0,175
Debiet doseerpompen l/h 0,0 50,9 8,3 8,5
Verbruik kg/week (100%) 0 19.485 3.205 3.242
Beschikbare voorraad dagen -85325,6 2,5 8,7 2,5 Totaal
Verbruikskosten € 0,01 / m3 0,00 1,47 0,36 0,24 2,10
/week 0 6.820 1.690 1.135 9.645
-01
00
01
01
02
01
02
02
03
Run PHREEQC
Figure 2 Simulation results for chemical dosages at drinking water treatment plant Weesperkarspel for
January 13th 2009
Figure 3 Simulated chemical dosages based on Phreeqc modelling
CONCLUSIONS
The development of a graphical user interface in Excel has made it possible to
incorporate complicated chemical calculations in daily operation of drinking water
production for technologists. By using PHREEQC the calculations performed are
more accurate, because effects of ionic strength and ion pairs are included and most
recent determined chemical equilibrium constants are used. Furthermore the dosing of
chemicals with regard to the calcium carbonate saturation can be optimised. Important
for practice of technologists is the availability of a tool that can work with data arrays
instead of for instance average year values. This gives better insight in the processes
and leads to better decisions by process technologists.
REFERENCES
de Moel, P. J., van der Helm, A.W.C., van Rijn, M., van Dijk, J.C. and van der Meer, W.G.J. (2013).
Assessment of calculation methods for calcium carbonate saturation in drinking water for DIN
38404-10 compliance. Drink. Water Eng. Sci. Discuss., 6, 167198.
de Moel, P. J., van Dijk, J. C., and van der Meer, W. G. J. (2014). Aquatic chemistry for engineers,
Volume 1, Starting with PHREEQC 3. Delft University of Technology, Delft, the Netherlands.
Parkhurst, D. L and Appelo, C. A. J. (2013). Description of input and examples for PHREEQC version
3A computer program for speciation, batch-reaction, one-dimensional transport, and inverse
geochemical calculations, US Geological Survey, Denver, USA.
USGS: phreeqci-3.1.4-8929.msi, http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/, last
access: 13 October 2014.
Article
Population growth and industrial development have led to an increasing demand for water and wastewater treatment in Turkey and around the world. To ensure sustainable treatment, it is necessary to have real-time control and monitor the system. Therefore, this study aims to reveal the removal mechanism and control of the coagulation process using the PHREEQC modeling software, which has a promising potential for simulating the chemical equilibrium and reactions of water. The sensor effectiveness determined by the model was confirmed by experimental tests in the laboratory. This was done to identify the shortcomings and differences of the model, to understand and develop mechanistic structure. To observe the effects of temperature changes in the treatment, PHREEQC software was run for each of the temperatures (T) 1, 9, and 25.3oC, with the addition of FeCl3. The data obtained from pH, conductivity, temperature, and Eh sensors were evaluated. As a result of the study, it was found that different temperatures affect the solubility of the ions, with higher temperatures leading to increased solubility and conductivity. With increasing temperature, the solubility of oxygen in water decreases, while pH, Cl-, and the precipitate Fe(OH)3 are not affected by the temperature change. In general, the modeling results are in line with the analytical results of the samples taken in the laboratory. This highlights the attractiveness of using online sensors for sustainable wastewater treatment. PHREEQC has produced more reliable results by using actual chemical equilibrium constants as it considers equilibrium conditions and includes the effects of ionic bonds and ion pairs.
Thesis
Full-text available
In drinking water treatment plants, multiphase flows are a frequent phenomenon. Examples of such flows are pellet-softening and filter backwashing where liquid-solid fluidisation is applied. A better grasp of these fluidisation processes is needed to be able to determine optimal hydraulic states. In this research, models were developed, and experiments performed to gain such hydraulic knowledge. As a result, treatment processes can be made more flexible. In a rapidly changing environment, drinking water production must be flexible to ensure robustness and to tackle challenges related to sustainability and long-term changes. In the hydraulic models, the voidage in the fluidised bed and the particle size of the suspended granules are crucial variables. Voidage prediction is challenging as the fluidised bed is a dynamic environment showing highly heterogeneous behaviour that is hard to describe with an effective model. And particle size causes a conundrum due to the irregular shapes of the applied granules. Through the combination of hydraulic dimensionless Reynolds and Froude numbers, an accurate voidage prediction model has now been developed. With a straightforward pseudo-3D image analysis for non-spherical particles measuring particle mass and density, the dimensioned shapes of, for instance, ellipsoids can be determined. Particle shape factors included in models are not constant as is commonly believed, but dynamic. Applying advanced computational fluid dynamics simulations confirmed significant heterogeneous particle-fluid patterns in fluidised beds. Comprehensive sedimentation experiments showed that the average drag coefficient and terminal setting velocity of individual grains can be estimated reasonably well, but with a significant degree of data spread around the mean values. For engineering purposes, this is relevant information which should be taken into consideration. A new soft-sensor was designed to determine the voidage gradient and particle size profile in a fluidised bed. The expansion degree of highly erratic, polydisperse and porous granular activated carbon grains can be predicted with a model, but in full-scale processes the grains are subject to change, and therefore it is most likely that the prediction accuracy will deteriorate rapidly. For reliable drinking water quality, smart models provide solutions to complex challenges, but they are only effective when they are calibrated and validated in advanced pilot plants and are applied in full-scale processes with diligence and commitment on the part of multidisciplinary teams.
Article
Full-text available
http://www.drink-water-eng-sci.net/6/115/2013/dwes-6-115-2013.html The new German standard on the calculation of calcite saturation in drinking water, DIN 38404-10, 2012 (DIN), marks a change in drinking water standardization from using simplified equations applicable for nomographs and simple calculators to using extensive chemical modeling requiring computer programs. The standard outlines the chemical modeling and presents a dataset with 10 water samples for validating used computer programs. The DIN standard, as well as the Standard Methods 2330 (SM) and NEN 6533 (NEN) for calculation of calcium carbonate saturation in drinking water were translated into chemical databases for use in PHREEQC (USGS, 2013). This novel approach gave the possibility to compare the calculations as defined in the standards with calculations using widely used chemical databases provided with PHREEQC. From this research it is concluded that the computer program PHREEQC with the developed chemical database din38404-10_2012.dat complies with the DIN standard for calculating Saturation Index (SI) and Calcite Dissolution Capacity (Calcitlösekapazität) or Calcium Carbonate Precipitation Potential (CCPP). This compliance is achieved by assuming equal values for molarity as used in DIN (obsolete) and molality as used in PHREEQC. From comparison with widely used chemical databases it is concluded that the use of molarity limits the use of DIN to a maximum temperature of 45 °C. For current practical applications in water treatment and drinking water applications, the PHREEQC database stimela.dat was developed within the Stimela platform of Delft University of Technology. This database is an extension of the chemical database phreeqc.dat and thus in compliance with SM. The database stimela.dat is also applicable for hot and boiling water, which is important in drinking water supply with regard to scaling of calcium carbonate in in-house drinking water practices. SM and NEN proved to be not accurate enough to comply with DIN, because of their simplifications. The differences in calculation results for DIN, SM and NEN illustrate the need for international unification of the standard for calcium carbonate saturation in drinking water.
Aquatic chemistry for engineers
  • P J De Moel
  • J C Van Dijk
  • W G J Van Der Meer
de Moel, P. J., van Dijk, J. C., and van der Meer, W. G. J. (2014). Aquatic chemistry for engineers, Volume 1, Starting with PHREEQC 3. Delft University of Technology, Delft, the Netherlands.