Professional Documents
Culture Documents
Modeling and Simulation of Hydropower Station Using Matlab Simulink
Modeling and Simulation of Hydropower Station Using Matlab Simulink
A Project
Submitted to the Electrical Engineering Department /
College of Engineering / Mustansiriyah University In
Partial Fulfillment Of The Requirement For The Degree
B.Sc. In Electrical Engineering
By
Supervised by
Supervisor Certificate
Signature:
Date: 1 -7 -2020
II
III
Acknowledgment
Abstract
Table of Contents
Acknowledgment................................................................................................... III
Abstract..................................................................................................................IV
Table of Contents...………………………………………………………………V
INTRODUCTION ............................................................................................ 1
3.1. Simulink.......................................................................................... 16
Chapter Four..................................................................... 38
References .......................................................................... 46
Chapter One :Introduction 1
Chapter One
INTRODUCTION
1.1. General Introduction
Hydroelectric power, or hydroelectricity, is basically electrical energy
that has been generated using natural forces such as gravity or flowing water.
It's usually produced by dams, because dams can store and direct large
volumes of water. Hydroelectric power is becoming increasingly popular.
through a dam. The information they gain can then be used to define the
design criteria of future turbines and possible structure modifications. unique
combination of computer modeling, field measurements, and laboratory
bioassays are being used to develop a better understanding of how fish
respond to the extreme turbulence inside hydropower turbines and draft tubes.
Oak Ridge National Laboratory (ORNL) and TVA are working together to
develop and test new sensor arrays that can be inserted inside draft tubes to
measure water velocities and stresses directly. ORNL and Georgia Tech are
developing advanced computer models that can predict velocities at very high
temporal and spatial resolution, and those models are being validated against
field measurements. ORNL and Pacific Northwest National Laboratory
(PNNL) are working together to design and conduct controlled laboratory
bioassay tests of fish to define no-effect levels of physical parameters that can
be used as biological criteria for new turbine designs. This unique
combination of approaches is providing high-quality understanding that will
improve hydropower’s environ- mental performance
The reaction turbine consists of fixed guide vanes called stay vanes,
adjustable guide vanes called wicket gates, and rotating blades called runner
blades. Flow enters tangentially at high pressure, is turned toward the runner
by the stay vanes as it moves along the spiral casing or volute, and then passes
through the wicket gates with a large tangential velocity component.
Momentum is exchanged between the fluid and the runner as the runner
rotates, and there is a large pressure drop. Unlike the impulse turbine, the
water completely fills the casing of a reaction turbine. For this reason, a
Chapter One :Introduction 6
reaction turbine generally produces more power than an impulse turbine of the
same diameter, net head, and volume flow rate. The angle of the wicket gates
is adjustable so as to control the volume flow rate through the runner. In most
designs the wicket gates can close on each other, cutting off the flow of water
into the runner. At design conditions the flow leaving the wicket gates
impinges parallel to the runner blade leading edge to avoid shock losses. In
Francis turbine, a reaction turbine, there is a drop in static pressure and a drop
in velocity head during energy transfer in the runner. Only part of the total
head presented to the machine is converted to velocity head before entering
the runner. This is achieved in the adjustable guide vanes.
The system which is used for providing the necessary field current to the
rotor winding of the synchronous machine, such type of system is called an
excitation system. In other words,. excitation system is defined as the system
which is used for the production of the flux by passing current in the field
winding. The main requirement of an excitation system is reliability under all
conditions of service, a simplicity of control, ease of maintenance, stability
and fast transient response. The amount of excitation required depends on the
load current, load power factor and speed of the machine. The more excitation
is needed in the system when the load current is large, the speed is less, and
the power factor of the system becomes lagging
The excitation system is mainly classified into three types. They are
1.7.4. Transformer
is not loaded fully hence the core loss takes place for the whole day but the
copper loss is based on the load cycle of the distribution network.If the power
transformer is connected in the transmission network, the load fluctuation will
be very less as they are not connected at the consumer end directly, but if
connected to the distribution network there will be fluctuations in the load.
The transformer is loaded for 24 hours at transmission station, thus, the core
and copper loss will occur for the whole day of hydropower station .The
power transformer is cost effective when the power is generated at low voltage
levels. If the level
1.7.5. Load
fault" or "earth fault", current flows into the earth. The prospective short-
circuit current of a predictable fault can be calculated for most situations. In
power systems, protective devices can detect fault conditions and operate
circuit breakers and other devices to limit the loss of service due to a failure.
In a poly phase system, a fault may affect all phases equally which is a
"symmetrical fault" if only some phases are affected, the resulting
"asymmetrical fault" becomes more complicated to analyses. The analysis of
these types of faults is often simplified by using methods such as symmetrical
components.
Electrical grids vary in size from covering a single building through national
grids (which cover whole countries) to transnational grids (which can cross
continents).
Chapter Two :Mathematical background 11
Chapter Two
MATHEMATICAL BACKGROUND
In this chapter we explain the equations of the project. This chapter
presents a mathematical model of hydro power units under different operating
condition. So the mathematical representation of power system components
is significant for dynamic and transient stability studies. Therefore, some
standard dynamic models for prime movers were introduced previously for
simulation programs and other purposes in the literature. The parameters of
these models need to be determined by operators and engineers as accurate as
possible to take into account the behavior of such elements in power system
dynamic simulations.
There are many models that are used to describe the various power system
components. As a result, the study of the dynamic behavior of the system
depends upon the nature of the differential equations.
Small System: If the system equations are linear, the techniques of
linear system analysis are used to study dynamic behavior. Each
component is simulated by transfer function and these transfer functions
blocks are connected to represent the system under study.
Large System: Here state-space model will be used for system studies
described by linear differential equations. However, for transient
stability study the nonlinear differential equations are used.
Chapter Two :Mathematical background 12
However, the most general model of hydropower stations start with the
determination of hydraulic power. Hydraulic power is exhibited whenever a
volume of water falls from a higher level to a lower level. The general formula
for the determination of hydraulic power is shown by [6]-[7] as follow:
Ph=ρHQg (1.1)
Where:
Ph is input power to turbine
ρ is density of water(1000 kg/m3)
g is gravity (m/s2)
Q is water flow rate (m3/s)
H is total available head at turbine inlet (m)
( ) * ( ) ( )+ ( ) (1.3)
where :
( )
(1.4)
In general, linear models are used for small signal performance of turbine
whereas non-linear models are more appropriate for large domain signal-time
simulations. On the other hand several models were not made analytical but
consisted of simulated systems under various software. For instance, the
model presented by Nassar [11] was built in Simulink and consisted of the
following dynamic sub- models: controller, hydraulic and mechanical system,
turbine regulator. Figure (3) presents the block system of the entire model
with its sub-systems.
Chapter Two :Mathematical background 14
The Peak Base Power method determines the power and energy generated
by the entire plant based on the fractions of each time step operated at peak
flow and base flow. The other two methods also determined the maximum
operating point of the hydropower plant by considering algorithm based on the
best choice of QT and OH at given conditions.
Furthermore, [7] also works on the modeling and control of an isolated micro-
hydro power stations with battery storage system.
Chapter Three :Modeling of hydropower station by Simulink /Matlab 16
Chapter Three
MODELING OF HYDROPOWER STATION
BY SIMULINK /MATLAB
3.1. Simulink
Simulink (Simulation and Link) is an extension of MATLAB by
Mathworks Inc. It works with MATLAB to offer modeling, simulation,
and analysis of dynamical systems under a graphical user interface
(GUI) environment. The construction of a model is simplified with click
and drag mouse operations. Simulink includes a comprehensive block
library of toolboxes for both linear and nonlinear analyses. Models are
hierarchical, which allow using both top down and bottom up
approaches. As Simulink is an integral part of MATLAB, it is easy to
switch back and forth during the analysis process and thus, the user may
take full advantage of features offered in both environments .
Hydraulic Turbine
The speed deviation damping coefficient β and water starting time Tw
(s). Default is [ 0 2.67 ].
Chapter Three :Modeling of hydropower station by Simulink /Matlab 20
Droop reference
Specifies the input of the feedback loop: gate position (set to 1) or
electrical power deviation (set to 0). Default is 0.
Initial mechanical power
initial mechanical power Pm0 (pu) at the machine's shaft. This value is
automatically updated by the load flow utility of the Powergui block.
Default is 0.7516.
Pref
Reference mechanical power in pu
We
Machine actual speed, in pu.
Pe0
Machine actual electrical power in pu. This input can be left
unconnected if you want to use the gate position as input to the
feedback loop instead of the power deviation.
Dw
Speed deviation, in pu.
Pm
Reactance
The d-axis synchronous reactance Xd, transient reactance Xd', and
subtransient reactance Xd'', the q-axis synchronous reactance Xq,
transient reactance Xq' (only if round rotor), and subtransient reactance
Xq'', and finally the leakage reactance Xl (all in pu). Default is [1.305
0.296 0.252 0.474 0.243 0.18].
d-axis time constants; q-axis time constant(s)
Specify the time constants you supply for each axis: either open-circuit
or short-circuit. Choices are Short-circuit (default) or Open-circuit.
[ Td' Td'' Tq'' ] (s)
Chapter Three :Modeling of hydropower station by Simulink /Matlab 23
The d-axis and q-axis time constants (all in s). These values must be
consistent with choices made on the two previous lines: d-axis transient
open-circuit (Tdo') or short-circuit (Td') time constant, d-axis
subtransient open-circuit (Tdo'') or short-circuit (Td'') time constant, q-
axis transient open-circuit (Tqo') or short-circuit (Tq') time constant
(only if round rotor), q-axis subtransient open-circuit (Tqo'') or short-
circuit (Tq'') time constant. Default is [1.01 0.053 0.1].
Stator resistance
The stator resistance Rs (pu). Default is 2.8544e-3
Inertia coefficient, friction factor, pole pairs
Same as in the pu Fundamental dialog box. Default is [3.2 0 2].
Initial conditions
Same as in the pu Fundamental dialog box. Default is [0 -94.2826
0.750185 0.750185 0.750185 -24.943 -144.943 95.057 1.29071] .
Saturation
Specifies whether magnetic saturation of the rotor and stator iron is to
be simulated or not. Default is selected.
[ifd; Vt]
Same as in the pu Fundamental dialog box. Default
is[0.6404,0.7127,0.8441,0.9214,0.9956,1.082,1.19,1.316,1.457;0.7,0.76
98,0.8872,0.9466,0.9969,1.046,1.1,1.151,1.201].
The second Simulink input of the block is the field voltage. This voltage
can be supplied by a voltage regulator in generator mode (see
the Excitation System block) . Vf must be entered in pu (1 pu of field
voltage producing 1 pu of terminal voltage at n
m
The Simulink output of the block is a vector containing measurement
Exciter
The gain Ke and time constant Te, in seconds (s), of the first-order system
representing the exciter. Default is [ 1, 0 ].
Chapter Three :Modeling of hydropower station by Simulink /Matlab 26
vstab
Connect this input to a power system stabilizer to provide additional
stabilization of power system oscillations.
Vf
Chapter Three :Modeling of hydropower station by Simulink /Matlab 28
Winding 2 parameters
The phase-to-phase nominal voltage in volts RMS, resistance, and leakage
inductance in pu for winding 2. Default is [ 161e3,0.0027, 0.08 ]
Magnetization resistance Rm
The magnetization resistance Rm, in pu. Default is 500
Magnetization inductance Lm
The magnetization inductance Lm, in pu. Default is 500
Saturation characteristic
This parameter is available only if the Simulate saturation parameter on
the Configuration tab is selected. Default is [ 0,0 ; 0.0024,1.2 ;
1.0,1.52 ]
Initial fluxes
Specify initial fluxes for each phase of the transformer. This parameter is
available only if the Specify initial fluxes and Simulate saturation
parameters on the Configuration tab are selected. Default is [0.8 , -0.8 , 0.7 ]
Chapter Three :Modeling of hydropower station by Simulink /Matlab 30
3.2.5. Load
There are two load in station
1. 6 MVA ,14e3 kv inside of station
2. 11 MVA ,161e3 kv outside of station
control
timer (internal control mode).
X/R ratio
The X/R ratio at nominal source frequency or quality factor of the internal
source impedance. Default is 10 .
Source resistance
This parameter is available only if Internal is selected and Specify short-
circuit level parameters is not selected. The source internal resistance in
ohms (Ω). Default is 0.529.
Source inductance
This parameter is available only if Internal is selected and Specify short-
circuit level parameters is not selected.
The source internal inductance in henry (H). Default is 16.58e-3.
Chapter Four
RESULTS AND DISCUSSION
4.1. Introduction
To analyze the simulation results, three graphs have been plotted: the speed
characteristic , the output voltage and excitation voltage characteristic with
respect to time. To test the hydropower station response to faults ,we conduct a
three phase to ground fault on it in three different times .The steady state output
voltage of synchronous generator is 1 pu and nominal speed about 1.5 pu and
excitation voltage about 1.5 pu as shown in figures (4.1),(4.2),and(4.3).
Fault ( Case 1)
During the fault from t=0.2s to t=0.3s ,A significant drops in the output
voltage of synchronous generator and drops to 0.4pu ,and the excitation voltage
increase to 11.5 pu and the speed also increase slightly to 1.01 pu .The increase in
the excitation voltage is a positive response to system because it leads to an
increase in the flux, which leads to an increase the induced voltage of
synchronous generator due to famous equation (4.1)
E = KØN (4.1)
Where:
K is a constant related to the machine.
Ø is the flux per pole .
N is the speed.
From above equation ,the induced voltage depends on two parameters ,first
parameter is the flux Ø ,which is directly proportional to the induced voltage ,the
second parameter the speed N which also proportion to induced voltage ,but the
change in the speed is not very big during the fault and we can observe the
amount of increase in speed about 0.01 p.u .
Chapter Four :Results and discussion 40
It can be seen that ,the increase in speed is not significant because it depends
on the rate of water flow that passing through the water turbine ,and the gates
takes time to close and open the passage the water through the turbine .
After removing the fault, we notice the system quickly regains stability as it
was before fault( in steady state) .After t=2.5s, the output voltage regains stability
and keeps a constant voltage as in figure(4.4). The excitation voltage after t= 4s
returns its stability as in figure (4.5) .In addition the speed after t=5s it starts to
stabilize as it was before fault and we can notice this in figure (4.6) , the speed
take a longer time to stable because it depend on the gates ,which took time to
open and close them in the governor system of turbine.
Fault (Case 2)
This fault is taken from t=0.2s to t= 0.4s, the output voltage drops to 0.4
p.u and start increase gradually as it tries to reach a stable state. As for excitation
voltage increases and kept increasing even after removing the fault because it
leads to an increase in induced voltage due the equation (4.1) . The speed also
increases to 0.02 p.u slightly more than the increase in the first case and increases
and continues to increase gradually, but not with the increase that leads to the
increase of the induced voltage by a large percentage ,because it depend on the
rate of flow water .
After removing the fault ,the output voltage of synchronous generator
regains the stability after t=3.5s as shown in figure (4.7) ,but with more
oscillations and disturbances than that of case-1 .While excitation voltage remain
increasing until the synchronous voltage regains the stability and then droops
Oscillated from t=0.4s to t=5s after that back to stable as it was before fault to
maintain a constant output voltage as show in figure (4.8).Also the speed remains
a little longer time after fault ,and it droops smoothly from t=0.4s to t=5s after
that became stable as show in figure (4.9) .
Chapter Four :Results and discussion 42
Fault (Case 3)
This fault taken from t=0.2s to t=0.5s, the output voltage of synchronous
generator also drops and takes a longer time than the dropping in cases 1 and 2.
After removing the fault ,the system regains difficultly the stability and takes
more time to stabilize more than in cases 1 and 2 .We observe the output voltage
during the period from t=0.5s to t= 4.7s suffer from many disturbances and
oscillations due to the longtime of fault and regain the stability at t=4.7s ,as in
figure (4. 10)..Whereas the excitation system remain increased even t=2.2s and
after that it starts to smoothly drop and continue till t=6.5s ,and after t=6.5s it
stabilizes to maintain system stability ,as in figure (4. 11). The speed drops
smoothly from t=0.5s to t= 6.5s and after t=6.5s it is stabilize ,as in figure (4. 12).
4.2. CONCLUSION
References
[1] https://www.crestcapital.com/tax/introduction_to_hydropower
[2] Anders Karlsson and Thomas Lindberg, ―Development of a test bench for
dynamic hydroelectric plant control.‖ Master Thesis, Chalmers University
of Technology, Göteborg, 2011.
[3] Kaplan, S. M. , ―Smart Grid . Electrical Power Transmission:
Background and Policy Issues― .Capital Net, Government Series .pp.1-
42,2009.
[4] Milk, O.P. Hope,G . S , Hancock, G, Zhohui, L., Luqing , Y. E. and
Shouping , ″Frequency measurement for use with a microprocessor- based
water turbine governor″ , IEEE Trans Energy Conv., 6:361-6, 1991.
[5] Ramey, D. G. and Skooglund, J. W, ″Detailed hydro governor
representation for system stability studies″, IEEE Trans on Power
Apparatus and Systems, 89:106–12 , 1970.
[6] Fuchs, E. F. and Masoum, M.A.S, ″Power Conversion of Renewable
Energy Systems″, Springer, ISBN 978-1-4419-7978-0 , 2011.
[7] Hernandez, G. A. M., Mansoor, S. P. and Jones D. L., ″Modelling and
Controlling Hydropower plants″, Springer, DOI 10.1007/978-1-4471-2291-
312, 2012.
[8] Naghizadeh, R.A., Jazebi, S. and Vahidi, B.,″ Modelling Hydro Power
Plants and Tuning Hydro Governors as an Educational Guideline″,
International Review on Modeling and Simulations (I.RE.MO.S), Vol. 5,
No. 4, 2012.
[9] Marquez, J. L., Molina, M. G. and Pacas, J. M., ″Dynamic modeling,
simulation and control design of an advanced micro-hydro power plant or
distributed generation applications ″ ,Elsevier Trans. On Hydrogen Energy
Chapter Four :Results and discussion 47
[10] Singh, M., and Chandra, A. 2010. ″ Modeling and Control of Isolated
Micro- Hydro Power Plant with Battery Storage System″. National Power
Electronic Conference, Roorkee, India
[11] Hernandez, G. A. M., Mansoor, S. P. and Jones, D. L. 2012. ″ Modeling
and Controlling Hydropower plants″, Springer, DOI 10.1007/978-1-4471-
2291-312.
[12] Zagona, E. A. and Magee, T. M. ″Modeling Hydropower in
River Ware. In Proc. of Waterpower 99: Hydro’s Future: Technology,
Markets and Policy″, pp 1-10 , 2013.
[13] Mathworks, ″Synchronous Machines″.
http://www.mathworks.com/examples/simpower/50-synchronous-
machine, 2014