Вы находитесь на странице: 1из 5

RESEARCH PAPER

International Journal of Recent Trends in Engineering, Vol. 1, No. 6, May 2009

Optimal Operation Scheduling of Irrigation


Canals Using Genetic Algorithm
Y.P. Mathur1, Gunwant Sharma2, A.W.Pawde3
Department of Civil Engineering, Malaviya National Institute of Technology, Jaipur, 302017 India
Email: 1yogeshmathur @yahoo.co.in, 2 gunwantsharma @yahoo.com, 3awpawde@gmail.com (corresponding author)

Abstract— Canal scheduling is an important activity that schedule the operation of distributary before each
significantly influences production of crops compared to rotation. Improper water delivery schedules cause
other aspects of agriculture. Irrigation canal scheduling is shortage or surplus of water to users which affects
the activity of preparing an optimal schedule of outlets on adversely on performance of irrigation projects. Optimal
supply canal as per need of user, subject to canal system
constraints. In this paper, the problem of optimal
scheduling of irrigation canal has the potential to increase
operational scheduling of irrigation canal with provision to the performance of many irrigation projects that are
open some outlet at specific time slot as per request of user operated on the basis of rigid delivery schedule such as
using Genetic Algorithm is presented. The optimal rotational delivery of irrigation water (Chamber, 1988).
operational schedule obtained with Genetic Algorithm This paper describes the application of genetic algorithm
approach is compared with previously published (GA) to water delivery of outlets on distributary canal.
operational schedule for the Famen secondary canal of The GA model is applied on the secondary canal of Feng-
Feng-Jia-Shan Irrigation District, China, obtained using Jia-Shan, China irrigation project and optimal operation
integer programming. The result shows that Genetic schedule is presented.
Algorithm approach gives sufficient flexibility in decision
making regarding the group formation of various outlets. It
is an efficient tool for irrigation manager to prepare optimal II. PREVIOUS WORKS
schedule of irrigation canals as per time slot demanded by Suryavanshi and Reddy (1986) formulated, the outlets
users.
scheduling problem as a mathematical problem and
Index Terms— canal, canal scheduling, genetic applied an integer programming model for preparing
algorithm, irrigation, integer programming optimal operation schedule for irrigation canal outlets.
They considered the supply canal to consist of a number
sub-channels. The discharge of each sub-channel is equal
I. INTRODUCTION to that of the outlet along the supply canal. Each outlet is
The irrigation canal scheduling problem is the problem free to draw water from any sub-channels during rotation
of preparing an operation schedule of outlets on the time. A sub-channel cannot supply two or more outlets
distributary canal subject to certain constraints. In simultaneously, but it can supply several outlets
irrigation project water distribution i.e. conveyance of sequentially. Each outlet remains open continuously for a
water from the source to the field head is the most known duration. The binary decision variable Xij=1, if
important link between the supplier of water and farmers particular sub-channel i supplies to a particular outlet j,
who actually put the water to use. If the water distribution else Xij=0. Their model minimizes the total number of
is well operated, high returns can be obtained from stream tubes used. This was the first mathematical mode
irrigation project. There are two types of water introduced for canal scheduling problems.
distribution methods. (i) flexible method and (ii) rigid
method. In flexible method, water is supplied on demand
of user and may be continuous during entire base period Wang et al. (1995) identified a minor shortcoming in
of crops. In case of rigid method, supply is fixed at the formulation of objective function by Suryavanshi and
constant frequency with constant or varied amount. Reddy (1986), which is that, the model minimizes the
Rotational water distribution in irrigation project is a sum of all Xij and not the total number of stream tubes
common practice throughout the world, which fall under operating simultaneously. They proposed the sequence of
category of rigid method. The supply is rotational among outlets be within a certain group should be decided by the
individual users in an outlet command area, among operators according to specific priorities. They developed
outlets on a distributary canal and among different an improved model by introducing dummy variable
distributaries on main canal. Frequency of irrigation in called the ‘activation function’. For a given sub-channel,
command area is based on the soil-crop-climate the activation function assumes a value of one if that sub-
conditions. The operational schedule of rotation delivery channel is used irrespective of whether the sub-channel
for distributaries is prepared considering its capacity, feeds one or several outlets else the activation function
number of outlets on distributary, their duration of supply takes a value of zero. The objective function in this model
and rotation period. In most of the irrigation projects, is to minimize the sum of the activation function.
cropping pattern is changed with time due to which the
outlets discharge is changed and there is a need to re-
11

