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

22nd International Scientific-Professional Conference Information Technology 2017

that can be used for generation in short-term (1 day to 1

Use of dynamic programming for short-term


hydro-thermal coordination
Prof. emeritus Ilija Vujosevic, Milan Kocovic Spec. Sci.
Abstract This paper presents the application of dynamic week). The coordination of hydro - scheduling must be in
programming method in the hydro-thermal coordination, coordination with water inflow in order to keep the
which is based on finding the optimal trajectory of the use of amount of water within an specified range [1].
water in reservoir storage with the limitation of initial and
final storage volumes. Initial and final volumes of the II. HYDROELECTRIC PLANT MODEL
reservoir present the input data in the optimization and The amount of energy that is available in a unit of
which were obtained in short-term planning of water
stored water is equal to the product of the weight of water
consumption. Also, this paper presents the modeling and the
possible approximations of the input-output characteristic of
stored and the height of the water fall. From that
steam and hydroelectric plants. For the purpose of hydro- standpoint, it can be concluded that a small amount of
thermal coordination, the program was implemented using water and a big drop produce energy which can be
MATLAB software and its graphical user GUI interface. The produced with a big amount of water and small drop. For
mentioned program includes hydro-thermal coordination example, 1kWh of energy can be obtained in the following
that was made on the principle of dynamic programming way:
using Dijkstra algorithm. 1kWh=24.45m3*15m and 1kWh=15m3*24.45m.
The amount of energy that is available in the unit
Keywords Dynamic programming, Dijkstra algorithm, quantity of water is not equivalent to electrical energy
Hydro-thermal coordination obtained via that quantity and that fall and it must be
reduced by a certain value, caused by energy losses in the
energy conversion. Power provided by the water is
I. INTRODUCTION

T
proportional to the flow of water in m3/s and the
HE COORDINATION of the system for coefficient of energy conversion, which takes into account
production of electrical power with hydroelectric the net head (gross head - flow losses into the penstock)
plants is usually more complex than scheduling of and the coefficient of efficiency of the turbine-generator.
an all-thermal generation systems. The hydroelectric
Flow losses typically is the amount of about 5% of the
plants may be coupled both electrically and hydraulically
gross head, while in the case of hydro power plants with
(downstream multiple plants). There are no two
low pressure and a case of long penstocks, these losses can
hydroelectric systems in the world that are alike. There
are many reasons for this fact/ the natural differences in be much higher. Also, a factor of the efficiency of the
the watersheds, reservoirs storage as well as so many turbine is load, and efficiency for smaller loads may fall
different restrictions on the operation of the system, such below 70%. Of course, it should take into account the
as: controlling floods, regular discharge of water for existence of loss in the conversion of mechanical energy
irrigation, limited water release because of navigability of of the turbine into electrical energy of the generator[1].
river at all time or availability of recreation center Typical performance characteristics of hydropower
downstream of reservoir storage. Sudden changes, with plants is characterisc of incremental water rate
high-volume releases of water, may induce high waves [m3/MWh], that is shown on Fig 1.
with potentially damaging effect for downstream object. [m3/MWh]
HE1---
Water releases may be dictated by international treaty, in HE2---
case if the river flows through several countries [1]. HE3---
The goal of hydro-thermal coordination is to use the
amount of water that is given through short-term
scheduling of water consumption in the best possible way,
which means to obtain the minimum production costs of
thermal plants [1].
The coordination of the operations of hydroelectric
plants involves, naturally, the scheduling of water releases.
The long-range hydro-scheduling problem involves the P[MW]
long-range forecasting of water availability that is based Fig.1. Incremental water rate versus output power
on meteorological and statistical analyse. Short-range The rise in incremental water rate with increasing unit
hydro-scheduling involves scheduling of amount of water output results primarily from the increased hydraulic
losses with the increased flow. With the increasing number
Prof. emeritus Ilija Vujosevis, Faculty of electrical engineering in of hydro units, the hydraulic losses are being increased,
Podgorica, University of Montenegro, Dzordza Vasingtona Street no primarily due to rise in afterbay which produces
number, 81000 Podgorica, Montenegro (e-mail: ilijav@ac.me).Milan
decreasing in net and gross head [1].
Kocovic Spec. Sci. (coresponding author), Faculty of electrical
engineering in Podgorica, University of Montenegro, Studentska street Fig.2. is showing the basic hydroelectric plant
nn, 81000 Podgorica, Montenegro (e-mail: kocovicmilan@gmail.com). characteristics that represent the dependence of water flow
22nd International Scientific-Professional Conference Information Technology 2017

