# A Comparison Study of Short Term Scheduling of Hydrothermal System using PSO and GA

Text Only Version

#### A Comparison Study of Short Term Scheduling of Hydrothermal System using PSO and GA

Gandhi Institute For Technology/EEE, Bhubaneswar, India

Abstract- In recent years various heuristic optimization methods have been developed. This paper presents an efficient and reliable Particle swarm optimization (PSO) based solution to solve short term scheduling of hydro thermal system. The solution approaches based on PSO technique is implemented and demonstrated to solve the hydro thermal scheduling problem with quadratic thermal cost function. PSO algorithm is compare with Genetic algorithm (GA) and results conformed the performance of solving non linear optimization problems .PSO algorithms are also capable of finding very nearly global solutions within a reasonable time.

Key words- Hydrothermal scheduling; Particle swarm optimization, Genetic algorithm

I.INTRODUCTION

Hydrothermal scheduling (HTS) is an important planning task in power system operation whereby the generations of hydroelectric and thermal plants are so allocated as to minimize total operating cost of the thermal plants in a schedule horizon of 1 day or 1 week while satisfying various constraints on hydraulic and power system network. HTS is one of the most important and challenging optimization problems in the economic operation of power system. The optimal scheduling of hydrothermal power system is usually more complex than that for an all thermal system. It is basically a nonlinear programming problem involving non-linear objective function and a mixture of linear and non-linear constraints. Here Hydro energy is used for profit maximization that leads to thermal cost minimization of a hydro-Thermal system. The objective of the short term hydrothermal scheduling problem is to determine the water releases from each reservoir of the hydro system at each stage such that the operation cost is minimized along the planning period. The operation cost includes fuel costs for the thermal units, import costs from neighboring systems and penalties for load shedding. The basic question in hydro thermal coordination is to find a trade- off between a relative gain associated with immediate hydro generation and the expectation of future benefits coming from storage. HTS is basically a nonlinear programming problem which involves nonlinear objective function and a mixture of linear and nonlinear constraints. Particle swarm optimization a flexible, efficient global optimization technique is implemented to solve hydrothermal scheduling problem. Several methods have used to solve this complex problem such as fast evolutionary technique, differential evolution technique, La grangian relaxation technique , dynamic programming approach , genetic algorithm, mixed integer programming etc . Here in this paper the performance of PSO and GA is compared. The factors which influence power generation are operating efficiencies of generators, fuel cost and transmission losses.

The performances of different stochastic techniques have been studied in the literature .Though stochastic techniques have been proved to be very efficient and having faster performances than the conventional methods, there are some limitations in the goodness of the solutions to the problem that are obtained. From the literature it is found that particle swarm optimization technique has the fastest convergence rate to the global solution amongst all algorithms and has highest potential of finding more nearly global solutions to hydrothermal co-ordination problems . Early works on PSO have shown the rich promise of emergence of a relatively simple optimization technique this is easier to understand compared to other evolutionary computation techniques presently available eg. Genetic algorithm and evolutionary programming [9-11].

The PSO technique has been applied to various fields of power system optimization. Yu et al applied PSO technique to solve short-term hydrothermal scheduling  with an equivalent thermal unit having smooth cost functions connected to hydel systems. Here the constraints were handled by penalty function method . In this paper PSO method is proposed for short-term optimal scheduling of generation in a hydrothermal system which involves the allocation of generation among the multi- reservoirs cascaded hydro plants and thermal plants with valve point

loading effects so as to minimize the fuel cost of equivalent thermal plant while satisfying the various constraints on the hydraulic and power system network.

To validate the PSO based hydrothermal scheduling algorithm, the developed algorithm has been illustrated for a test system .The same problem has been solved by GA  are compared. The performance of the proposed method is found to be quite encouraging as compared with Ganetic algorithm.

1. PROBLEM STATEMENT NOMENCLATURE:

PDt: power demand at time t.

PH(j,t): power generation of hydro plant at time t . PT(i,t):Power generation of thermal plant at time t. Ihjt: water inflow rate of reservoir at time t.

Qhjt: water discharge rate of hydro unit at time t.

Qhj min,Qhjmax :minimum and maximum water discharge rate of reservoir. Shjt : spillage of reservoir at time t.

Vhjt : storage volume of reservoir at time t.

Vhj max, Vhj min : minimum and maximum storage volume of reservoir. ai ,bi,ci,di ,ei : cost coefficients of thermal unit.

: Number of thermal generating unit.

: Number of hydro generating unit.

: The water delay time between reservoir l and its upstream u at interval m. Ru: Set of upstream units directly above the hydro plant j.

