Restrained Current Differential Relay Model: ... /3PHEXT - CFG
Restrained Current Differential Relay Model: ... /3PHEXT - CFG
\
|
|
|
|
.
:= B
012
1
1
1
a
1
a
2
a
2
1
a
|
\
|
|
|
|
.
:= C
012
1
1
1
a
2
a
1
a
a
2
1
|
\
|
|
|
|
.
:=
RS 16 :=
Enter vector indices for filter and relay calculations (do not change these)
i 0 rows data ( ) 1 .. :=
v
RS
4
rows data ( ) 1 .. := Offset samples by 1/4 cycles for phasor calculation
d 5 RS rows data ( ) 1 .. := Offset samples by 5 cycles for trip calculation
If RS 1 rows data ( ) 1 .. :=
User Entered Parameters:
I am entering typical values the current transformer ration (CTR) and voltage transformer ratio (PTR). You need to change these -
to match your calculations.
CTR
1000
5
:= VTR
230kV
120V
:=
ECE 525:
Power Systems Protection and Relaying
Lecture 35; Page 4/12
Fall 2010
Read Data From Comtrade File:
The data from the COMTRADE file is now read into vectors for MathCAD to use. -
Note that these vectors are assuming that IA, IB, etc are in certain columns in the table. The numbers below assume that the -
data is assigned as described in the other handout. Columns 0 and 1 of the COMTRADE file do not store data, so Column 2 is
the first one of interest.
Since the neutral current I
N
was measured, that will be used for the residual current (IR =3I0). -
I1A
data
2
( )
CTR
|
\
|
|
.
I1a
scale
I1a
offset
CTR
+ :=
VA
data
6
( )
VTR
|
\
|
|
.
Va
scale
Va
offset
VTR
+ :=
I2A
data
3
( )
CTR
|
\
|
|
.
I2a
scale
I2a
offset
CTR
+ :=
VB
data
7
( )
VTR
|
\
|
|
.
Vb
scale
Vb
offset
VTR
+ :=
I3A
data
4
( )
CTR
|
\
|
|
.
I3a
scale
I3a
offset
CTR
+ :=
VC
data
8
( )
VTR
|
\
|
|
.
Vc
scale
Vc
offset
VTR
+ :=
I4A
data
5
( )
CTR
|
\
|
|
.
I4a
scale
I4a
offset
CTR
+ :=
ECE 525:
Power Systems Protection and Relaying
Lecture 35; Page 5/12
Fall 2010
Now plot the currents and voltages. These should be sinusoidal. Note that the horizontal axis is in the number of cycles since the
i/RS is sample number divided by sampling rate.
As a check, the prefault data should be balanced three phase -
Phase currents
0 2 4 6 8 10
600
400
200
0
200
400
600
I1A
i
I2A
i
I3A
i
I4A
i
i
RS
ECE 525:
Power Systems Protection and Relaying
Lecture 35; Page 6/12
Fall 2010
Line to ground voltages:
0 2 4 6 8 10
100
50
0
50
100
VA
i
VB
i
VC
i
i
RS
ECE 525:
Power Systems Protection and Relaying
Lecture 35; Page 7/12
Fall 2010
Digital Filter Stages:
Now the data is run through a digital cosine filter as a first step in calculating magnitude and phase. Normally the first step -
would be to perform a low pass filtering operation on the data, but since ATP Analyzer already did this, we can skip that step.
I1a
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
|
.
I1A
If RS 1 ( ) [ ] k +
(
(
=
:=
Va
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
|
.
VA
If RS 1 ( ) [ ] k +
(
(
=
:=
I2a
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
|
.
I2A
If RS 1 ( ) [ ] k +
(
(
=
:=
Vb
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
|
.
VB
If RS 1 ( ) [ ] k +
(
(
=
:=
I3a
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
|
.
I3A
If RS 1 ( ) [ ] k +
(
(
=
:=
Vc
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
|
.
VC
If RS 1 ( ) [ ] k +
(
(
=
:=
I4a
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
|
.
I4A
If RS 1 ( ) [ ] k +
(
(
=
:=
ECE 525:
Power Systems Protection and Relaying
Lecture 35; Page 8/12
Fall 2010
Now create phasors.
To create a phasor we need a real and an imaginary part. If one uses Euler's identity, we need: cos(A) +j sin(A). The cosine filter -
output gives us the cosine part. Rather than implementing a sine filter (which doesn't reject decaying DC offsets), create the sine
term by delaying the cosine terms by 90 degress (1/4 cycle-- or 4 samples when sampling at 16 samples per cycle). Also divide
by SQRT(2) to get RMS phasors
VAcpx
v
1
2
Va
v
j Va
v
RS
4
+
|
\
|
|
.
:=
I1Acpx
v
1
2
I1a
v
j I1a
v
RS
4
+
|
\
|
|
.
:=
I2Acpx
v
1
2
I2a
v
j I2a
v
RS
4
+
|
\
|
|
.
:= VBcpx
v
1
2
Vb
v
j Vb
v
RS
4
+
|
\
|
|
.
:=
I3Acpx
v
1
2
I3a
v
j I3a
v
RS
4
+
|
\
|
|
.
:=
VCcpx
v
1
2
Vc
v
j Vc
v
RS
4
+
|
\
|
|
.
:=
I4Acpx
v
1
2
I4a
v
j I4a
v
RS
4
+
|
\
|
|
.
:=
Model CT Saturation (%): CT1sat 0% := CT3sat 0% :=
CT2sat 0% := CT4sat 0% :=
ECE 525:
Power Systems Protection and Relaying
Lecture 35; Page 9/12
Fall 2010
I1Asat
v
1 CT1sat ( ) I1Acpx
v
:= I3Asat
v
1 CT3sat ( ) I3Acpx
v
:=
I2Asat
v
1 CT2sat ( ) I2Acpx
v
:= I4Asat
v
1 CT4sat ( ) I4Acpx
v
:=
Each of these terms is a phasor with magnitude and phase (we are only uses magnitude for now). -
0 2 4 6 8 10 12
0
100
200
300
I1Asat
v
I2Asat
v
I3Asat
v
I4Asat
v
v
RS
0 2 4 6 8 10 12
0
16
32
48
64
80
VAcpx
v
VBcpx
v
VCcpx
v
v
RS
IOPA
v
I1Asat
v
I2Asat
v
+ I3Asat
v
+ I4Asat
v
+ :=
Operate Current
IRTA
v
I1Asat
v
I2Asat
v
+ I3Asat
v
+ I4Asat
v
+ :=
Restraint Current
ECE 525:
Power Systems Protection and Relaying
Lecture 35; Page 10/12
Fall 2010
0 2 4 6 8 10
0
200
400
600
IOPA
v
IRTA
v
v
RS
Relay Model:
Relay Settings -
Instantaneous Overcurrent Elements (secondary Amps, again leave off units) for zero sequence (ground) and negative
sequence (designated with a Q). elements. These numbers are just made up so don't base your answers on these. Use
magnitudes from the phase A components.
Enable the relay elements you want to use (1 means enabled, 0 means disabled)
E871 1 := E872 1 :=
ECE 525:
Power Systems Protection and Relaying
Lecture 35; Page 11/12
Fall 2010
Relay restaint slopes
1 0.3 := Sensitive restraint slope I
axis
0 1 , 300 .. :=
2 0.75 := More secure slope
0 10 20 30 40 50
0
10
20
30
40
50
1 I
axis
2 I
axis
I
axis
Relay Element Pick Up Logic -
Negative sequence element (modified to latch and stay one, no drop out for now)
Tr1
v
1 IOPA
v
1IRTA
v
> if
0 otherwise
:= Tr2
v
1 IOPA
v
2IRTA
v
> if
0 otherwise
:=
ECE 525:
Power Systems Protection and Relaying
Lecture 35; Page 12/12
Fall 2010
0 2 4 6 8
0
0.5
1
1.5
2
1.1 Tr1
v
Tr2
v
v
RS
Relay Response -