q[m3/h] and output power P[MW]. n n n n

HE1---
HE2---
( ) ( ) ( )
P2i A+ P3i B+ P4i C= P2i q(
i=1 i=1
(8) Pi )
i=1 i=1

HE3--- Solving this system, namely finding the values of


coefficients A, B, and C, it is obtained the approximate
curve for the planning of generation of hydroplant. That
curve is sufficiently precise for economical scheduling of
energy production [2].
When planning production, in addition to the energy
characteristic of hydroplant, it is necessary to have
information of the minimum qmin and maximum qmax allowed
water flow that also provides data of the minimum and
P[MW] maximum power of hydroelectric plant.
Fig. 2. Basic hydroelectric plant characteristics
III. MODEL OF STEAM PLANT
This basic energy characteristic of hydroplant has such a A. Input-output characteristic of steam plant
form that it can be approximated by a quadratic equation, Electrical energy of steam plant is produced by
namely. It can be written in the following form: conversion of heat energy to mechanical than mechanical to
2 (1)
q= A+BP+CP electrical energy. The curve of heat consumption shows the
Where A, B and C are coefficients of quadratic equation consumption of heat energy per hour versus the output
which are calculated on the principle of achieving the power of steam plant. More often used characteristic of
minimum squared deviations between the actual value of steam plant is curve of consumption fuel, i.e. fuel cost
the flow qi in the point Pi and the approximated value of the curve. The total cost of operation includes the fuel cost and
flow qi in the same power Pi [2]. the cost of labor, supplies, and maintenance that are
In case it is known n points (Pi, qi), then the principle of expressed as fixed percentage of the incoming fuel costs.
calculation of the coefficients A, B and C consists of the Fig.3. shows typical example of input-output characteristic
following steps: of steam plant. [3].
n F[MJ/h] 5
J = ( A+ BP i+CPi q ( Pi ) )
2 2
(2)
i=1
Where is J sum of quadratic deviations between the actual
and the approximated value of flow. 4
The goal is to find the minimum of the function J
depending on A, B and C coefficients, as shown below [2]. 3
n
J 2
= 2(A + BPi +CP2i q ( Pi ) )=0 (3) 1
A i=1
n
J P[MW]
= 2Pi(A + BPi +CP2i q ( Pi ) )=0 (4) Fig. 3. Fuel cost characteristic of steam plant
B i=1
On Fig. 3. by points 1 to 5 are indicated the processes of
n
J opening the valve. In the vicinity of these points there are
= 2P i( A+ BPi +CP2i q ( P i ))=0 (5) discontinuities as the product of increased losses in valves
C i=1
in that range [3].The curve of fuel cost can be defined by
polynomial:
Therefore, We get: 2
F= + P+P
n n n

( ) ( )
nA + Pi B+ P2i C= q(Pi )
i=1 i=1 i=1
(6)
The coefficients , i are calculated on principle of
minimum squared deviation between real and approximated
value of fuel cost, similar as finding coefficients A, B and C
n n n n
in previous chapter.

( ) ( ) ( )
i=1
Pi A+
i=1
P2i B+
i=1
P 3i C= Piq
i=1
(7)(Pi ) B. Optimal operation of an all-thermal system
Typical operation of this group of system is operation of
thermal generation units on same bus. Assume that i, i and
i are calculated for all generation units. The total fuel cost
22nd International Scientific-Professional Conference Information Technology 2017