, : Minimum and Maximum thermal power generation of a unit.

:Minimum and Maximum hydro power generation of

unit

,

: Water discharge rate of hydro unit at m interval

: Volume of hydro unit at m interval

: Minimum and maximum discharge rate of hydro unit at any

: Minimum and Maximum volume of hydro unit at any interval

Pso : Prespecified power

: Volume of particle in d dimension for interval

W : weight factor

: Position of particle in d dimension for interval

Pbest ,gbest : particle best and global best value ngu : Number of generating unit

2. MATHEMATICAL FORMULATION

Short term hydro thermal scheduling involves optimal hourly scheduling of power generation among all the units so as to minimize the total operation cost subjected to various constraints. Schedules for hydro electric systems are developed which simulates the water system and leaves the reservoir levels with maximum amount of stored energy. Hydro plants has negligible operation cost but we need to operate under several constraints. Here hydro plant with cascaded reservoirs are considered, which involves constraints such as water inflow, water transport delay between reservoirs, physical limitations on reservoir storage. The problem of minimizing the operation cost of hydro thermal system can be viewed as one of minimizing the fuel cost of thermal plants under several hydraulic constraints. short- term scheduling of hydro-thermal systems is typically a large scale nonlinear optimization problem with complex constraints. Besides, it is also a non convex problem due to the prohibited operation regions of the thermal and hydro plant .In this scheduling as the scheduling interval of short range problem is small, the solution of the short-range problem can assume te head to be fairly constant. The amount of water to be utilized for the short- range scheduling problem is known from the solution of the long-range scheduling problem. Short-range hydro- scheduling (1 day to 1 week) involves the hour-by- hour scheduling of all generation on a system to achieve minimum production cost for the given time period. In such a scheduling problem, the load, hydraulic inflows, and unit availabilities are assumed known. A set of starting conditions (e.g. reservoir levels) is given, and the optimal hourly schedule that minimizes a desired objective, while meeting hydraulic steam, and electric system

constraints, is sought. Part of the hydraulic constraints may involve meeting end- point conditions at the end of the scheduling interval in order to conform to a long-range, water-release schedule previously established

A.OBJECTIVE FUNCTION

The optimization of a hydro thermal scheduling problem is done with a nonlinear objective cost function with dynamic network flow constraints. As hydro electric plants have no incremental cost the main objective of short term hydro thermal scheduling problem is to minimize the fuel cost of thermal plants such that the load demand is

For any time j,

=1

, = 1

However, the energy the energy available from the hydro plant is insufficient to meet the load

Where

nj :Represents number of hours in period j

jmax

j=1 nj = Tmax = Total interval

jmax jmax

Phj nj PDjnj

j=1 j=1

use here the entire amount of energy from hydro plant in such a manner the cost of running steam power plant is minimized. The thermal power required is

jmax jmax

PDj nj Phj nj = E

j=1

(Load energy) (Hydro energy)= steam energy

j=1

It is not required the steam energy to run for the entire interval of Tmax hours.

Therfore

Ns is the run period for steam power plant Then

Ns

Ptj nj = E

j=1

Ns

nj Tmax

j=1

The scheduling problem becomes

Subjected to

And the lagrange function is

Then

Ns

Min FT F(Ptj) nj

j=1

Ns

Ptj nj E = 0

j=1

Ns Ns

Â£ = F(Ptj )nj + (E Ptjnj )

Â£ dF(Ptj) j=1 j=1

=

Ptj

dPtj = 0 , j = 1 . . Ns

This means that the steam power plant should be run at constant incremental cost for the entire period it is on. The total cost over the interval is

Where

Ns

Ns Ns

FT = F(Pt )nj = F(Pt ) F(Pt ) Ts

j=1 j=1

Ts = j=1 nj= The total run time for the steam power plant The steam plant cost can be expressed as:

F(Pt) = a+bPt+cP2 t

Then FT= (a+bPt+cP2) Ts t

Also jmax jmax

Ptj nj = Pt nj = Pt Ts

j=1 j=1

It is clear from the above that solution of hydrothermal scheduling problem requires solving for the thermal unit commitments and generation dispatch as well as the hydro schedules. The steam plant should be run at constant incremental cost for the entire period it is on. This optimum value of steam-generated power is Pt. This optimum value of steam generated power Pt resulting optimal hydro thermal schedule shows if the thermal and hydro plants are operated with each other then it results in economy. Steam plants and hydro plants, both are used to supply base load. During peak load it is economical to use hydro plants. Hence the thermal plant is preferred as a base load plants whereas the hydroelectric plant is run as a peak load plant.

B.SYSTEM CONSTRAINTS