© 2009 ACADEMY PUBLISHER


RESEARCH PAPER
International Journal of Recent Trends in Engineering, Vol. 1, No. 6, May 2009

Reddy et al. (1999) introduced the concept of starting slot is called a gene and an individual string of numbers is
time block to formulate the problem of canal scheduling called a chromosome. A set of chromosomes forms a
of lateral canals. To control the number of variables in the population. Each chromosome represents a given number
problem, a constraint of starting time range to each outlet of traits which are the actual parameters that are being
was introduced which compels every outlet to start within varied to optimize the fitness function. The fitness
a pre-specified time window. The model minimizes the function is a performance index that we seek to maximize
difference between required capacity and actual capacity or minimize. The GA search starts from a population of
of the supply canal. They demonstrated their model with many points rather than starting from one point as is the
practical example. case in standard optimization algorithm. This parallelism
Anwar and Clarke (2001) developed the model using a means that the search will not become trapped on local
mixed integer programming approach for scheduling optima. Genetic algorithms manipulate decision or
canal irrigation among a group of users where the control variable representations at a string level to exploit
duration of flow of each outlet and a target start time is similarities among high-performance strings. This also
specified by the user. The objective was to schedule helps GA based methodology to tackle functions with
supplies as close as possible to the water demand discontinuity. Performance evaluation of candidate
durations requested by users. They developed the single- solutions from the population is performed using the
period and multiperiod models. fitness function. The fitness function is evaluated using
information of objective function. This avoids the
Wardlaw and Bhaktikul (2004) applied the GA necessity of using derivative information. The algorithm
approach to canal scheduling using the concept of 0-1 begins with random population of individuals in which
linear programming approach developed by Suryavanshi each individual is represented by a binary or real coded
and Reddy (1986) and Reddy et al. (1999) and string (chromosome) for one possible solution. Each of
demonstrated its efficiency with an example of the Xi Le the individuals is assigned a fitness using the objective
submain of the Hetao irrigation project, which is situated function combined with constraints, if any. The optimal
in the Inner Mongolia region of China. solution is obtained after repetition of generation cycle.
The operations used in GA are: (A) reproduction or
Monem and Namdarian (2005) applied simulated selection, (B) cross-over, and (C) mutation.
annealing (SA) technique for optimal water distribution
A. Reproduction or Selection
in irrigation canals. They developed the multi-objective
model called as OWDIS (Optimal Water Distribution in During each successive generation, a proportion of the
Irrigation System). One of the objectives of this model is existing population is selected to breed a new generation.
to minimize the operational stages of canal inlet. The The fittest strings have the highest probability of being
model was applied on the AMX canal of the Varamin used in reproduction. There are a number of approaches
irrigation network located in south-east of Tehran, Iran. to selection like tournament and roulette wheel. All these
They also compared their model results with Wang et al. approaches control the probability of selection of
(1995). chromosome for participation in next generation of
population.
III. GENETIC ALGORITHMS B. Crossover
Genetic algorithm (GA) is heuristic technique for Crossover is used to vary the programming of a
searching over the solution space of a given problem in chromosome from one generation to the next. This
an attempt to find the best solution or solutions (Forrest, operator of Gas preserves the best genetic material from
1993). The use of Genetic algorithm was first proposed in two parent strings. The crossover is not usually applied to
1975, by Holland (1992), who based his research on all pairs of individuals selected for mating. A random
Darvin’s principle of evolution. Inspired by the natural choice is made, where the probability of crossover being
mechanisms of selection and reproduction, Holland applied is in the range 0.6 and 0.9. Goldberg (1989) and
created an ‘intelligent’ form of a random search that Michalewicz (1992), has outlined the various types of
explore the solution more promising region and search crossovers viz. one point crossover, two-point crossover
for solution more intensely in those more promising and uniform crossover.
regions. Since then, GAs has been applied to a variety of
C. Mutation Operator
problem. The GAs technique has its roots in the
biological processes of ‘survival of the fittest’ and Mutation is used to maintain genetic diversity from
adaptation. Genetic algorithms are applicable to a variety one generation of a population of chromosomes to the
of optimization problems that are not well suited for next. The random mutation is controlled by specifying
standard optimization algorithms, including problems in the probability of mutation. In mutation process, the bits
which the objective function is discontinuous, non- are changed ‘0’ to ‘1’ and ‘0’ to ‘1’ at the random chosen
differentiable, stochastic, or highly nonlinear. GA position of randomly selected strings. Michalewicz
manipulates a string of numbers in a manner similar to (1992) has explained uniform and non uniform for real-
how chromosomes are changed in biological evolution. value representation, which are two basic approaches to
An initial population made up of strings of numbers may mutation. The purpose of mutation in GAs is to allow the
be chosen at random or may be specified. Each number algorithm to avoid local minima by preventing the

