AbstractIn this paper real-time simulation, analysis, and In this paper, power system network and conventional
validation of the conventional distance relay based on distance relay is modelled in Opal-RTs Real-Time
MATLAB/simulink and Real-Time LABoratory (RT-LAB) is LABoratory (RT-LAB) engineering simulator and
presented. In addition to the detailed model of six impedance MATLAB/simulink software [14], [15]. Moreover, the
measuring units of distance relay, power system model is performances of detail model of six impedance measuring units
implemented in Opal-RTs RT-LAB simulator. Some cases are are evaluated in zone 1 and zone 2 (with infeed current). In RT-
highlighted to illustrate the modelling performance. Moreover, LAB environment, Advanced Real-Time ElectroMechanical
the effect of infeed current, which is an emerging issue for power Simulator (ARTEMiS) components, as a high performance
system protection, using conventional distance relay in real-time
solver of RT-LAB which can accelerate the simulation speed
environment is evaluated.
and guarantee the computational accuracy, are used [16].
KeywordsDistance protection; infeed current; real-time
simulation II. SIMULATION ENVIRONMENT
The first author would like to thank the Ministry of Science, Research and
Technology of Iran for financial support to visit University of Auckland to
carry out this work.
Australasian Universities Power Engineering Conference, AUPEC 2014, Curtin University, Perth, Australia, 28 September 1 October 2014 2
A RTEMiS Guide
Ts=35 us CONF_FINAL5_PRINT
SSN: ON - InitFcn. . . . . init_relay;
Model Initialization1
Discrete ,
= 3.5e-005
powe rgui
www.opal-rt.com1
SC_Scope SM_Distance_relay
acq console
double (5) 4
sy s_meas
imp_ground imp_ground
double (6)
imp_phase imp_phase 6
double (6) relay _signal
relay _VI relay _VI
double (6)
double (4)
Fig. 1. Real-time simulator platform. sy s_meas
double (6)
relay _signal
III. MODEL STRUCTURE FOR BOTH SOFTWARE AND REAL- B1a1 B3a
[12], [13]. Fig. 3 demonstrates the overall simulation model B1a2 B2a
Converting
transmission line model is selected from ARTEMiS as an
process
efficient component for real-time simulation.
The detail structure of each block is shown in Figs. 4, 5, 6,
and 7. Based on the single line diagram of the power system
and Fig. 4, the SS_Send block consists of three-phase source G Automatically generated by RT-LAB during compilation.
A aA 4 B1b2
B bB DPL B1c2
B1a2 5
A. Distance relay model C cC 6
Three-Phase Source DPL L2
C
A
B
60km
300 MW
double
Ir
double double
2
double
Vr relay_signal
double
double double
30 <=
double ax1
Computation time double
double double
<signal3> uax2y double
Rst overruns Real step size double double double
double <signal1> 1
Nb overruns <signal2> u y double sim_inf o
sys_meas
OpMonitor
OpComm
double OpComm double
1
Ts = Ts
Sim_info
Fig. 4. Single line diagram of sample system. Fig. 3. The structure of SS_Send block.
Australasian Universities Power Engineering Conference, AUPEC 2014, Curtin University, Perth, Australia, 28 September 1 October 2014 3
B3a
1
2
3
two-phase faults [19]. This procedure is implemented in the
B3b
B3c
block of SM_Distance_relay in the simulink environment.
B2a
4 aA aA A Distance relay setting: The relay R, in the sample network
5 bB DPL bB B
6 cC cC C of Fig. 1, has a reach setting of up to 80% of the protected line
B2b
B2c B2 DPL L3 B3 Equiv. 500kV impedance (line G) for instantaneous zone 1 protection.
180km 9000 MVA
C
A
B
A RTEMiS Guide
A
B
C
Equiv. 500kV
200 MW
6500 MVA Ts=35 us
SSN: ON This section gives a general overview of the data
ax1 acquisition from Opal-RT hardware. As shown in Fig. 1, the
Computation time
double
u y
double double
1 front view of Opal-RT is used for monitoring purpose.
OpMonitor
Sim_info Initializing and hardware synchronization selection is done by
using OpCtrl block. Then AnalogueOut block can be added to
Fig. 5. The structure of SS_Recieve block. model and the number of output channels is assigned. The
double
model values set as inputs of the AnalogueOut blocks will be
[sim_info1]
double double
double
1 physically outputted as volts. There are 48 RJ45 connectors in
Computation time u y
console front panel of Opal-RT that each connector can drive 4 signals.
ax2
OpMonitor
The 4 signals are demuxed and each corresponds to a mini
1
double double
[sim_info1] double Bayonet NeillConcelman (BNC) connector. As an example,
4
sys_meas OpComm
Ts = Ts double
[Ir] relay_VI
both the voltage and current at the relay location and
2
double double
double
instantaneous resistance and reactance corresponding to a
[Vr]
relay_signal
OpComm
single-phase-to-ground fault are monitored by digital
double
double
oscilloscope as shown in Fig. 8.
double
double
double
double double
3
double
double double
IV. REAL-TIME SIMULATION RESULTS
double 2
double
imp_phase
double imp_ground
double
A. Ground unit performance
double
double
The validation of the impedance measuring units is done
phase to phase
distance relay
phase to ground
distance relay
using the real time simulator. Fig. 9 shows the comparison
between the real-time and the simulink based simulation model
Fig. 6. The structure of SM_Distance_relay block. response for a single-phase-to-ground involving phase A at the
end reach of the relay. Instantaneous resistance and reactance
components of the seen impedance by the relay are plotted
separately. Due to the fact that the execution of power system
and relay models in the RT-LAB and MATLAB software are
Monitoring running paralleled without time synchronization, there is a very
www.opal-rt.com timing short time-delay in the displays obtained from the RT-LAB and
OpComm double overrun
YU ones obtained from the simulink. However, it is not affect the
double YU Calc time (STAT., NW, ctrler) (us) SIMULATION
1
double
YU
double Eff time (STATCOM) INFO comparison purpose. Moreover, the impedance trajectories
acq
double
imp_ground1
double imp_phase1 seen by the relays in real-time and software environments are
2
double
double
double
double demonstrated in R-X diagram. From Fig. 10, it can be seen that
pComm double
imp_ground double
Acq = 1 double
double
double
double double
3 double
double
imp_phase double
double
double
4 double
Ir
relay_VI
double
Vr
100
30
0
5500 6000 6500 7000 25
Reactance []
(a)
Instantanous reactance during AG fault 20
80
Simulink
Reactance []
60
15
40 RT-LAB
20
10
0
-20
5
5500 6000 6500 7000
Sample
(b) 0
Fig. 10. Comparison between obtained results from simulink and real-time -10 0 10 20 30
Resistance []
environments
Apparent impedance during AG fault Fig. 11. Obtained impedance trajectories from simulink and real-time
40 environments during AB fault.
Simulink
RT-LAB
35
24.5
components. Meanwhile, the accurate phasor will be obtained
30
24 by DFT algorithm when non-fundamental frequencies can be
eliminated. In this paper, low-pass and digital mimic filters are
23.5
23
25
22.5
implemented in the real-time simulator to remove the high
Reactance []
22
15
20
12 and Fig. 10 during AG fault (the power system parameters
are the same). It can be seen that elimination of low-pass and
-1 0 1 2 3 4
Reactance []
Reactance []
100
20
80
15
60 Zone 2
10
40
5 Zone 1
20
0
-10 0 10 20 30 0
Resistance [] -50 0 50 100 150
Resistance []
Fig. 12. Filtering impacts on the apparent impedance during AG fault.
Fig. 13. Effect of infeed current on the apparent impedance and adapted
where Z SH and Z SK are the source positive sequence impedance [2] S.G.A. Prez, M.S. Sachdev, and T.S. Sidhu, Modeling relays for use in
power system protection studies, In Canadian Conference on Electrical
of terminal H and K, respectively and Z LH is the line positive and Computer Engineering, pp. 566-569, 2005.
impedance from source H to bus H (in a sample network is [3] X. Luo and M. Kezunovic, Interactive protection system simulation
equal to zero). The magnitude of the third term in equation (2) using ATP MODELS and C++, In Transmission and Distribution
Conference and Exhibition, IEEE PES, pp. 874-879. IEEE, 2006.
can reach a relatively high value when the infeed fault current
[4] M. Kezunovic and B. Kasztenny, New SIMULINK libraries for
contribution is much larger than that of branch G. In many modeling digital protective relays and evaluating their performance
applications, it is common practice to set the zone 2 reach to be under fault transients, In International Conference on Power System
equal to the protected line section plus 50% of the shortest Transients-IPST, 1999.
adjacent line (line K). To avoid under-reaching effect of infeed [5] C.A. Apostolopoulos and N.K. George, Real-time implementation of
current, the MHO circle boundary of zone 2 setting is adapted digital relay models using MATLAB/SIMULINK and RTDS,
to the magnitude of the third term of equation (2). Moreover, European Transactions on Electrical Power, vol. 20, pp. 290-305, 2010.
the higher value of residual current compensating factor is used [6] V. Jalili-Marandi, L.F Pak, and Venkata Dinavahi, Real-time
for the ground measurement units of zone 2 in comparison with simulation of grid-connected wind farms using physical aggregation,
IEEE Transactions on Industrial Electronics, vol. 57, no. 9, pp. 3010-
the ground measurement units of zone 1. 3021, 2010.
The impact of infeed current on the apparent impedance during [7] T.S. Sidhu, K.V. Rajiv, P.K. Gangadharan, F.A. Albasri, and G.R. Ortiz,
AG and AB fault at the end reach of zone 2 is simulated by Performance of distance relays on shunt-FACTS compensated
transmission lines, IEEE Transactions on Power Delivery, vol. 20, no.
RT-LAB in this section. As shown in Fig. 13, due to infeed 3, pp. 1837-1845, 2005.
current, the relay is under-reached considerably which [8] J.H. Jung, S. Ahmed, and P. Enjeti, PEM fuel cell stack model
confirms the equation (1). Moreover, from Fig. 13, it can be development for real-time simulation applications, IEEE Transactions
seen that the adapted MHO circle can improve the relay on Industrial Electronics, vol. 58, no. 9, pp. 4217-4231, 2011.
performance. For unbalanced fault, the ratio of the sequence [9] J. Blanger, L.A. Snider, J.N. Paquin, C. Pirolli, and W. Li, A modern
fault current contribution at terminals G and H may not be and open real-time digital simulator of contemporary power systems, In
same. Therefore, the distance relay which is located at bus G Proceedings of the International Conference on Power Systems
Transients (IPST 2009), Kyoto, Japan, pp. 2-6, 2009.
tends to under-reach. Fig. 13 shows the mentioned problem
[10] A Technical Document Prepared by the System Protection and Control
during AB fault in the sample network. Task Force of the NERC Planning Committee, The Complexity of
Protecting Three-Terminal Transmission Lines, September 13, 2006
VI. CONCLUSION [11] P.M. Anderson, Power System Protection, A John Wiley & Sons, Inc.,
Publication, 1999.
This paper presented the performance of conventional [12] CIGRE Working Group 04 of Study Committee 34 (Protection),
distance protection at zones 1 and 2 with infeed current. The Application Guide on Protection of Complex Transmission Network
impacts of low-pass and dc-removal filters on the accuracy of Configurations, November 1991.
impedance measuring unit are revealed in real-time simulator. [13] Alstom Grid, Network Protection & Automation Guide, Published by
For backup protection zone, the impact of the infeed current are Alstom Grid; MAY 2011.
addressed by MHO circle adaptation and increase in [14] Opal-RT technologies, Available at: http:// www.opalrt.com.
compensating factor which has some limitations. [15] SimPowerSystems Toolbox Ver. 7.9.0, for Use With Simulink, Users
Guide 2009. Natick, MA, The MathWorks, Inc.
REFERENCES [16] ARTMiS plug-in for SimPowerSystems, Opal-RT Technologies Inc.
[1] L. Grin-Lajoie, A MHO distance relay device in EMTPWorks, [17] Z. Moravej, M. Pazoki, and M. Khederzadeh, Impact of UPFC on
Electric Power Systems Research, vol. 79, no. 3, pp. 484-491, 2009. Power Swing Characteristic and Distance Relay Behavior, IEEE
Transaction on Power Delivery, vol. 29, no. 1, pp. 261-268, 2014.