The hydrothermal scheduling optimization problems are subjected to various hydraulic and network constraints depending on several thermal and hydro plant operating limits, variable demand, reservoir inflows, time coupling effect of hydro sub problem water discharge rate, initial and final reservoir volume. These constraints are discussed below:

Power balance equation: (Demand constraint)

The active power generation must balance the total demand and power losses in each time interval

jm

jm

Nh PH

j=1

+Ns PT =P +P , mM

im Dm loss

im Dm loss

i=1

Where m is the scheduling period.

Thermal generator constraint:

The thermal plant has a maximum and minimum power generation limit so that generation lies within this limit

PTmin PTim PTmax , m M

Hydro generator constraint:

The hydro plant has a maximum and minimum power generation limit within which the generation of jth unit lies

j j

j j

PHmin PHm PHmax, m M, j Nh

Hydraulic Network constraints Power generation characteristics

In hydro plant the power output is a function of the net hydraulic head H, reservoir volume VH, and the rate of water discharge.

Phjm = F(Qhjm ,Vhjm ) and Vhjm =F(Hjm)

The model can be expressed in terms of reservoir volume as:

2 2 + c V Q + c V + c Q + c

Phjm =C1jVHjm + c2jQHjm 3j Hjm Hjm 4j Hjm 5j Hjm 6j , jNh ,mM

Reservoir capacity constraints:

The operating volume of reservoir storage limit must lie in between maximum and minimum capacity limits.

min V Vmax , j Nh, m M VHj Hjm Hj

Reservoir end condition:

It is the desired volume of water to be discharged by each reservoir over a scheduling period.

VHjm|m=0 =Vbegin

Hj

VHjm|m=m =Vend Hj

, j Nh

Water discharge constraint:

The physical limitation of water discharge of turbine, QHjm must lie in between maximum and minimum operating limits.

, ,

Hydraulic continuity equation constraint:

The storage reservoir volume is dependent on initial and final reservoir volume.

VHjmH=VHjm+Ru [QHu (m lj) + Su (m lj)] QHj(m+1) S +

for jNh, mM u=1 j(m+1) j(m+1)

IV.PARTICLE SWARM OPTIMIZATION

PSO is a random search method (stochastic).The algorithm uses some kind of randomness or probability in definition and its literature.PSO mimics the behavior of individual in a swarm to maximize the survival of species. The PSO algorithm is population-based: a set of potential solutions evolves to approach a convenient solution (or set of solutions) for a problem. In the optimization process number of particles are created in a multidimensional search space. In quest of reaching optimum solution, the position and velocity of particles are updated based on summated influence of each particle present velocity, distance of particle from its own best performance and distance from leading particle (i.e particle that containing global best solution) . For present problem the position of each particle in the population is composed of set of elements which is the discharge rate of each hydro plant and power generated by each thermal plant. The coordinate of particle represents the objective function to be minimized. Let X be the position of the particle and V denotes the velocity. The position and velocity of ith particle in a d-dimensional space is represented as

Xi=(xi1, x id,..xid) and Vi=(vi1,vi2,..vid) respectively.

The best position of ith particle can be expressed as Pbesti=(Pbesti1,Pbesti2,.Pbestid) and the index of best particle among all the particles in the group is expressed as gbestd . The velocity and position of each particle can be modified using current velocity and distance from Pbestid to gbestd by following formula:

k+1 = w Vk + c1rand()(Pbest xk ) + c2rand()(gbest xk )

Vid id id

k+1 = xk + vk+1

For i=1,2, Np and d=1,2, Ng xid id id

d id

Where Np is the number of particles in a group and Ng is the number of members in particles. K is the iteration number.

W is the inertia weight factor. Suitable selection of w provides balance between global and local exploration, so require less number of iteration on average to get a global optimum solution. Geneally w value decreases from

0.3 to -0.2during a run.

The w value is set according to the equation

wm ax wm in

w= wmax itermax *iter

where itermax is the maximum number of iteration and iter is the current iteration.

C1 and C2 are the acceleration constant which represent the weighting of the stochastic acceleration terms that pull each particle towards the Pbest and gbest positions.C1 ,C2 values are often set as 2 from past experience low or higher values may allow particles roam far from global solution .

Rand() is a function which provide uniform random value in the range of [0,1] .

k min k max

vi is the velocity of ith particle at kth iteration , vd

k

xi is the current position of ith particle at kth iteration.

vid vd

As the position of each particle presents the discharge rate of hydro unit and power generation of thermal unit, the initialization kth individual with Nh number of hydro units and Ns number of thermal units can be done

(0) (0) (0) (0) (0) (0) (0) (0) (0) T