F for m thermal units that supply the demand PD can be m


i
expresed as: 2 PD +
m i=1 i
= .
F= ( i + i Pi + i P2i ) (10) m
i=1
If transmission losses are negligible, it can be written
1
i=1 i
next equation: When value of incremental cost was calculated,
m distribution of power is calculated from equation (18)[2].
PD = Pi ,
i=1 IV. HYDRO-THERMAL SCHEDULING WITH DYNAMIC
PD - power demand of the system, and Pi - power that is PROGRAMMING
produced by i steam plant. If we consider that the input-output characteristic of the
The most used method for solving constrained steam plant is given by the relation:
minimization problems is technique of Lagrange F= + PT + P 2T , (22)
multipliers. With constraint:
m while the characteristic of hydroplant is given by:
PD Pi=0, q= A+ BP H +CP2H ,
i=1 for PH>Pmin and q=0 for PH=0.
it is obtained: For such interval of planning j, it can be written that

[ ]
m volume of storage in the end of that interval is:
F =FT + PD Pi ,
^ V j =V j1 +n j ( r jq js j ) , (24)
i=1
where are: Vj - volume storage in the end of interval j, Vj-1-
where is:
volume storage in the end of interval j-1, nj - duration of
P interval j, rj - inflow of interval j, qj - flow of interval j, sj -
F i ( i), spillage of interval j.
m If the volume storage on the start of interval j isVj-1=Vi
FT = and on the end of interval j Vj=Vk, and spillage is sj=0, than
i=1 the flow qj is equal:
and where is multiplier which is unknown at the V iV k
beginning. q j= +r j .
Lagranges method is based on the introduction of nj
penalization for any deviation from the set limits, and the For the obtained flow qj it is calculated output power of
minimum is achieved by equating the first derivatives of the hydroplant Pj, and when its power Pj was reduced for the
functions with 0. power of demand PD, it is obtained the remaining power that
Fi is needed to produce by steam plant. That remaining power
=0, is optimized on the basis of the principle that is that is
Pi known as equal incremental cost-loading principle. That
Which means: principle is given in chapter III.B. If it is obtained that the
F 1 F 2 F3 F optimized power of an steam plant is less than the allowed
= = = == m . minimal power, than its obtained power is equated with
P1 P2 P3 Pm minimal power. After that, process of steam optimization is
It is concluded that each optimal operation unit should run again. An analogous procedure is carried out for the
share the load such that their incremental costs are equal. case when constraint of maximal power was reached.
For equation of fuel cost Fi(Pi) for i units with Lagrange The problem of hydro-thermal coordination with
method it is obtained:. dynamic programming is based on finding optimal
i+ 2 i P i=0 . trajectory of water release whereby the total fuel cost of
From equation (17) it follows that: steam plant must be minimized.
i If we consider i as denoted the volume states on the start
P i= , of interval j, and with k as denoted volume states in the end
2 i
of interval j. Further, let with TCk(j) is denoted the total cost
m
from the start of scheduling period to the end of period j for
PD Pi=0, the reservoir storage state Vk, and with PC(i, j-1; k, j) is
i=1
denoted product cost of the thermal system in period j from
m
i
PD
i=1
(
)
2 i 2 i
=0,
an initial volume Vi to volume Vk of end of period [1].
Further, algorithm of dynamic programming is given with
next equations:
NO

22nd International Scientific-Professional Conference Information Technology 2017

TC k ( 0 ) =0, coefficients of hydropower characteristic. Besides the