12

© 2009 ACADEMY PUBLISHER


RESEARCH PAPER
International Journal of Recent Trends in Engineering, Vol. 1, No. 6, May 2009

population of chromosomes from becoming too similar to exceeded has very high value of fitness function and as
each other, thus slowing or even stopping such are highly improbable to be selected for inclusion in
evolution.Following are some advantages of GAs the reproduction process and participate in next
compared with other classical optimization methods. generation.
x GAs work with numerical values and there is no Key algorithm parameters for formulation of GA are:
requirement of objective function to be a linear or the size of initial population, probability of mutation,
differentiable function and it can solve problems probability of crossover and no. of generations. Goldberg
with discrete decision variables. (1989) and Michalewicz (1992) have suggested values for
x GAs generates several near optimal solution and probability of mutation and probability of crossover. The
they can provide sufficient flexibility in decision values set for these parameters for obtaining the results of
making. problem considered are shown in Table I.
x GAs usually does not get trapped to local optimal
TABLE I
solution and they can find a near optimal solution
with a high probability. PARAMETERS OF GENETIC ALGORITHM
Parameter for GA Values selected
IV. OBJECTIVE FUNCTION FOR CANAL SCHEDULING Population size 100
Probability of mutation 0.05
The formulation for canal scheduling given by Probability of crossover 0.8
Wardlaw and Bhaktikul, (2004) using GA is Number of generation 100

V. APPLICATION TO REAL FIELD PROBLEM


2
n ­ª m
º ½ Wang Zhi et al. (1995) demonstrated the application of

MinimizeZ ¦®«Q  ¦ q ONOFF »
j ij
 Pi ¾ (1) their formulation of the IP using an example of the
i 1 ¯¬ j 1 ¼ ¿ secondary canal No.11 of North main canal; Feng-Jia-
Shah Irrigation District, China. It is a large canal with a
maximum discharge capacity of 2.8 m3/s and a total
Where, Q =supply canal capacity (m3/s) command area of 3930 ha. Administratively, the
qj = capacity of lateral j (m3/s) secondary canal No. 11 is managed by two sectors: the
ONOFFij = 1 if outlet canal operates in time period i Famen sector which is responsible for the upper reach
else it is zero (2000 ha), and the Chenguan sector for the lower reach
m = number of outlets (1930 ha). During the summer irrigation of 1987, the
n = number of time blocks in the rotation period and Famen sector was allowed to run for a maximum of 14
Pi = penalty function for canal capacity constraint days with a maximum flow rate of 1.9 m3/s. There are 26
The value of ONOFFij is determined from the starting outlets in the Famen reach and each outlet has a discharge
time (Sj) of outlet j as follows. capacity of 0.2m3/s. Number of time blocks in the
rotation period of 14 days for 24 hrs. a day are 336
ONOFFij = 1 If i > Sj & i < (Sj + Dj) (14x24) with each time block of 1 hr. According to the
gross field irrigation requirements and water conveyance
and efficiencies associated with each outlet, the running time
ONOFFij = 0 otherwise of each outlet given by Wang Zhi et al. (1995) is as
Where, Dj = operation duration for outlet j. shown in Table II. In this paper the example of above
Sj = starting time of the outlet j, which is a decision mentioned famen canal is taken for demonstration of use
variable of the problem. of GA for optimal scheduling operation.
Wardlaw and Bhaktikul, (2004) formulated the penalty
function as given below; VI. RESULT AND DISCUSSION
Wang et al. (1995) suggested that the operational
m sequence of outlet within a certain group should be
Pi ¦ max ¬ª q j* ONOFFij Q ,0 ¼º (2) decided by operators on specific priorities. In this GA
formulation of optimization problem, starting time (Sj) of
j 1
the outlets is the decision variable, the lower and upper
Where, Pi is added to objective function. Many bound of which are to be specified by irrigation manager
constraint-handling techniques have been developed for during execution of GA program. GA generates several
the GA optimization. A penalty function is usually used near optimal solutions which give sufficient flexibility in
for handling the nonlinear constraints. It is designed to decision making regarding the group formation of various
penalize the infeasible solutions to reduce their fitness. outlets. If it is required to start the specific outlets at any
The penalty function method converts the constrained time slot of rotation period, it can be achieved by
optimization model to an unconstrained one to suit the specifying their starting time within specified lower and
application of evolutionary computing techniques. In upper bound as per requirement of user.
present formulation a penalty function ensures that
infeasible solutions in which the main canal capacity is

