Tuning of Power System Stabilizer in Single
Tuning of Power System Stabilizer in Single
Abstract--Power system stabilizers have been widely used combination of power and speed have been also
in generation systems to enhance the transient stability proposed in some papers as input signals [3] [4]. They
of the power system. Low frequency oscillation may
occur as a result of excitation system which exerts a add an element to the electrical torque which is in
phase lag. Conventional power system stabilizers using a phase with speed deviation. The conventional power
lead-lag controller have been used in utility for decades. system stabilizer is shown in Fig 1.
Proper tunning of the parameters of stabilizer is
essential for effectiveness of stabilizer. Many
optimization techniques have been proposed for finding
the optimum parameters of stabilizer. In this paper
tuning of parameters of a Conventional Power System
Stabilizer in a Single Machine Infinite Bus (SMIB) using
Genetic Algorithm (GA) is proposed. The power system
is modelled in Power Factory and the optimization is Figure 1 Conventional Power System Stabilizer
done through MATLAB optimization toolbox. The cost
function is to maximize the damping ratio which is It consists of a washout filter to filter the steady state
calculated using Power Factory Modal Analysis. Using voltage and two lead-lag controller blocks followed
DIgSILENT Programming Language (DPL), a real time
data exchange between MATLAB and Power factory is
by limiter block to limit the output. The parameters of
set during optimization process. The result of simulation the lead-lag blocks should be tuned properly to
proves the effectiveness of optimization process. compensate for the phase lag due to exciter system,
generator and power system. Two common
Keywords: Power system stabilizers, Genetic Algorithm,
MATLAB, DIgSILENT, Modal Analysis approaches to provide enough damping to the system
are minimum phase and root locus. In the first
technique, the parameters of stabilizer are adjusted to
compensate the phase lag using frequency response
analysis. In the second one a modal analysis is carried
I. Introduction
out to find out the position of eigenvalues associated
Automatic voltage regulators have been utilized in
with mode of oscillation. Then the parameters of
power systems since 1960’s [1]. Although they
stabilizer are tuned so that the zeros and poles of the
improve steady-state stability of the transmission
stabilizer are placed in the s-plane in order to shift the
system they have a detrimental effect on transient
eigenvalues to the left as much as possible.
stability because they increase the phase lag of the
system [2].Oscillation at low frequencies of 0.2 to 2.5 In this paper the second technique is applied to a
Hz may occur in the system due to large disturbances Single Machine Infinite Bus system. The power
like phase-to-ground faults in a transmission line. system is modelled in DIgSILENT Power Factory
Power system stabilizers are used to add damping of which is a powerful tool for simulation of power
the system through modulation of excitation system systems. The modal analysis tool is used to determine
by adding a component to the electrical torque which the modes of oscillation. The resulting data from
is in phase with speed deviation. They normally use modal analysis is used to optimise a cost function
speed deviation as input signal. Bus frequency and using MATLAB’s Genetic Algorithm optimisation
Table 1 Dominant eigenvalues with no PSS The fitness function is defined using the result of
modal analysis in Power Factory. It is possible to save
Imaginary Damped Damping
Name Real part part Frequency Ratio the result of modal analysis in form of spreadsheet
1/s rad/s Hz (CSV file) that could later be used by MATLAB. The
values of real and imaginary part of the eigenvalues
Mode 11 -0.1416 3.8866 0.61857 0.0364
are saved in form of a CSV file using ASCII RESULT
Mode 12 -0.1416 -3.887 0.61857 0.0364
EXPORT (ComRes) element in Power Factory. This
Mode 8 -22.8 7.6182 1.21247 0.94846 file is loaded in MATLAB environment and the
Mode 9 -22.8 -7.618 1.21247 0.94846 damping ratio of all eigenvalues are calculated using
(1).
ିఈ
As seen in Table 1 the damping ratio of ݀ܽ݉ ݎൌ (1)
ඥఈ మ ାఉమ
electromechanical modes is around 3%. Under
different loading conditions this ratio could In (1), ߙ and ߚ are real and imaginary parts of
deteriorate and the system could become unstable i.e.
the Eigenvalues in the S-plane. This ratio is
the oscillations could persist which may cause the
calculated for all eigenvalues with positive
separation of the network.
imaginary part and the minimum damping ratio
is calculated. The fitness value for GA as
II. Tuning Process described in (2) is finding the possible maximum
By adding PSS units to the generator’s control loop value of the minimum damping ratio.
the poles and zeros of the PSS change the position of
the eigenvalues in the S-plane. The ultimate goal of ܬൌ ሼሺ݀ܽ݉ݎ ሻሽ ݅ ൌ ͳǡʹ ǥ ǥ (2)
the tunning procedure is to shift all oscillatory modes
to the left of the S-plane to an optimum place. The As the aim is to tune the parameters for
parameters to be changed are gain and time constant maximum damping ratio and GA is a
of lead lag blocks. Many optimization techniques minimization algorithm the reverse of damping
have been used by past researchers to find the ratio is considered in encoding. The genetic
optimum parameters including particle swarm encoding is made of 5 parameters including
optimization [5], Tabu search, Fuzzy logic, Genetic ܶଵ ǡ ܶଶ ܶଷ ܶସ and K. The upper and lower limits of
Algorithm and other Artificial Intelligent techniques
the parameters are defined according to Table 2.
[9]. In this work Genetic Algorithm solver in the
MATLAB Optimization Toolbox is used to find the B. Automatic Data Exchange between
optimal values for PSS parameters. MATLAB and POWERFACTORY
Power factory uses a set of script as command codes
A. Genetic Algorithm
to facilitate the process of simulation. These
GA is a search technique based on biological
commands are written using DIgSILENT
evolution to find the optimal or a near optimal
Programming Language (DPL) and they are used to
solution to an optimization problem. A fitness
add some sort of automation to the simulations.
function should be defined which is the cost function
Changing parameters, running different simulation
of the optimization problem. A random population of
and commands could be arranged through DPL
individual is encoded in form of binary strings. The
scripts.
definition of this code is done by the engineers
Table 2 Parameters upper and lower limit After running a modal analysis in Power Factory the
new positions of the eigenvalues are found and the
Parameters Min Max
K 10 80 oscillation modes which are 7-8 and 14-15are shown
T1 0.1 3 in Table 4.
T2 0.05 1
As seen in Table 4deployment of PSS has deteriorated
T3 0.1 2
the stability of the system and has made the system
T4 0.05 1
unstable with negative damping ratio in modes 14 and
The data exchange proposed in [5] is used to run the 15. The DPL script in power factory and GA script
simulation process. The flowchart shown in Fig. 6 MATLAB are executed simultaneously to perform the
depicts the sequence of the data exchange. process shown in Fig.6. The number of generations is
limit to 10 as the stop criteria. The result after running
Start the algorithm is shown in Fig. 8. The best fitness
value as seen in Fig. 8 is 0.538 which is an acceptable
damping ratio. The solutions which are the parameters
Power Factory runs modal
analysis and writes data as of PSS are set as new parameters of PSS block and the
spread sheet
MATLAB waits for Power
modal analysis is run again which are shown in Table
factory to finish checking 5 and the solution in Table 6.
switch
References