Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Prepared for:
K. Awodele
Department of Electrical Engineering
University of Cape Town
Prepared by:
Zosuliwe P. Ndlondlwana
Undergraduate Electrical Engineering
October 2008
This thesis was prepared in partial fulfilment of the requirement for the Bachelor of
Science degree in Electrical Engineering at the University of Cape Town.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Declaration
I, Zosuliwe P. Ndlondlwana, hereby declare that the work contained in this thesis is my
own and references have been made in acknowledgement of the work of others.
Signature:
_____________________
Date:
_____________________
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Acknowledgements
If I have seen further than others, it is by standing on the shoulders of giants.
-Sir Isaac Newton
My family, especially my late mother for encouragement. I hope to make you proud.
My friends for being there for me and making varsity a wonderful experience.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Terms of Reference
In June 2007, Mrs. K. Awodele proposed a simulation program to demonstrate distance
and differential protection for power system components. The simulation had to use
Matlab/Simulink and would be used by students.
2.
3.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Abstract
Background to the thesis
This thesis project arose as a result of the need to display other protection schemes,
namely distance and differential protection.
Theoretical models of distance and differential protection are relatively simple. A simple
radial system may use over current relays for protection. However as in practice, power
systems are seldom simple. With an increase in system complexity, over current
protection may be the unviable option especially in terms of coordination. The time delay
for the relay close to the source may become excessively long. The concept of
protective zones thus becomes important. Protection zones can be defined for:
Generators
Transformers
Buses
Zones are overlapped, with circuit breakers located in the overlap regions.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Many factors however contribute to the malfunction of distance relays. These include
composite circuit lines, series compensation and the infeed effect. There are various
methods that are practically used to try and mitigate these problems. For composite
lines, an RCL model is used in conjunction with signal processing methods in order to
get the correct reach for the relay. For a thyristor controlled series capacitor (TCSC)
compensated line, Directional comparison blocking (DCB), Permissive overreaching
transfer trip (POTT) and Directional comparison unblocking (DCUB) is used.
Busbars and transformers are protected by means of differential protection. CTs of the
differential protection may saturate leading to relays tripping. In order to avoid this,
methods such as harmonics-based restraining and third difference function algorithm are
employed. The transformer core itself may become saturated due to magnetic inrush or
overexcitation. This may also destabilize relay discrimination. Several methods for
stabilization are explored, such as harmonic-based methods, flux restraining methods,
compensated differential current and even the use of neural networks.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Choice of Simulation
The requirement of this thesis was to use MATLAB/Simulink for the simulation. Several
options were investigated, but the following were the viable options:
For distance protection, the theoretical model with three zones was used. The
practical methods could not be used due to IEEE restrictions as well as their
complexity given the time frame. A graphical user interface was chosen based
on the fact that uniformity wanted to be achieved with the ProtectionIntro
program. The idea of an interactive program while learning something new was
appealing.
On completion of the coding and modeling phase, the simulations were run.
A 345kV network was chosen. The protected line positive sequence impedance was
8+50i and the adjacent line positive sequence impedance was 5.3+33i. CT and VT
ratios were set as 1500:1 and 3000:1 respectively. It can be assumed that these are
practical values as they were obtained in [1].
Case 1: Normal condition with the correct settings, where relays operate correctly.
Normal current was set at 500A.
Case 2: Steady condition with incorrect settings, where relays malfunction. Fault current
was set at 3000A.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Case 3: Fault condition with the correct settings, where relays operate correctly. Normal
current was set at 2800A.
Case 4: Fault condition with incorrect settings, where relays malfunction. Fault current
was set at 2000A.
For each case, the program displays the appropriate messages, whether relays trip or
restrain. Where relays operate correctly, the user will know that the entered values and
settings could work. Where relays trip or restrain unnecessarily means that protection is
either too sensitive or insensitive. The user will then have to change the input currents
and/or CT or VT ratios. This demonstration shows how changing settings affect the
impedance diagram.
A real life fault on the Koeberg-Stikland 400kV line was also investigated, using
DigSilent Power Factory software and comparing the results to the proposed simulation.
Positive sequence impedances of the lines were used.
A Y-Y 154kV/23kV, 55MVA saturable transformer was used for the case study. The
offset current was chosen to be 15A, a practical value, while K was set at 0.3. The aim
was to test and observe the effect of transformer core saturation on the conventional
differential relay.
The transformer parameters were set such that R 1 = 0.002 p.u, X l1 = 0.08 pu, R 2 =
0.002 p.u, X l 2 = 0.08 p.u, core-loss resistance (referred to as R m in Simulink) was 500
p.u. These values were the default values in the simulation. However the initial flux was
chosen to be 1.2 p.u, which is a value for high saturation.
Various values for the initial flux could be used, all showing the effect of saturation on
exciting current. It was observed that the higher the level of saturation (initial flux) the
higher the exciting current. The conventional differential relay would trip, whilst the
compensated-current differential relay would restrain for all values of saturation.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Conclusions
Based on the results of the final design product, the following conclusions can be made:
1) The objectives were achieved in terms of the fulfillment of the aim. Various
MATLAB/Simulink tools were used. Although more could have been incorporated
into the programs, the foundation was satisfactorily set. A lab sheet will supplement
the simulations where certain concepts need to be demonstrated that the simulation
did not include, such as the effect of an infeed in distance relaying.
2) There was a discrepancy between the DigSilent results and the simulation results in
that the simulation showed some underreaching, diagnosing the fault as zone 2
instead of zone 1. However, incorporating the
obtaining correlating results with the pair of the simulations suggests that the current
in DigSilent was measured as delta. Hence to obtain the line current required for the
distance protection simulation, the current had to be multiplied by
3 thus having an
b)
c)
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
10
Recommendations
As the outcomes of this thesis were aimed at students and the increase of their
knowledge, the following recommendations can be made:
1)
2)
Adding some material to the syllabus, such as factors and situations that
affect protection in practice.
3)
An investigation into real line data (impedances) and CT and VT ratios should
be made. The simulation just demonstrates the principle behind distance
protection.
4)
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
11
Table of Contents
Declaration
Acknowledgements
ii
Terms of Reference
iii
Abstract
iv
List of Figures
xiii
List of Tables
xiv
List of Acronyms
xv
List of Symbols
xvi
Chapter 1
Introduction
1.1
1.2
Objectives of thesis
1.3
Methodology
1.4
1.5
Thesis layout
Chapter 2
Literature review
2.1
2.2
2.3
2.4
13
14
Chapter 3
3.1
Theory development
Distance protection
3.1.1 Distributed generation
15
16
17
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
3.2
Differential protection
3.2.1 Busbar differential protection
19
21
23
24
Chapter 4
4.1
4.2
5.2
Coding
25
26
30
31
Chapter 5
5.1
12
Distance protection
5.1.1 Case 1: Normal condition with correct settings
34
35
36
37
37
Differential protection
5.2.1 High saturation with no fault
41
43
Chapter 6
6.1
Conclusions
45
6.2
Recommendations
46
References
Zosuliwe P. Ndlondlwana
47
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
13
48
49
51
55
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
14
List of figures
Figure 1: Time-current curve for time delay OC relay
Figure 5: Impedance relay with directional restraint for CB12 and CB32
respectively
Figure 6: Modified impedance relay for CB12
8
9
Figure 7: Diagram showing connection for single line-to-ground fault and its
equivalent Thevenin network
11
Figure 8: Diagram showing connection for line-to-line fault and its equivalent
Thevenin network
11
Figure 9: Diagram showing connection for double line-to-ground fault and its
equivalent Thevenin network
12
13
14
16
17
22
23
23
32
34
35
36
37
38
saturable transformer
38
39
40
40
41
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
15
42
List of Tables
Table 1: Sequence of events for Koeberg-Stikland fault
38
39
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
16
List of acronyms
OC
overcurrent
CT
current transformer
VT
voltage transformer
DG
distributed generation
FIR
TCSC
SSR
subsynchronous resonance
TCR
DCB
POTT
DCUB
UHV
GUI
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
List of Symbols
Z o , Z1, Z 2
Zf
fault impedance
Vf
prefault voltage
[I abc ]
[I 012 ]
[A]
phasor a = 1 120 o
V LN
line-to-neutral voltage
IL
line current
Zosuliwe P. Ndlondlwana
17
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Introduction
1.1
18
There already exists a protection simulation panel, constructed in 1995 by C. Hoyle et al,
in the Power Engineering Laboratory which demonstrates the operation of over current
(OC) relays. Students are able to configure relay settings to observe grading: the coordination of different relays of a feeder to ensure effective back-up protection, while still
ensuring sensitivity and selectivity. That protection panel, however, is limited as its
functionality only demonstrates one type of protection scheme.
In 2007, a basic protection panel was built by Bonga D. Ntshangase as a thesis project
to solve the problem of limited exposure of students to practical protection practices. The
panel demonstrates OC, under voltage and transformer protection (oil and gas, and
differential protection).
1.2
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
19
1.3
Methodology
To achieve the set objectives, a literature review shall be undertaken to understand the
fundamentals of power system protection. From there the simulation code will be written,
having reviewed MATLAB coding literature [12], as well as the Protection Intro
Simulation program.
1.4
Although the area of power systems protection is investigated, the outcome of this thesis
is limited to the field of distance and differential protection schemes on power system
components. The software to be used is MATLAB/Simulink, as this is coding many
students are familiar with. The practical results were limited due to the lack of test
equipment. Many papers were also inaccessible due to IEEE membership constraints or
had to be purchased. Time also became a constricting factor in providing the
deliverables.
1.5
Thesis layout
Chapter 2:
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Chapter 3:
20
Chapter 4:
Chapter 5:
Chapter 6:
Chapter 1
2 Theory Literature Review
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
21
2.1
Short circuits or faults in power systems occur as a result of equipment insulation failure
due to system overvoltages, caused by lightning or other natural causes, switching
surges, insulation contamination or simply of mechanical causes. These faults can
damage system components if not quickly removed. The core idea behind protection is
to establish undesirable conditions, and note the difference between permissible and
undesirable conditions. These differences can be sensed by relays. From hereon the
faulted equipment is isolated by means of circuit breakers, while maintaining supply to
as much of the healthy system as possible.
There are certain qualities by which a protection scheme is assessed [1]. These are:
2.2
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
22
often applied to radial systems, where relatively high currents need to be cleared quickly.
Two types of overcurrent relays can be observed, namely:
I. Instantaneous OC relays
These respond to the magnitude of an input current, operating on a trip or block
system. Where the input current is less than the threshold, relay action is
restrained (block), else the relay operates (trip).
Overcurrent relays are effective for simple radial systems. As a system becomes more
complex, there are challenges that are prevalent. Co-ordination of time delay OC relays
becomes difficult for radial systems as the time delay for the breaker closest to the
source is very long. The concept of protection zones is thus necessary [1], also for nonradial configurations. Protection zones can be defined for:
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Generators
Transformers
Buses
Zones are overlapped, with circuit breakers located in the overlap regions.
2.3
Zosuliwe P. Ndlondlwana
23
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
24
Distance relays respond to a voltage-to-current ratio. When a three phase fault occurs
on a line, the current increases and the voltage at the bus closest to the fault decreases.
This means the voltage-to-current ratio or impedance decreases. These quantities are
measured by means of current and voltage transformers, also known as instrument
transformers. For a radial system, the relay will operate for impedances less than the
threshold setting i.e. for |Z|<|Z relay |.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
25
For a system where there is more than one direction for the flow of current, nondirectional relays are inadequate. Directional relays need to be used. There are two
ways of including directional capabilities, namely:
Using a modified impedance relay (mho relay), where the center of the
impedance circle is offset from the origin (figure 6)
Figure 33: Impedance relay with directional restraint for CB12 and CB32 respectively
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
26
Figure 4 shows a line fed from both ends. CB12 and CB23 detect faults to their right,
while CB32 and CB21 detect faults to their left.
For a fault occurring on line 1-2, CB12 and CB21 should open, while for a fault on line 23 CB23 and CB32 should open. This means that a zone 1 fault for CB12 is a zone 3 fault
for CB32, and a zone 3 fault for CB12 is a zone 1 fault for CB32. Adaptive relaying is
used to achieve the coordination of the opening of circuit breakers. This is achieved by
means of communication channels.
In order to obtain the relay settings for CB12, the secondary impedance viewed by the
relay is calculated using the equation
(1)
Zosuliwe P. Ndlondlwana
(2)
(3)
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
27
(4)
Where Z(line) is the positive sequence secondary impedance for that line
Distance to the fault was calculated as a percentage of the line using the equation
D = (Z * (CT ratio/VT ratio)) / Z(line 1-2)) * 100
A three phase system is normally balanced, and remains symmetrical even after the
occurrence of a three phase fault. However, other types of unsymmetrical faults do
occur, such as single line to ground and double line to ground faults, which make use of
the other sequence components. This also complicates relay settings.
A three phase network is represented by its sequence networks, which are the positive-,
negative- and zero sequences. These can be used as a powerful tool to determine the
state of a network, particularly during fault conditions.
Where [I abc ] are the phase components of the currents i.e. currents in phases a, b and c.
[I 012 ] are the sequence components of the current.
1 1
[A] = 1 a 2
1 a
1
a
a 2
Zosuliwe P. Ndlondlwana
and
[A]
1 1
1
=
1 a
3
1 a 2
1
a 2
a
a = 1 120 o
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
28
Depending on the type of fault that occurs, the sequence networks will vary thus
affecting the current in the system. Z o , Z 1 , Z 2 denote the zero-, positive- and negative
sequence network impedances at the fault location. Z
Figure 35: Diagram showing connection for single line-to-ground fault and its equivalent Thevenin
network
Ib = Ic = 0
and
I 0 = I1 = I2 =
Vf
Z 0 + Z 1 + Z 2 + 3Z f
Line-to-line fault:
Figure 36: Diagram showing connection for line-to-line fault and its equivalent Thevenin network
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Ia = 0 ;
29
I b = -I c
I 1 = -I 2 =
Vf
I0 = o
Z1 + Z 2 + Z f
Figure 37: Diagram showing connection for double line-to-ground fault and its equivalent Thevenin
network
Ia = 0
I1 =
Vf
Z 1 + [ Z 2 || ( Z 0 + 3Z f )
Z o + 3Z f
Z 2 + Z 0 + 3Z f
I 2 = - I1
Z2
Z 2 + Z 0 + 3Z f
I 0 = - I1
and
Zosuliwe P. Ndlondlwana
I1 =
Vf
Z1
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
30
For simplicity, only bolted three phase faults will be considered in the simulation i.e.
Z f =0. Positive sequence impedance is used, because during a three phase fault, there
is only positive sequence current flowing in the system. The zero and negative sequence
impedances are uncoupled and thus do not contribute to fault current.
The impedance to the fault is then calculated using equation (1) where I L is substituted
with the fault current. It is noted that the relays discussed thus far use line-to-neutral
voltages and line currents. These relays are ground fault relays and respond well to the
aforementioned faults. However, line-to-line faults may occur, hence the need for line-toline voltage and current measurements. In practice both ground fault relays and phase
relays are used.
2.3.2
The reach of a relay is affected when there is a source of fault current within the
operating zone of the distance relay, for example a line fed from both ends. Figure 10
below shows a phase of a line with an infeed.
Z apparent = Z 12 + Z 24 +
Z actual = Z 12 + Z 24
Zosuliwe P. Ndlondlwana
I 32
Z 24
I 12
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
31
In the case of an infeed, underreaching of the relay occurs. This is called the infeed
effect. The apparent primary impedance seen by the relay for CB12 is larger than the
actual impedance, and the effect is worsened by a strong infeed i.e. the larger the infeed
current contribution I 32 to fault current, the larger the apparent impedance resulting in
greater underreaching. A fault close to bus 4 might go undetected by CB12, thereby
rendering remote backup for line 2-4 at CB12 ineffective.
2.4
Differential
protection
for
generators,
buses
and
transformers
The principle of differential protection lies with the comparison of currents on both sides
of the equipment under protection, whether it is a generator, a busbar or transformer.
Under normal conditions or for a fault outside the protected zone, the currents I 1 and I 2
are equal hence the secondary currents on the current transformers i 1 and i 2 are equal
(figure 11). The relay will operate for an internal fault where the difference between
these currents exceeds a preset value. Although one relay is shown in the diagram,
three differential relays are needed, one on each phase. The operation of any one would
result in the isolation of all three phases.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
32
Chapter 2
3 Theory development
The previous chapter provided a basic theoretical principle to distance and differential
protection. Distance relaying in transmission and distribution lines is more favourable
than OC relaying, particularly in non-radial systems, or when the complexity of a system
increases. Differential protection is unit protection used for expensive components such
as transformers, generators, busbars and even transmission lines.
In practice protection schemes are imperfect, but relays should operate as accurately as
possible. Research into the methods used to try and imitate the theoretical model of
distance and differential relays is currently being done.
3.1
Distance protection
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
33
A new model proposed by [5], suggests the circuit be modeled as a series of RCL
sections as seen in figure 5. Greater reach point accuracy is achieved because of the
more accurate model.
The busbar relaying voltage and current signals are applied to the left-hand side of the
circuit model, and then sequentially calculating each section of the model until the reach
point voltage and current values are produced. Digital signal processing techniques are
used.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
34
Figure 13 shows a TCSC module. This consists of a series capacitor C in parallel with a
varistor, MOV, and thyristor controlled reactor (TCR), L s . The varistor across the
capacitor prevents high capacitor overvoltages. A circuit breaker is used to bypass the
TCSC module during severe faults or equipment malfunction. The current limiting
inductor L d limits the magnitude and frequency of capacitor current during bypass
mode.
The apparent impedance seen by the relay depends on the TCSC mode of operation,
where Z seen = Z actual + R f + Z TCSC .
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
35
I.
II.
III.
Blocking mode
Thyristors are kept in a non-conducting state, thus TCSC behaves like a series
capacitor. The relay overreaches, but less than the capacitive boost mode.
IV.
Bypass mode
Thyristors are triggered continuously and the TCR branch conducts. TCSC acts
as a parallel combination of the series capacitor with the inductor in the thyristor
branch. Z TCSC is a pure inductance with a small value. The distance relay thus
underreaches slightly.
V.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
36
These methods can be implemented by using inputs, outputs and trip-logic equations of
numerical relays [7].
3.2
Differential Protection
I.
II.
III.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
IV.
37
V.
A CT saturation detection algorithm based on the third difference function was proposed
by [3]. At the start and end of saturation, the magnitude of the third difference function is
significantly larger than normal or in the period where there is no saturation. The relay
discriminates between internal and external faults by means of a logic system. A
blocking signal is issued during saturation and for one cycle after. For internal faults that
cause saturation the relay operates before activation of the blocking signal.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
38
a) Harmonic-based methods, but delay operating time if harmonics are seen in the
differential operating current. These methods also fail for some modern core
materials, where contrary to the belief that higher second harmonic components are
generated during magnetic inrush than internal faults, the opposite is true: higher
second harmonic components are generated during internal faults than magnetic
inrush for modern core materials.
b) Flux restrained current differential relays: They calculate the core flux using primary
voltage. Where magnetizing current and flux comply with the OC magnetization
curve, relay operation is inhibited. Remanent flux causes a deviation from the
magnetization curve, creating problems.
a = N2/N1
| I 1 + aI 2 |
.
2
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
39
(5)
(6)
Where
V 1 (t) = R 1 I 1 (t) + L l1
dI1 (t )
+ e 1 (t)
dt
I c (t) =
e1 (t )
Rc
(7)
dI1 (t )
dt
(8)
Before saturation I d (t) = I 1 (t) - aI 2 (t) - I c (t). If the differential current exceeds the
threshold, saturation is detected. This differential current is regarded as the magnetizing
current I m (t), used to estimate (t 0 ) from the magnetization curve (figure 15).
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
40
(t) =
e (t )dt + (t
1
(9)
t0
From there the magnetizing current, I m (t), can be obtained from the magnetization curve
as seen in figure 16.
More modern schemes suggest the use of neural network based protection [9].
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
41
a) Shunt reactor. This method only partially compensates the power frequency steady
state capacitive current but fails in the event of transient capacitive current.
b) Capacitive current compensation. At present phasor-based algorithms are a good
option but operate slowly during faults.
A capacitive current compensation algorithm which can compensate both transient and
steady capacitive current without the increase in sampling rate or telecommunication
traffic is needed. Time-domain compensation in conjunction with a phaselet algorithm
was proposed by [8]. The calculation is done in the following steps:
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
42
Chapter 4
4
Coding
This chapter contains the design processes of obtaining the code or models used. The
choice of the simulation type is explained. Sections of code are also included. MATLAB
7.0.1 was used.
4.1
Type of protection
What MATLAB
programming could be
used?
Simulink
Why?
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
43
A GUI (graphical user interface) was chosen as this is the most user interactive and
compact method as compared to command line prompt type programming. Another
reason that prompted the use of a GUI was to create uniformity in terms of the existing
Protection Intro program. This program can be viewed as a sister program.
This
Simulink was considered, but found not to be viable due to the unavailability of current
transformers in the toolbox.
There are many ways for determining the distance to the fault under various conditions.
These have been discussed in chapter 3. As time was a limiting factor, distance
protection in a radial system was chosen as the basis for the simulation, assuming the
line is not series compensated or experiences practical problems such as mutual
coupling or high fault resistance. This code demonstrates the theoretical principle of
distance relaying. As was also mentioned in the scope and limitations of the thesis, IEEE
restrictions caused the unavailability of relay settings literature pertaining to a system
with an infeed, but demonstration of the effect of an infeed is included in the laboratory
sheet in Appendix C.
As was previously mentioned, for simplicity and owing to time and membership
constraints, bolted three phase faults will be the basis of the simulation.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
44
Start
User Inputs
Simulate state
(normal/fault)
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
45
temp = get(handles.listbox1,'String');
temp = char(temp(get(handles.listbox1,'Value')));
handles.vtratio = str2num(temp);
set(handles.listbox2,'Value',15);
temp = get(handles.listbox2,'String');
temp = char(temp(get(handles.listbox2,'Value')));
handles.ctratio = str2num(temp);
Depending on whether the normal condition or fault condition is chosen, the voltage-tocurrent ratio will be calculated.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
46
The impedance diagram will be plotted with the given information, using this portion of
code below. The relay settings are plotted on the assumption that the relays used are
those with directional restraint.
It should be noted that the code shown here pertains to CB12 in the simulation.
Under normal conditions when the allowable current is flowing in the system, impedance
is high thus protection should not operate, or during fault conditions, impedance is low
and protection should operate. At times the settings entered by the user may cause the
relay to malfunction. Suitable comments are also made for the user to take note of.
The user must then make changes either to the current, CT and/or VT ratios.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
4.2
47
Type of protection
What MATLAB
programming could be
used?
Differential - transformer
Simulink
Why?
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Start
User Inputs
Run the
program
View
differential current
setting
conventional diffential
current Id
compensated
differential current
Zosuliwe P. Ndlondlwana
Observe
how transformer
doesnt trip from
saturation
how a fault will cause
differential protection to
act
48
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
49
Figure 17 shows the Simulink model for the chosen simulation. All the parts that are
green in colour (a, K and I_offset) are the user inputs, as well as the inputs to the
saturable transformer model, which the user inputs by double clicking the component
and editing the relevant sections as will be explained by the laboratory sheet in Appendix
B. The scopes may also be used to view the state of the system by double clicking on
them.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
50
Chapter 5
5
Base cases or simulation scenarios were chosen for both the distance and differential
simulations so as to showcase the outcomes of running the programs. A real life fault
scenario was also tested using the program.
5.1
Distance protection
A 345kV network was chosen. The protected line positive sequence impedance was
8+50i and the adjacent line positive sequence impedance was 5.3+33i. CT and VT
ratios were set as 1500:1 and 3000:1 respectively. It can be assumed that these are
practical values as they were obtained in [1].
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
51
As can be seen from figure 18 above, the impedance marked with an o or x lies
outside the relay settings, hence no tripping of any relay occurs. The relay settings for
CB12 are returned.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
52
As can be expected, the impedance marked by o and x falls within the relay settings
zone and thus the relays operate correctly. For CB12 zone 1 on the impedance diagram
is red, zone 2 is yellow and zone 3 is green. The impedance marked with an o falls in
zone 3 hence the time delay comment stating that CB12 trips after 1 second. CB12
communicates to CB32 to trip. The x mark shows the impedance as viewed by CB32.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
53
When the steady state current is too high for the settings selected, malfunction of the
relay can occur. Figure 20 shows a comment for CB12 displaying the tripping of a relay
because the settings entered are too sensitive. The user will have to then change either
the normal current to a lower value, and/or the CT and VT ratios and re-run the
simulation.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
54
When the situation in figure 21 occurs, the relays do not detect the fault as the settings
are too insensitive. Again, the user will have to reconfigure their settings to obtain the
correct response of the relays during fault conditions.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
55
The network in figure 22 is a 400kV network. The three lines from Koeberg Station are
protected in such a way that should a fault occur, all three phases are isolated by means
of circuit breakers. This was an ideal situation as the distance protection simulation
assumes a three phase fault.
As was mentioned, a fault occurred on the Koeberg-Stikland line, which is the line of
interest. The sequence of events is as follows: (The complete sequence is in Appendix
D)
TIMESTAMP
Parent
DESCRIPTION
13/10/2008
Stikland S/S
Stikland/Koeberg Supervisory
05:42:47
13/10/2008
Operation type
STATUS
Tripped
400kV bkr
Koeberg S/S
05:42:48
Koeberg/Stikland Supervisory
400kV bkr
Zosuliwe P. Ndlondlwana
Tripped
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
56
From the above table, it can be seen that the fault was a zone 2 fault according to the
Koeberg S/S Koeberg-Stikland breaker relay settings, tripping a second later than its
counterpart.
The distance protection simulation agrees with the sequence of events. It could not be
determined however what the conditions were in terms of fault current and impedance to
the fault, as data was unavailable at the time of this investigation. It was then proposed
to model a fault on the line so as to relate as closely as possible to the actual event.
The line data was obtained from [14] using DigSilent software.
Line
Length
R1
X1
km
Koeberg-Stikland
19.4
0.461
6.172
44.526
Stikland-Muldersvlei
16.3
0.418
5.161
45.68
The data in table 2 was used in the simulation, where Koeberg-Stikland was line 1-2,
while Stikland-Muldersvlei was line 2-3. Normal current was set at 1 704A, which is the
rated current for both lines. Fault current was set at 44 526A which is the fault current for
line 1-2. VT and CT ratios were set at 3000:1 and 1500:5 respectively.
Having run the simulation for both normal and fault conditions, the following results were
obtained:
The relay did not trip under normal conditions, meaning the program responded
correctly.
Under fault conditions, the relay operated, but saw the fault as a zone 2 fault with
the distance to the fault from CB12 being 83.83% instead of a zone 1 fault at
50%.
It was noted that when the input currents were first multiplied by 3 , the program
restrained for normal conditions, and saw the fault as a zone 1 fault at 48.38% of
the line. This value is close to the desired value of 50%.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
5.2
57
Differential protection
A Y-Y 154kV/23kV, 55MVA saturable transformer was used for the case study. The
offset current was chosen to be 15A, a practical value, while K was set at 0.3 [4]. The
aim was to test and observe the effect of transformer core saturation on the conventional
differential relay. Figure 23 shows the simulation window.
The transformer parameters were set such that R 1 = 0.002 p.u, X l1 = 0.08 pu, R 2 =
0.002 p.u, X l 2 = 0.08 p.u, core-loss resistance (referred to as R m in Simulink) was 500
p.u. These values were the default values in the simulation. However the initial flux was
chosen to be 1.2 p.u, which is a value for high saturation.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
58
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
59
The compensated-current differential relay however makes provision for this exciting
current, and thus does not trip on the basis of saturation. This is illustrated in figure 26,
where a 0 value denotes a restraint in relay operation.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
60
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Zosuliwe P. Ndlondlwana
61
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
62
Chapter 6
6.1
Conclusions
The aim of this thesis was to produce distance and differential protection simulations for
transmission lines and components using MATLAB/Simulink. These simulations would
be used for demonstration or laboratory exercises. Based on the results of the final
design product, the following conclusions can be made:
4) The objectives were achieved in terms of the fulfillment of the aim. Various
MATLAB/Simulink tools were used. Although more could have been incorporated
into the programs, the foundation was satisfactorily set. A lab sheet will supplement
the simulations where certain concepts need to be demonstrated that the simulation
did not include, such as the effect of an infeed in distance relaying.
5) There was a discrepancy between the DigSilent results and the simulation results in
that the simulation showed some underreaching. However, incorporating the
factor into the currents and obtaining correlating results with the pair of the
simulations suggests that the current in DigSilent was measured as delta. Hence to
obtain the line current required for the distance protection simulation, the current had
to be multiplied by
b)
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
c)
63
6.2
Recommendations
As the outcomes of this thesis were aimed at students and the increase of their
knowledge, the following recommendations can be made:
5)
6)
Addition of some material to the syllabus, such as factors and situations that
affect protection in practice.
7)
An investigation into more real line data (impedances) and CT and VT ratios
should be made. The simulation just demonstrates the principle behind
distance protection.
8)
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
64
References:
[1]
Analysis and Design. Fourth Edition. United States of America: Chris Carson: 492-529.
[2]
[3]
Y.C. Kang, S.H. Kang & P.A. Crossley. 2004. Design, evaluation and
Y.C. Kang, E.S. Jin, S.H. Kang & P.A. Crossley. 2004. Compensated-current
P.J. Moore, Z.Q. Bo & R.K. Aggarwal. 2005. Digital distance protection for
M. Tripath, R.P. Maheshwari & H.K. Verma. 2007. Probabilistic neural network-
based protection of power transformer. IET Electr. Power Appl. 1(5): 793-798
[10]
B. Bhalja & R.P. Maheshwari. 2008. New differential protection scheme for
tapped transmission line. IET Generation, Transmission and Distribution. 2(2): 271-279
[11]
[13]
[14]
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
65
2)
Start Matlab
3)
4)
Open demo.m
5)
6)
7)
8)
The results to the simulation will be returned on the Output Data panel and the
Impedance diagram panel.
9)
Where the relay trips unnecessarily or does not trip, change the input currents
and/or CT or VT ratios and observe their effect on the impedance diagram.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
66
Given a 345kV system, with positive sequence impedances for line 1-2 being 8+50i
and line 2-3 being 5.3+33i ,
a)
Calculate the relay settings for CB12 when the VT ratio is 3000:1 and the CT
ratio is 1500:1
b)
Answer: This is the same as the simulation and students can check their answers by
running the simulation.
Section B:
CB12s relay is set to protect line 1-2 and 2-4. Let the line impedances for line 1-2 be
2, line 2-4 is 8. A fault occurs on line 2-4, 1 from bus 2.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
b)
c)
Answer: Underreach because the fault will be seen as a zone three fault.
d)
Zosuliwe P. Ndlondlwana
67
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
68
a = N2/N1
| I 1 + aI 2 |
.
2
1)
Start Matlab
2)
3)
If you wish you can modify the model (although typical values are already there,
but you may wish to see them or even modify them). You do this by:
Double clicking on the AC voltage source and changing the voltage level and
frequency.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
69
(You can try values like 0.2, 0.8, 1.2, 1.6 for initial flux this is a measure of
how saturated the transformer is)
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
70
You may also change other values on the model those that are in green only,
that is I_offset, K and a. Please note that a = N2/N1 or V2/V1.
4)
After you are satisfied with the model, click Simulation Start.
5)
You may double click on the scopes to view what is happening in the system.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
71
1) Join phase A of the three phase fault block to the transformer, by holding the left
mouse button down and dragging from A to the transformer line.
Zosuliwe P. Ndlondlwana
Distance and Differential Protection Simulation for Transmission Line and Components Using Matlab/Simulink
Zosuliwe P. Ndlondlwana
72