13

© 2009 ACADEMY PUBLISHER


RESEARCH PAPER
International Journal of Recent Trends in Engineering, Vol. 1, No. 6, May 2009

While preparing the operational schedule of any canal,


many times irrigation manager has to consider the time
slot demand of user in the rotation period. We have 2

applied GA for three different assumed situations in 1.8

which certain canals outlet are opened at specified times 1.6

Inflow Rate (m3/s)


as per demand by users. In the first situation it is assumed 1.4

that upstream group of users i.e. outlet no. 1 to 8 have 1.2

1
demanded supply of water in initial period of rotation so,
0.8
initial sequence of outlets is arranged from the upstream
0.6
end of the canal by specifying the lower and upper bound
0.4
value of time slot as 1. In second situation canal outlet 0.2
no.1, 2, 3, 8, 9, 10, 19, 21 and 25 are assumed to operate 0

in first time slot of rotation period. In third situation 0 12 24 36 48 60 72 84 96 108 120 132 144 156 168 180 192 204 216 228 240 252 264 276 288 300 312 324 336

Flow Time (h)


outlet no.3, 8, 12, 16, 20, and 25 are specified to start in
time slot 195, 140, 242, 104, 72 and 172 respectively. Fig. 2. Computed inflow hydrograph into canal
The result of optimal starting time period of outlet using genetic algorithm (GA 1).
obtained by GA for first, secondly and third situation are
denoted by GA1, GA2 and GA3 respectively in table III.
The results show that irrigation manager can plan the
2
optimal schedule of canal which satisfies the time slot
1.8
demand of some users in rotation period. The inflow
1.6
hydrograph of Famen secondary canal for proposed
1.4
sequence of outlets arranged from the downstream end of
Infloe Rate (m3/s)

the canal using IP by Wang Zhi et al. (1995) is shown in 1.2

fig 1. Canal hydrograph using IP shown in fig.1 indicates 1

that headgate setting is needed at the end of the rotation 0.8

period to avoid the wastage of water. The computed 0.6

inflow hydrograph of the canal in the present paper, as 0.4

shown in fig.2, 3, and 4 indicate that a small head gate 0.2

regulation is required at intermediate time within rotation 0


0 12 24 36 48 60 72 84 96 108 120 132 144 156 168 180 192 204 216 228 240 252 264 276 288 300 312 324 336

period of canal to avoid wastage of water. Flow Time (h)

Fig. 3. Computed inflow hydrograph into canal


2
using genetic algorithm (GA 2)
1.8

1.6

1.4
Inflow Rate (m3/s)

1.2 2

1.8
1

1.6
0.8

1.4
0.6

1.2
0.4
1
0.2
0.8
0
0 12 24 36 48 60 72 84 96 108 120 132 144 156 168 180 192 204 216 228 240 252 264 276 288 300 312 324 336
0.6
Flow Time (h)
0.4

0.2
Fig. 1 Canal inflow hydrograph into canal using integer programming
(IP). WANG (1995) 0

0 12 24 36 48 60 72 84 96 108 120 132 144 156 168 180 192 204 216 228 240 252 264 276 288 300 312 324 336

Flow Yime (hr)

Fig. 4. Computed inflow hydrograph into


canal using genetic algorithm (GA 3).

14

© 2009 ACADEMY PUBLISHER


RESEARCH PAPER
International Journal of Recent Trends in Engineering, Vol. 1, No. 6, May 2009

TABLE II
AREA AND RUNNING TIME FOR EACH OUTLET CANAL. WANG (1995)