power consumption curve coefficients, program requires
TCk ( j ) =min [ TC k ( j1 )+ PC ( i , j1 ; k , j ) ](27)
. data of the maximum and minimum power that can be
provided by plant. Hydropower plants, for description, need
Therewith, the trajectory must be chosen so that the
more inputs, unlike steam power plants, which are:
constraints of initial and final volume state are satisfied,
minimum and maximum allowed flow rates, minimum and
such as it is shown on Fig. 4. [1].
V[m3] maximum level of the volume of water in the reservoir
storage, the initial amount of water in the reservoir and the
ultimate level of storage capacity that is needed to
Vfinal accomplish by proper use of water for a given period of
planning.
Vinitial Output data of optimization are shown in tabular and
graphical. The table shows the optimized load distribution
on a given set of power plants and also that load distribution
is shown graphically. Also, the graphic is displayed
t[h] trajectory of volume change of reservoir storage.
1 2 3 4 5 . . . n The level of precision optimization is adjusted by
current_cost =cost(current);
Fig. 4. Possible trajectories of water release
cheapest_price =Inf; i=1; changing the level of density distribution of the reservoir
storage. Of course, the higher the density distribution of
The value of volume Vi and Vk can be limited, because of reservoir results the greater precision of optimization.
the possible limits of volume states or because of some The optimization process begins by forming a matrix of
other non-technical constraints, for example the irrigation. path costs between the individual points of the reservoir
[1].
volume and by forming vector of redistribution of load
V. THE SOFTWARE IMPLEMENTATION OF DYNAMIC between the plants for given path of the changes in the
PROGRAMMING FOR HYDRO-THERMAL volume reservoir, i.e. it is being formed three-dimensional
COORDINATION vector.
A. Review of program of hydro-thermal coordination B. Use of Dijkstra's algorithm to determine the
The program of hydro-thermal coordination, that is cheapest trajectory of storage volume
realized using MATLAB and GUI interface, is shown on changes
Fig. 5. The program was implemented for coordination of After matrix of costs were formed, the proces of finding
production from a hydroelectric plant and more steam the optimal trajectory is being started. That proces of
plants. optimization is realized by using Dijkstra's algorithm that is
modifed and adapted for this problem of optimization.
Dijkstra's algorithm is executed over a matrix of distance
between nodes, but for this problem that matrix was
replaced with matrix of cost. The algorithm that was used
for the optimization process is shown below.

Fig. 5. Display of program of hydro-thermal coordination

Entering basic data is performed via the graphical user


interface of interactive objects. Entering parameters that
describing the fuel cost curve of steam plant is carried out
by directly entering the coefficients , and or by
entering the table of known fuel consumption, on the basis
of which it is calculated the aforementioned coefficients.
Analogously it is performed input/calculation of A, B and C
22nd International Scientific-Professional Conference Information Technology 2017

VI. CONCLUSION
n= total num of reservoir volume level;
Efficient and economical use of existing power facilities
cost=ones(1,n)*Inf;
visit=zeros (1,n); are some of the basic requirements of the power system.
current=initial_point; Today there are more methods for optimization, namely
rastojanje(poetak)=0; coordination of electricity production. The advantage of
odreena_putanja_take(poetak)=1; dynamic programming is that there are no iterations and
tests of convergence in its execution, so in case of justified
request it can be always expected an adequate solution.

REFERENCES
[1] Allen J. Wood, Bruce F. Wollenberg, Gerald B. Shebl ,"Power
Generation, Operation, and Control", december 2013.
[2] Mohamed E. El-Hawary, "Electrical Power System-Design and
Analysis", 1994. god.
[3] Prof. dr Ilija Vujosevic, "Eksploatacija i planiranje elektroenergetskih
sistema", Podgorica, 2005.
[4] Prof. dr Slobodan Djukanovic, "Programiranje I", Lectures, Faculty
of electrical engineering in Podgorica, unpublished.
[5] "Dijkstra's Algorithm", Melissa Yan, Massachusetts Institute of
Technology-MIT, Available: http://math.mit.edu/~rothvoss/18.304.
3PM/Presentations/1-Melissa.pdf, Date of access: january 2017.
[6] "Dijkstrin algoritam za odredjivanje najkracega puta u mrezi",
Polytechnic faculty in Rijeka, Available: http://www.veleri.hr/files/
datoteke/nastavni_materijali/k_promet_s1/Kvantitativne_4_Promet.p
df, Date of access: december 2016.

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