xk = [Qp , Qp , Qhj , . . QhNh , Ps1 , Ps2 , Psi , . . , PsNs ]

With

(0) = [Q(0) , Q(0) , . . , Q(0), . . Q(0)]T and

Qhj hj1 hj2 hjt hjt

(0) = [P(0), P(0), P(0), . . P(0)]T

Psi si1 si2 sit siT

(0) is discharge rate of jth hydro plant P(0) is the power output of ith thermal plant at time t.

Qhjt sit

Here for simplification spillage of the reservoir is assumed to be zero. The plants generation must lie within the permissible range and should meet the power balance constraint and discharge rate must satisfy the hydraulic constraints. Individual plants hydro and thermal must satisfy the constraints.

1. PSO ALGORITHM

The algorithm of PSO can be expressed as:

Step 1

Input parameters of the system and specify the upper and lower boundaries of each variable.

Step 2

Initialize randomly the particles of the population according to the limit of each unit including individual dimensions, searching points and velocities. There initial particles must be feasible candidate solutions that satisfy the practical operating constraints.

Step 3

Let, Qp = [q11, q12, , q1m, q21, q22, . q2m,qn1, qn2, ., qnm], be the trait vector denoting the particles of population to be evolved. The elements of qjm are the discharges of turbines of reservoirs at various intervals subjected to their capacity constraints. qid, be the dependent discharge of ith hydro plant at dth interval is randomly selected from among the committed m intervals. Then, knowing the hydro discharges, storage volumes of

reservoirs Vjm are calculated. Then PGHjm is calculated from for all the intervals.

Step 4

Compare each particle value with its Pbest, the best evaluations value among Pbest is denoted as gbest.

Step 5

Update the iteration as K = K+1 ; inertia weight, velocity& position .

Step 6

Each particle is evaluated according to its updated position, only when satisfied by all constraints. If the evaluation value of each particle is better than the previous Pbest. The current value is set to be Pbest.

If the best Pbest is better than gbest, the value is set to be gbest.

Step 7

If the stopping criterion is reacted, then go to Step-8, otherwise go to Step-2. Step 8

The individual that generates the latest gbest is the solution of the problem and then print the result and stop.

2. GENETIC ALGORITHM:

It is a directed search algorithms based on the mechanics of biological evolution. It was developed by John Holland,

University of Michigan in 1970.It is based on Darwins Theory of Evolution In the computer science field of artificial intelligence, a genetic algorithm (GA) is a search heuristic that mimics the process of natural evolution.

This heuristic is routinely used to generate useful solutions to optimization and search problems. Genetic algorithms belong to the larger class of evolutionary algorithms (EA), which generate solutions to optimization problems using techniques inspired by natural evolution, such as inheritance, mutation, selection, and crossover.

STEPS :

1. Randomly initialize the chromosome size and then initialize the iteration size.

2. Find out the objective value (minimum cost) & convert the decimal no. to binary no.

3. Now cross-over between different sets of population.

4. Those chromosomes that are less fittest remove that set of chromosome and initialize new chromosome on that place.

5. If maximum iteration reached then terminate or go back to step 3.

3. NUMERICAL RESULTS

1. Test System

To evaluate performance of proposed algorithm PSO, a test system consisting of a hydro and an equivalent thermal power plant is adapted. The schedule horizon is 3 days and there are six 12 hour intervals. The load pattern showing the load demand is shown in the table no.

The fuel cost function of the equivalent thermal unit is F(Pt) =0.00184P2 Where 150 Pt Pt 1500MW

+9.2Pt+575 \$/h

t

The water discharge rate of the hydro plant between 0 and 1000MW, and that between 1000 and 1100 MW are given as

:

Q = 330 + 4.97Ph acreft/h

Q=5300+12(Ph 1000)+0.05(Pp000)2 acreft/h

The initial and final volumes of water in reservoir are 100000 and 60000 acre-ft, respectively. The minimum and maximum volumes of water are 60000 and 120000 acre-ft in all intervals .The water inflow rate is assumed to be constant at 2000 acre-ft/h and spillage is not considered .Also the electrical loss from the hydro plant to the load is taken to be negligibly small. The performance of proposed PSO algorithm is verified using a test system which consists of three hydro units and one equivalent thermal unit. The hydro unit is having cascaded reservoirs. T he water transport delay between the connected reservoirs is considered. The reservoir configuration and water transport delays are shown below in the figure. The power generation of plants at lower stream is effected by transport delay and discharge of plant at upper stream. The hourly load demand is shown in the table10. The hydro units have four connected reservoirs out of which two are parallel and two are in series.

CONVERGENCE CHARACTERISTICS OF HT SYSTEM

