Calibration of On-Demand Irrigation Network Models
Calibration of On-Demand Irrigation Network Models
Abstract: In this study, a new procedure for calibrating on-demand irrigation network models was developed. This procedure used a new
objective function called maximum data with a reasonable error 共MDRE兲 for calibrating the network. It was compared with the two more
commonly used objective functions in calibration procedures that are the simple least squares 共SLS兲 and the maximum likelihood
Downloaded from ascelibrary.org by Selcuk Universitesi on 12/24/14. Copyright ASCE. For personal use only; all rights reserved.
estimator for the heteroscedastic error case 共HMLE兲. In order to carry out the calibration, a quasi-Newton optimization method was used
having as variable the Hazen-Williams head losses coefficient 共C兲. This procedure was applied to an on-demand irrigation network located
in Tarazona de La Mancha 共Albacete, Spain兲 where flow and pressure at hydrant level was measured. The calibration procedure using the
MDRE objective function was applied considering all the pressure control points simultaneously and the obtained results were compared
with the results of considering the pressure control points independently. Therefore, the effect of the location of the pressure control point
was studied. Results showed that, when the proposed objective function was used, the root mean squared error 共RMSE兲 comparing the
measured and simulated data after calibration was lower than when the SLS or HMLE objective functions were used. The location of the
pressure control points throughout the irrigation network could affect the results; therefore, it was more accurate to use all the control
points simultaneously than independently in the calibration process.
DOI: 10.1061/共ASCE兲0733-9437共2008兲134:1共36兲
CE Database subject headings: Simulation models; Calibration; Head loss; Pipe networks; Irrigation.
irrigation network. To guarantee a pressure head of 45 m in all the measured with a GPS, with a precision of one cm.
hydrants of the network, a head of 62 m 共manometric regulation兲 2. Data input to the model: The input data to the model were
is applied at the pumping station. the internal diameter and length of the pipes, the Hazen-
The irrigation network is composed of asbestos cement pipe- Williams head losses coefficient 共C兲, the topology and topog-
lines of large diameters 共400– 600 mm兲 for the main distribution raphy of the network 共500 nodes, 389 being hydrants兲, and
lines, and polyvinyl chloride pipelines 共63– 315 mm兲 for the re- the average pressure head and flow data for each of the eight
mainder of the system. Each plot has its own hydrant, with 389 daily acquisition data periods. Since it is very difficult to
hydrants in total. Hydrant diameter, which depends on plot size measure minor losses in a network, it was assumed that these
and number of sectors within each plot, varies from 2 – 6 in. with losses were included in the friction losses. In addition, the
a flow range of 2 – 60 l / s. Each hydrant has a flow limiter in order head losses coefficient 共C兲 is assumed to depend only on
to supply a discharge proportional to the plot area. Thus, all farm- pipe material. Once the flow in each pipe is determined for
ers have the same water availability. All hydrants are controlled each demand scenario and using a known head 共based on
using an automatic system that allows technicians to centrally manometric regulation of the pumping station兲, head losses
manage the network. The automation system consists of a central can be calculated to obtain the piezometric height in each
computer connected to 14 field control units. These units are node. To calculate the head losses, the Hazen-Williams equa-
small computers storing data from each of the remote terminal tion was used 关Eq. 共1兲兴
units 共RTUs兲, installed in the hydrants. Each field unit controls up
⌬h = 10.62 ⫻ C−1.85 ⫻ L ⫻ Q1.85 ⫻ D−4.87 共1兲
to 63 RTUs, thus controlling up to 63 hydrants.
Permanent solid-set sprinkler irrigation systems are used for where ⌬h = head losses 共m兲; C = Hazen-Williams head losses
95% of the area, the rest being irrigated by drip irrigation sys- coefficient; L = pipe length 共m兲; Q = pipe flow rate 共m3 s−1兲;
tems. and D = pipe internal diameter 共m兲.
The following data were measured from the on-demand irriga- 3. Provisional running of the model: The model should be run,
tion network: as a first step, using the default calibration parameter values
1. Discharge and pressure head data at the hydrant level: Dis- 共Table 1兲. It is useful for locating the pressure transducers
charge data were measured using the automation system, throughout the network in the experiment design process.
which records the output of the hydraulic valve flow meter. 4. Hydraulic data measurement: All authors consider that it is
The automation system records the total volume output of necessary to measure pressure head for different network
each hydrant eight times per day. Since in this case, irrigation working conditions 共low, medium, and high demand兲. La-
does not occur between 9:00 am and 7:00 pm, the periods of maddalena 共1997兲 considers measurements to be sufficient
data acquisition were concentrated during the time of maxi- taken at just one point, but for several demand conditions
mum probability of irrigation, in this case, at night. There- 共seven different working conditions兲. Allen 共1987兲 favors
fore, the periods of cumulative volume measurement at each minimum pressure control points at 20% of the total number
hydrant were from 7:00 pm to 10:00 pm, 10:00 pm to 11:50 of hydrants. Ferreri and Gangitano 共2001兲 suggest that it is
pm, 11:50 pm to 2:00 am, 2:00 am to 4.00 am, 4:00 am to better to increase the number of control points for a working
6:00 am, 6:00 am to 8:00 am, and 8:00 am to 9:00 am. The condition than to measure few points for several working
difference of volume between periods divided by the elapsed conditions. In this work, 13 strategic control points in the
time of the period is the average discharge of each hydrant. network were installed 共Fig. 1兲 after analyzing the results of
2. Pressure head data at the hydrant level: Pressure head data the provisional running of the model with standard values of
were measured at 13 selected points distributed throughout the head losses coefficient. Discharge data were obtained
the irrigation network. Location of these pressure head con- from the flow meter installed in each hydrant by using the
trol points was carried out by simulating the network with automation control system. Frequency of pressure head data
EPANET. Standard roughness values and minor losses equal measurement was 1 min, but average data of pressure head
to 20% of friction losses were used. Pressure transducers and flow were used for each of the eight periods of flow
were placed at those points with variable conditions in the measurement. Since the irrigation time in each plot was
pipes upstream, such as different material, different flows, at around 4 – 6 h 共much longer than the time between each flow
the end of pipes, at hydrants far from the pumping station, at measurement period兲, flow and pressure head variation dur-
hydrants with high elevation, etc. Pressure head data were ing the period was very low. If a high variation of flow or
stored in data loggers every minute. pressure head happened during the period, the model did not
Discharge and pressure head data at the hydrant level were consider this measurement, as will be shown herein.
5. Adjustment and calibration of the model: For each data ac- applying two common objective functions. The resulting cali-
quisition period, 12 head loss data values were obtained. The brated models from each objective function were compared by
head losses coefficient 共C兲 was adjusted with calibration pro- calculating the root mean squared error 共RMSE兲 for each. These
cedures to fit the measured data, as detailed below. two objective functions used for calibration are:
1. The maximum likelihood estimator for the heteroscedastic
error case 共HMLE兲. This objective function assumes that the
Calibration Procedures
errors are Gaussian with zero mean and variable variance
The analyzed irrigation network was implemented in Microsoft along the magnitude of the measured parameter. This estima-
Excel to use Solver tool in the optimization process. The objec- tor is mainly used when there is a variation of the errors with
tive function developed in this work was the maximum data with the magnitude of the measured parameter 共Sooroshian and
a reasonable error 共MDRE兲. This objective function tries to maxi- Dracup 1980兲. Eqs. 共3兲–共5兲 describe how to formulate this
再兺 冎再 冋兿 册 冎
mize the number of points for which the difference between mea- estimator. The HMLE equation is
sured and simulated head losses data is inside an error interval n n 1/n −1
delimited by the accuracy in the pressure head measurement 共1 m
Min HMLE = wt2t n wt 共3兲
in this case兲. The network is calibrated when the number of points t=1 t=1
inside the error range is maximized. It automatically eliminates
the data that are outside of the error interval. where t = difference between measured head losses 共pobs兲
The objective function is expressed as and simulated head losses 共psim兲 values; n = number of mea-
surements; and wt = weight associated with the measured
j
parameter.
兺
k=1
k
Nm苸n The weight is computed by
Max 100 共2兲 wt = f 2共−1兲 共4兲
j⫻n t
where k = number of control points; n = total number of measure- where f t = expectation of the true value 共ptrue兲 共in this case it
ments for each control point 共k兲; and Nm苸n
k
= number of valid mea- is assumed that f t is equal to pobs兲; = unknown transforma-
surements 共m兲 with an error lower than the maximum established tion parameter that stabilizes the variance. The implicit ex-
error 共1 m in this case兲. pression to estimate is
To verify the validity of the proposed objective function, the
calibration results were compared with the results obtained by 冋兺 册冋兺 册 冋兺
n
t=1
ln共f t兲
n
t=1
wt2t −n
n
t=1
wt ln共f t兲2t = 0册 共5兲
Min SLS = 兺
t=1
共pobs − psim兲2 共6兲
lower than for the other two objective functions. This is because
lower than 10–20% of the measured data. Allen 共1987兲 suggests the proposed objective function eliminates abnormal data that can
that the model will be calibrated when 85% of the nodes have an affect the results and because it fits the measured and simulated
error lower than 5% and 95% lower than 10%. Garcia-Serra data for the whole parameter range. A RMSE of around 0.3 m
共1988兲 claims a net difference of ±1 m of pressure head marks corresponds to an approximately 0.5% of the piezometric height
successful calibration. In this case, a maximum difference of in a hydrant, which is a good precision for calibration procedures.
±1 m was employed because it is the most restrictive option of Fig. 5 shows the average values of C obtained in the calibra-
those listed above, and because the accuracy in the pressure head tion process, considering the three different objective functions.
measurement was 1 m. Results corresponding to HMLE are those relative to the initial
The parameter to optimize was the Hazen-Williams head value of . HMLE and SLS results were near the standard C
losses coefficient 共C兲 with the only restriction that its value for value because these objective functions fitted the lower values of
each material was higher than 0. The calibration process has the head losses, but not the higher values. For fitting the smaller
standard values of C as its initial seed. values, small changes in the C value were then required. With the
For the irrigation seasons 2003 and 2004, July and August data MDRE objective function, which fitted simulated and measured
were considered, running the calibration process for each of these head loss values for the whole parameter range, more realistic
months, and comparing the results with the main statistical de- values were obtained 共Table 1兲. In addition, this objective func-
scriptors. An analysis of the result considering all the transducers tion automatically eliminated the values with high error 共due to
simultaneously and considering each transducer independently failures in the measurement兲; therefore, a pretreatment of data
was carried out. Thus, the effect of the location of the transducer was not necessary.
was studied. The new values of C indicate an increase in head losses of
22.5% for PVC and 103.6% for asbestos cement 共minor losses
were included in these percentages兲. A lower value of C for July
2004 was obtained, mainly for asbestos cement pipes. This may
Results
Table 3. Results of the Calibration Procedure Considering Each Control Point Independently
Date T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12
Jul-03 PVC 140 140 120.41 — — 140 140 — — 140 140 124.93
AbsCement 120.86 96.66 104.92 — — 95.55 100.46 — — 85.73 95.59 111.88
Percentage of 98.82 86.76 88.27 — — 83.44 90.96 — — 83.25 84.47 80.19
used data
Aug-03 PVC 140 140 115.53 — — — 140 135.52 — 140 140 109.95
AbsCement 120.65 95.65 93.92 — — — 88.12 129.78 — 93.79 83.63 82.35
Percentage of 85.33 69.23 81.45 — — — 80.88 88.03 — 77.78 94.89 91.03
used data
Jul-04 PVC 140 — 119.41 — — 140 140 138.51 — 116.66 140 140
AbsCement 97.01 — 82.64 — — 77.77 84.06 108.4 — 94.22 74.69 81.88
Percentage of 78.67 — 73.26 — — 67.92 73.71 54.27 — 70.83 78 69.23
used data
Aug-04 PVC 140 140 113.24 — — — 140 126.94 129.18 — 140 140
AbsCement 113.21 96.89 79.46 — — — 87.33 114.68 135 — 73 72.36
Percentage of 79.12 82.76 73.68 — — — 76.7 69.47 78.95 — 75.86 60
used data
Fig. 7. Pressure distribution map considering standard C values for a process in order to accurately simulate the real behavior of the
demand scenario network. Nowadays, optimization techniques are the main tools
used in calibration procedures. The selection of the proper objec-
tive function in the optimization process will increase the effi-
EPANET Application with the Calibrated Model
ciency and effectiveness of the calibration process. In this study,
Fig. 7 shows the pressure head distribution map for a demand the MDRE objective function is shown to provide more realistic
scenario 共July 17, 2004 at 8.00 am兲 using standard C values results than the SLS and HMLE objective functions, and also
共Table 1兲, and Fig. 8 shows the same simulation using calibrated eliminates automatically those values with an error higher than
C values obtained with the MDRE objective function 共Table 1兲. In the maximum established.
Fig. 7, there is a notable lack of pressure 共less than 45 m兲 in the In a practical sense, it is impossible to distinguish between
last hydrant of the northeast part of the network when standard friction head losses and minor losses in an operating network.
values were used. However, when the calibrated model was used Including the minor losses as friction losses promotes better re-
共Fig. 7兲, the lack of pressure appears not only in one hydrant but sults in the calibration process.
in several hydrants. Therefore, the calibrated model helps network The proper location of the pressure transducers in a hydraulic
managers to predict problems in network performance. network is very important for obtaining an accurate calibrated
During the 2004 irrigation season, in which crop water re- model. They should be located at those points that allow controls
quirements were very high, some low pressure conditions ap- for different pipe material, at different conditions of local head
peared in the network 共Fig. 9兲. If the technicians possessed the losses, and at different demands downstream of the control point.
calibrated model, those events may not have happened, because Using the averaged values for all the control points produced a
the technicians could have carried out an open hydrant redistribu- good representation of the general characteristics of the network,
tion to avoid the problem. and yields an accurate and useful hydraulic model.
Conclusions
Acknowledgments
Simulation models of hydraulic networks are very useful tools for
This research work was funded by the Spanish Ministry through
proper management. However, these models require a calibration
the R&D Plan of Science and Technology, and included within
the project “Manejo eficiente del agua de riego y la energía en
zonas semiaridas 共Ref. No. AGL2001-1180-C02-01兲.”
Notation
Dias, M. C. B. F., Vieira, J. M. P., Valente, J., and Coelho, S. T. 共2000兲. Uriol Ardanuy, A., and Montserrat Visacarri, J. 共2002兲. “Calibración de
“Calibração de Modelos de Simulação de Quantidade e Qualidade de una red de distribución a presión en una finca de 310 ha mediante el
Água em Redes de Distribuição. O Caso da Zona Oeste da Cidade de programa GESTAR.” Proc., XX Congreso Nacional de Riegos,
Bragança.” Anais do IX Encontro Nacional de Saneamento Básico, Ciudad Real, Spain 共in Spanish兲.
Loures, Portugal 共in Portuguese兲. Walski, T. M. 共1983兲. “Technique for calibrating network models.” J.
Ferreri, G. B., and Gangitano, L. 共2001兲. “Effetto del tipo e del numero di Water Resour. Plann. Manage., 109, 360–372.
misuratori sull’efficacia della calibrazione delle scabrezze di reti dis- Walski, T. M. 共1985兲. “Assuring accurate model calibration.” J. Am.
tributrici in pressione.” Proc., L’Aqua, 2000, 57–70 共in Italian兲. Water Works Assoc., 38–41.
Garcia-Serra, J. 共1988兲. “Estudio y mejora de las técnicas de calibración Walski, T. M. 共1986兲. “Case-study—Pipe network model calibration is-
de modelos de redes hidráulicas.” Ph.D. thesis, Universidad Politéc- sues.” J. Water Resour. Plann. Manage., 112, 238–249.
nica de Valencia 共in Spanish兲. Wu, Z. Y., Arniella, E. F., and Gianella, E. 共2004兲. “Improving project
Guillen, J., Bescós, M., Doz, J. R., Marzal, A., and Aliod, R. 共2000兲. productivity and model quality for large water systems.” J. Am. Water
“Metodologías y resultados para la validación y la calibración de Works Assoc., 27–34.