Outtlet Area Time ‘tj’ Outlet Area Time ‘tj’ Outlet Area Time ‘tj’ Outlet Area Time ‘tj’
No.j (ha) (hrs) No.j (ha) (hrs) No.j (ha) (hrs) No.j (ha) (hrs)

1 83 138 8 74 102 15 213 281 22 36 49


2 34 47 9 63 98 16 26 36 23 109 171
3 102 132 10 28 40 17 183 264 24 36 51
4 73 98 11 61 89 18 35 47 25 8 11
5 34 48 12 53 94 19 24 33 26 48 76
6 97 161 13 105 155 20 171 264 -- -- --
7 46 65 14 53 75 21 201 333 -- -- --

TABLE III
OPTIMAL STARTING TIME PERIOD OF OUTLET OBTAINED BY GA AND GIVEN BY WANG (1995) USING IP.

Outlet Outlet Outlet


Start time (hrs) Start time (hrs) Start time (hrs)
No. j No. j No. j

GA1 GA2 GA3 IP GA1 GA2 GA3 IP GA1 GA2 GA3 IP


1 1 1 95 194 10 162 1 291 49 19 300 1 303 1
2 1 1 1 281 11 198 152 58 94 20 73 71 72 1
3 1 1 195 191 12 132 242 242 1 21 1 1 1 1
4 1 102 79 183 13 100 134 181 76 22 262 17 47 1
5 1 288 233 282 14 123 202 1 207 23 138 88 1 1
6 1 98 147 33 15 55 55 55 47 24 283 40 1 11
7 1 268 271 264 16 300 34 104 171 25 65 1 172 1
8 1 1 140 89 17 665 69 1 62 26 202 260 1 1
9 237 1 1 231 18 289 288 1 1 -- - - -- -

[4] Goldberg D.E, “Genetic algorithms in search optimization


VII. CONCLUSIONS and machine learning.” 1989, Addison-Wesley, Reading,
Mass,
The methodology based on the GA approach to
[5] Holland, J. H, “Adaptation in natural and Artificial
optimal irrigation canal scheduling problem with System.” 2nd ed. 1992, Mass. Inst. Of Technology.
provision to open some outlet at specific time slot as per Cambridge.
request of user has been explained through an example of [6] Monem M. J. and Namdarian R., “Application of Simulated
Famen secondary canal of Feng-Jia-Shan Irrigation Annealing (SA) techniques for optimal water distribution
District, China. In present formulation, application of in irrigation canals.” Irrigation and Drainage, 54, 2005, pp.
GA enables the operator to specify lower and upper 365-373
bound of starting time of some outlets as requested by the [7] Michalewicz Z, “Genetic algorithms + data structures =
user in rotation period which is not the case of the evolution programs.” 1992, Springer, New York.
[8 Reddy, J. M, Wilamowski B. ,Sharmasarakar F.C,
classical optimization technique like integer
“Optimal scheduling of irrigation for lateral canals.” ICID
programming. GA model could be an efficient tool to Journal Vol. 48(3), 1999, pp.1-12.
irrigation manager for planning water delivery schedule [9] Suryavanshi A. R. and Reddy, J. M, “Optimal operation
for irrigation canal system as per the time slot demand of scheduling of irrigation distribution systems”, Agricultural
user. Water Management., 11, 1986, pp. 23-30.
[10] Wang Zhi, Reddy J. M, Feyen J, “Improved 0-1
REFERENCES programming model for optimal flow scheduling in
irrigation canals.” Irrigation Drainage Systems 9, 1995,
[1] Anwar A. A, Clarke D, “Irrigation scheduling using pp.105-116.
mixed-integer linear programming.” Journal of Irrigation [11 Wardlaw R. B, and Bhaktikul K, “Comparison of a genetic
and Drainage Engineering ASCE 127(2), 2001, pp. 63–69. algorithm and Linear Programming Approach for Lateral
[2] Chambers R. (Ed.), “Managing canal irrigation: practical Canal Scheduling.” Journal of Irrigation and Drainage
analysis from South Asia.” Oxford Publishing, New Delhi, Engineering ASCE Vol. 130(4), 2004, pp. 311–317.
1988, pp. 20-25.
[3] Forrest S, “Genetic algorithms: Principles of natural
selection applied to computation.” Science 261(13): pp
872-878.

15
© 2009 ACADEMY PUBLISHER

Вам также может понравиться