The performance of proposed algorithm PSO is compared with Genetic algorithm (GA). All the programs were implemented in MATLAB command line .The control parameters in the PSO programs used for solving the test case were tuned .The Hydrothermal generation and the system costs obtained from proposed GA and PSO are summarized in Table. It can be seen from the table that the optimal cost obtained by the proposed PSO is the lowest compared to GA . The hourly varying load is tabulated below.

 Interval number Interval Demand (MW) 1 1st day12:00-24:00 h 1200 2 24:00 –12:00 1500 3 2nd day12:00 – 1100 4 24:00 – 1800 5 3rd12:00 -24:00h 950 6 24:00 – 1300

Comparison of PSO with GA:

 Technique Interval number Thermal generation Hydro generation Volume (acre-ft) Discharge (acre-ft/h) Cost (\$) GA 1 896.86 301.14 101960.94 1836.59 2 897.15 602.85 86046.83 3326.18 3 893.85 206.15 93791.98 1354.57 709863.56 4 897.38 902.62 60000.00 4816.01 5 794.45 155.55 70763.09 1103.08 6 783.52 516.48 60000.01 2896.92 PSO 1 902.2346 297.7654 102281.27 1089.89 2 898.8685 601.1315 86469.79 3317.62 3 871.1946 228.8054 92863.83 1467.16 709841.16 4 912.9471 887.0529 60000.00 4738.65 5 790.8561 159.1439 70548.66 1120.94 6 787.1117 512.8883 60000.00 2879.06
4. CONCLUSION

In this paper an approach of PSO method is verified and demonstrated in solving the short term hydro thermal scheduling problem. Numerical results show that highly near optimal solutions can be obtained by PSO. Particle swarm optimization method is compared with Genetic algorithm (GA) and it is found that PSO is better in terms of better solution quality and faster convergence rate. In the algorithm thermal generators are represented by equivalent unit. The generator load power balance equations and total water discharge equation have been subsumed into system model. Constraints on the operational limits are also included in the algorithm.

REFERENCES

1. A.J. Wood, B.F. Wollenberg, Power Generation, Operation and Control, 2nd ed., Wiley, New York, 996.

2. J.C. Dodu, P. Martin, A. Merlin, J. Pouget, An optimal formulation and solution of short -range operating problems for a power

system with flow constraints, Proc. IEEE 60 (1) (1972) 5463.

3. Nidul sinha * ,R.Chakrabarti , P.K chattopadhyay Fast evolutionary programming techniques for short term

hydro thermal scheduling , in Elsevier December 2002

4. N.R. Jimenez, A.J. Conejo, Short-term hydrothermal coordina- tion by Lagrangian relaxation: solution to the dual problem, in IEEE-PES Winter Meeting, Orlando, FL, USA, 1998, paper PE-333 PWRS-0-12-1997.

5. H. Habibollahzadeh, J.A. Bubenko, Application of decomposi- tion techniques to short-term operation planning of hydrothermal power system, IEEE Trans. Power Syst. PWRS-I (1) (1986) 41 -47.

6. M.F. Carvalho, S. Soares, An efficient hydrothermal scheduling algorithm, IEEE Trans. PWRS-4 (1987) 537-

542.

7. K.P. Wong, Y.W. Wong, Short-term hydrothermal scheduling, part-I: simulated annealing approach, IEE Proc. Part-C 141 (5) (1994) 497 501.

8. Y.-G. Wu, C.-Y. Ho, D.-Y. Wang, A diploid genetic approach to short-term scheduling of hydrothermal system, IEEE Trans.

Power Syst. 15 (4) (2000) 1268

9. T. BaÂ¨ ck, H.-P. Schwefel, An overview of evolutionary algorithms for parameter optimization, Evol. Comput. 1 (1) (1993) 1 23.

10. P.-C. Yang, H.-T. Yang, C.-L. Huang, Scheduling short-term hydrothermal generation using evolutionary programming tech- niques, IEE Proc. Gener. Transm. Distrib. 143 (4) (1996) 371 -376.

11. P.K. Hota, R. Chakrabarti, P.K. Chattopadhyay, Short-term hydrothermal scheduling through evolutionary programming technique, Electric Power Syst. Res. 52 (2) (1999) 189-196.

Author Details:

NCRAEEE-2015 Conference Proceedings

Gandhi Institute for technology Bhubaneswar

M.Tech in Power system and Power Eletronics

ITER ,SOA university Bhbaneswar

Rupali Mohanty Asst.Prof

Gandhi Institute for technology Bhubaneswar

M.Tech in Power Electronics & drives KIIT ,Bhubaneswar