Professional Documents
Culture Documents
By
Keyvan Talebizadeh Sardari
December 2017
The graduate project of Keyvan Talebizadeh Sardari is approved:
_________________________________________ ______________
Dr. Ali Amini Date
_________________________________________ ______________
Dr. Xiaojun Geng Date
_________________________________________ ______________
Dr. Kourosh Sedghisigarchi, Chair Date
ii
Table of Contents
iii
Conclusion ........................................................................................................................57
References .........................................................................................................................59
iv
Abstract
By
v
Chapter 1: Protective devices
2- Selectivity: each relay has an assigned protection area which is known as primary
zone, also they may provide backup protection for the area outside of their primary zone;
this backup area is also known as overreached zone. The protection for primary zone should
be as fast as possible while a delayed operation must be applied for backup zone; this delay
for backup zone provides a time interval for upstream relays to wait for downstream relays
to operate first, otherwise the backup relays operate and clear the fault which is located in
their backup zone and in primary zone of downstream relays. this is called coordination or
selectivity.
“Consequently, selectivity or coordination is important to assure maximum service
continuity with minimum system disconnection.” (Protective Relaying, 4th Edition,
Blackburn and Domin- 20).
1
Figure 1. [1].
Distinctive characteristics for OC relay are considered by which different application and
proper coordination with other protective devices is achievable.
For example, designers use definite-time OC relay for systems in which the difference
between maximum and minimum fault currents is wide and simultaneously it is desired to
have a constant operation time for this range of fault currents.
2
Figure 2. a) Normal operation b) Fault happens. Ie is CT excitation current [1].
3
for these kind of relays, designers define three different operational zones. Zones 1, 2 & 3
are set to 80%, 120% and 140% of the impedance of the protected line respectively.
Figure 3. Basic zone definition for Distance relay. References illustrate different rules for zone definition.
Figure 4. Directional Distance relays at both ends of each line. There must be an intentional time interval for
different zones operation to have an acceptable coordination or selectivity among zones or relays [1].
Distance relays may have different characteristics in R-X plane based on design and
protection purposes:
4
Figure 5. Distance relay characteristics on the R–X diagram: (a) impedance; (b) mho; (c) offset mhos; (d)
lens; (e) simple blinders; (f) reactance [1].
backup devices’ operating time > primary devices’ operating time + CTI
5
Figure 6. CTI between backup and primary relays
K can be changed based on different designs. In some references, it is declared that IOC
pickup current can be 3 – 7 times of the maximum load currents.
7
1.3.3 CT selection:
Each OC relay which is installed in power system measures the line’s current as relay’s
input. So, CTs are used as an interface tool between the grid and protective devices. In
order to have accurate CT selection two important things must be noted:
First, CTs regenerate the primary current in their secondary with a special accuracy level;
So, CTs which are going to be used in protection purposes must not be saturated during the
fault. In other word, CT should be selected in such a way that prevents saturation during
the current reproduction in secondary, whenever fault happens at primary system. If not,
CT saturates, and it cannot provide relay with a suitable input and protection problem may
happens in fault situation.
Second, if designers choose a relay working with 5 Amp current as an input, it is desired
to select CT so that the maximum load current in primary, generates lower than 5 Amp
current in the secondary. So, there is a guarantee that relay does not operate for maximum
load current in the primary. For sure, transient currents in power system must be considered
and a suitable gap in CT selection must be predicted.
After choosing CT, it is suggested to check the saturation of the CT based on standards and
CT’s saturation curves provided by manufacturers.
8
Table 2. Breaker, CT and relay data- note: CO-8 means Inverse TCC [3].
Solution
It is needed to select the pickup current so that the relays do not operate for maximum load
current plus 20% increase for transient current:
.
CT secondary current ′ = /
= 3.012
So, from figure 9. we select TS (Tap Setting) on relay so that, for currents below that TS
relay does not operates.
Because 20% increase is added in load current calculation so 3 should be selected which is
the highest TS under the 3.012 A. (In reference [3], author does not increase the load
current by 20% at first and he gets 2.51 A as CT secondary current; So, at the end he selects
the 3 which is the lowest TS above the CT secondary Current).
9
.
CT secondary current ′ = = 5.271
/
So again, we select 5 which is the highest TS under the 5.271 A
Now, we are ready to define coordination among relays. The logic is that, the B2 is backup
for B3 and B1 should backup B2 as well as backup relays should clear faults in their
primary zone.
To get the coordination between relays and as previously explained we need to define Time
Dial setting (TD) for each relay. We assume CTI is 0.3 s and we use the maximum fault
current which is the worst case for the protection system.
For relay B3 the maximum fault current is 1000 A which can happen at bus 3; so, we have:
IfB3 = 1000 A
I’fB3 = 1000/200:5 = 25 A CT secondary current for maximum fault current at bus 3.
According to figure 9, We need to divide this current by TS (Tap Setting) for relay B3.
25
= 8.33
3
Because we need that relay B3 operates as soon as possible so we choose TD =0.5 for B3.
The operation time for B3 for maximum fault current at bus 3 is the intersection of the 8.33
with its TD curve which is 0.09 s.
Operation Time for B3 = O.TB3 = 0.09 s
10
=5
Operation Time for B2 should be the O.TB3 + Breaker Operating Time + CTI
O.TB2-backup = 0.473 s as a backup for B3, for fault at bus 3.
TD for relay B2 is the intersection of its TS and the time 0.473 s. This leads us to choose
2 as a Time Dial for B2.
Now, we check the relay B2 O.T for the fault in its primary zone. It means fault at bus 2.
IfB2-primary = 2000 A
I’fB2-primary = 2000/200:5 = 50 A
= 10
So, the O.TB2-primary equals to 0.41 s is the intersection of its TD and 10 in figure 9.
At the end, we can observe that each relay operates as fast as possible for faults in its
primary zone while there is a good coordination between primary relays and their backup
relay.
11
Chapter 2: Protection problems in presence of DGs and solutions
Figure 10. fault currents of DG and grid for 3 phase fault at the end of feeder [4].
At the beginning, a distance parameter which is related to DG location and total length of
the feeder is defined:
#
"=# (2)
$%$
Where, dtot is a total length of the feeder.
An equivalent electrical circuit for figure 10 is drawn in figure 11.
12
Figure 11. equivalent for figure 10 [4].
(3)
In order to find the expression for Ik,grid and Ik,gen Thevenin Theorem is used for circuit
shown in figure 11. So, the Thevenin equivalent would be as follow:
(4)
By revealing the Zth and considering the figure 12, the total 3 phase fault current can be
calculated:
(5)
Combining equations (4) & (5) ends with equation (6):
13
(6)
Then, by knowing the 3 phase fault and applying the current division rule, the grid
contribution to the fault Ik,grid can be derived:
(7)
Substitution of equation (6) into (7) gives us:
(8)
Equation (8) shows that in DNs at which a synchronous generator is installed as a DG, grid
contribution to the fault current depends on the total feeder impedance, the local short-
circuit power at the substation, the generator size and location [4].
Based on discussion developed in [4], they did a simulation and concluded that, different
installation points of the DG along the feeder, impact the grid contribution to the fault
current. They claimed: “The maximum DG impact on the grid contribution to the short-
circuit current occurs when the grid contribution is the minimum.” (Effect of DG on
distribution grid protection, Coster, Myrzik and Kling- 97).
So, by minimizing the equation (8), the location of the DG for which the impact of the DG
on the grid contribution is maximum (worst case) can be found and it should be helpful in
design stage.
Taking derivative of equation (8) with respect to the length of the feeder:
(9)
By putting equation (9) equal to zero, result indicates the DG installation point in which
the DG influence on the fault is maximum and grid contribution is minimum. This causes
protection problem for upstream protective devices (Relay in figure 10) as explained in
next sections.
14
(10)
15
In [4], authors suggest a practical approach to resolve the false tripping problem. This
method increases the fault clearing time instead of the pickup current for OC relay in
healthy feeder. Although, by increasing the pickup current, the sensitivity of the OC would
be decreased when fault occurs in DG feeder. This approach improves the selectivity while
it demolishes the reliability of the protection system. Changing the fault clearing time for
OC in healthy feeder, provides enough time for OC relay in faulty feeder to clear the fault
before the OC relay in adjacent feeder gets involved in fault.
In other word, the OC characteristic of the relay in adjacent feeder can be changed. For
example, choosing an extremely inverse characteristic rather than definite-time inverse
characteristic for the same pickup current increases the OC relay operation time and false
tripping can be prevented.
When changing of the fault clearing time is not achievable, using the directional OC relays
is a good solution.
2.3.3 Recloser Malfunction
As discussed before, DG connection affects the grid contribution to the fault current; so, it
causes several problems for reclosers which are traditionally used in overhead distribution
lines. First, DG contribution to the fault may impact the fault current detection by recloser
(First category). Second, it can end to loss of coordination between reclosers or recloser
and fuse in overhead DNs (Second category).
For more details consider figure 14.
Figure 14. DG impacts reclosers detection and coordination between recloser and fuse [4].
In left single line diagram, for fault 1 DG reduces the grid contribution to the fault. This
reduction can cause a delay in fault detection by recloser number 1 or may prevent recloser
1 from operation. In the same diagram, for fault 2 the total current that passes through
recloser number 2 increases by DG contribution to the fault. In this case, it is needed to
recheck the recloser ability to cut off this new fault current after DG connection. This
ability is known as maximum interrupting rate of recloser. The same disruption ability is
defined for circuit breakers by manufacturer. This ability indicates, the maximum fault
current, that protective devices like reclosers or interrupting devices like CBs are able to
cut off, without any damage.
16
As discussed in protection textbooks, reclosers have two characteristics, slow and fast
curves. For temporary faults, the fast characteristic plays a key role to clear the fault before
fuse melting time reaches. It prevents the grid to be de-energized permanently, when
temporary faults happen. For permanent faults, after several attempts to reconnect the grid
by recloser, the slow curve of recloser provides enough time for fuse characteristic to clear
the permanent fault. A good coordination between recloser and fuse is depicted in figure
15.
In this figure, for fault currents between the minimum and maximum short circuit currents,
the desirable coordination is achieved. However, by adding the DG, fault current can
exceed from the maximum fault current in comparison to the previous mode (before DG
connection).
In right single line diagram, temporary fault at the end of lateral may cause fault current
passing through the fuse increases beyond the maximum fault current, while the grid
contribution passing through the recloser 1 decreases; so, for temporary faults rather than
recloser operation, fuse melts and interrupts the lateral permanently.
2.3.4 Unsychronized reclosing
Reclosers operate to clear the temporary fault but the downstream DG is still feeding the
faulty feeder. This can change the temporary fault to permanent fault by prolonging the arc
at fault location. Moreover, because of the unbalance between the load and generation,
when recloser is in its opening cycle, DG loses the synchronism with respect to the grid;
so, by reclosing action there would be a harmful damage to the generator.
17
location are important factors which affect protection devices; So, before DG installation,
all these factors must be considered in electrical analysis.
They state that, installation of the DG near the loads can improve the voltage profile and
as size of DG is increasing, modification in voltage profile is going to be greater. They also
believe that increase in size of DG must be restricted because it can lead to over voltage
problem for other buses.
It is also shown that, higher level of DG penetration can amend the power losses problem
in DN while higher penetration can lead to higher short-circuit level; so, the coordination
among protective devices must be modified.
In [6], authors prove that low penetration of small-scale DG in MV systems such as small
wind turbines, has no considerable impact on protection system, but DG still reduces the
grid contribution to the fault current minimally.
In [7], researchers discuss about negative impact of DG like harmonic generation by
photovoltaic and double feed inductive generators used in wind turbine. Then, they
mention about the protection problem caused by DG installation and they explain that
bidirectional power flow in presence of DG alters DN topology from radial to loop; so, the
protection scheme needs to be modified accordingly.
It is also explained that unintentional islanding of DGs, causes deathtrap for personnel as
well as low power quality for that part of the network which is only fed by DGs. After
investigation about DG impact on protection scheme, adaptive protection as a solution to
mitigate influences of DG on protection is discussed. Protection system response for 2
scenarios, is simulated. One scenario is when no DG is connected and the other one is when
a DG with a considerable penetration is connected between the load bus and grid bus in
DN. Finally, in conclusion part, it is presented that after adding DG, the relay settings in
involved feeder need to be modified, to have a valid coordination. It is also summarized
that for downstream faults with respect to the DG location, the fault current passing through
protective devices increases by DG contribution to the fault. At the same time, fault current
passing within the upstream protective devices decreases because of reduction in grid
contribution to the fault. This can disturb coordination amongst relays in the feeder. To
solve this problem, implementation of adaptive protection scheme in feeder is suggested,
by which relay settings change from old to adaptive settings. These changes are done based
on DG connection or disconnection respectively.
2.5 IEEE 1547 standard for interconnecting distributed resources with electric power
systems
In this part, IEEE 1547 standard is explained briefly. Standard scope is about necessary
criteria and requirements that must be met when the DR (Distributed Resources)
connection to EPS (Electric Power System) is going to be stablished [8].
18
These criteria and requirements are for all DRs with capacity of 10 MVA or less at the PCC
(Point of Common Coupling) which connect to EPS at primary or secondary distribution
system [8].
All DRs in this standard are considered to be working at 60 HZ.
A schematic picture as shown below can help to have better understanding about
interconnection of DRs to EPS.
As explained in standard for figure 16, the PCC and point of DR connection are different
and shall not be assumed to be the same. The PCC is the point where the local EPS connects
to Area EPS and the other one is the point where DR connects to local EPS.
19
2.5.1.2 Accidental energization of area EPS
It means, when the area EPS is de-energized for any reason, DR is not permitted to energize
the area EPS [8].
20
Generally, this mode is still one the biggest challenges for installing the DR in DN and
many researchers have been publishing papers about this. Control of microgrid in this mode
is difficult and complex.
21
Chapter 3: Microgrid control & adaptive protection technique
Before developing the adaptive protection scheme, it is helpful to explain about microgrid
control issues and strategies that nowadays are being discussed.
At the first part, it is shown that microgrid control system is responsible to make decision
and also participating in electricity market based on the electricity price. Participation rules
and logic policy can be defined by microgrid owner and other involved third parties.
In second row, there are some subjects about core of microgrid control. These
functionalities must meet electrical concerns which are mentioned in standards.
The last one, is illustrating about local control for each DG in microgrid which must follow
the standards like the previous level.
Based on these control levels, entire microgrid protection system overlaps in first and third
level at the same time. In other word, microgrid protection system must be a combination
of two parts. One part is responsible to keep coordination between microgrid and upstream
22
network protective devices; Simultaneously, the other part is responsible for coordination
among fault detectors inside the microgrid.
According to [12], because of the different types of microgrids (mixture of various type of
DGs) and current infrastructure in distribution networks, defining a general microgrid
control architecture is not possible.
Before discussing about microgrid control structure, review of the generic distribution
network can help for better understanding. In the following figure, a basic control and
management system for a typical distribution network with considerable DG penetration is
demonstrated:
Figure 18. control and management system for distribution network with high DG penetration [12].
Generally, DMS and AMR are not responsible to control DGs in distribution system. DMS
duty is not limited to change the network topology by switching. It is also responsible to
control voltage by increasing or decreasing compensating capacitors or by transformer tap
changing. AMR duty is collecting data regarding power consumption for billing process.
Distribution System Operator (DSO) have access to DMS and AMR and provides Energy
Service Company (ESCO) with adequate information to calculate energy consumption
price for each customer. As explained, it is evident that existing system is not able to control
23
microgrid with proper reliability; so, it is necessary to define an extra layer of local control
for DGs and loads in microgrid control and management system as shown in figure 19 [12].
Figure 19. control and management system for typical microgrid [12].
- DMS is responsible to coordinate DSO, ESCO and also microgrid operator. The
following figure shows the flow of data among DSO, ESCO and microgrid operator:
24
Figure 20. Microgrid operator communicates with ESCO and DSO [12].
Based on the responsibility of distinctive control levels which has been already defined,
microgrid control system can work in centralized or decentralized structure. In centralized
approach, the MGCC is the main decision maker to increase the microgrid profit and
optimize the generation. In this way, the MGCC analyzes the price of electricity and gas
while considering the grid security and DSO demands. Finally, MGCC makes decision
about how much power must be imported from upstream or main grid into the microgrid.
MGCC also optimize the loads’ power consumption.
In decentralized method, all duties must be done by MCs located at each DERs. This
approach has a great advantage when different owners with distinctive priorities exist for
DERs in microgrid. In this situation, decision making by centralized method is very
difficult and complex. Figures 21 and 22 depict basic models for centralized and
decentralized methods.
25
Figure 21. Centralized method [12].
26
3.2 Distribution network protection
Basically, a distribution network including a DG or not, is protected by two protective
strategies. One part is responsible to protect the network which consist of overhead-lines
and/or cables and the other part is responsible to protect devices or apparatus including
transformers, bus-bars and loads.
Three important factors must be considered to design distribution network protection
system. These factors are known as “3S” [12]:
Other factors can be considered in design stage like: cost, security, etc.
27
3.4 General requirements for adaptive protection
Basic requirements to implement a practical adaptive protection for a microgrid are
categorized as follow [12]: (As discussed in Chapter 2, these requirements can be advanced
based on electrical or economic studies.)
- Equip microgrid with digital (directional) OC relays which can provide a wide
range of settings for tripping characteristics. Unlike, solid state relays that are only able to
accept setting values in fixed steps, digital relays can accept any value in flexible steps.
- Digital (directional) OC relays which are applied in adaptive protection, must be
capable to switch remotely or locally from one group of characteristic curves to the other
one. SEL-751 Feeder Protection Relay and GE-F60 Feeder Protection System are good
samples of this kind of digital relays.
- In order to provide a proper channel to transfer signals between embedded digital
relays in microgrid and central control system in substation, a communication
infrastructure like power line carrier (PLC) is needed to work based on standard protocols
such as (IEC 61850) [12].
The pace of data transferring in communication channel is not a big deal in adaptive
protection scheme, because of the fact that, the communication channel gathers information
about microgrid status and transfers them to central control system before short circuit or
any abnormalities in microgrid. The acceptable range for delay is 10 s based on Modbus
and IEC 61850 [12].
Dynamic adaptive protection, is one of the adaptive protection methods using pre-
calculated and reliable bunch of settings for protective relays. Another approach can use
real time calculations for changes in microgrid configurations. As explained before,
adaptive protection can be implemented in centralized or decentralized methods.
28
microgrid relays and it also changes relays’ settings through the communication channel
to have a desired response in fault moment.
Figure 23. Communication infrastructure for adaptive protection scheme in a generic microgrid [12].
Process of checking the network configuration and electrical data delivered by CBs through
communication channel, must be done by MGCC in frequent short time intervals to change
relays’ setting if it is necessary. Furthermore, this process can be triggered by an event
29
which is explained bellow. This strategy leads to have a sharp and fast-response adaptive
protection system which is always ready for reaction. Figure 24 shows a circuit breaker’s
OC element which is located inside CB.
To get valid and reliable settings for relays in microgrid, an event table based on the
network topology and DERs status (On/Off) is tabulated. This table includes all possible
scenarios (cases) in microgrid operation (based on standard) and all network’s topologies
in which the status of each DG is indicated. Event table is used for offline fault analysis for
each case; then, based on the results, most reliable settings for relays are achieved. These
settings are saved in an action table in MGCC to be used in proper moment based on
network topology as discussed before. In addition, other desirable actions are added to the
action table to have a more completed protection scheme. For example, activation or
deactivation of directional element in an OC relay which is located in particular part of the
network. Figure 25 shows general steps of adaptive protection based on pre-calculated
parameters.
30
network topology and makes suitable decisions to adapt relays’ settings. All calculations
and analysis, must be done in real-time. Pre-calculated settings or predefined topologies
like what were explained in previous approach is not applied. In other word, protection
system’s control center is sensitive to instantaneous changes in network’s parameters
ranging from a small modification in grid operation to great alteration in network topology.
In this approach, MIDR can modify relays’ settings instantaneously.
It was just a brief introduction about real-time method. In next chapter, dynamic adaptive
protection is developed as explained in section 3.5.
31
Chapter 4: Simulation & results
Each DG generates 7 MW active power and 3 MVAR reactive power and the total load in
microgrid is 20 MW and 10 MVAR; so, DG penetration to the microgrid is about 70%
when both DGs are connected to distribution grid. Type of all relays is General Electric,
IAC series, OC inverse, IAC51B801A. CTs’ ratios are as follow:
Name CT Ratio
CT 65 200A/5A
CT 34 200A/5A
CT 26 400A/5A
CT 13 400A/5A
CT 12 600A/5A
32
guarantees a desired coordination among protective relays in different scenarios. So, during
offline analysis, while no DG is connected to microgrid, an acceptable coordination among
relays is attained. This is known as reference coordination. By adding DGs in different
scenarios, the impact of DGs on protection system (specially on coordination) is analyzed
and new protection settings for relays are achieved. These settings are selected somehow
to mitigate DGs’ impacts on protection system and also to create new TOC curves in which
CTIs are as same as reference coordination CTIs. Finally, these relays’ settings are used in
a DPL (DigSILENT Programming Language) code. DPL applies new settings to OC relays
for different operation scenarios in microgrid; So, adaptive protection strategy is
implemented, and protection system is ready to react properly. DPL code plays a key role
similar to central control system in substation and it observes status of DGs’ circuit
breakers (close or open) and also status of Grid CB (GCB). Therefore, DPL code is
responsible to detect changes in network topology.
33
Figure 27. No-DG, Load flow complete result generated by DigSILENT.
34
Figure 29. No-DG- feeder 2 relays’ settings.
35
Based on achieved settings for relays, TOC (Time Overcurrent Curve) plots are generated
for relays on each feeder. Figures 30 and 31 illustrate the TOC plots for feeders 1 and 2. In
each TOC, CTI for 3 phase fault at the end of feeder or remote bus is specified. For feeder
1 CTI between relays R13 & R34 is 0.216 s and for feeder 2 CTI between relays R12 &
R26 and CTI between relays R26 & R65 are 0.289 s and 0.222 s respectively. All CTIs are
in acceptable range of 0.2-0.3 second as explained in chapter 1.
36
Now, the reference coordination is developed and is going to be used to get proper
coordination for different scenarios as discussed before.
37
Figure 32. DG1 connected, Load flow complete result generated by DigSILENT.
38
Figure 34. DG1 Connected- feeder 2 TOC plot.
In this case, adding DG1 to microgrid eliminates the coordination between relays in feeder
1 (CTI = 0.335 s) and it does not have a serious impact on coordination among relays in
feeder 2; so, the coordination and relay settings in feeder 1 are revised. These changes are
only valid for this case. For other cases like using larger DGs or changing DG connection
point in microgrid, the same analysis need to be done to figure out required modifications
in relays’ settings.
Figure 35 introduces new setting for relay R13 in feeder 1 which leads protection system
to have the same CTI as reference case (no DG). By new settings for relay R13, the same
CTI between R13 and R34 is created. New TOC curve for feeder 1 is illustrated in figure
36 and for feeder 2 the previous settings are still valid.
39
Figure 35. DG1 connected- feeder1 modified relays’ settings
By new settings for relay R13, new CTI between R13 and R34 in DG1 connected mode is
returned to the acceptable range and it is equal to 0.216 s which is as same as the CTI in
reference scenario (no DG).
40
4.5 DG2 connected scenario
In this section, the microgrid is hosting for DG2 at bus 6 while the main grid is delivering
power to the system. Load flow analysis result and TOC curves for feeders 1 & 2 are shown
in figures 37, 38 and 39 respectively. TOC curves are generated for feeders by applying 3
phase fault at the end of each feeder or remote bus.
Figure 37. DG2 connected, Load flow complete result generated by DigSILENT
41
Figure 38. DG2 Connected- feeder 1 TOC plot.
TOC curve for feeder 1 shows that DG2 does not have destructive impact on feeder 1
relays’ coordination; however, in comparison to the reference scenario (no DG), load flow
analysis clarifies that in feeder 2 DG2 causes a remarkable reduction in current passing
through line 12 and line 26. This decrease occurs because DG2 is providing loads at the
end of feeder and at bus 6. As discussed in previous chapters, these impacts are different
in each microgrid and they may affect other parts of microgrid, if DG size and DG
connection point would be distinctive. TOC curve for feeder 2 shows CTI = 0.436 s and
CTI = 0.357 s between relays R12 & R26 and relays R26 & R65 respectively. Both CTIs
are out of acceptable range; so, modification in settings of these relays is required. Figure
40 demonstrates proper relays’ settings and figure 41 shows a new TOC plot for feeder 2
relays with modified settings while a 3 phase fault is applied at the end of feeder.
42
Figure 40. DG2 connected- feeder2 modified relays’ settings
43
Figure 41. DG2 connected- feeder 2 adopted TOC plot.
Figure 41 proves that after modification in relays’ settings in feeder 2, all CTIs are in
acceptable range while they are as equal as CTI values in reference scenario (no DG).
44
Figure 42. DG1 & DG2 connected, Load flow complete result generated by DigSILENT
To check that previous relays’ settings are still valid or not, a 3 phase fault at the end of
each feeder is simulated and the TOC plot for both feeders are generated as shown in
figures 43 & 44 respectively.
45
Figure 44. DG1 & DG2 Connected- feeder 2 TOC plot.
TOC curves prove that CTIs in both feeders are out of range. CTI for relays in feeder 1 is
0.33s and CTIs between relays R12, R26 and relays R26, R65 in feeder 2 are 0.43 s and
0.352 s respectively. Then, modifications in relays’ settings for both feeders are necessary.
Figures 45 & 46 show new settings for relays in feeders 1 & 2 when both DGs are
connected to the microgrid.
46
Figure 45. DG1 & DG2 connected- feeder1 modified relays’ settings
47
Figure 46. DG1 & DG2 connected- feeder2 modified relays’ settings
Now, a 3 phase fault at the remote bus of each feeder is simulated. Fault analysis results
prove that modified settings for each relay in both feeders are suitable to push CTIs to the
acceptable range or not. Figures 47 and 48 illustrate new TOC plots for feeder 1 and feeder
2 respectively. It is evident that in both feeders, CTI values are returned to the accepted
interval (0.2-0.3 s) and they are as same as reference mode’s CTIs(No DG mode).
Figure 47. DG1 & DG2 connected- feeder 1 adopted TOC plot.
48
Figure 48. DG1 & DG2 connected- feeder 2 adopted TOC plot.
4.7 Simulation
Now, the strategy (Adaptive protection by using pre-calculated method) that was explained
in previous chapter is going to be completed through some further steps. All relay settings
for all scenarios are exist and these settings can be uploaded in protective relays inside
microgrid for different situations. To upload adaptive settings based on central control
recognition, a communication system is used. In other word, event table and proper settings
for relays is ready as it is shown in table 3. new Settings are implemented in the body of
control program in MGCC. Indeed, based on event table, proper action is defined in a
program inside central control system and MGCC takes suitable unique decision for each
situation.
Table 3. Event table for existing microgrid and ratio of changes to the old setting in percent.
This program which is written in DigSILENT Power Factory software, includes all
scenarios and accurate relays’ settings for each situation. written program simulates the
49
microgrid behavior in different scenarios as were explained before. This program is written
in a cascade form. It means in first script of the program, no DG is connected to microgrid;
so, old settings are applied to relays and at the end of first script the program runs second
script in which the scenario starts with DG1 connection to microgrid. This script ends with
proper relay settings which were achieved in section 4.6 for DG1 connected scenario. At
the end of second script, third script is triggered; so, DG2 is connected (DG1 disconnected)
to microgrid and pre- calculated relay settings for this situation are uploaded to microgrid
relays and selectivity and reliability of protection system is guaranteed. Finally, fourth
script is executed and DG1 and DG2 are connected to microgrid and like the previous
scenarios adaptive relay settings are applied. In the last script, the circuit breaker of main
grid is opened; then, the DGs’ CBs are opened according to the IEEE 1547 standard as
discussed in chapter 2 (prevention of islanding mode of operation). Moreover, MGCC
returns all relays’ settings to the old settings (Reference mode) to prepare microgrid for
main grid reconnection when the main grid’s problem is solved lastly. Appendix A includes
cascaded scripts.
4.8 Results
After getting proper relay settings for reference case during offline process, simulation
result and protection system response to fault on microgrid are satisfactory. In DG1-
connected mode, DG1 causes a reduction in grid contribution for faults located from the
DG connection point to the end of feeder. To be more evident, in the existing microgrid
with current topology, for faults between the DG1 connection point and bus 4, fault current
coming from the grid is reduced based on size of DG1 and its ability to contribute to the
fault (if there is no fault current limiter in DG1 connection point). As discussed in chapter
2, settings of those relays which are dealing with this fault current reduction must be
adopted with new condition in microgrid. Here, the adaptive protection plays a key role
and based on the MGCC recognition, relay R13 setting is changed by using table 3.
In DG2-connected mode, the same problem is created by adding DG2 to bus 6. The
difference is that, based on the DG2 location and size and its ability to contribute to the
fault current, just feeder 2 and its relays are affected. DG2 connection, forces MGCC to
change settings for relays R12 & R26 based on table 3.
In next mode, DG1 and DG2 are connected to microgrid and proper settings for this mode
are achieved in offline calculations. These settings which are shown in event table, create
a new desired coordination among microgrid relays as shown in figures 46 & 47. It should
be noted that based on what is stated in chapters 2 & 3, these settings for microgrid relays
are valid for existing network topology with these DGs’ size and locations. For any changes
in microgrid ranging from topology alteration to adding new DGs, another analysis should
be done to get suitable settings to create a good coordination and selectivity in protection
system. Sometimes, physical modification in protection system is required in addition to
the offline analysis.
In grid-disconnected mode, MGCC recognize that main grid is lost and microgrid is entered
to the islanded mode of operation. This situation is prohibited based on IEEE 1547
standard. So, MGCC send proper commands to DGs’ circuit breakers located at the DGs
50
connection point to disconnect DGs. Simultaneously, proper control signals transfere to all
relays in microgrid to return all relays’ settings to the reference case (No DG). These
commands prepare microgrid for main grid reconnection and whenever main grid’s
problem is solved, grid CB would be closed without any problem or malfunction in
operation of microgrid protection system. All adopted TOC plots that are shown in
previous parts and all related changes to each operation mode of microgrid are achieved
during online process. Microgrid single line diagram is built in DigSILENT and DPL code
as written in appendix A, is executed.
Finally based on topics which are explained in this chapter, adaptive protection scheme
based on pre-calculated values is implemented and satisfactory results are achieved for
existing microgrid. In next chapter, a brief explanation about DigSILENT Powerfactory
software and DPL is presented.
51
Chapter 5: Introduction to DigSILENT software programming language
52
Figure 50. Data manager- global and project libraries in DigSILENT software.
By copying the global library and paste it in the project library, all other required elements
to form a SLD are achievable from project library and all of them are changeable.
So, power system SLD with all required elements is created by choosing the elements and
their types are specified. Then, a considerable range of studies and analysis can be done by
DigSILENT software.
53
By selecting Script at the left side, a blank window to write program text and defining
parameters and external objects pups up. Input parameters and external objects can be
defined in the body of the program too. Similar to all programable software, first lines of
the script are assigned to define variables. These variables can be double (real number),
integer, string, object and set (a set of objects). As it is indicated in script 1 in appendix A,
the first lines of the script are used to define external objects which are TOC and IOC parts
of the relays characteristic curves. Also, integers variables are defined as Grid CB, DG1
CB and DG2 CB positions. In DigSILENT software, users are provided to have access to
the different parts of SLD elements. For example, users are able to observe any circuit
breaker position in SLD and send open or close command to the CB during script execution
process. Also, it is possible to have access to slots of devices, such as TOC and IOC part
of relay characteristic in relay compartment. To do this, each variable in each element of
the grid have an address code. These codes are used in the body of the script either to adjust
a specific variable or to activate or deactivate it. For example, turn on or turn off a generator
or changing a relay setting during the script execution. In this project, critical point is
changing the relays’ settings based on network changes, as discussed in previous chapters.
So, access to different slots in relay compartment is essential. As it is shown in figure 52
the address code to access to distinctive slots in relay compartment is pdiselm.
54
In relay slots, the TOC slot is number 2 because the first slot’s identification number is
zero; then, the IOC slot number is 3 and so on. Therefore, to have access to the TOC slot
in relay compartment the following code is written:
pdiselm:2
but, it is not enough because the relay name and another part is missed. Relay name is
entered, as it was defined by user during forming the SLD. The other part is that, in relay
body, the slots are elements of the relay; so, in order to create an accurate address a
character e is typed after relay name. The correct address is as follow:
Now, access to the TOC slot in relay compartment is possible. But the TOC itself, has
different variables such as pickup current, time dial, etc. to have access to these variables,
double click on the TOC slot in relay compartment; then, new window pups up in which
all variables in TOC slot are accessible. By moving the mouse cursor, on each variable the
address code is appeared which is used to refer the desired variable in script. Figure 53
shows an address code for time dial setting in TOC slot as Tpset.
Figure 53. Access code to time dial setting in TOC slot of relay - DigSILENT software.
Now, it is possible to write a script and send a command to relay’s TOC slot to put time
dial setting equal to 0.2, as it is done in script 1 in appendix A:
TOC:Tpset=0.2;
It means in TOC slot which was addressed before, the time dial setting is adjusted to 0.2.
55
In order to have access to CB in SLD and define open or close commands in the body of
script, the address code to the CB status is found. This can be done either by opening the
desired circuit breaker window in SLD directly or by clicking on the edit relevant object
icon in workspace and choose the desired CB. In CB window by putting mouse cursor on
the close icon the address is revealed. Address code is, on_off as shown below.
To send open or close command to CB the name of CB and the address code to the status
are required. For example, in script 1 in appendix A to access to the DG2 circuit breaker,
it is written:
DG2CBPos=DG2CB:e:on_off;
DG2CB: e: on_off means the status of DG2 circuit breaker is accessible now; so, by putting
DG2CB: e: on_off equal to 1 the desired CB is closed and by changing variable to 0 CB is
opened. DG2 CB position is saved in a variable named DG2CBPos which is used in the
body of the script to write program.
Based on what is described in this section, all elements in SLD are reachable through the
script, if the accurate address code is written in the body of the program. This feature
creates a great accessibility and a perfect dynamic for users to create different scenarios for
their analysis by changing the desired variables without any interruption in computational
process. It generates a challenging advantage for DigSILENT in comparison to the other
rivals in this field.
This was a brief explanation about DigSILENT Powerfactory software. Nowadays, huge
number of researchers are interested to use this powerful software to do different analysis
on power system. DigSILENT, is one of the most powerful software for power system
analysis and control. It is able to perform a vast range of analysis ranging from load flow
analysis to complicated optimal power restoration and contingency studies.
56
Conclusion
Protection system plays a critical role in power systems by which fault detection and fault
clearing process are achievable. Most important concepts in protection system design, are
selectivity and reliability by which a trustable protection scheme is created for a power
network ranging from huge high voltage grids to small low voltage networks. From the
beginning of electricity industry till now, many protective devices are applied to invigorate
sensitivity and pace of the protection system as much as possible. These protective devices
are upgraded from simple electromechanical relays to multi-functional digital or
microprocessor based relays. Nowadays, modern relays have enough flexibility to observe
several variables in power system and also, they are able to communicate with a central
controller in order to send accurate and on-time command to CBs. These advantages,
contribute protection engineers, to design more complex protection scheme for more
composite grids.
Load centers are growing rapidly; so, power demand is increasing dramatically. Utility
companies need to do required estimation to provide new demand by adequate electrical
energy. But the traditional power plants cannot be a good solution for long period of time.
Because, huge investment for generation and power transmission is needed. Also, power
plants are one of the substantial producers of air pollutant around the world. So, one of the
best alternatives is distributed generation which is going to be a universal approach to meet
required electrical energy. Generally, distributed generations produce insignificant air
pollutant in comparison with the traditional huge power plants because most of them use
renewable energy to generate electricity. Furthermore, with development of technology in
recent decades, cost of investment to erect a DG is considerably decreased. DGs are almost
located near the load centers; so, the erection cost of long transmission lines and power
losses are eradicated.
DGs penetration into the existing power distribution network improves some of the
electrical network characteristics such as voltage sag, power losses and stability. On the
other hand, it can affect electrical parameters negatively. These negative impacts include
reverse power flow and considerable reduction in nominal current level passing through
the line, etc. these kind of effects, disturb desired existing coordination in protection
system. DGs cause blinding protection, false tripping and other types of protection problem
in distribution network, based on the size and location of DG and network topology and
etc. Some sort of solutions is suggested to defeat protection problem in presence of DGs.
One of the most effective and innovative solutions is adaptive protection that can be done
either by using pre-calculated settings for relays during offline analysis or by online
controlling programs which observe the changes in network topology or in electrical
values. Adaptive protection scheme to solve microgrid protection problems is considered
for two important situations. First, when lots of DGs are connected to distribution network.
Second, whenever electrical values or network topology are changed instantly by
distributed generation. Communication channel and controlling process play key roles in
adaptive protection and they can increase the protection system reliability. In this paper, an
adaptive protection scheme based on pre-calculated settings is designed and implemented
in DIgSILENT powerfactory software. At first, four different scenarios of microgrid
57
operation are simulated and proper relay settings for each scenario are achieved. To
compare attained relays’ settings, No-DG mode is assumed as a reference for all other
scenarios. Then, completed settings are used in the body of the controlling program to
adopt relay settings based on different operation scenarios. These scenarios are defined in
DigSILENT script and suitable relays’ settings related to each scenario are defined. By
executing the simulation, microgrid operation starts and for each scenario, relays’ settings
are changed accordingly. Results are satisfactory and after applying adaptive protection
scheme, microgrid protection problems are solved while accurate coordination and proper
selectivity are achieved.
Generally, in order to find out DGs penetration impacts on a distribution network, detailed
and comprehensive analysis must be done by the owner of the microgrid. These impacts
vary from one microgrid to another one based on network topology, voltage level, DG size
and location and even type of conductors used in distribution network. After conducting
enough studies, either proper protection technique can be chosen, or existing protection
system can be modified accordingly.
58
References
[1]- Blackburn, J. L., & Domin, T. J. (2015). Protective relaying: principles and
applications. CRC press.
[3]- Glover, J. D., Sarma, M. S., & Overbye, T. (2012). Power System Analysis & Design,
SI Version. Cengage Learning.
[4]- Coster, E., Myrzik, J., & Kling, W. (2010). Effect of DG on distribution grid
protection. In Distributed generation. InTech.IEEE (pp. 1-6). IEEE.
[5]- Favuzza, S., Ippolito, M. G., & Massaro, F. (2013, May). Verifying the effect of
distributed generators on voltage profile, power losses and protection system in radial
distribution networks. In Power Engineering, Energy and Electrical Drives
(POWERENG), 2013 Fourth International Conference on (pp. 1044-1049). IEEE.
[6]- Abdel-Majeed, A., Viereck, R., Oechsle, F., Braun, M., & Tenbohlen, S. (2011,
September). Effects of distributed generators from renewable energy on the protection
system in distribution networks. In Universities' Power Engineering Conference (UPEC),
Proceedings of 2011 46th International (pp. 1-6). VDE.
[7]- El Naily, N., Saad, S. M., Elhaffar, A., Hussein, T., & Mohamed, F. A. (2017, March).
Mitigating the impact of Distributed Generator on medium Distribution Network by
adaptive protection scheme. In Renewable Energy Congress (IREC), 2017 8th
International(pp. 1-6). IEEE.
[9]- Yongfei, M., Chunlai, L., Yanjiao, H., Libin, Y., Shichang, Z., Xuan, W., ... & Jia, Y.
(2016, November). Analysis of the Influence of Distributed Generation Access on the
Operation and Management of Distribution Network. In Smart City and Systems
Engineering (ICSCSE), International Conference on (pp. 194-196). IEEE.
[10]- Jennett, K. I., Booth, C. D., Coffele, F., & Roscoe, A. J. (2014). Investigation of the
sympathetic tripping problem in power systems with large penetrations of distributed
generation. IET Generation, Transmission & Distribution, 9(4), 379-385.
[11]- Tengdin, J. T. (2009, May). The 2008 revision of IEEE C37. 2 Standard for Electrical
Power System Device Function Numbers, Acronyms, and Contact Designations.
59
In Industrial & Commercial Power Systems Technical Conference-Conference Record
2009 IEEE (pp. 1-7). IEEE.
60
Appendix A: Adaptive protection code in DigSILENT
! NO DG is Connected to DN:
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=0){
output('NO DG is Connected to Distribution Network and Traditional Settings are
applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
61
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=0){
output('DG1 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.065; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
62
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=1){
output('DG2 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.075; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.21; ! Access to Current Setting for TOC
63
TOC:Tpset=1.34; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=1){
output('DG1 & DG2 are Connected to Distribution Network and Related Adaptive
Settings are applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.071; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.085; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.2; ! Access to Current Setting for TOC
TOC:Tpset=1.352; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
64
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
! Grid is Disconnected:
if(GCBPos=0){
output('WARNING!!! : Main Grid is Disconnected And DG(s) are Disconnected
from DN based on Microgrid protection IEEE Standard');
output('WARNING!!! : Traditional Relay Settings (((NO DG Relay Settings))) are
Applied For OC Relays in DN and Protection system is Ready to Reconnect the Main
Grid');
DG1CB:e:on_off=0; ! Opens DG 1 CB
DG2CB:e:on_off=0; ! Opens DG 2 CB
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
65
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
! NO DG is Connected to DN:
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=0){
output('NO DG is Connected to Distribution Network and Traditional Settings are
applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
66
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=0){
output('DG1 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.065; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
67
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=1){
output('DG2 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
68
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.075; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.21; ! Access to Current Setting for TOC
TOC:Tpset=1.34; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=1){
output('DG1 & DG2 are Connected to Distribution Network and Related Adaptive
Settings are applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.071; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
69
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.085; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.2; ! Access to Current Setting for TOC
TOC:Tpset=1.352; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
! Grid is Disconnected:
if(GCBPos=0){
output('WARNING!!! : Main Grid is Disconnected And DG(s) are Disconnected from
DN based on Microgrid protection IEEE Standard');
output('WARNING!!! : Traditional Relay Settings (((NO DG Relay Settings))) are
Applied For OC Relays in DN and Protection system is Ready to Reconnect the Main
Grid');
DG1CB:e:on_off=0; ! Opens DG 1 CB
DG2CB:e:on_off=0; ! Opens DG 2 CB
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
70
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
! NO DG is Connected to DN:
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=0){
output('NO DG is Connected to Distribution Network and Traditional Settings are
applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
71
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=0){
output('DG1 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
72
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.065; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=1){
output('DG2 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
73
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.075; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.21; ! Access to Current Setting for TOC
TOC:Tpset=1.34; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=1){
output('DG1 & DG2 are Connected to Distribution Network and Related Adaptive
Settings are applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
74
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.071; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.085; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.2; ! Access to Current Setting for TOC
TOC:Tpset=1.352; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
! Grid is Disconnected:
if(GCBPos=0){
output('WARNING!!! : Main Grid is Disconnected And DG(s) are Disconnected from
DN based on Microgrid protection IEEE Standard');
output('WARNING!!! : Traditional Relay Settings (((NO DG Relay Settings))) are
Applied For OC Relays in DN and Protection system is Ready to Reconnect the Main
Grid');
DG1CB:e:on_off=0; ! Opens DG 1 CB
DG2CB:e:on_off=0; ! Opens DG 2 CB
75
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
76
DG1CBPos=DG1CB:e:on_off; ! Shows DG1 CB Position
DG2CBPos=DG2CB:e:on_off; ! Shows DG2 CB Position
! NO DG is Connected to DN:
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=0){
output('NO DG is Connected to Distribution Network and Traditional Settings are
applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
77
};
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=0){
output('DG1 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.065; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
78
! DG2 is Connected to DN:
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=1){
output('DG2 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.075; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.21; ! Access to Current Setting for TOC
TOC:Tpset=1.34; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
79
! DG1 & DG2 are Connected to DN:
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=1){
output('DG1 & DG2 are Connected to Distribution Network and Related Adaptive
Settings are applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.071; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.085; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.2; ! Access to Current Setting for TOC
TOC:Tpset=1.352; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
! Grid is Disconnected:
80
if(GCBPos=0){
output('WARNING!!! : Main Grid is Disconnected And DG(s) are Disconnected from
DN based on Microgrid protection IEEE Standard');
output('WARNING!!! : Traditional Relay Settings (((NO DG Relay Settings))) are
Applied For OC Relays in DN and Protection system is Ready to Reconnect the Main
Grid');
DG1CB:e:on_off=0; ! Opens DG 1 CB
DG2CB:e:on_off=0; ! Opens DG 2 CB
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
81
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
! NO DG is Connected to DN:
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=0){
output('NO DG is Connected to Distribution Network and Traditional Settings are
applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
82
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=0){
output('DG1 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.065; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
83
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=0.and.DG2CBPos=1){
output('DG2 is Connected to Distribution Network and Related Adaptive Settings is
applied to OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.45; ! Access to Current Setting for TOC
TOC:Tpset=1.075; ! Access to Time Dial for TOC
84
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.21; ! Access to Current Setting for TOC
TOC:Tpset=1.34; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
if(GCBPos=1.and.DG1CBPos=1.and.DG2CBPos=1){
output('DG1 & DG2 are Connected to Distribution Network and Related Adaptive
Settings are applied for OC Relays');
! Relay 34 Settings:
TOC=R34:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.9; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R34:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=25; ! Access to Pickup Current for IOC
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.071; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=0.44; ! Access to Current Setting for TOC
TOC:Tpset=1.085; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
85
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=1.2; ! Access to Current Setting for TOC
TOC:Tpset=1.352; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
! Grid is Disconnected:
if(GCBPos=0){
output('WARNING!!! : Main Grid is Disconnected And DG(s) are Disconnected from
DN based on Microgrid protection IEEE Standard');
output('WARNING!!! : Traditional Relay Settings (((NO DG Relay Settings))) are
Applied For OC Relays in DN and Protection system is Ready to Reconnect the Main
Grid');
DG1CB:e:on_off=0; ! Opens DG 1 CB
DG2CB:e:on_off=0; ! Opens DG 2 CB
! Relay 13 Settings:
TOC=R13:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R13:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 65 Settings:
TOC=R65:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.2; ! Access to Time Dial for TOC
IOC=R65:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=27; ! Access to Pickup Current for IOC
! Relay 26 Settings:
86
TOC=R26:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.85; ! Access to Current Setting for TOC
TOC:Tpset=0.6; ! Access to Time Dial for TOC
IOC=R26:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=20; ! Access to Pickup Current for IOC
! Relay 12 Settings:
TOC=R12:e:pdiselm:2; ! Access to TOC slot in Relay Compartment
TOC:Ipsetr=2.8; ! Access to Current Setting for TOC
TOC:Tpset=1; ! Access to Time Dial for TOC
IOC=R12:e:pdiselm:3; ! Access to IOC slot in Relay Compartment
IOC:Ipsetr=16.7; ! Access to Pickup Current for IOC
};
87