Cad
Cad
A Thesis
Submitted to the College of Graduate Studies and Research
in Partial Fulfilment of the Requirements
for the Degree of
Doctor of Philosophy
in the
Department of Electrical Engineering
University of Saskatchewan
Pramod Dhakal
Saskatoon, Saskatchewan, Canada
October 2000
The author daims copyright. Use shall not be made of the material contained herein
without proper acknowledgment, as indicated on the copyright page.
Bibliothèque nationale
191 National Cibrary
OfCa,, du Canada
Acquisitions and Acquisitions et
Bibliographie Services services bibliographiques
395 Wellington Street 395. rue Wellington
Ottawa ON K1A ON4 OnawaON K i A ON4
GaMQ Canada
The author has granted a non- L'auteur a accordé une licence non
exclusive licence ailowing the exclusive permettant a la
National Library of Canada to Bibiiothèque nationale du Canada de
reproduce, loan, distribute or seii reproduire, prêter, distribuer ou
copies of this thesis in microform, vendre des copies de cette thèse sous
paper or electronic formats. la foxme de microfiche/film, de
reproduction sur papier ou sur format
électronique.
The author has agreed that the Library, University of Saskatchewan, may make this thesis
freely available for inspection. Moreover, the author has agreed that permission for
extensive copying of this thesis for scholarly purposes may be granted by the Professor who
supervised the thesis work recorded herein or, in his absence, by the Head of the
Department or the Dean of the College in which the thesis work was done. It is understood
that due recognition will be given to the author of this thesis and to the University o f
Saskatchewan in any use of the material in this thesis. Copying or publication or any other
use of this thesis for financial gain without approval by the University of Saskatchewan and
the author's written permission is prohibited.
Requests for permission to copy or to make m y other use of the material in this thesis in
whole or in part should be addressed to:
The author expresses his appreciations and thanks to Prof. Garry Walker, Prof. Kunio
Takaya, Prof. Spiro Yanacopolus, Prof. Ron Bolton, Prof. Numl Chaudhury, who provided
for valuable guidance and advice during this research. Sincere thanks go to Prof. Tony
Kusalik and Prof. Jean Paul Tremblay for providing valuable time and suggestions,
specially for providing good insight in object-oriented techniques and algorithm
development. Special thanks to Mr. I.J. Macphedran for his help in the software setup and
debugging.
The author expresses his deep appreciation to friends who heIped him in many ways during
his snidies. Special thanks go to Heichman, Karki, Shakya, Adhikari, Tiwari, and Dyck
families. Encouragements received from Dr. Anant Jalnapurkar, Mr. Rajesh Karki, Mrs.
Jeannine Minielly and Mr. Joe Monahan during the last stretch of the completion of the
work are greatly appreciated. Encouragements from Prof. Sachdev, Prof. Sidhu and Dr.
Jalnapurkar were especially important and are highly regarded by the author. Special thanks
go to Mrs. Sachdev for her wonderful support.
Sincere thanks go to author's family whose patience, support and help were important for
his success. His son, Prashanta, is specially thanked for typing some of the content of the
thesis, drawing of some figures and preparing the table of content.
ABSTRACT
Every switching operation in a power substation must be executed after proper evaluation
of its consequence. Often, switching actions for various operating conditions and
contingencies are pre-detennined by using the control engineer'sknowledge and previous
experience. When needed, these actions are carried out by either a computer or an operator.
However, it is difficult for an operator to know ail the operating conditions and
contingencies in advance. An on line decision-making tool can provide an operator with
the most appropriate switching decisions for the present system configuration and system
state so the continuity and quality of power supply can be maintained by implementing
those switching decisions. Since the circuit configuration varies from one substation to
another, such decision making tools developed for one substation may not be applicable to
another substation.
This thesis presents a technique to design digital computer based substation switching
schernes. The technique is applicable to ail practical substations. The rules of interlockhg
and sequence switching used by the schemes are generalized and are not based upon a
particular substation configuration. While k i n g applicable to al1 substations, these schemes
also enure the most appropriate switching operations with minimum operator intervention.
The switching schemes ensure the safety of the system before making any switching action.
They assist human operators in the evaluation of abnormal circumstances and are easy to
integrate with other monitoring, control and protection systems.
A software application for developing switching schemes for substations was developed
by using the techniques presented in this thesis. Switching schemes were developed for
eight substations by using the semi-automated design tools provided with the application.
The switching schemes were then tested for their correct operation. Results of the tests
showed that the technique developed by the work presented in this thesis can provide
appropriate switching scheme for a substation of any practical configuration.
iv
Table of Contents
COPYRIGHT
ACKNOWLEDGMENTS
ABSTRACT
TABLE OF CONTENTS
LIST OF FIGURES
LIST OF TABLES
1. INTRODUCTION
1.1. Electric Power Systems
1.2. Role of Substations in a Power System
1.3. Trends in Substation Operation
1.4. Objectives of the Research
1S. History of the Research
1.6. Contributions of the Research
7 Outline of the Thesis
2. SUBSTATIONS
2.1. Composition and Placement
2.2. Role of Substation Equipment
2.2.1. Circuit breakers
2.2.2. Load-break switches
2.2.3. Isolating switches
2.2.4. Grounding switches
2.2.5. Fuse switches
2.2.6. Busbars
2.2.7. Transfomers
2.2.8. Reactors
2.2.9. Instrument transfomers
2.3. Substation Configurations
2.3.1. Single busbar arrangement
2.3.2. Sectionalized single busbar arrangement
2.3.3. Double busbar arrangement
2.3.4. Double busbar with by-pass isolator arrangement
2.3.5. Two circuit breaker arrangement
2.3.6. Sectionalized duplicate busbar arrangement
2.3.7. Main-and-trans fer bus arrangement
2-33 Ring busbar arrangement
2.3-9. Breaker-and-a-half arrangement
2.3.10 Multiple bus arrangement
2.4. Surnrnary
3. SUBSTATION SWlTCHING
3.1. Types of Switching Operations
3.2. Interlockmg
3-3. Developments in Interlocking Techniques
3.4. Sequence Switching
3.5. Developments in Substation Switching
3S.1. Use of expert systems
3.6. Surnrnary
6. IMPLEMENTATION
Tools and Techniques
Substation Modelling
6.2.1. Convention
6.2.2. Composition of a switching system
6 - 2 3 . Component relationships
Data Compilation
Graphicd User Interface
6.4.1. Role of W U
6.4.2. Tool box and substation diagrams
Editing Interlocks
Implementation of Status Management Unit
Implementation of interlock Management Unit
6.7.1. Implementation of Lock Units
6.7.2. Compilation of text based expressions
6.7-3. Evaluation of interlocks
6.7-4. Determination of loc ked state
Implementation of Command Handler Unit
6.8.1. Switching operations
6.8.1.1. Close or open a switch
6.8.1.2. Connect a node to another node
6.8.1.3. Disconnect a noàe from another node
6.8.1.4. Isolate node
6 -8.1-5. Isolate a series component
6.8.1.6. Bus transfer
6.8.2. Supporting modules
6.8.2.1. Topology tracer
6.8.2-2. Energized node detector
6.8.2.3. Detector of the making or breaking of currents
6.8.2.4. Path tracer
lntegrating with System Data
6.9.1. Load flow data formats
6.9.2. Linking the substation data with the load-flow data
6.9.3. The role of the user in the integration
Graph Plotting
6.10.1. Prerequisites for running the graph plotting program
Summary
7. RESULTS
Test Substations
7.1.1. Test Substation 1
7.1.2. Test Substation 2
7.1.3. Test Substation 3
7.1.4. Test Substation 4
7.1 S. Test Substation 5
7.1.6. Test Substation 6
7.1.7. Test Substation 7
7.1.8. Test Substation 8
Preparation of Switching Schemes
7.2.1. Preparing of user interface
7.2.2. Entering and initializing component data
7.2.3. Developing interlock logic
Complex Interlocking Schemes
Testing Interlofking Schemes
Switching Sequence Test
7-5. 1. Connecring and disconnecting lines
7.5.2. Transferring busbars
7.5.3. Isolating switches
7.5.4. Isolating busbars
7.5-5. Bypassing faulty equipment
7.6. Summary
8. SUMMARY CONCLUSION AND FUTURE WORK
8.1. Summary
8 -2. Conclusion
8.3. Suggestions for Future Work
REFERENCES
APPENDICES
A. Decoupled Power Flow Caiculations
B. Selection of Programming Language and Development Environment
C . Major Classes in the SSP
D. Graphical User Interface
E. Converting Infix Expressions into Postfix Expressions
F. Load Flow Data Formats
G. Load-fïow Input Data for a 9 Bus Test System
H. Test Results
LIST OF FIGURES
Figure H.30 The SSP has opened isolator 143 and a command is k i n g
issued to open isolator 141.
Figure H.31 The SSP has opened 141 and enabled grounding switches
G41 and G42.
Figure 8.32 Command k i n g issued to close grounding switch G42.
Figure H.33 The SSP closes grounding switch G42 and disables isolator
143 and circuit breaker C4.
Figure H.34 Cornmand is k i n g issued to close grounding switch G4 1.
Figure H.35 The SSP has closed grounding switch G41 and has disabled
isolators 141 and 142.
Figure H.36 Command is k i n g issued to close circuit breaker CO.
Figure H.37 Switches Il 2,122,132,143 and 152 are enabled.
Figure H.38 Command k i n g issued to disconnect Loadl from the bus.
Figure H.39 The SSP disconnects Load 1 from Bus 1.
Figure H.40 Command k i n g issued to disconnect Source 1 from busbars.
Figure H.41 The SSP disconnects Source 1 from busbars.
Figure H.42 Command being issued to connect Source1 to Load 1.
Figure H.43 The SSP connects Source l with Loadl .
Figure H.44 Command to disconnect Loadl from the bus.
Figure H.45 State of the substation after disconnecting Loadl and Load3
from the busbars.
Figure H.46 Command to connect Load 1 to the busbar.
Figure EL47 Loadl and Load3 connect back to the busbars.
Figure H.48 Declaring isolator 9 as unhealthy.
Figure H.49 Connecting Load2 to the busbar.
Figure H.50 Load2 is connected to Bus 1 while avoiding switch 9.
Figure H.51 Cornmand k i n g issued to discount line 7L4 from the
busbars.
Figure H.52 The status of switches after the SSP disconnects line 7L4
from the busbars.
Figure H.53 Command k i n g issued to trmsfer lines from Bus1 to Bus2
Figure H.54 The substation after the SSP transfers the lines from Bus I to
Bus2.
Figure H.55 Command k i n g issued to isolate circuit breaker B6.
Figure H.56 The substation after the isolation of B6 and the switching
sequence required to isolate it.
Figure H.57 Cornmand k i n g issued to isolate Bus1 on Test Substation 5.
Figure H.58 The state of the substation after isolating Bus 1.
xiv
List of Acronyms
GND Grounded
MVA Mega Volt Ampere
MFC Microsoft Foundation Classes
StS Status of a component
tststs Status of a component to be tested for some state information
Topo Topology
xvii
List of Syrnbols
Active power
Reactive power
Real part of an element of the bus-admittance matrix
Imaginary part of an element of the bus-admittance matrix
Phase angle of bus voltage relative to that of the slack bus
Resistance
Reactance
Impedance
Jacobian matrix
Apparent power
Nurnber of buses
Voltage
Current
To my mother Dhanakala and father Dharmagat
- Prarnod
1. INTRODUCTION
Electric power systems generate, transmit. and distribute electric energy. Switching
stations are strategically placed in power systems to supply power to al1 customers.
Switching operations are perforrned to direct the energy to desired routes. An improper
operation c m adversely affect a large part of the system. Comprehensive interlocks and
cornputer based decision-making tools, incorporated in substation control systems, can
assist operators in making appropriate switching decisions. This chapter emphasises the
need for these tools and outlines the objectives for the research work that is described in
this thesis.
Power systems use electricd equipment such as generators, transfoxmers, circuit breakers,
reactors. capacitors and other devices. Generators convert mechanical energy to the
electrical fom at voltages that are mostly in the 15 kV range. Much higher voltages are
used for transmitting energy over long distances so that the line losses are limited to a few
percent of the transrnitted energy. Conversion to higher voltages is achieved by using step-
up transformers. At the load ends, transformers are used to lower the voltage levels to 5-34
kV range. Energy is then transported to customers' locations where the voltage is further
reduced for their use.
During the first quarter of the 20th century, a more effective approach for the making and
breaking of current in power circuits was developed; this consisted of immersing the
knife-switches in minera1 oil. The mechanism of arc formation was better understood by
the late 1902's. This led to the development of arc-controlling devices. The study of arc
formation and arc quenching mechanisms eventually led to the development of modem
circuit-breakers.
Along with the development of circuit breakers, advancements were made in the
monitoring and control systems. Protective relays detect defective lines and equipment, and
abnormal operating conditions. They initiate, or permit, switching of circuit breakers.
Monitoring systems continuously supervise the conditions of a power system and keep the
operators informed about the state of the system. Regulating systems adjust the settings of
the equipment when a parameter deviates from its predeterrnined limits. Co-ordinated
efforts of monitoring, control and protection systems, and the system operators, make it
possible to maintain continuity and quality of power supply. To make the control and
protection system more versatile and comprehensive, they are now designed as
rnicroprocessors-based systems with specifically developed software programs.
Increasing demand for electricity throughout this century has forced power systems to
become larger and more complex. Lines of high and extra-high voltages are k i n g used to
transmit large arnounts of power. Complex switching arrangements are k i n g used to attain
the desired levels of flexibility and reliability, and to maximize the utilization of
investment. With a trend towards deregulation and increased cornpetition, utilities are
loading the systems closer to their designed lirnits. These factors have increased the
complexity in planning, design and operation of power systems. Large amounts of
information must, therefore, be analysed when making switching decisions so that the
integrity of the system is maintained.
Electric utilities have k e n using computers for planning, design, and operation of power
systems since 1929 [2]. Early applications were limited due to the inadequate capacity of
the computers. Power flow programs were the first large scale applications that were
implemented on modem digital computers. Many new applications have been developed
over the years. Analysis of system performance and effectiveness of alternative switching
plans are two exarnples of such applications.
Despite al1 the advancements in digital computing technology, most operations are
performed manually by operators usir.g predefined guidelines. The exceptions are the
protection and restoration switching that is done by dedicated relays. It, however, takes
substantial time and tedious work to manuaily generate proper switching sequences.
Computer-based substation switching schemes can expedite the decision making process
and help avoid human errors.
Cornputer-based switching systems can continuously monitor the state of a power system,
perfonn on-line analysis of the system and initiate operations to change the system
configuration for maintaining its integrity. The switching decisions made in individual
substations cm, therefore, give proper considerations to the security of the power system.
The work that is reported in this thesis was carried out to further the developrnent of
computer based switching schemes for substations.
The work on substation switching presently reported in the literature has focussed mainly
on the development of approaches to handle interlock requirernents and to generate optimal
switching sequences. Procedures for implementing these approaches are complex and
require knowledge of hardware and software engineering. There is no work reported in the
literature for developing a framework that simplifies the procedures of developing the
switching schemes.
A desirable scenario is that the engineers and programmers with specialized knowledge
study the pnnciples that govem substation switching and develop a framework that would
allow operating engineers to develop switching schemes for their substations. The
framework should searnlessl y overcome the hardware and software engineering
complexities to allow the developers to focus on the working of the substations. The
motivation of this research was to develop such a frarnework. Keeping this in mind, the
following objectives for the research work reported in this thesis were established.
1. Design a framework that accelerates the development of switching schemes
without the need for considering the complexities for hardware and software
irnplementations.
2. Automatically incorporate accepted operating practices in the switching
schemes generated by the framework.
3. Examine the feasibility of developing a computer aided design and
development tool based on the established framework.
This research project was then launched to find a robust approach. It was realized early
enough that it is difficult to develop an optimal switching scheme that is also pneric and
takes care of al1 existing and future substation configurations. If attempted. this would
introduce undesirable complexities in development, validation, and maintenance
procedures. The development of a framework that implements only the principles
governing substation switching practices was identified to be a better approach. The
framework should include a mechanisrn for adding new constraints and syntactic and
semantic rules for providing the constraints. If developed, the framework would be suitable
for developing switching schemes for substations of different configurations.
The work that is reponed in this thesis would allow the utilities to design switching
schemes for their substations without the help of third party experts. The utilities could
refine the schemes over time and modify them in future to incorporate the changes in the
configurations of substations.
Substations and their role in a power system are described in Chapter 2. Major switching
devices are introduced and some commonly used substation configurations are described.
The switching operations are categorized considering their roles.
Different types of switching operations are described in Chapter 3. The importance of using
cornputer-based interlocks over traditionaily used mechanical interlocks is outlined. The
need to operate switches in a desired sequence and issues involved in determining the
sequence are presented. Chapter 3 also reviews the ongoing research in substation
switching and summarises the previously published reports.
The operating constraints of switches are largely due to their design and the way the
switches are used. Chapter 4 examines the operating constraints of the equipment used in
substations. The data required for developing interlocking schemes and switching
sequences are identified. The steps involved in detennining switching sequences are
identified.
The techniques for the development of generalized interlocking schemes and switching
sequences are described in Chapter 5. The network graph processing technique used in this
work is aiso presented.
The developed techniques were implemented in the form of a software package, called
Substation Switchng Scheme Development Package (SSP). Appropriate tools and
techniques were investigated and used to implement the concepts described in Chapters 4
and 5. Object-oriented methodology was used to implement the concepts. Chapter 6
introduces the object oriented approach from the perspective of designing substation
switching schemes. The chapter also describes the techniques used to represent a substation
and to implement the interlocking and sequence switching concepts.
The concepts were tested using eight substations. An analysis of the substations and sample
results obtained from the tests are presented in Chapter 7. The results show that the
developed concepts are valid for implementing proper interlocks in the substations, and for
generating switching sequences.
A summary of the thesis and conclusions drawn from the research work are presented in
Chapter 8. Suggestions for further research are also provided.
This thesis also includes seven appendices. The decoupled Newton-Raphson load flow
calculation technique used in the load flow program for predicting the voltage and current
profiles in a power system is presented in Appendix A. The main criteria used to select the
language and tools for developing SSP are listed in Appendix B. The main classes of
components used in SSP are listed in Appendix C.
Main features of the graphical user interface environment of SSP are described in Appendix
D. A method of converting logical expressions from infix forrn to postfix form is presented
in Appendix E. Two data formats, the "IEEE Common Data Format" and the "Reduced
Data Format," used to share and exchange load flow data among applications are described
in Appendix F. The input data for conducting the power flow study of a sarnple power
system are provided in Appendix G. Additional test results are presented in Appendix H
to supplement those provided in Chapter 7.
2. SUBSTATIONS
Substations interface generation, transmission and distribution subsystems of a power
system. Isolating switches and circuit breakers, installed in substations, perform switching
operations to control power flows. Large substations are often formed by combining bays
that use definite patterns for connecting input-output lines to busbars. The strength and
weaknesses of a substation can be analysed by exarnining the topology of its bays. The
concepts used in designing substations, including the layout of the equipment, are
introduced in this chapter. The comrnonly used configurations of substations, and their
advantages and disadvantages are also described.
Subtransrnission
Network
To lower voltage --
network Distribution X
Substation !
1 I
Local ~ e s r a t o r ~ r i r n aFeeders
r~
Legend:
@ = Generator -=
-
Busbar + = Load
= Transformer -- = Substation 0 = Circuit Breaker
The switching arrangements shown in Figure 2.1 are simple. The arrangements are usually
more complex than those shown in the figure. The complexity depends on several factors,
such as the degree of flexibility required, the importance of the substation, and the cost of
equipment.
The higher the operating voltage. the more is the damage due to faults and undesirable
operations. Also, faults in HV substations can intempt power to large areas. Transmission
substations, therefore, use redundant switches and, consequently, their configurations are
more complex than those of distribution substations.
Most substations have a control room and a switchyard. The monitoring, control and
protection devices are housed in the control room. The control room equipment also include
low voltage switches, indicating and measuring instruments, relays, control panels,
communication devices and the operators' console. High voltage equipment and
transducers are located in the switchyard. The high voltage equipment include circuit
breakers, isolators, grounding switches, fuse switches, busbws, power transformers,
lightning arresters, reactors, capacitors,current transformers, potential transformers, power-
1ine-carrier transceivers, and other devices. Figure 2.2 shows symbols for the equipment
commonly used in substations. Each equipment plays a specific role in a substation. These
roles are described in the next section.
Lightning arrester
Grounding switch
Transformer
Three-winding transformer
Bushing
Circuit breaker
Isolator
Motorized isolator
Load-break switch
Busbar
Reactor
Capacitor
Voltage transformer
Current transformer
An isolator is used to open a circuit only after the flow of current has been intempted by
another device. Isolators are able to cany normal as well as short circuit currents. These
switches are slow moving devices but are inexpensive compared to load switches and
circuit breakers.
A grounding switch is used for connecting equipment to ground after it has been isolated
from the system. Before performing maintenance, an equipment must be isolated and the
charge trapped on it must be drained. Lmpedances are often used in the ground leads for
limiting the flow of currents in case the equipment happens to be energized.
Some load switches, such as oil switches used in ring main distribution substations, have
integral facilities for grounding the circuit [ I l . In some designs, a common switch blade
moves from the "on" position to the "off "position and then to the "earth" position. In other
designs, separate blades are used for line switching and for grounding. They are interlocked
to prevent inadvertent grounding of the circuit while the circuit breaker is closed. The
grounding must always be a deliberate action.
These are either load switches or isolators equipped with fuse elements. The fuses are used
to protect equipment and lines from over-current. Fuse switches are used instead of circuit-
breakers in distribution networks. When a fuse operates to open the line, it must be
manually replaced by a new one.
2.2.6 Busbars
The busbars experience forces when currents flow in them. These forces c m be great when
short-circuit currents flow. A busbar must be able to withstand the forces caused by the
flow of fault currents.
A transformer is a major component of a substation. Two circuits operating at different
voltages can be connected by an appropriate transformer. A power transformer can be of
a two-winding. or multi-winding type. Transfomers are equipped with taps for regulating
the voltage at one of its terminals.
Reactors and capacitors are used to regulate voltage in a power systern [ 2 ] .These devices
can be connected in series with a circuit or between the phase conductors and the ground.
In modem substations, reactors are often thyristor controlled devices, which are called static
VAR compensators.
Crucial information on the state of the power system and the substation equiprnent is
acquired by measuring various pararneters. The measuring, monitoring, control and
protection devices measure and use pararneters such as current. voltage. power factor,
frequency. active power, reactive power. direction of power flow. load balance. and phase
angles. These parameters are measured by using two types of analog sensors, current
transformers (CT) and voltage transformers (VT). These transducers provide the
instantaneous values of currents and voltages. The remaining parameters are derived from
these measurements. Figure 2.3 shows the placement of instrument transformers in a
typical substation.
Older substations have instruments that are operated by analog signals from the transducers.
In modem substations,currents and voltages are acquired in the form of quantized samples
using analog to digital converters. The samples are then processed by digital signal
processors to estimate the desired parameters.
2.3. Substation Configurations
The following factors influence the selection of a switching arrangement for a substation:
Locally prevailing environmental conditions
Geographical conditions
importance of the substation
Level of required operational flexibility
0 Cost
Reliability
The main goal in any design is to provide a simple arrangement that would provide the
desired flexibility in operation. Analytical studies c m be performed to compare the costs
and benefits of different arrangements.
A study of the existing substation configurations shows that certain switching arrangements
are often repeated. One or two typical arrangements of bays appear to be used repeatedly
in a substation. For example, the substation shown in Figure 2.3 has two types of bays
identi fied by dashed boxes.
A substation is identified by the pattern of bays used to make it. Some commonly used
configurations are introduced and their advantages and disadvantages are described in this
section.
This is the simplest busbar arrangement in which a single set of busbars is used in the
substation. Al1 circuits are connected to this busbar. This arrangement is used in small
substations and some generating stations. Figure 2.4 shows the switching arrangement of
a typical single busbar substation.
A circuit breaker is placed in each line so that it can be disconnected from the rest of the
system. Isolators are provided at both ends of a circuit breaker. When taking a circuit
breaker. say B l shown in Figure 2.4, out of service, the following operations are
performed:
765 kV Substation 5
Figure 2.3: Location of transducers in a 765kV substation.
19
9
open circuit breaker B 1,
O
open isolators 1 and 2.
The circuit breaker is opened to break the current flowing in the circuit. The isolators are
then opened and break low levels of currents associated with the stray capacitances of the
circuit.
2 / 8/
L
1
Line 1 Line 2 Line 3
T
Line 4
Source 1 Source 2
Fire Walls
Q 9
,
Section 12 . 5
11 2
1 Section 2
If generator, Source 2 shown in Figure 2.5. is to be taken out of service. the following
operations must be performed.
O Close isolators 13 and 14.
O Synchronize the two sections and close circuit breaker B7.
Open circuit breaker B6.
Open isoiator 12.
This sequence of operations ensures that the supply to Line 3 and Line 4 is not interrupted
when Source 2 is k i n g taken out of service.
Bus 1
3/ 12/
b
Source 1 Line 1 Source 2 Line 2
An appropriate sequence of operations must be used to transfer circuits from one busbar
to the other. If a source, Source 2 shown in Figure 2.6, is to be brought into service while
Bus 1 is energized by Source 1, the following operations must be performed.
a Close isolators 8 and 9.
O Close circuit breaker B3, energizing Bus 2.
O Close isolators 13 and 14.
O Synchronize Bus 1 and Bus 2, and close circuit breaker B5.
O Close isolator 7, and then open isolator 8.
a Open circuit breaker B5.
O Open isolators 13 and 14.
If Line 1 is connected to Bus 1 via circuit breaker B 1 and the circuit breaker is to be taken
out of service, the following switching operations must be performed.
O Close isolators 17 and 18.
O Close circuit breaker B5 connecting Bus 2 with Bus 1.
O Close by-pass isolator 3.
a Open circuit breaker B 1.
O Open isolators, 1 and 4.
Source 1 Source 2
in major substations, a scheme which has two circuit breakers in each circuit is sometimes
used; this arrangement, called a double-bus-double-breaker scheme (or duplicate-busbar
scheme), is shown in Figure 2.8. Because each circuit has two dedicated circuit breakers.
a circuit can be connected to either busbar. Each circuit may be connected to both busbars.
This arrangement can provide un-intempted power supply even if a fault is experienced
on one of the busbars. It does not require a bus-coupler circuit breaker. Any busbar and any
circuit breaker c m be taken out of service for maintenance without internipting power to
the circuit. It is considered to be one of the best configurations for high voltage substations
because of its flexibility, but it is also one of the most expensive alternatives.
if a fault is experienced on Bus 1. circuit breakers B 1. B3, 85, B7, and B9 are opened to
clear the fault.
Source 1 Source 2
If Section 1 of the main busbars experiences a fault, circuit breakers B 1, B3 and B9 are
opened. If the busbar has to be taken out of service to repair the damage. isolators 1.5 and
17 are opened.
It is possible to take a circuit breaker out of service but not intempt the supply of power
on the circuit. For example, if circuit breaker B 1 shown in Figure 2.10. is to be taken out
of service, the following operations must be performed.
w Close isolators 7 and 8.
u Close busbar coupler B4 connecting the transfer busbar to the main busbar.
Close by-pass isolator 9.
h Open circuit breaker B 1.
w Open isolators 1 and 2.
Main Busbar
This arrangement has a low initial and ultimate cost and provides flexibility in operation
for maintenance of breakers. The arrangement. however, makes protective relaying and
automatic reclosing somewhat complex.
When a fault is experienced in Line 1, shown in Figure 2.1 1, circuit breakers B 1 and B2 are
opened to clear the fault.
Line 8
Line 1 Line 2
t
/17
p>-m~~~-m
A l6
B6
13
L
11
B5 10 /
12
B4
4 T 4
Line 6 Line 5 Line 4 Line 3
This looks partly like a ring busbar arrangement, and it is in essence a combination of
several ring like arrangements rather than a single ring. This arrangement makes it easier
to use switches with lower continuous current ratings than that in a ring busbar
arrangement. Two lines sharing the circuit breakers are usually amnged such that one is
connected to a source and the other to a load. This source-load combination minirnizes the
flow of current on the busbars and the switches.
This arrangement is less expensive than a two circuit breaker arrangement but provides
comparable overail performance. The flexibility and reliability are high. but relaying and
reclosing are not easy to implement.
This arrangement, shown in Figure 2.13, consists of more than two sets of busbars. Any bus
can be isolated for maintenance. A circuit can be readily transferred from one busbar to
another using the busbar-tie breaker and bus selecting switches. However, it is not a
popular arrangement because it is not cost effective and its performance does not surpass
the two-circuit-breaker, breaker-and-a-half and ring arrangements. In this arrangement, a
circuit breaker cannot be serviced without interrupting power supply to a line.
2.4. Summary
Power systems are monitored and contrclled from substations using switching and control
equipment. The switches and other equipment used in substations have been introduced in
this chapter and their typical roles have k e n described. The commonly used busbar
configurations have k e n descrîbed and their advantages and disadvantages have k e n
outlined.
Some of the other arrangements, which are not discussed in this chapter, include the three
circuit breaker arrangement, the breaker-and-a-third arrangement, and the single and double
or multiple busbars with by-pass bus arrangement [3-61.
3. SUBSTATION SWITCHING
Switching operations are perforrned to rearrange the topology of a power system so that
various operating requirements of the system are met. The usual switching operations are
outlined in this chapter. The roles of the operations and the importance of computer based
interlocks are discussed. important publications conceming the topics are also reviewed.
Some of these events. such as faults. can cause serious damage and must. therefore, be
cleared without undue delay. In addition to equipment darnage, system instability can occur
if faults. or disturbances. are not cleared prompily. Dedicated relaying systems are.
therefore. used to open appropriate circuit breakers to disconnect the faulted section from
the system. In some cases, relaying systems are designed to re-close the circuit breakers to
restore power supply in case the faults were of a temporary nature. If a fault is of a
permanent nature, the flow of power is rerouted around the faulted equipment.
Some events, such as minor overload, and over voltage / undervoltage conditions, occur
gradually and short delays in decision making can be permitted. A detailed analysis of the
state of the system and the consequences of subsequent switching operations cm, therefore.
be conducted before implementing these switching decisions.
The ability of a power system to withstand the outage of an equipment can be determined
by performing security analysis. if the analysis shows that the outage is likely to result in
overloading of some components. the system can be reconfigured to prevent overloads.
When it cornes to scheduled maintenance, a system can be analysed before any switching
operation is performed. The equipment is isolated before maintenance work is performed.
1. Fault switching,
..
11. Restoration switching,
iii. System re-configuration switching, and
iv. Maintenance switching.
Among these four categories, the fault switching is the most time critical and the
maintenance switching is the least time critical. This thesis concentrates mostly on the
system re-configuration and maintenance switching.
The discussion of Section 2.2 shows that al1 equipment and switches are not robust devices
like circuit breakers. Therefore, the operation of circuit breakers and other switches must
tK coordinated. Utilities employ special safety features to prevent undesired switching
operations from being performed inadvertently.
Restrictions are placed on the sequence in which switches can be operated in a substation
to ensure secunty of the system and safety of personnel. These restrictions are usually
referred to as interlocks.
Interlocking operations can be classified into two groups, operational interlocking and
maintenance interlocking. Operational interlocking prevents switching operations that c m
cause damage to equipment or can cause inadvertent loss of power to the customers.
Maintenance interlocking protects personnel working on the equipment. These interlocks
are more restrictive and include the use of padlocks in addition to usuai interlocks.
Mechanical interlocks are still in use. They are now used mainly to allow safe access for
personnel to carry out maintenance, or to prevent access to the enclosures containing live
equipment.
Newer substations use electrical schemes, where the present status of the switches and the
desired switching actions are supervised by logic controllers. The safety of the switching
operations is ensured by the preprogrammed logic.
Two notable publications in this area are those of Hutchinson [7] and Cory [8]. Hutchinson
suggested the use o f two analog circuits, which represent the interlock logic for the isolators
of a substation. One circuit blocks the operation of an isolator if it makes or breaks load
currents and the second circuit allows the operation of an isolator if a low impedance shunt
path exists across it. The first circuit represents the Thevenin's equivalent of the system in
which ail impedances are neglected. The second circuit represents the Norton's equivaient
of the system in which al1 admittances are neglected.
The first circuit is made by connecting the type 'a' auxiliary switches of the circuit breakers
and isolators in the configuration of the substation. For the substation of Figure 3.1 (a). the
circuit is shown in Figure 3.l(b). If appropriateness of operating an isolator is to be
checked, the impedance across its auxiliary contact is measured. The operation is allowed
if the measured impedance is infinity. In case the impedance is zero, the second circuit is
used to make the final decision.
The second circuit is made by connecting the type 'b' auxiliary switches of the circuit
breakers and isolators in the Norton's equivalent configuration of the substation. For the
substation of Figure 3.l(a), the circuit is shown in Figure 3.l(c). If appropriateness of
operating an isolator is to be checked, the impedance across its auxiliary contact is
measured. The operation is allowed if the measured impedance is infinity.
Examination-
Legend:
11 = Type 'a' contact
1
*= Type 'b' contact
Cory [8] represented switching constraints by using Boolean algebra and implemented the
logic in a hardware circuit. This work shows that complex logic can be implemented with
electronic controllers.
A logic circuit prepared by Cory for a double-busbar substation is shown in Figure 3.2. The
inputs to the control circuit are the status of the switches and the commands to operate
them. The ciosing o r opening of a switch is permitted only when the output from the
controller is logical TRUE.
Row and Cory [IO] extended the work reported in Reference 7. More
Hope and Cory [9],
notable of these works is Reference 9. Hope and Coty simplified the interlock lopic off-line
and generated appropriate Boolean logic by using digital computer programs.
a= "OR" Gate
B19
3 /
= "NOT"Gate
B 1 = Status of breaker B 1
I
O B 1 = Logic circuit output for opening B 1
F m -
-- =P+
MO,
I
B) Control-logic circuit
Figure 3.2. A feeder circuit and an interlock logic circuit for the feeder circuit.
Couch and Momson [ 1 11 proposed adifferent approach in designing interlocking schemes.
Rather than finding al1 switching combinations off-line and storing them, they proposed the
use of a digital computer program to determine on-line the effect of a switching operation
on the safety of the system. They analyze the substation topology, status of the switches and
liveldead status of the lines to determine the impact of a switching operation on the security
of the substation. Figure 3.3 shows a flowchart, taken from Reference 1 1, that is used to
check the impact of operating a switch.
Lidgate et al. [ 123 used a network-tracing (graphical) technique to design the generalized
interlocks. The logic was described using logic diagrams and was translated into two tables,
a "decision table" and an "anti-table." The decision table contained a list of al1 the
combination of switches that prevent the operation of a switch. The anti-table listed every
combination of switches that allow the operation of a switch.
Sequence switching consists of selecting the most appropriate intermediate steps when the
network configuration is to be changed. Almost al1 switching operations described in
Section 3.1 require that the switches be operated in a proper sequence.
A properly planned switching sequence must change the network configuration with a
minimum number of switching operations. The sequence must not violate the switching
constraints, cause loss of power supply or endanger the safety of personnel and the
equipment. A switching sequence may consist of a combination of opening and closing of
switches. Determining a switching sequence can be a complex process because several
constraints may have to be satisfied.
37
Messages:
Display 1 = "Attempt to earth a Iive bus."
Display 2 = "The switch is not a circuit bre
Display 3 = "Threat to substation security."
7 Display 1
n
Display 2
L
Y 4
-
Display 3
*
38
Except for the protection and restoration switching done by dedicated relays. switching
plans are prepared by the substation personnel. It, however, takes time to rnanually generate
appropriate switching sequences. A cornputer based system with appropriate features
would allow engineers to program the interlock requirements of a substation. and generate
and evaluate the switching sequences. Such a system would Save time and help reduce
human errors in decision making. If the technique and its applications are reasonably
inexpensive and user fnendly, they would be useful to substation engineers, and would be
readily accepted and applied.
Hope and Cory 181 used a technique in which they stored al1 permissibie switching
combinations in a "primitive flow table" in an ordered fonn. The ordering in the table is
such that the adjoining rows differ by the state of one switch that can be operated safely.
To change the configuration of a substation. switches are opened and closed as dictated by
the transition of States between adjoining rows. The procedure starts from the row that
matches with the initiai state and stops at the row that matches with the final state. Other
tables are also created to make it easier to analyse the information in the primitive flow
table.
Couch and Momson [ 1 1. 141 proposed a method of selecting optimal switching sequence
based on dynamic programrning. This method minirnizes an objective function which
consists of the cost of switching operations. The technique was used for off-line selection
of switching sequences. The main difficulty with this approach is that it uses a penalty cost
associated with each switching operation which is dificuit to determine.
Udo [15] also proposed an optimization technique for selecting switching sequences. He
showed that most criteria result in selecting a sequence that consists of the least number of
switching operations. He used this approach instead of the penalty functions and cost
minirnization.
Weatherall and Senior [18] designed a microprocessor control system for post fault
sequence switching. in their scheme, status of relays and switches are entered in the fonn
of a bit pattern which is compared with the patterns stored as tables in the computer
memory. The sequence of operations associated with the matched pattern is implemented.
If no matching bit pattem is found, an darm is generated and automatic switching is
blocked. Other notable works done in post-fault sequence switching are those of Marlow
and Dauncey ( 191, and DiaIynzs and Machias [20].
The expert system based techniques provide some scalability in the development of
switching schemes. They normally start with a simple and workable solution and provide
gradual refinement to the system as more experience is gained and the knowledge about the
system expands. The next section describes some expert system based developments that
influenced the work reported in this thesis.
Some [21-23] proposed the use of an expert system for sequence switching. In the work of
Zhang, Hope and Malik 1221, they broke the cornplex tasks into simple sub-tasks. They
used the criterion of minirnizing the number of switching operations when selecting optimal
switching sequences. They also included a provision to incorporate the cost rninimization
criteria if the user c m provide information on the cost of switching operations.
In this work, the elements of network graphs are grouped into three categories: components,
nodes and branches. The switching operations are grouped into five categories. Altemate
sequences of switching operations are determined by searching the network graph for
alternate paths. "Best-first-search" technique is used to expedite the search.
Schulz and Wollenberg [23] also developed an expert system to generate and evaluate
switching sequences for equiprnent maintenance. They included power flow calculations
in selecting optimal switching sequences. They divided the expert system into two sub-
systems, "switching sequence creation expert system" and "switching sequence evaluation
expert system." The first system determined
8 the switches that form isolation boundary for the equipment to be taken out
of service,
8 switching steps for isolation, and
8 switching steps for restoration.
The second system reads a switching sequence and evaluates its correctness and optirnality.
Other publications [24-271 that deal with the use of expert system in substation switching
have not been discussed in this chapter because they do not seem to make significant
contributions to the work reponed in this thesis.
Line 1 Line 2
t 9
Line 84-m/
~ine7.-~'=
B7
B8
8
,/
OB12
-
9
12
I
B9
BI 1
I
:T /
B3
--~ine)
/B4a-Line
@4
6 1 15
L "L
*.B $35
Line 6 Line 5
a) Initial configuration.
Line 1
T T
B8
1 t 2 1
--
B3
~ine8*--=-
8 B9
7 B4
Line 7 @
--- Line 4
"L A"
= Closed circuit breaker
B+ +B5
= Open circuit breaker
Line 6 Line 5
b) Final configuration.
- = Closed isolator
/ = Open isolator
Switching actions in a substation are carried out to protect the equipment from system
events such as faults and disturbances. Operations are also carried out to prepare the system
for repair and maintenance work.
Switches are interlocked so that they can operate only when they do not pose any threat to
the secunty of the system or to the safety of personnel. Switches are, therefore, operated
sequentially so that the interlocking rules are obeyed.
Certain situations require that a component be bypassed. For exarnple, a circuit breaker may
have to be bypassed for performing maintenance on it. To maintain the continuity of power
supply, a path around the circuit breaker may have to be established. The component,
substation and system level interlocks must be satisfied when these operations are to be
performed.
Branches c m contain multiple switches such as a circuit breaker and isolators. When a
branch contains an isolator and a circuit breaker, they must be operated in a definite
sequence. When opening a branch, the circuit breaker must be opened before the isolator
is opened. When closing a branch. the isolator must be closed before the circuit breaker is
closed. The operation of a branch that contains only isolators must be coordinated with the
operation of its adjoining branches that contain circuit breakers. The component, substation
and system level interlocks must be satisfied when a branch is opened o r closed.
Often, more than one branch is involved in connecting a line to a busbar. It is desirable that
the closing of switches progress from the source side to the load side when a line is to be
connected to a busbar. Anyhow, isolators must be closed before the circuit breakers are
closed. Al1 levels of interlocks must be checked before any operations are performed. When
two live circuits are to be connected, they must be synchronized.
Disconnecting a line from a busbar often involves the opening of a circuit breaker between
the line and the busbar. In some circumstances, it may require the opening of al1 switches
in the power-flow path(s) between the line and the busbar. The circuit breakers must be
opened before the isolators are opened. It is desirable that the opening of switches progress
from the load side to the source side when a line is to be disconnected from a bus. Al1 levels
of interlocks must be checked before disconnecting a line.
4.1.6. Connecting busbars
Normally, the sections of a busbar are connected together via bus sectionalizing switches.
Occasionally, however, the sections are operated in stand-done modes. When two
disconnected but live busbars are to be re-connected, the busbars must be synchronized
before closing the sectionalizing switches. Ifsynchronizing facilities are not available, one
of the buses must be de-energized before they are connected.
In the case of a double bus scheme, the lines are not connected to the main and auxiliary
buses through separate circuit breakers, but rather they have one circuit breaker per line.
When transfemng circuits from the main bus to the auxiliary bus in a double busbar
scheme, the buses must be connected via a bus-coupler circuit breaker.
A component must be properly isolated and discharged before maintenance work is starteci.
Every equipment adjacent to the component to be repaired must be taken out of service.
Once a component is isolated, al1 adjacent components must be disabled so that they are
not operated inadvenently until the repair is done and the personnel have released the
equipment.
4.2.3. Identifying affected circuits
Some loads served by a substation may be curtailed if a component is isolated without
providing altemate route to deliver power. Moreover, this may overload an equipment tfiat
is connected in parallel with the component k i n g taken out of service.
The following steps should be performed while determining the switching sequence for
restoring power supply.
The switching sequence for isolating an equipment is prepared from the topology of the
substation. The following operations should be performed for this purpose.
2. Check if al1 the isolating switches in the sequence can be opened without
violating the security of the system.
While performing these steps, process should abort if the test produces unfavourable results
or if a switch fails t o operate.
The operations that were performed to isolate the circuit are known. Therefore, it is
relatively straight-fonvard to restore the circuit to its original configuration. The following
steps should be performed for restoring a circuit.
The operating state of the system and characteristics of the switches must be analysed to
detemine the validity of an intended switching operation. The design of the equipment,
operating parameters, and constraints necessary to operate the system safely must be
considered 128, 291. The constraints can be expressed in a general form and applied
effectively to substations of al1 practical configurations.
An anaiysis of operating practices of substations dictates that the following requirements
must be met by a switching operation.
8 Protection systems must be allowed to open circuit breakers to clear faults.
8 The most recent status of the network must be available.
8 The current and voltage ratings of the linrs, transfomers and other equipment
must not be exceeded.
A practicai switching device is different from an ideal on-off device in two ways. Firstly,
its closing and opening times are not negligible. Secondly, its status may not be known. A
switch rnust go through the following interlock constraints:
O Only one switching operation should be permitted at a time.
8 Sorne switches must not be operated before the operation of another switch is
completed.
O A switch must not be operated if its status in unknown.
Given the voltage, power factor and impedance of different parts of the system and the
system topology, the maximum possible fault current that a circuit breaker must intempt
c m be calculated. The breaking capacity of a circuit breaker should always be greater than
or equal to the maximum possible fault current. A circuit breaker must satisfy several
constraints for it to be safely opened or closed.
The possibility of loss of power to customers due to the opening of a line breaker can be
checked by analysing the topology of the network. The possibility of overloading of lines
following the opening of a circuit breaker c m be determined from a power flow analysis
of the system.
4.3.2.2 Closing Operation
The closing of a circuit breaker while its adjoining isolator is in motion would set u p an arc
across the isolator contacts and damage them severely. This requirement determines the
minimum time required for completing a switching sequence.
if two live lines are connected while the difference between the magnitudes and phase
angles of their voltage waveforms are beyond specified limit, large amount of power flows
from one line to another, which could cause the system to loose stability. It is, therefore,
necessary to synchronize the lines before connecting them.
Grounding of a live circuit initiates a ground fault resulting in the flow of excessive
currents. This could darnage the equiprnent and jeopardize the safety of personnel involved
in grounding. A circuit breaker must not be closed if one of its terminais is connected to a
source and the other is connected to ground.
4.3.3. Load-breakswitches
The constraints applicable to circuit breakers are also applicable to load-break switches.
The load-break switches have one extra constra.int as follows:
a A load-break switch must not break fault cument.
This constraint is due to the design limitations of a load-break switch discussed in Section
2.2.2.
4.3.4. Isolators
The constraints are due to the design limitations of an isolator that are discussed in Section
2.2.3. if isolator 5 of Figure 4.1 were to be closed, an arc would be struck across the
contacts of the isolator because of the difference between the potentials of two buses. This
would severely darnage the isolator. To avoid the darnage. a shunt path across isolator 5 can
be established by closing 9, 10 and B5.
(Source 1) (Source 2)
(Load 1) (Load 2)
: Closed : Closed
: Open / : Open
4.3.6. Transformers
a Two transfomers operating in parallel must be at identical tap settings.
Operating two transfomers in parailel while their tap settings are different would cause
circulating currents to flow between the transformers. These currents could damage the
transformers seriously.
Despite having many comrnon characteristics, every substation has a unique switching
arrangement, importance and placement in the system. Some additional switching
constraints might be necessary t o meet the specific requirements of asystem. The following
are some examples of special constraints.
a An auxiliary bus must not be operated in parallel with the main bus except
when circuits are k i n g transferred between the main bus and the auxiliary
bus.
a No more than two transfomers should be connected in parallel in a
sequence of operation [ 181.
4.4. Data Requirements and Data Structures
System components must be represented by numeric data for use in a software application
for substation control. The data should be kept in a database organized in a predefined
structure. This would ensure efficient sharing and manipulating of data by different
programs.
Many forms of databases are used by electric power utilities and manufacturers for keeping
information on the equipment used in power systems. The data applicable to the
development of substation switching schemes identïfied and adopted in this project are
summarized in this section.
4.4.1. Switches
The structure shown in Table 4.1 was prepared and used for storing data of the switches for
this project. Al1 the information in this data structure. except the 'Branch'. is provided by
the user. The 'Branch' is assigned by the software application. and is made available t o the
user upon request. Al1 data in this structure are invariant except for the 'Status' of the
switch, which is updated continuaily during on-line operation.
The status field can contain slightly different information for different types of switches.
For example, a circuit-breaker rnay need status fields to indicate if its two ends are live and
synchronized. The 'Relations' field lists the names of equipment with which the operation
of the device is directly linked. For example,
O an isolator may be associateci with a circuit breaker.
a circuit breaker may be associated with a feeder. transformer or a husbar.
a grounding switch may be associated with an isolator.
Table 4.1. Switching device data
Description
Identification number
--
Opening- time
- - -- --
1= Integer
P = Lnteger pointer
F = Floating-point,
S = Text string (Alphanumenc narne)
Data of the nodes have to be kept in structures that are significantly different for different
types of nodes. The structure shown in Table 4.2 was developed and used for storing data
of a general node. Al1 the information in this data structure. except the 'AdjBranch',
'AdjNode'. 'NewTopo'. and 'Topo', is provided by the user. The values of 'AdjBranch*,
'AdjNode', 'NewTopo', and 'Topo', are assigned by the software application, and are
made available to the user upon request. Al1 data in this structure are invariant except for
the 'Status' of the node and 'Voltage*of the node. which is updated continually during on-
Iine operation. The structures of data for busbar and input-output nodes are presented later.
4.4.3. Busbars
Busbars are essentially nodes except for the fact that lines corne to converge at the busbars.
The system voltages are measured at buses, and these voltages rnust be within specified
limits. The structure shown in Table 4.3 was developed and used for stonng data of a
busbar. Al1 the information in this data structure, except the 'AdjBranch', 'AdjNode',
'NewTopo' and 'Topo' is provided by the user. The values of 'AdjBranch*. 'AdjNode'.
'NewTopo', and 'Topo' are assigned by the software application, and are made available
to the user upon request. The voltage of a general node is derived by using the voltage
measured at the busbars a n d o r input-output lines. Al1 data in this structure are invariant
except for the 'Status' and 'Voltage' of the bus, which are updated continually during on-
line operation.
Type Description
1 Identification number
S 1 Name (any length)
F
I
Link l
Voltage F
1
1
Type of node: common, input, input-output, output
ID number of the link on one side of the switch
Current voltage level, kV
F Minimum permissible voltage, kV
F Maximum pennissible voltage. KV
I Status CD Status of the node: de-energized, energized, grounded,
healthy, unhealthy, being-repitired, priority
1 Integer representing the topology to be achieved
1 Integer representing the prevailing topology
I AdjBranch PL List of adjoining branches
PL List of adjoining nodes
PL Transfer nodes, listed according to their prioonty
CD 1 Complex structure defining when it is free to be used
Al1 the information in this data structure, except the 'AdjBranch', 'AdjNode', 'NewTopo',
and 'Topo', is provided by the user. The values of 'AdjBranch', 'AdjNode'. 'NewTopo',
and 'Topo'. are assigned by the software application, and are made available to the user
upon request. Al1 data in this structure are invariant except for the 'Status', 'Voltage',
'Current' and 'Pf of the node, which are updated continually during on-line operation.
4.4.5. Transformers
Transformers can have tap changing features, and rated voltages for the prirnary, secondary
and tertiary windings. They have system buses associated with each side. Keeping these
features in mind, the structure shown in Table 4.5 was developed and used for storing data
of transformers. Al1 the information in this data structure, except the 'Branch', is provided
by the user. The 'Branch' is assigned by the software application, and is made available to
the user upon request. Al1 data in this structure are invariant except for the 'Status' and
'TapPos', which are updated continually dunng on-line operation.
F
I MinV 1 F 1 Minimum allowed voltage at the remote end, kV
I Ma.xv 1 F 1 Maximum allowed voltage at the remote end, kV
MVARating F MVA rating
Status CD Status of the node: de-energized, energized, grounded,
II 1 1 healthy, unhealthy. under-repair, priority
I NewTopo 1 1 1 Integer representing the topology to be achieved
1,
II
TOPO
AdjBranch 1
1
PL
Integer representing the prevailing topoiogy
1 List of adjoining branches
IIAdjNode 1 PL 1 List of adjoining nodes
I Buses 1 PL 1 Associated buses listed according to their priority
I SrcPref 1 PL 1 Source list, listed according to preferencelpriority
Lock Complex structure defining any special constraints
Table 4.5. Transformer data
'&
Data
Identification number
Name (any length)
Type 1 Type of transformer, two-winding, three-winding, auto etc.
MVA F MVA rating
TapSideV F Tap side or primary voltage rating, kV
ZSideV F Z side or secondary voltage rating, kV
TerV F Tertiary side voltage rating, kV (if present)
Link 1 1 Link on the tap side (or primary side) of the transformer
--- - -
Minimum setting
Steps by which setting changes
Setting Current setting
Relations List of lines associated with the reactor, separated by commas
A complex structure, which defines when it is free to operate
4.4.8. Substation
Considering these factors, structure shown in Table 4.8 was developed and used for storing
data of a substation. Al1 the information in this data structure are provided by the user.
11 Table 4.7. Measuring instrument data
Data Type Description
ID 1 Identification number
Considering these factors, the structure shown in Table 4.9 was developed and used for
storing load flow data of a power system. Al1 the information in this data structure are to
be provided by the user except for the status. The status is changed during the on-line
operation of the substation.
-- -
The bus data of the power system must be provided to facilitate load-flow calculations. The
data should be kept in a file using specified format. Considering this factor, the structure
shown in Table 4.10 was developed and used for storing bus data of a power system. For
a load bus, al1 the data are provided by the user except 'V' and 'VAng*.For a generator
bus, al1 the data are provided by the user except 'QLoad' and 'VAng'. For a generator bus,
al1 the data are provided by the user except 'Pload', QLoad' and 'Pgenr'.
II Table 4.9. Power system data
Data Type Description
MVABase F Base MVA
1 NoofBuses 1 1 1 Nurnber of buses
1~ u s ~ a t a F % 1 Header to declare the format of bus data
-- --
BusData CDL Data of al1 major buses in the system, where each bus has a
complex data structure
IINoofBranch 1 I 1 Nurnber of branches
I BrnDataFmt 1 S 1 Header to declare the format of branch data
BranchData CDL Data of al1 major branches in the system, where each branch
has a complex data structure
The line dataof the power system must be provided to facilitate load-flow calculations. The
data should be kept in a file using specified format. The structure shown in Table 4.1 1 was
developed and used for storing line data of a power system. Al1 the information is provided
by the user.
The interlocks applied to a switch can be processed efficiently if the interlock information
is kept in an appropriate format. in this work, al1 interlock constraints are grouped in four
categories to simplify and expedite the processing. These groups are introduced in this
section.
Monitoring of these conditions involves the analysis of the topology of the substation and
the status of input-output nodes.
Table 4.1 1:System line data
Line number
Tap bus number (Bus at the side of the model of a
transformer or phase shifter that has the non-unity tap.)
Z bus number (Bus a t the side of the model of a transformer
or phase shifter that has the device impedance. )
- -- - - ---- ---
4.6. Summary
The constraints for operating switches and other equipment in a substation have been
outlined in this chapter. The constraints. which m u t be examined when a sequence of
operations is to be performed, are identified. The data of various cornponents used in
prepxing switching sequences and interlocking have been identified. Some examples of
switching procedures have been described.
5. SWITCHING TECHNIQUE MAJOR -
COMPONENTS
The operating constraints, data requirements and types of switching procedures involved
in a switching scheme are reviewed in Chapter 4. A technique for developing switching
schemes that incorporate those features is presented in this chapter. The technique is
capable of addressing specific requirements of substations. The technique is geared for
providing a tool that would allow substation engineers to develop switching schemes for
substations of different configurations.
Many software components play key roles in the development of a switching scheme. The
major components are
a technique to carry power flow studies and estimate the system States,
Parameters of the components of a substation change during its operation. These parameters
should be continuously monitored. if integer variables were assigned to represent each
status parameter of a cornponent, substantial disk and memory storage would be required.
in addition, processors will take more time if the parameters were CO be compared
individually with set values. It would be advantageous if several parameters were
simultaneously compared with their set values.
The protocol, wti/ornz stattis storage and processing ( U S S P )protucol. was developed and
used to store the status information of al1 the components in a substation, update them on-
line, and compare them with set values. This protocol has seven major components.
-.
7 Software interface functions facilitate the communication of status
information between the SMUs and other modules.
3. Integers that are multiples of 32 bits provide space for allocating bits to
represent the status parameters of a component in a SMU. The meanings of
bits, however, can be different in the status variables used for different
components.
4. The floating point parameters, such as line currents, bus voltages and power
factors, are stored in separate variables. These parameters are then
compared with their set limits and the results of the comparisons are
included in the SMU. A provision was made to handle multi-vaiued States
such as unhealthy, marginal and healthy.
k
Branch, node paths.
RIDDEFAULT Switch, Ovemde the default interlocks
branch. node
- - - -
Switch,
-
branch, node
-
A human interface for specifying and testing the status parameters of components was
prepared. This interface converts the text-based instructions to the binary form for use by
SMUs.
The SMU of a component stores and maintains the required number of status parameters.
A status is defined by the name of the object followed by its status parameters placed
between parentheses. The status parameters are separated by blank spaces. The syntax of
a status definition is:
NarneOfObject(param1 pararn2 param3 ....paramn)
Three examples of the syntax are as follows.
Breaker2(0FF)
Busbarl(IS0LATED GROUNDED)
In these examples Breakerl, Breaker2 and Busbarl are the names of the objects whose
72
status are stated. ON, ENABLED, LNLOCKED, Off, ISOLATED and GROUNDED are
the status parameters. Breaker l must be ON, ENABLED and UNLOCKED for TRUE
outcome of the first statement.
Global handling of status makes a scheme vulnerable to data errors. It becomes difficult to
determine the culprit code or device that corrupts the data if many devices and program
units are responsible for maintaining the same data. It was, therefore, decided that the
storage and maintenance of status be handled locally by the software mode1 of the device.
This was done to make the information management more robust and to reduce the impacts
of malfunctions of status units.
Every time a switch operates, its SMU refreshes its status variables to reflect the new state.
The SMUs of other components dso refresh their status variables. Every time the topology
of the substation is processed, some States, such as live, dead, and grounded, are passed on
by the topology processor to the SMUs of affected components. Each SMU updates the
status variables. Every time current and voltage values are updated, the comparisons are
made with set limits and the results of the comparisons are sent to SMUs of affected
components. The SMUs update the status variables.
Interface functions were defined for reading and comparing status parameters of a
component. The following interfaces must be supported by dl SMUs of cornponents:
creturn-valuel> GeîStatus( )
creturn-value2> GetStatusString( )
<return_value2> GetKeyString(<keys> )
<return_value3> CheckAll(<test-s tatus> )
creturn-value3> CheckSelective(<test-stahis>, <key>)
where,
<return-valuel> is the copy of the entire packed structureof the status parameters,
which is referred to as Status.
aetum-value2> is a string. that explains the status of acomponent in well formed
test strings.
~return-value3> is an integer. which is 1 if the test result is TRUE and O if
FALSE.
<test-status> is a Status of some other component to be compared with the Status
of present component to find equdity of d l parameters.
<key> is a Status that tells which bits of the component are to be compared with the
<test-statw>. The bits to be compared are set t o 1 and those not to be compared
are set to O.
GetStatus returns the Status of the component
CetStatusString returns a text string explaining the Status of the component
GetStatusString retums a text string describing the key
CheckAl1 compares al1 the parameters of the Status of the component with the
input Status. Returns 1 if both Status are equal.
CheckSelective compares selected parameters. Only those parameters for whom
the corresponding bits in <key> are set to 1 are compared. Returns 1 if selected
fields in both Status are equal.
The SMUs should also support the al1 those applicable to the component watched by the
SMU among the following interface functions, which will retum 1 if the result was TRUE
and O if FALSE. The meaning of these interface fùnctions are the sarne a s their
corresponding labels as defined in Table 5.1.
The currents that would flow in the lines and the voltages that would be experienced at the
system buses after a switching operation are calculated to check that the operating limits
of the components are not violated. These checks are performed by first calculating the
power flows and then comparing the current in each line with its continuous current ratine
and comparing the bus voltage magnitude of each bus with the maximum and minimum
permissible voltage specified for the bus. The technique that was selected for power flow
is the decoupled power flow technique [37]. This technique is described in appendix A.
topo log^ determination is a process of scanning the network to find which circuit elements
are electrically connected. in this application, the components of interest are transmission
lines. busbars, generators, transformers. and loads. The determination of network topology
is important not only for interlocking and sequence switching, but also for state estimation,
security andysis, power system protection and other applications.
The irnpedance elements within the substation, such as transformers, are ignored while
detennining the topology of the network. Starting from a particular node, the network can
be searched to determine if it is connected to other nodes. Most of the topology anaiysis
algonthrns are modifications of well known network search techniques, such as the breadth-
first-search and depth-first-search techniques. The works of Dy Liacco and Kraynak [ 301,
Dy Liacco, Rarnaro and Weiner [3 11, Sason et al. [32], Couch and Morrison [33], Sullivan,
Reichen and Saiy [34], Bertran and Corbella 1351, Prais and Bose [36] describe topology
determination techniques for power system networks. These papers deal with the topology
determination of a power network limited to the interconnection of lines and transformers.
A technique, which was developed by the author and used in this research, for determining
the topology of a substation is presented in this section.
The following procedure was developed for representing the topology of a substation and
for exchanging the topology information between modules, such as SMUs.
A substation is considered to be made up of nodes and branches. A branch is made
up of series connected elements. A node is a terminal point of a branch.
Al1 the nodes of the substation are mapped with two sets of integers. The first set
of integers, current-topolûgy-set, represents the actual topology of the substation.
The second set. next-topology-set. represents the topology of the substation, after
the required switching operations are completed. The values in these sets are called
topology-indicators of the corresponding nodes.
Two integer fields, "Topo" and "NewTopo" were allocated in the data fields of
nodes (Table 4.2-4.4) to store the topology-indicators belonging to the current-
topology-set and the next-topology-set.
Switches 5, B3 and 6 of Figure 5.1 form one branch. The links 1 , 4 5,6,7,8 also identiQ
the nodes of this substation. The identification number of a node is shared with one or more
links. In this thesis, the topology is expressed in terms of the connectivity of nodes.
When al1 switches of a substation are open, al1 nodes are isolated from one another and the
topology-indicator for each node is equal to its identification number. The topology of the
substation of Figure 5.1 can be represented by the following current-topology-set.
11, 4, 5, 6, 7, 8901
Note that links 2 and 3 are not considered as they are not nodes. The node O represents the
ground node.
If the line identified as node 8 were to be connected to the bus identified as node 1 by
closing switches 1 and B 1, the topology-sets would be as follows.
The closing of switches 1 and B 1 would connect node 8 to node 5, and node 5 t o node 1.
Nodes 8 and 5 would now be electrically identical to node 1. The ncxt-topology-set is
obtained by replacing 5 and 8 with 1.
The topology processor stores these topology sets in the data structures of the nodes. The
topology indicators of the nodes 1,s and 8 are shown in Table 5.2. Two data fields store
the topology-indicators, the first (Topo) stores the actual topology and the second
(NextTopo) stores the topology to be attained.
The topology processor also sends the required status information to the SMUs of affected
nodes and switches. Node 8 was originally in the ON state. If nodes 1and 5 were connected
to node 8, they would be energized. These changes are reflected by the entries in ON and
TRANSiT status variables. This switching operation does not make any currents to flow
through the nodes, which is reflected by the entries in MAKEI.
Now. if switches 1 and B 1 are closed, the current-topology-set would change to the
following form:
current-topology-set:[l, 4, 1, 6, 7, 1, O]
These changes are reflected in the topology-indicators and status variables as shown in
Table 5.3. The table shows that nodes 1,5 and 8 are all ON. Variable TRANSIT indicates
that the ON state of 1 and 5 was changed due to the switching operation.
At this stage, if the line represented by link 7 were to be connected to the bus identified as
node 1by closing switches 3 and B2, the topology-sets would be as follows.
GND F F F
The status variables and topology indicators of nodes 1,6 and 7, and the status variables
of switches 3 and B2 assume the values shown in Table 5.4.
Note that MAKEI variable indicates that current will be made due to the operation of these
switches. The making of current is apparent as previously de-energized line connected to
node 7 is now energized. After the switches 3 and B2 are closed, the current-topology-set
would change to the following form:
I
l This Next
7 1 1 NIA 1 NIA 1 NIA 1 NIA
+
1
I
b
'
Table 5.5. Data after energizing node 7
1 1 1
II
11
77'
I MAKEI 1
This
NIA
Next
NIA
Node 6 Node 7 Switch 3 Switch 8 2
If the two busbars (nodes 1 and 4) were to be connected by closing switches 5. B3 and 6,
ail the nodes in the circuit becorne electrically connected and the topology sets would be
as follows.
current-ropology-set: [l, 4,1,1,1,1, O]
nexr-topology-set: (1, 1, 1, 1, 1, 1, O]
The status variables and topology indicators of nodes 1,s and 4, and the status variables
of switches 2 and 4 assume the values shown in Table 5.6. The ON and TRANSIT
variables indicate that node 4 will be energized due to the closing of switches 5 , 8 3 and 6.
The SCPATH variable indicates that there will be a short-circuit path across switches 2 and
4. The existence of a short-circuit path across switch 2 is apparent from the fact that the
nodes 5 and 4 are electrically connected while switch 2 is still open. Also. node 6 is
connected to node 1 that is connected to node 4. The bus coupler circuit, in this manner, has
provided a short circuit path across isolator 4.
-
After the switches 5, B3 and 6 are closed, as shown in Figure 5.2, the current-topology-set
would change to the following forrn.
current-topology-set: [1,1, 1, 1, 1, 1, O]
Other conditions, such as grounding of a node and breaking of current by a switch, are also
determined by reading the status variables o f the components in a similar fashion.
The procedure of updating the topology of a substation can be summarized in the following
two steps.
1. The next-topology-set is prepared when a switch is to be opened or closed.
The exarnples presented in this section have demonstrated the procedure of processing
topology and keeping the topology information in the data structures of nodes. The
examples have d s o demonstrated the role that a topology processor plays in deterrnining
and updating the values of various status variables.
Alternative power flow paths between two nodes of a substation are determined by tracing
the network of the substation. While searching for the paths, a number of limiting factors
are considered. An approach developed and used in this thesis for the search of power flow
paths is explained in this section by using the substation shown in Figure 5.1 as an example.
A list of adjoining nodes is prepared for each node. For exarnple, the adjoining node of
node 8 is node 5 and the adjoining nodes of node 5 are nodes 1,4 and 8. The adjoining
nodes of the nodes in the substation detennined in this manner are listed in Table 5.7.
If alternate paths between node 8 and node 1were to be determined, node 8 is declared as
the start-node and node 1 is declared as the destination-node. Adjoining nodes of node 8
are found. In this case, the adjoining node is node 5. Now, the adjoining nodes of node 5
except node 8 are identified. These nodes are 1and 4. Since node 1 is a destination-node,
one possible path has been found to be from nodes 8 to node 5, and from node 5 to node
1.
The search of other paths continues from node 4, whose adjoining nodes are 1,s and 6.
Node 1is destination-node, and therefore a new path has been found to be from node 8 to
node 5, node 5 to node 4, and node 4 to node 1. Another traced path would be 8-54-5. This
path is rejected because a path should not traverse a node more than once.
The search now reverts to node 6. The adjoining nodes of node 6 are nodes 1,4, and 7. The
path from node 6 to node 1cannot be used because the path from node 4 to node 6 has been
used. This restriction is based on the interlockhg requirements between switches 3 and 4.
Node 7 is rejected as an end of the substation is reached.
These exarnples have demonstrated the procedure of searçhing power flow paths.
The following algorithm was developed and used for determining the switching sequences.
The following procedure was developed for determining the switching sequences for
connecting two nodes.
&.
7 Select the shonest path.
3. in the selected path, identify al1 branches that contain isolators only. Consider that
al1 the isolators have been closed. Now check the following.
(i) Does the closing of the isolators cause the currents to flow?
(iii) If the result of the test 3(i) and 3(ii) is FALSE, proceed to Step 4.
(a) Reject the path that was being tested.
(b) Select the next shortest path for test. Revert to Step 3 and continue
testing the newly selected path.
4. Consider that ail the isolators identified in Step 3 remain closed. In the selected
path, identify al1 branches that contain circuit breakers. Consider that dl the circuit
breakers and isolators adjoining them are closed. Now check the following.
(b) Select the next shortest path for test. Revert to Step 3 and continue
testing the newly selected path.
85
continue testing the newly selected path.
5. Make a list of d l branches in the selected path using the following steps.
(i) Include in the list the branches identified in Step 3. Arrange them
sequentially from source to load.
(ii) include in the list the branches identified in Step 4. Arrange them
sequentially from source to load.
The Iist of branches prepared in Step 5 represents the sequence in which the operations
must be performed. The list is in such a form that the two nodes can be connected by
following the instructions in the list sequentially from the top.
The following procedure was developed for detennining the switching sequences for
disconnecting two nodes.
Determine al1 dtemate paths between the two nodes. Sort the paths by their lengths
so that the shonest path appears at the top of the list.
Find if the path contains a branch that is already included in the solution-list. If yes.
eliminate the path from the list and revert to Step 4.
ldentify al1 branches that contain circuit breakers. Consider that al1 the circuit
breakers and isolators adjoining them have been opened. Now, check the following.
(i) Does the opening of the switches break the flow of currents?
(ii) If the result of test 6(i) is FALSE,proceed to Step 6.(iii).
(a) Test from the load-flow solution if the operating limit of any
equipment is violated.
7. Consider that the switches identified in Step 6 remain open. Identify al1 branches
that contain isolators only. Consider that al1 the isolators have k e n opened. Now,
check the following.
(i) Does the opening of the isolators intempt the flow of current?
(b) Lf the path was rejected for the first time, remove the path from the
top of the list and insert it at the bottom. Revert to Step 4.
Otherwise, print a message and terminate the process of finding the
switching sequence.
8. Make a list of al1 branches in the path. Prepare the list by using the following steps.
10. If the list of paths is not empty, proceed to Step 4. Otherwise, the solution-list
represents the desired sequence for disconnecting the nodes.
Follow instructions contained in the list sequentiaily from the top when implementing the
solution.
Complex switching tasks were systematically divided into smaller and generalized tasks.
An example of a complex task is to transfer lines from Bus1 to Bus2 in the substation
shown in Figure 5.3. This task was performed by sequentially performing the following
tasks.
a Detennine the lines that are connected to Bus 1 (Source 1. Source2. Load 1,
Load2).
a Connect Bus2 with Bus 1 (close 1 , 2 and B5).
Connect the identified lines that were previously connected to Bus1 to Bus
3 (close 4,6,8 and 10).
a Disconnect the lines from Bus 1 (open 3,5,7and 9).
a Disconnect Bus 1 from Bus 2 (open B5, 1, and 2).
The following guidelines were formulated to facilitate the handling of complex tasks.
1. A dedicated cornmand haridler unit (CHU) was provided for each component. The
CHU accepts user cornrnands, processes them, makes decisions and takes actions.
2. The CHU of a component communicates with the CHU of other components.
3. A set of keywords were assigneci as command names. The names of some important
cornmands and their meanings are listed in Table 5.9. A CHU can accept the
comrnands and convert them to appropriate machine code.
4. Text-strings containing the name of the component followed by a period and then
the name of a cornrnand were used to form Command-Strings as foIlows.
ComponentName.CommandName
For example, the Comrnand-String for opening CB 1 is as follows.
CBl.Open
5. CHU issues only one command at a time. If several comrnands are required to be
issued, they are issued in a sequence.
ComponentName :Cornmand-String-List
8. The Cornrnand-String-List contains Command-Strings separated by blank spaces
as is shown in the following statement.
B1 : Sourcel.DisconnectFcomB~~
1l.Open 3.0pen 4.0pen
Each class of components accepts a different set of comrnands. The following examples
indicate the difference in commands developed for Switch, Node, Branch and Substation.
1. Switch: Close, Open, Isolate, Repair
7
-. Node: ConnectToBus, ConectToSource, DisconnectFrornNode,
Isolate, Energize, Deenergize, ConnectToGround, Repair
The guidelines and examples presented in this section have demonstrated the method of
developing cornplex switching sequences by arranging already defined commands.
Al1 the components whose operations are interloçked with other components were
modelled. The modelling followed a procedure in storing, managing and cornmunicating
the information. The protocol was developed and used to facilitate the design and
enhancement of interlocking schemes. The developed procedure can include new classes
of components with minimal effort. The procedure involves the following steps.
2. The IMUs accept the interlock constraints in the form of logical expressions of
modules called lock unirs (LU). These modules store the names of the components,
the status-variables to be compareci, and the desired values of those variables.
3. For use by the user-interface, a lock unit (LU) is defined by the narne of an object
followed by its desired status parameters placed between parentheses. The status
parameters are separated by blank spaces. Only the keywords specified in Section
5.1 and applicable to the component are acceptable. The result of the evaluation of
a LU is always TRUE or FALSE, and the syntax of a LU definition is as follows.
NameOfObject(param1 param2 param3 ....paramn)
The status fields in a LU must not conflict with each other. For example, O N OFF
are two conflicting status vaiues and cmnot both be included in the same LU.
An interpreter is needed by the IMUs to translate the text-based LSs into binary
code and vice versa.
A few examples of interlock expressions for switching operations in the substation shown
in Figure 5.4 are now presented.
Example 1:
In this LU, B 1 is the name of the object, and ON, ENABLED and UNLOCKED are the
status flags whose values must be logical TRUE for the LU to be evaluated as TRUE.
B l ( 0 N OFF ENABLED) is an invalid lock unit as it has two conflicting status values.
A component cannot be O N and OFF at the same cime. Lock unit, B l ( 0 N ENABLED).
on the other hand, is valid because it does not have conflicting status requirements.
Suppose the isolator 1 was to be prevented from operating when isolator 3 is closed or
when circuit breaker B 1 is closed. This condition is expressed as follows.
4: 3(ON) I B l ( 0 N )
Example 3:
Suppose that isolator 4 was to be prohibited from operating when isolator 3 o r circuit
breaker B 1 was closed but not when 1 , 2 and B5 were closed. This condition is expressed
as follows.
4: (3(ON) I B l ( 0 N ) ) & (! (1(ON) & 2(ON) & BS(0N)))
Suppose that the circuit breaker B I was to be prohibited from closing if Source 1 was either
Down. or Up and ünhealthy. This condition is expressed as follows.
BI: Bl(0FF) & ( Sourcel(0FF) I Sourcel(0N UNHEALTHY))
5.7. Summary
The major components of a technique for developing switching schernes have k e n
presented in this chapter. An approach to store and access the status of equipment has k e n
outlined. A method for storing the topology information of the network and utilizing the
information to update the status of components has also k e n described. A load-flow
calculation technique, a method for determining alternate power flow paths, and the rules
for determining switching sequences have k e n described. Finally, generalized techniques
for interiocking and sequence switching have k e n presented.
6. IMPLEMENTATION
The programrning technique and the programming language chosen for the development
directly affect the irnplementation of the technique described in previous chapters. The
approach used in the development of SSP is presented in this chapter. An object-oriented
approach was used to mode1 the components of substations and switching schemes, and to
develop the user-interface for the SSP. C+t language was used for wnting the code.
Any object oriented programming language, such as C++, SmallTalk, Object Pascal, or
CLOS, could have k e n used to wnte the software application. The Microsoft Visual C++
was used for reasons presented in Appendix B.
A substation switching system was decomposed into subsystems that in tum have their
own subsystems. The decomposition was continued until some lowest component-levels
were reached. For exarnple, Status Management Units. Interlock Management Units,
Comrnand Handler Units, switches and nodes were treated as elementary objects. In this
section. a convention for represenring objects and classes of objects. decomposition of the
system and the relationships between classes of components are discussed.
6.2.1. Convention
Software templates. which are generaliy called classes, were prepared to facilitate the
modelling of components of substations. A software mode1 of a component based on its
template is referred to as an object. Each object was considered to be composed of two
parts, data and functions as is shown in Table 6.1. The data represent the parameters of the
object and the functions represent the behaviour of the object. The functions interpret and
manipulate the data, accept commands from other objects, provide appropnate response and
send commands to other objects.
The components can be o f Node or Series type. A Node class includes components like
loads, generators, input-output lines, busbars. A series class includes components like
switches and transformers. This sub-classification of component class is shown in Figure
6.2. The list of important classes in the SSP is provided in Appendix C.
IUser Intedace Substation Power System
- Load
Busbar
I I
Grounding
- 1 9 Load Break Switch ]
4Adjohhg Substation
I
Grounding Switch 1
Objects exchange messages for reasons such as determining the effects of a opening or
closing of a switch. exchanging status information, and permitting or refusing to execute
a command. Figure 6.3 shows the flow of messages between various elementary modules
and a Component-object. The Component-objects pass messages with substation and with
their SMU, IMU, CHU and WIü directly. The communication is indirect with the other
module. A component can acquire the power system information through the substation
object.
A SMU looks after the status of the component and communicates with the sensors,
actuators and measurement units. An M U evaluates the interlocks of the component. A
CHU interprets and forwards the cornmands to the Component-objects. A WIU
communicates with the user and the Windows Main Interface Unit (WMiU) that contains
drawing and editing modules including toolbox, toolbar and menu.
i
Power System Object i
I
l
I
Substation Object ?
!
1 Component Object
I
1
I
Sensors/Actuators
I
i
m i i
:
1
Operator ;
99
6.3. Data Compilation
Two types of data are handled by the SSP. The first type is the data that does not change
until a physical change occurs in the substation. T h e second type of data changes during
the normal operation o f the substation.
The static-data are supplied to a switching scheme during its development. They are
acquired from sources such as off-line measurements, manufacturer's data sheets, and
spatial relationships of the component with other components. The dynamic-data include
status parameters of components, bus-voltages, line currents, and topology information.
The data are updated at regular intervals and after perforrning a switching operation.
A data compiler is included in the SSP for compiling the static-data and initiaiizing the
dynamic data. It also establishes communication links arnong objects so that they do not
have to rely on the data compiler after the data is initialized.
4. Count the number of items connected to each link and place the counts in
the countLookup array .
8. Create a node type object (oNd) corresponding to each node and add to the
object list in oStn.
Assign a switch-number to each switch and a node-number to each node.
Marlc the object address of the first entry of each type of object. This would
make it possible to jump from one type of object to another without
traversing the list sequentially.
Determine and assign the type of each branch and add the branches in the
object list of oStn.
For each node except for the grounding node, identify adjoining branches
and store in its list of adjoining branches called adjBr.
For each node except for the grounding node, identifi adjoining nodes and
store in its list of adjoining nodes called adjNd,
20. Find and fil1 the adjoining input-output nodes of each busbar.
2 1. Find alternate busbars of each busbar.
33
L I . Identie the substation configuration type and store in oStn.
23. If the priority of a busbar is not specified by the user. set it to 1 provided at
least one circuit breaker exists in each path radiating from the busbar to the
input-output nodes. Othenuise. set the priority to 2.
Interpret text based interlock expressions entered by the user, convert them
to binary code and store them in the interlock management unit of the
components.
25. Find default interlocks, which can be ovemdden by the user if necessary.
The default interlocks are normally practiced rules in a typical
configuration.
26. Create a link between the Load Flow Module, o t f , and the substation
module, OStn.
This is a list of major functions performed by the datacornpiler. Many minor functions that
are performed by the data-compiler are not included in the list.
A graphicai user interface (GUI) for the SSP was developed independently, before
developing other modules. The approach used in the development was to identify and
define a set of interfaces through which other modules of SSP c m interact with the
components of GUI. T h e rest of the application prograrn need not change when the intemal
implementation of the GUI changes as long as the established public interfaces d o not
change. This decoupling permits the visual appearance of the Windows interface to be
enhanced in the future without interfenng with the integrity of the SSP.
The GUI interface is prepared around WMIU, which includes a menu, a toolbar and a
toolbox, as shown in Figure 6.4. The menu provides necessary cornmand-interfaces to use
al1 available features of SSP. A toolbox includes symbols of various substation
components, which can be selected, dragged and dropped to draw single line diagrarns of
substations. The toolbar provides shortcut to some frequently used commands.
Al1 the commands issuable to the SSP are organized in the following ten categories:
File, Edit, Operate, Control, Draw, Build, Plot, Window, and Help
Explanation of these menu categones are given in the SSP User's Manual [45]. The tool
bar provides the shortcut to the following commands that are issuable from the menu:
File-New, File-Open, File-Save, Edit-Cut, Mit-Copy, Edit-Paste, Edit-Delete,
Edit-Undo, Draw-Mit Substation Diagram, Plot-Voltagesand currents, Build-
Compile Component, Compile, Build-Compile Substation, File-Print, and
Help-Index
The toolbox presents a set of symbol-buttons, which can be pressed to activate a WIU of
a new instance of the selected component class. The W U allows the user to draw the
component on the screen, and provide the input data of the component. When a component
symbol is added (or removed) on the cornputer screen, an object is created for (or deleted
from) the switching scheme.
A component is selected by clicking the left mouse button over it. Dialog boxes to edit
data, to view data or to issue commands are activated by selecting the component and
selecting appropriate menu items. More discussion on WIUs is provided in Appendix D.
6.4.1. Role of W U
A WIU handles five types of windows based activities. They are as follows:
2. Data Display: The component data are displayed on the screen by using the
data display windows. These windows are diaiog boxes specifically
designed for each class of object that display the data in the appropriate
format.
3. Data Edit: Each WILJ has its associated data-dialog box which displays the
component data and allows the user to edit the data. The dialog boxes are
used mainly for editing the properties of the components.
6. Status Update: Each WTU has an associated status-dialog box that allows
the user to change selected status parameters.
Al1 component objects have these features. However, only a subset of these features are
available for a non-cornponent object.
A toolbox. as shown in Figure 6.4. is activated by selecting Edit, and then Launch Editor.
from the menu of the WMW. The set of symbols shown in the toolbox are used to draw
substation diagrams. The Cancel and Ok buttons shown in the toolbox are used to exit from
the tool box and, consequently, from the editing mode of the software.
When a symbol is selected from the toolbox and the mouse is moved t o the drawing area.
the symbol is drawn at the location where the mouse is clicked. The WTU allows the objects
drawn on the screen to be moved, rotated, shifted in selectcd step-sizes, copied, pasted and
de1eted. The font, size and colour of the text can be changed. The procedures that a user
must follow to draw a substation diagram are given in the SSP User's Manual [45].
Public interfaces. such as the following. are provided in W N ' s of substation components
through which rest of the SSP modules interact with the graphical elements:
Operate(), ChangePmpertiesO, Compile(), Draw(), SelwtO, Rotate(),
Shift(int dx, int dy), Copy(), Paste()
The switching components also include the following two important public interfaces:
Open0
Cl-O
-
- Circuit breaker, isolator, Io ad-breakswitch
Grounding mitch, adjoining substation, transformer
!
- Dot (fiüed circie), generator, bushar 1
- Straight line, load, selecting rectangle 1I
- Text,motorized isolator, motorized punding switch !!
- Capacitor, senes reactor, tap-changing transformer
- Ok,Cancel ' 1
/I
1!
1
-- - - - -m j- s
- - A1 -
Figure 6.4: The toolbox.
A WIU asks for the interlock expression of the component from the CHU, which in turn
acquires the interlock expression from the IMU and provides it to the WRI. The W N
displays the interlock expression and allows the user to make modifications. However, a
WIU cannot determine whether the user enuy is valid or not. The WIU sends the modified
expression to the CHU that passes it on to the M U . The IMU stores the expression if it is
valid, but sends a warning message to the U?U, via the CHU, if it is invaiid.
-
GetExpx ait~ock
-Expr Display
-
Expr Expr
-
Store
Message
Some functions that were defined for checking al1 or some parameters stored by SMU using
a single comrnand are as follows:
Status GetStatusO
String GetStatusStringO
String GetKeyString()
int CheckAli( Status teststs ) (retum sts = = teststs;)
int CheckSelective(Statustests&, Status key) {retum (sts & key) A teststs;)
In these functions, sts represents the status variable stored in SMU, teststs is the status to
be compared with sts, and key is an input parameter that indicates the bit-fields to be tested.
The CheckAl1 function compares the status parameters with the input parameters provided
by the user. The result is 1 if al1 the parameters in sts and the input (teststs) are identical.
The CheckSelective function checks selected fields only. It takes two parameters, called
teststs and key, as inputs. The value of the function is retumed. If this value is zero, it is
interpreted as TRUE, otherwise FALSE.
Conclusion: FALSE
A number of other functions for checking status one parameter at a tirne are as follows:
This set of functions returns the concemed bit directly. For exarnple, On() would return 1
if the device were "on", otherwise it would retum 0.
The on-line update of the status is done in conjunction with sensors/actuators and user
interface modules. These peripheral units send the changes encountered in physical devices
or user options. by using dedicated interface functions. The SMU analyses the input
messages and sets the status fields accordingl y.
The main components of an Interlock Management Unit are the interlock expressions
(LockStrings). an expression-interpreter, an interlock-check module and the srequired
number of Lock Units. The implementation of these modules are presented in this section.
Lock Units, described in Section 5.8. form the building blocks for writing interlock
expressions. A Lock Unit consists of three variables named componentRef, teststs, and
key .
The text based expressions, which are in infix notation, are translated into postfix notation.
Two examples of such expressions are as follows.
to the postfix notation, the innermost sub-expression (BIC) is first converted to BCI. The
sub-expression ((BIC)&D)is then converted to BCID&. Finally, the expression (A I BCID&)
is converted to ABCID&I. It is interesting to note that the conversion does not change the
sequence of the variable names. The algorithm developed for this conversion is given in
Appendix E.
A postfix expression is evaluated by scanning it from left to right. The operators observed
in this scan are implemented as encountered. For exarnple, to evaluate ABCID&I, the
expression is scanned as shown in Table 6.2.
1. The rank, r, of a LU is 1.
.3 The rank of a binary operator is - 1 and that of an unary operator is O.
3. The rank of a sequence of LUS and operators is the arithrnetic sum of the
ranks of LUS and operators;
For example r(abkd&l!) = r(a) + r(b) + r(l) + r(c) + r(d) + r(&) + r(!) + r(!)
= 1+1-1+1+1-1-1-0 = 1.
6.7-3-Evaluation of interlocks
The interlock expressions (LS,DLS or OLS) stored in an IMU of a component are based
on postfix notation as described in Section 6.7.2. The method of evaiuating an interlock
expression is as follows.
-7 Obtain the two LUS which immediately precede the operator just found if
it is a binary operator. Obtain one operand which immediately precedes the
operator just found if it is a unary operator.
3. Take the first LU, and evaluate. The evaluation produces a non-zero value
to represent TRUE and O to represent FALSE. Keep the result in a
temporary variable, templ. If applicable, evaluate the second LU and keep
the result in another variable, temp2.
4. Perform the indicated operation on the temporarily stored values, temp 1(and
temp2 if applicable) and obtain the result.
This procedure is used to evduate al1 the expressions that might exist in an IMU.
The following algorithm was developed and used for evaluating the
LOCKED/UNLOCKED status of a component.
A component that is not locked may still be inoperable for several reasons, such-ask i n g
in an unhealthy state.
Figure 6.6. Logical relationship of DLS, LS and OLS with LOCKED status.
The following procedure was developed for operating a switch, oSw, that belongs to a
branch, oBr.
1. if oSw.Disabled or oBr.Disabled is TRUE, print a message and retum.
2. If oSw.Locked or oBr-Locked is TRUE, print a message and retum.
10. Close (or Open) oSw, update data, print a message and retum.
This command is issued to a node, which is identified as the start-node (oNdl). The start-
node is to be connected to a destination-node (oNd2). The following procedure was
devetoped for t his purpose.
1. If start and destination nodes are the same, print a message and return.
3. If oNd 1 and oNd2 are aiready connected, print a message and retum.
4. hplement the fùnction oNd 1.SearchPaths.
5. Implement the function oStn.CloseBestPath.
1. if the start and destination nodes are the same, print a message and retum.
2. if oNd2.Disabled or oNd2.Locked is TRUE,print a message and retum.
3. If oNd1 and oNd2 are already disconnected, print a message and retum.
4. hnplement the function oNd 1.SearchPaths.
The following algorithm was developed for isolating a node, oNdl, from the system.
1. Make a nodeList contaïning input-output nodes and busbars connected to
oNd 1.
3
-. Find paths radiating out from oNd 1 until each path encounters an isolator.
The following algorithm was developed for isolating a series component o s e contained in
a branch oBr.
If there is no isolator between the component and one end, End 1, of oBr.
implement the following function.
End 1.Isolate
If there is no isolator between the component and the other end, End2, of
oBr, implement the following function.
EndS.kolate
If End 1.Isolated o r End2.Isolated is True, open the circuit breaker and then
isolators contained in oBr and retum.
Connect nodes contained in the nodeList t o one another without using oBr.
If al1 nodes contained in the nodeList are connected to one another, open the
circuit breaker and then isolators contained in oBr and retum. Otherwise,
print a message and return.
The following algorithm was developed for transfemng circuits from one busbar, OBUS
1,
to another busbar, oBus2.
Supponing modules provide vital information to CHUS. The most frequently used
supponing modules include a topology determination module, a module to predict the
status of the input-output nodes, and a module to trace paths from one node to another
node.
The algorithm descnbed in this section was developed to trace the topology of a substation.
Before the topology is traced, the circuit must have k e n successfully compiled. The
software would have identified the branches and would have prepared the lists of adjoining
nodes and adjoining branches. The developed topology tracer algorithm consists of the
following steps.
- oNdx.newTopo = oNdx.nodeNurnber.
6. Remove the first element from the queue and assign it to current node.
7. For each adjoining node of current node perform the following operations.
current-reached = FALSE
ii) Add neighbour to the end of the queue and set neighbor.reached to
TRUE.
Otherwise, if the branch connecting the current node and the neighbour
node is ON, the newTopo of current node and neighbour node are not equd,
and the neighbour node was previously visited, perform the following
operations.
The following algorithm was developed to detect whether a node is energized or not.
Before the detection process is started, the input-output nodes connected to live sources
must be known.
3. For each node that is not an input-output node, oNdy, set oNdy.On to FALSE.
4. Identify ail groups of nodes that are connected to each other and are in the queue.
Retain one node from each group and remove other nodes from the queue.
8. For the currentNode, take the first adjoining node, neighborNode, that was noi
previously visited.
9. If the current node and the neighbour are connected, do the following.
1O. if currentNode has an adjoining node that was not previously visited, proceed to
Step 8.
The following procedure was developed to detect whether a switching operation makes or
breaks currents.
5. From oNode 1 to the end of nodelist, sequentially tdce one node at a time and cal1
it oNode2 and do the following.
OStn.MakesCurrent(TRUE)
oStn.BreaksCurrent(TRUE)
7. If oNode 1 is the second last element of nodelist, stop the prwess. Otherwise,
proceed to Step 4.
6.8.2.4. Path tracer
The following aigorithm was developed for tracing paths from a node, starthcode, to
destination nodes, desrNode.
Declare two node type object pointers called neighbourNode and currentNode.
Rernove a node from the top of the queue and assign it to currentNode.
Get the first adjoining node that was not previously visited, neighbourhrode. and do
the following operations.
If the currentNode has an adjoining node that was not previously visited, proceed
to Step 8.
Switching actions taken in one substation change the voltages and current flows in the
entire power system. An improper operation in one substation can have adverse effects on
a large part of the network [46,47]. The prediction of the effects of a switching operation
is possible only if the switching scheme evaluates the system performance. The ability to
analyse system data was, therefore, included in the SSP. This facility checks that the
security of the system is not violated while switching operations are performed.
A switching plan is first evaluated at the substation level. If the plan is feasible, a load flow
is conducted to confirm that voltage and current flow lirnits are not violated..
SSP recognizes two formats for receiving load-flow data. Both formats are based on ASCII
text. One of the formats is the "IEEE Common Data Format for the Exchange of Solved
Load Flow Data," which is also called CDF format [48]. This format provides detûiled
information of the system but requires large data files. Many items included in this format
are beyond the scope of the SSP. The advantage, however, is that this format is known to,
or used by, many utilities for exchanging load-flow data. The second format was developed
for use by the SSP; this format is narned "Reduced Data Format," or RDF. It contains a
subset of the data in the CDF format. The specifications of these formats are given in
Appendix F. Sample data and diagram of a 9 bus test power systern expressed in RDF are
shown in Appendix G.
The load flow data and the substation data are of different nature. A transmission line
connecting one substation to another is treated as an input-output node by the substation-
objects, whereas the line is treated as a branch by a load flow object. The network that is
beyond the boundary of the substation is not retained by a substation-object. The effect of
the extemal network is considered by connecting equivalent load or generation at the input-
output node of the substation. The details of the connections of the circuit components in
the substation are retained. The load flow data, on the other hand, lumps al1 the components
in a substation and treats the substation as a node. The load-flow data treats the substation
as a busbar connected to other busbars of the system via transmission lines, which are
considered as branches of the power system network.
The SSP links the substation objects and the system objects and facilitates the exchange of
information between them. Some of the information exchange takes place through files and
some through public functions of the software objects.
The following information is sent to the load-flow analyser object by the substation object
direct1y through the interface functions.
3. The name of the files where the substation-object wants the Load-flow
analyser to store the load flow results.
4. The bus number by which the substation is identified in the load flow data.
5. Total active power and reactive power drawn from, or injected into, the
substation.
The load flow analyser updates its data to reflect the connection of the lines and busbars.
It then performs the load flow analysis and returns the results in the specified files. The SSP
reads the data and uses it t o check the violations of voltage and current levels.
The integration of the substation switching scheme with the load flow analyser is largely
automated. However, the user must provide some information for proper integration. The
user plays the following roles.
1. Provide the load flow data of the system in either CDF or RDF format.
2. Examine the load flow data, determine the bus identification numbers of the
adjoining substations and identiQ the branches that connect the substation
to the adjoining substations.
a. Provide the identification number used by the load flow data for the
line to the selected adjoining substation.
b. Provide the bus identification number used by the load flow data for
the adjoining substation.
4. Open appropriate interface for entering system properties.
6. Specify the files where the input data for power flow caiculations are stored.
7. Specify the files where the power flow output data are to be stored.
8. Recompile the switching scheme. Choose to integrate the load flow with the
switching scheme.
Once the switching scheme is compiled, the SSP automatically handles the data.
The process of analysing data in a substation environment is tedious. time consuming and
error prone. particularly when the data is not presented in an appropriate graphical format.
The complexity of anaiysis grows with the size of the data. It is, therefore, valuable to
provide an interactive tool that analyses and presents data in a user-friendly graphical
environment. Alternative switching plans can be quickly analysed and their effectiveness
can be promptly evaluated with the help of such a tod.
The graph plotting module is one of the user-productivity enhancement feature provided
in the SSP. The module can plot graphs of many types of substations and power system
variables so that they can be visually inspected and compared. This section describes the
procedure of plotting the graphs.
The data must be made available in files of predefined formats before launching the graph
plotting program. The cument version of the graph plotting program requires that the data
must meet the following requirernents.
1. File names The following file names must be used to supply data to the graph
plotting prograrn:
OLocPlotdat: File containing the local data of the
substation
OLFBusD-dat: File containing the magnitudes and
phase angles of the voltages
OLFLineD-dat: File containing the line data.
2. Plot module The name of the plotting program is plotdata.exe. It c m be installed
in any directory, as long as it is specified to the SSP through system-
data properties dialog box before or during the compilation process.
3. Data Directory The data files OLocPlot-dat,OLFBusD-dat,and OLFLineD-dat must
exist in the sarne directory as the graph plotting program.
The graph plotting window will display a blank box and a random graph if the graph
plotting command is issued from the SSP before the necessary data are available. The
commands issued from the graph-plotting window will produce error messages on the
screen.
The graph plotting prograrn has a Text-edit box, which displays the content of the file
whose data is plotted.
The graph-plotting prograrn can be launched from the SSP's working environment. It can
also be launched from outside the SSP environment by using the following procedure.
1. Identify the directory where the main graph-plotting prograrn is located.
2. Make sure that the preconditions mentioned earlier in this section are met.
3. Launch the Plotdata.exe file.
More details on using the graph-plotting prograrn are given in the SSP User's Manual.
Object oriented techniques =d languages are more appropnate for developing systems. like
the SSP. compared to the algorithmic approaches. The object-oriented technique can be
used to decompose the problem and manage its complexity.
The switching system is a coliection of circuit elements that are considered as objects. The
characteristics of the cornponents are represented by these objects. Each object consists of
modules rhat include the Status Management Unit, the Interlock Management Unit, the
Cornrnand Handler Unit and the Windows Interface Unit. The objects interact with each
other and with the graphical user interface.
This implementation of the objects of the switching system and their relationship have k e n
described in this chapter. The focus has k e n on the implementations of the status
management unit, the interlock management unit, the user interface unit and the cornrnand
handler units. The outcome of the impiementation of the concepts is a software package
called the Substation Switching Scheme Development Package (SSP).Its performance will
be studied in the next chapter.
RESULTS
Several tests were conducted to validate the techniques that have been discussed in the
previous chapters of this thesis and have been implemented in the SSP application package.
The validity of individual modules of the SSP was also tested at various stages of their
development. The SSP package was used to develop switching schemes for eight
configurations of substations. The suitability of the switching schemes generated by the
SSP was then exarnined. The substations and the tests are presented in this chapter. These
tests show that it is possible to implement the technique and develop switching schemes
for practical configurations of substations.
The Test Substation 6 is composed of typical multi-branch segments shown in Figure 7.10.
The interlock requirements of these segments are discussed in this section. The intedock
requirements of circuit segments that are not of typical configuration can be determined by
extrapolating the logic presented in this section.
Circuit segment of Figure 7.10(A): The switches of this segment are operated when the
line has to be taken out of service for repair or maintenance. This necessitates that the
circuit segment be discharged before the work can be started. The grounding switches are
used for this purpose. It is necessary to make sure that the circuit segment is isolated from
both ends before the grounding switches are closed. The interlocks defined by the following
logic would ensure that the segment is isolated before the grounding switches are closed:
The expression implies that the grounding switch must not be closed if:
it is not for the maintenance or repair of either the bushing or the line
the isolator 144 is closed
the circuit is not isolated from the remote end.
The isolator 144 must not be closed before the grounding switches are opened. This
interlock can be defined by the following expression:
In addition to these constraints, al1 other constraints, which are normally applied to
isolators, are also applied.
Circuit segment of Figure 7.10(B): This circuit segment is the circuit that is used to
connect the two busbars. The busbars must be synchronized before connecting them. This
circuit is aiso used to provide aiternate route to connect a line to the busbar when the line-
circuit breaker is out of service. The following interlock defines the operating constraints
of this circuit.
These expressions ensure thai the isolators are not operated if:
CO is closed.
In the event that the circuit breaker is stuck, the isolators would be allowed to operate as
long as they satisfy either of these following conditions:
Do not make or break currents.
Have a short circuit path across the switch.
Note that SSP has an automatically embedded logic tu check these constraints. It is,
therefore, no need to write interlock constraints to include these statements.
Circuit segment of Figure 7.10(C): The purpose of the circuit breaker in this segment is
to make or break the load currents and to intempt the fault currents flowing from the
busbars to the line Io. The purpose of the isolators is to select the bus to which the line is
to be connected. The isolators are also used to disconnect the circuit breaker C from the rest
of the network. An andysis of this circuit shows that the following interlock must be
applied on this segment:
Circuit segment of Figure P.lO(D): This is the circuit that plays two roles, one in
transfemng a line from one busbar to another and the other in bypassing a faulty circuit
breaker. The circuit arrangement requires complex interlock constraints.
131
Normally, line Io is connected to the main busbar, Bus 1, via I l 4, I l 3, C 1 and I l 1. Al1 other
switches are normally open. An altemate arrangement is used when this state is not viable.
This circuit arrangement can provide the connection between Io and the busbars via the
following paths:
These paths are listed in the order of preference. Path 1 must be used in normal operating
conditions. Path 2 must be used as the altemate route if Bus 1 has to be taken out o f service.
For Path 1, Il 1 is closed and I l 2 is open. whereas for Path 2.1 12 is closed and I l 1 is open.
The bus-coupler circuit is used during the transition from Path 1 to Path 2. and vice versa,
without interrupting flow of power on the line. The following expressions provide the
required interlocks.
Ill: (
l G 1 l ( 0 N ) I G 12(ON)
l C 1(ON FREE)
Path 3 is used when the circuit-breaker C l is out of service. This path uses the circuit
breaker CO to protect the line. The following interlock expression can be defined for the
isolator Il 5.
If10 is out of service, C 1 can be used to protect another circuit via Il5 or I25. The following
expression provides the required interlock for I25:
I25: (
Il 5(ON)I(C1(FUNCTIONAL)&Io(FUNCTIONAL)II25(NOSCPATH))
The following interlock constraints remain sirnilar to the way they were in the case of the
circuit of Figure 7.10(C).
113: (
This approach was used for entering special interlock constraints of complex substations.
There is no limit on the complexity or length of the interlock expressions that c m be in the
SSP. The constraints for Test Substations 6 and 7 were entered in this manner.
This section demonstrates how constraints are automatically applied in the operation of
switches. The test results presented in this section concem Substations 1 and 6. The number
of tests is limited to keep the size of this chapter manageable. These results include one or
two categories selected from several scenarios. More results are provided in Appendix H
in whch a larger set of test cases on these and other substations are presented.
The first three tests were camed out in a double busbar substation identified earlier as Test
Substation 1. It is assumed that the substation is working normally and al1 lines are
connected to Bus i . The bus coupler circuit breaker and the adjoining isolators are open as
shown in Figure 7.1.
Operating Open isolator 11. Part of the Substation and the dialog box are
Command 1 shown in Figure 7.1 1.
Operating state Nonnal operating state of the substation.
Result The SSP refused to open isolator 11 and displayed the message
shown in Figure 7.12. T h e reasons for not opening isolator 1 1 are as
follows:
The interlocking constra.int includes the requirement that
isolator 1 1 should be allowed to open only if the adjacent
circuit breaker ( B l ) is closed.. This condition was not
satisfied in this case.
The isolator could have been closed if a short-circuit path
existed across it; n o such path existed in this case.
Operating Open circuit breaker B3. Part of the Substation and the dialog
Comrnand 2 box are shown in Figure 7.13.
Operating state Normal operating state of the substation.
Result The SSP did not close the circuit breaker. It showed the warning
message that is shown in Figure 7.14. The reasons for the message
being displayed are as follows.
The circuit breaker intemipts currents flowing to Load 1.
The SSP needs confirmation from the operator that the
interruption is deliberate. The operator must select "Yes" in
the message box for completing the switching operation.
These tests and a number of other tests presented in Appendix H demonstrate that SSP
correctly identifies safe switching operations and unsafe switching operations in
configurationsof substations where the interlocks were automaticallygenerated by the SSP.
The switching scheme permits only those switching operations that are safe.
The founh test result presents a case that is similar to cases 1 to 3 except that the
configuration of the selected substation is more complex. Substation 6 was selected for
these tests. Extra interlocking constraints were defined for this substation in addition to
those automatically generated by the SSP
For this test, the normal operating state is when al1 circuits are connected to Busl, as is
135
shown in Figure 7.6. Interlock constraints that are specific to this substation were kept in
a text file. These constraints are loaded by selecting, "Edit" and "ReadLock" from the menu
before issuing the command to compile the substation data.
These examples, and examples presented in Appendix H, demonstrate that the technique
for developing interlocking schemes described in this thesis works well. They also
demonstrate that the interlockmg schemes can be developed for any substation using the
approach presented in this thesis. Desired degree of flexibility and restraints can be provided
while ensuring safety of the substation equipment and personnel working in those
substations.
7.5. Switching Sequence Test
Tests were performed on the SSP by issuing commands that require it to operate multiple
switches in an appropriate order. When such cornmands are entered, the CHU of the SSP
interpreted the cornmands and determined the appropriate sequence. Random events, also
referred to as triggering events, were introduced while substations were mnning under
normal operating conditions. The SSP initiated a series of switching operations that took
the circuit to an operating state appropriate to the command issued to it or the event
encountered by it. Samples of test results are presented in this section to demonstrate the
important sequence-switching features of the SSP.
When presenting the results of earlier tests, the events recorded by the SSP in its "event log"
were not introduced. When commands were issued to operate only one switch, the need to
observe the order of operation was not great. In the following tests, the order of operation
is important and, therefore. the events recorded by the "event log" of SSP are shown with
the test results.
The circuit breaker has k e n closed after the isolator to make sure
that no current flows through the isolators while they are closing.
Operating state Normal except that circuit breaker C4 needed for maintenance or
repair.
Result The SSP isolated the circuit breaker C4. The resulting state of the
substation and the switches operated dunng this process are listed in
Figure 7.23. The SSP dosed the following switches:
Bus coupler isolators IO 1 and 102
Bus coupler circuit breaker CO
Circuit by-pass isolator 146
The SSP opened the following switches:
Circuit breaker C4
Isolators 141 and 143
During this process an altemate power fiow path has been
established before opening the branch containing the circuit breaker
B4.
7.6. Summary
The concepts formulated for the computer-aided design of substation switching schemes
were successfully implemented in a software application package called SSP. The
developed concepts were validated by designing switching schemes for eight substations.
The results show that the techniques presented in this thesis are viable and c m be
implemented in an appropriate softwxe package.
-Figure 7.2. A section of a main-ünd-transfer busbür subsiation.
Figure 7.6. A 765kV double busbar substation with bypass isolators.
Figure 7.8. A three section substation.
- - -
Figure 7.9. Data k i n g entered for a switch in the GUI environment of the SSP.
Bus 1
Figure 7.20. Command king issued to trünsfer lines from Bus l to Bus2.
:onnand : Transf er
lus1 to Bus2
i02: Close
i81: Close
:Q: Close
142: Close
152: Close
112: Close
i22: Close
132: Close
[il: Open
121: Open
131: Open
141: Open
151: Open
:a: Open
I Q2: Open
Ml: Open
lu6 L
igure 7.21. The substation after the SSP trünsfers the lines from Bus1 to Bus2.
Figure 7.22. Command is bcing issued to isolate circuit breaker C4.
i 1: Close
1 2:
' Close
85; Close
4: Close
I 6: Close
10: Close
'
8: Close
1
; 3: Open
, 5: Open
l 7: Open
1 9: Open
65: Open
2: Open
: 1: Open
An
Figure 7.25. The stüte of the substation üfter isolating Bus 1.
8. SUMMARY, CONCLUSIONS AND FUTURE
WORK
The research and development of computer aided design of substation switching schemes
have been presented in Chapters 1 to 7. The surnrnary of the work presented in this thesis
is provided in this chapter. The conclusions drawn from the reported activity are also
given. The work that could be done in the future to enhance this development is also
identified.
8.1 Summary
Several transmission and distribution lines corne together at a substation, where they meet
through strategically placed isolating switches, circuit breakers and grounding switches.
The cost of a substation and the flexibility in directing power through alternative
connections depend on the arrangements of switches and busbars. The study of the nature
of these switching arrangements and their operations, and the development of switching
schemes that help maintain the continuity of power supply has been the focus of the
research work reponed in this thesis. The objective of the research work has been defined
in Chapter 1. Also reported in this chapter are the past and present trends in the practices
in operating substations.
The composition of substations. their role and their typical placements in a power system
have been introduced in Chapter 2. Main switching components of a substation have k e n
introduced and cornponents of interest to this project have k e n described. Busbar
configurations used in substations have also k e n described in the chapter.
Switching operations in a substation are carried out for many reasons, which include
disconnecting faulty equipment from the rest of the system. preparing the substation for
repair or maintenance of equipment. and bringing the system back to its normal operating
state after an outage. Switches are interlocked so that they can operate only when their
operation would not adversely affect the security of the system and would not expose the
personnel working in that environment to any hazards. To achieve these objectives, the
switches are operated in sequences that follow the interlocking rules. These issues and
the surnmary of work in the area reported in the literature have been presented in Chapter
3.
Substations have many common characteristics that can be analysed to develop general
constraints for the operation of equipment installed in them. The operating constraints
of most switching components stem from their design and their placement in a substation.
Chapter 4 of this thesis has presented a concise analysis of a switching scheme. The
general operating constraints of the equipment have been described in the chapter. The
data of circuit components, substations and power systems required for interlocking and
switching purposes are described in the chapter. The steps involved in determining
switching sequences, and the factors that must be considered in determining the switching
sequences have also k e n reviewed in this chapter.
The design of a framework, which expedites the developrnent of a switching scheme and
uses the techniques described in Chapter 4, has been presented in Chapter 5. The
framework consists of interface, script, interpreter. compiler and algonthms integrated
such that it can automatically develop interlocking scheme and generate switching
sequences using the accepted operating practices while dlowing special requirements to
be included in the developed control system. A protocol for handling the status of the
circuit cornponents, substation and system properties, and a protocol for handling the
interlocks and the techniques for implementing them in the development of an overai1
switching scheme have k e n described in this chapter.
The concepts described in Chapters 4 and 5 were implemented in the form of a software
package called Substation Switching Scheme Development Package (SSP). Object
oriented approach and C++ prograrnming Ianguage were used in developing this package.
The techniques used to develop the SSP have k e n described in Chapter 6. The steps
involved in compiling the required data and generating switching scheme have k e n
described in the chapter. Algorithms used for implementing various modules of SSP have
k e n presented as well.
This project has shown that it is possible to develop an integrated environment for the
compter-aided design, development and testing of switching schemes for substations
using the concepts reponed in this thesis.
8.2. Conclusions
A survey of the published literature in the area of substation switching indicated that the
most of the work reponed in those publications address selected aspects of substation
switching. None of the publications report the development of a frarnework that provides
techniques for speci!jmg component data, power system data, interlocking constraints and
sequence switching constraints of a substation, and automatically generating a switching
scheme from that information.
The work reported in this thesis identified the requirements, protocols, interfaces, script,
and interpreter, and integrated them in a technique. The work studied and compiled the
generally accepted interlocking and sequence-switching practices and demonstrated a
technique for developing software algorithms to implement them. The work showed that
it is possible to automatically take care of the generally accepted practices so that the
users of the developed frarnework would focus mainly on the switching operations.
It is shown that a protocol for describing the status of components and algorithms for
processing the topology of a substation, predicting over-voltage, under-voltage and
overload conditions, determining optimal energy flow paths, and generating switching
sequences can be developed. It is further shown that switching schemes for substations
c m be developed using those protocols and algorithms. Extensive testing showed that the
protocols and algorithms work comectly.
The work reported in this thesis has demonstrated that the identified data adequately
describe components, substations and power systems for the purpose of developing
switching schemes. It has also k e n shown that the syntactic and semantic rules for
describing interlocks can handle substations of any degree of complexity. The work that
is reported in this thesis has shown that the procedures developed for implementing
switching cornmands work correctly. It has also been demonstrated that it is possible to
define a complex switching cornmand in the form of a series of simple cornmands.
The applications reported in this thesis have demonstrated that the developed software
package correctly identifies safe switching operations from unsafe switching operations.
They have also demonstrated that interlocking schemes can be developed for a substation
using the approach presented in this thesis. Desired degree of flexibility or restraint can
lx provided while ensuring safety of the substation equipment and personnel working in
those substations.
Tests showed that the SSP develops switching sequences that operate several switches in
an appropriate order. They also showed that the SSP interprets the cornmands and
determine an optimal switching sequence for implementing the command. It is also shown
that the SSP has the ability to collect a log of the switching operations that were
detennined and implemented. The results presented in this thesis have showed that the
developed technique is a viable approach that can be implemented in a software package.
Dorf, Richard D., Editor. The Electx-ical Engineering Handbook. CRC Press,
Inc., Boca Raton, Flonda, USA, 1993.
De Haas. J.. Bielden. M.J.J., Sidler H.F.A.. Vos, C.W.M and Zantinge, J.F.,
"Comparative Analysis of Different Types of Substation Configurations."
CIGRE International Conference on Large High Voltage Electric Systems.
Article Nu. 23- 11, 1989. pp. 1-6.
Lidgate, D., Aitchison, P.W. and Acock, O., "Electrical Interlock Design for
Complex High-power Switching Networks," f roceedings of IEE, Vol. 126, No.
2, February 1979, pp. 152-58.
Abe, T., Goto, H., Mizutori, T., and Matsuki, N., "An Expert System for
Generating Switching Sequences at Substations," IEEE Proceedings of AI for
Industrial Applications, 1988, pp. 326-33 1.
Schulz, Noel N.; Wollenberg, Bruce F., "Expert System to Aid Evaluation and
Generation of Switching Procedures," Proceedings of the Arnerican Power
Conference Proceedings of the 57th Annual American Power Conference, Part
2, Chicago, USA, Apr 18-20, 1995, pp. 148 1- 1486.
Cross, A.D., Brailsford, J.R., and Brint, A.T., "Expert Systems to Support
Network Switching", Proceedings of the IEE 12" International Conference on
Electricity Distribution, Publication No. 373, Birmingham, UK, May 1993, pp.
4.9.1-5.
Corera, J., Laresgoiti, I., Cockburn, D., and Cross, A., "A Cmperative Approach
Towards the Solution of Complex Decision Problems in Energy Management
and Electricity Networks", Proceedings of the IEE 12" International Conference
on Electricity Distribution, Publication No. 373, Birmingham, UK,May 1993,
pp. 4.19.1-6.
Yoshizawa, J., Ogi, H., Takano, To., and Matsumoto, K., "An Automatic
Knowledge Acquisition Method for Switching Sequences and its Evaluation,"
IEEE Transactions on Power Systems, Vol. 9, NO. 2, May 1994, pp. 884-90.
Dhakal, P., Sachdev, M.S ., "A Computer Based Substation Switching Scheme,"
Proceedings of the 1995 IEEE WESCANEX Communications, Power, and
Computing Conference, Winnipeg, Canada, IEEE Cat. # 95CH358 1-6, Vol. 1,
May 1995, pp. 30-35.
Sason, A. M., Ehrmann, S. T., Lynch, P., and Van Slyk. L. S., "Automatic Power
System Network Topology Determination, IEEE Transactions on Power
Apparatus and Systems," Vol. PAS-92, 1973, pp. 6 10-618.
Couch, G. H., and Momson, 1. F., "Data Validation and Topology Detarmination
for Power System Monitoring and Control," IEEE Power Engineering Society
Sumrner Meeting and Energy Resources Conference, Anaheim, California, July
14- 19, 1974, Paper # C 74 36 1-2, pp. 1-9.
Sullivan, A.C., Reichert, K.. Saly, S., "An On-Line Technique for ~ e t w o r k
Topology Determination for use in Security Assessrnent Studies," IEE
International Conference on On-line Optimization of Transmission and
Distribution Systems, London, England, Jan. 1976, pp. 6 1-66.
Bertran, M. and Corbella, X., "On the Validation and Analysis of a New Method
for Power Network Connectivity Determination," IEEE Transactions on Power
Apparatus and Systems, Vol. PAS-101, NO. 2, February 1982, pp. 3 16-24.
Prais, Mauro, Bose, Anjan, "A Topology Processor that Tracks Network
Modifications Over Time," E E E Transactions on Power Systems, Vol. 3, No. 3,
August 1988, pp. 992-998.
Rumbaugh, J., Blaha, M., Premerlani, W., Eddy, F.. and Lorensen, W.,
Object-Oriented Modeling and Design, Prentice-Hall, Englewood Cliffs, New
Jersey, USA, 1991.
40. Meyer, B., Object Oriented Software Construction, Prentice Hall Inc., USA.
1989.
Sachdev, M.S., Dhakal, P., and Sidhu, T.S., "Design Tool Generates Substation
interlock Schemes", XEEE Computer Applications in Power, Vol. 13, No. 2,
April 2000, pp. 37-42.
Sachdev, M.S., Dhakal, P., and Sidhu, T.S., "A Computer-Aided Technique for
Generating Substation Interlocking Schernes" IEEE Transactions on Power
Deiivery, Vol. 15, No. 2, Apnl2000, pp. 538-44.
Dhakal, P., Sachdev, M.S., Sidhu, T.S., SSP User's Manual, Power Systems
Research Group, University of Saskatchewan, Saskatchewan, Canada, 1998.
Lee, S.J., Liu, C-C, Venkata, S.S., "Extended Expert System for Service
Restoration of Distribution Feeders", IFAC Proceedings Senes, No. 9, Pergamon
Press Inc., AugusVSeptember 1989, pp. 423-29.
"Common Data Format for the Exchange of Solved Load Flow Data", Working
Group on a Cornrnon Format for the Exchange of Soived Load Flow Data, IEEE
Transactions on Power Apparatus and Systems, Vol. PAS-92, No. 6,
November/December 1973, pp. 1916- 1925.
where,
N is the number of buses,
is the voltage at bus i,
is the current flowing from bus i to bus j,
is the active power flowing into bus i,
is the reactive power flowing into bus i,
is the active power flowing from bus i to bus j, and
is the reactive power flowing from bus i to bus j.
The active and reactive powers flowing into a bus i of an N bus system can be now
written by expanding Equation A. 1 as follows.
N
c 0 s 6 ~+ B~ sinJU) ,
4 = /vi/X/v,'jl(~~ i = 1,2, ....., N
j= 1
Qi= /vi1
N
j= 1
IV, I ( G ~ sin 6,j + Bu COS^^ ) , i = 1, 2, ....., N
where:
J 9
One equation of the form of Equation A.2 is prepared for each bus. This provides one
set of N nonlinear algebraic equations. Similarly a set of (N-M+l) equation of the
form of Equation A.3 are prepared, where M is the number of generator-buses.
In these equations, the admittance of the line connecting two buses is constant. The
active and reactive power flowing from one bus to another are, therefore, functions of
the phase angles and magnitudes of the bus voltages.
The left hand side of Equations A.2 and A.3 are the scheduled power injections and
the right hand sides of these equations are the calculated power flows in the power-
flow solution. Before the solution is obtained, the scheduled power injections and the
sum of the calculated power flows out of a bus are not equal. The differences are the
mismarches that can be expressed as
APi = P,(Scheduled) - Pi (Calculated) (A-4)
The calculated power flows depend on the magnitudes and phase angles of the
voltages. The corrections that must be applied to the voltage magnitudes and phase
angles c m be detennined by solving the following equations.
After writing equations representing the mismatch of power between the scheduled
and calculated values, like Equations A.6 and A.7, are written for al1 nodes the entire
set of equations can be written in the following form:
These equations are often denoted in the following form:
[tu]=[: Y[A%l]
W here,
H,N,J and L are the submatrices of the Jacobian mauix.
AP is the vector of active power mismatches.
AQ is the vector of reactive power mismatches.
A6 is the vector of phase angle corrections.
hV is the vector of voltage magnitude corrections.
a,
(A. 12)
(A. 13)
H,, av:
= -=Iv,I' Bli + & (A. 14)
as,
(A. 15)
(A. 16)
(A. 17)
This is the basis of the Newton-Raphson Power-Flow Technique. The power flow
calculations start with some guess values of the voltage and phase angles. Correction
factors for the approximated values are then determined using equation (A.8). The
guessed values are updated with the correction factors and the power mismatch is
calculated again. The correction in the approximated values is done iteratively till the
power mismatch falls below a tolerable limit. Once the magnitude and phase angles of
the bus voltages are determined, the line currents and power flows are calculated as
the line admittances are known.
(A. 18)
(A. 19)
............................. .(A.20)
Substituting H and L in Equation A.9, the following form can be achieved for the
mismatch of active and reactive power:
i/l~lI
The last two equations are often represented in the following form for the
convenience:
[AP/IVIJ= [ B ' ] [ A ~ ] (A.25)
3. Calculate AP and AQ using Equations A.4 and AS. If these mismatches are
within a specified tolerance, the estimates of are accepted and, therefore, the
procedure is ended. Othenvise, the next step in perfomed.
4. Using AP and AQ from Step 3. calculate the corrections ~6 and AlVl using
Equations A23 and A.24.
5. Modify the estimated values of 6 and IV1 and revert to Step 2.
Once the vaiues of 6 and V are determined, the currents fiowing in the lines are
calculated. This procedure is also depicted in the flowchart shown in Figure A.1. In
the flowchart, i and k variables used for traversing through the matrices.
A number of approaches [50] c m be used to solve the matrix equations of A 2 3 and
A.24 to determine the estimates of 6 and IV1 as mentioned in Step 5 . A technique
called LU factorization was used in the SSP for solving those equations. The
algorithm for finding the LU factors of a matrix are is shown in Figure A.2. in the
figure, 1, J and K represent temporary variables used for indexing. N is the number of
rows in the Jacobian matrix (Jac) that is to be factored. Other variables have usual
meanings as discussed earlier in this section.
/ Read line Z and charging BI2 d a t d
Form node admittance matrix Y, Y = G + jB
I
/ ~ e a d Pi and Qi injected to each bus
Read initial guess of bus voltages Vi = Ei + jFi
e
check +.TRUE.
Calculate Pi and Qi
A Pi +Pieiven - Pi
A Qi +Qi-given - Qi
i = start-bus to NN
Calculate: Ei = Ei i4Ei
Fi = Fi +AFi
i = start-bus to NN
c*=
Figure A.1: Procedure for load flow calculations.
1
max +Uac(I,J)I
index- J
'
I
es (no solution)
B
(or infinite solutions)
1 -
Exchange row(1) with row (index)
Exchange pointer (Iwih-
J4- 1
.
) pointer (index)
1
1
J+J+I
Y=
Jac(I, J- Jac
K- 1 Yes
K-K+1
C u language was selected for the development of SSP for the following reasons:
1. C++ provides necessary language support to develop a purely object-
oriented software program.
2. It is widely accepted as one of best language for serious software
development.
3. It is a compiled programrning langage and C++ compilers are efficient and
can be installed on personal computers without difficulty, unlike some other
object-oriented languages, such as Smalltalk.
4. C++ compilers generate one of the most efficient executable code.
5. C++ programs can be linked easily to programs wntten in other languages.
6. It supports a large number of low-level functions that deal with the
operating system and the hardware. This is an extremely useful feature for
developing the interface between the software prograrn residing in a
computer and equipment and devices located in the switch-yard of a
substation.
The SSP was wntten in C u language by using Visual C++ compiler and Microsoft
Foundation Classes (MFC) Library on a hardware platform provided by IBM compatible
personal computers running Windows 95 operating system. The operating system and
hardware were chosen for they were inexpensive compared to other systems of similar
capacity. Visual C++ was chosen because of its MFC library that provides a foundation for
developing Windows interface and many other container classes. MFC classes provide
efficient and type-safe iterating routines. Classes from the MFC can be used to denve new
classes for graphical user interfaces components that have Windows interface. Only portion
of user interface of the SSP that was not developed in Visual C++ was the graph plotting
program, which was developed in Visual Basic.
Appendix C
Major Classes in the SSP
The following classes of items are supponed by the SSP.
Number Item-Type Class-Name Object Notation
1. Substation Stn oStn
.
*
II. Component Cm oCm
...
111. Non-component Nc oNc
iv. PowerSystem Ps oPs
v. Node Nd oNd
vi. Series Se ose
vii. Switch Sw oSw
...
vm. Branch Br oBr
These series items were further divided into two classes, switch and non-switch. The
switches were divided into the following subclasses.
Number Item-Type Class-Name Object Notation
ix. Circuit breaker Cb oCb
X. Isolator 1s OIS
xi. Grounding Switch Gs oGs
The non-switch type ries items were divided into the following classes.
xii. Transformer Tr oTr
...
X111. Reactor Re oRe
xiv. Bushing Bh oBh
The node type items 'ere further specialized to fonn the following classes.
xv. Busbar Bb oBb
xvi. Generator Gn oGn
xvii. Load Ld oLd
xviii. Adjoining Substation As oAs
This classification breaks down the component class into a number of sub-classes as shown
in Figure 6.2. Each component has other units like status management unit, an interlock
unit and a comrnand handler unit as follows:
Number Item-Type Class-Name Object Notation
xix. Status management unit Smu oSmu
xx. Interlock Management Unit Imu oImu
xxi. Command Handler Unit Chu oChu
xxii. Windows Interface Unit Wiu oWiu
xxiii. Lock Unit Lu oLu
The classes identified in this section f o m the most important of al1 classes defined in the
application. The application uses more than a hundred classes of software elements.
Appendix D
Graphical User Interface
The development of a graphical user interface (GUI) is mostly system dependent due to the
limitations in the available tools and techniques. The evolution of Java language has k e n
good news in the development of the operating-system independent software tools. The
Java based development tools are still maturing, and the development of SSP had no other
choice than depending on system dependent tools. Competing visual graphical tools were
available from vendors for different platforms that accelerate the development of GUIS.
Visual C++ and Microsoft Foundation Classes (MFC) library were chosen for the
development of GUI for SSP. The MFC library provided a wide variety of application
interface classes, which were used as the basis for the development of the GUI.
MFC provided a wide range of basic Windows interface development utilities. It gives raw
implementation of various components such as main frame window and its child windows,
control bars, dialog boxes, list views, tree views, scroll bars, button controls, edit controls,
hotkey controls, list controls, bitmap drawings, brushes, fonts, colour palettes, pens and
brushes from the library. They were modified and assembled and linked to the application
to develop highly interactive and attractive interface that confered with the Windows
operating system. This eliminated the need to go into the low level details of the operating
system.
The logical, mathematical or analytical part of the switching system development tool was
developed separately from its Windows interface. The visual appearance or aesthetics of
the Windows interface c m , therefore, be modified or enhanced as desired without
interfering with the intemal engine of the switching scheme development tool. In the
following discussion, the part of the software tool that manages the Windows interface for
the switching scheme will be referred to as Windows Main Interface Unit ( WMIU).
The WMIU works as the intermediary between the intemal switching system and the user.
It renders a graphical image of the substation on the screen, and interprets the user input of
a component of the switching system. A WMIU contains a drawing and editing module,
which allows the user to draw single-line diagrarns of substations and to enter the
component data. The drawing module contains a toolbox, which has symbols of various
substation components. These symbols can be selected, dragged and dropped in the
computer screen. A single line diagram of a substation diagrarn is drawn by assembling
these symbols. The main switching system and the WMIU interface in such a way that
when a component symbol is added or removed on the computer screen a corresponding
object becomes created or deleted from the switching system.
T o the eye of a user, it appears as if he/she is communicating directly with the components.
A component is selected by clicking the left mouse button over it. Appropriate dialog boxes
to edit data, view data or to issue commands are activated by selecting the component and
then using mouse-clicks or selecting menu items. Although a user interface is an important
aspect of an application like SSP, environment specific details of the GUI are avoided in
this thesis. The discussion, therefore, is lirnited only to what types of interfaces must be
provided between the interna1 application prograrn and the Windows.
Each WIU handles five types of windows based activities. They are as follows:
1. Symbolic Display: Each physical component of a substation is depicted on
the screen as a part of the substation diagram. The program module to draw
the visual symbol of the component on the screen resides in the WIU.
.7 Data Display: The component data are displayed on the screen by using the
data display windows. These windows are dialog boxes specifically
designed for each class of object, which allow the data to be displayed on
the appropriate format. The display of error messages also fa11 in this
category.
3. Data Edit: Each WIU has its associated dialog box which displays the
component data and lets the user edit those data. The dialog boxes are used
mainly for editing the properties of the components. Simple mouse click or
menu based commands are implemented if the desired change in data is
simply the location of the cornponent symbol on the screen or its
orientation. The graphical symbols of the components c m be dragged,
dropped, rotated, or flipped by using the mouse alone.
4. Command Interface: Each W U has its associated dialog box which
displays the list of al1 possible operating comrnands that can be issued to
that component. The user can then select the desired cornmand from the list.
The W1U then identifies the cornmand and sends it to the CHU to handle
the cornmand.
5. Status Update: Each WIU has an associated diaiog box that allows the user
to issue commands to update the status and to change selected status flags.
Al1 major power components such as substations, switches, nodes, busbars, generators,
Ioads, transfomers and reactors have support for al1 five types of activities. However, only
selected features are available for non-component objects such as a topology detector, text
elements, simple lines and circles.
APPENDIX E
Converting Infix Expressions into Postfix Expressions
The conversion of an infix expression into postfix notation is implemented by using data
stacks, where a directly accessible element is at its top and the least accessible element is
at its bottonz. The elements are pushed (inserted) or popped (deleted) from the top of the
stack only.
The text based interlock expressions use LUS in them and not the normal mathematical
symbols. When the IMU scans the expressions, it treats a LU as a input symbol. For
example. the expression (Sw l ( 0 N ENABLED) & Sw2(0FF)) is treated as (A & B), where
A represents S w l ( 0 N ENABLED) and B represents Sw2(0FF). The postfix form of
(A&B) becomes AB&.
The following algorithm [51], was used to convert the infix expressions into postfix
notation.
1. Identify al1 operators and variable separators that would be used to write the
expressions.
&.
3 Determine the order of preference for processing them and then define
input-precedence and stack-precedence and rank of the symbols as shown
in Table E. 1.
3. Initialize the stack and place a left parenthesis on it.
4. Initialize the postfix expression and the rank-count.
5. Obtain the first entry of the expression, where an entry is one of the
operators. parenthesis or a LU.
6. Repeat thm Step 10 while there is still another entry.
7. Remove and output (add to postfix expression) al1 stack symbols whose
stack-precedence values are greater than the input-precedence of the current
input symbol, obtained from Table F.1. If the rank is less than 1, then the
expression is invalid and. therefore, report the error and stop processing.
8. Lf the current symbol and top stack symbol are matching parentheses, then
pop the stack; otherwise put the current symbol on the stack.
9. Obtain the next input symbol.
IO. If the stack is not empty or the rank is not equal to 1 then write invalid,
otherwise write valid.
This section describes these data formats. Because RDF asks only for those data that are
essential for SSP to perform its load flow, this format is explained first. The following
notations are used in parentheses to denote the type of data.
1. A - Alphanumeric (no special characters)
2. 1 - Integer
3. F - Floating point
4. * - Mandatory item
5. O - Optional
6. b477
- The text string inside the quotes be typed as they are
The data are read line by line and each line must follow a definite format on how it contains
its data. The lines are grouped into sections with section headers. Data items must be
entered in specific columns. Blank items are pemissible and are interpreted as 0, but it is
advised that a O must be entered in the file for the sake of clarity. There c m be any number
of characters in a line. limited only by the editor on use. Therefore, write comments freely
as you please, to clarify the data, after the last required colurnn of the line.
Title Data*
7---
7---
Only a partial description of the IEEE Common Data Format for the exchange of solved
load flow data is provide in this manual. The complete description c m be found in the
reference [46]. The data file has lines of up to 128 characters. The lines are grouped into
sections with section headers. Data items are entered in specific columns. No blank items
are ailowed, enter zeros instead. Floating point items should have explicit decimal point.
Title Data
--- --
First line in file.
1. Columns 2- 9 Date, in format DD/MM/YY with leading zeros. If
no date provided, use Ob/Ob/Ob where b is blank.
2. C O ~ U1 1-30
~ ~ S Originator' s name (A)
3. Columns 32-37 MVA Base (F*)
4. C O ~ U39-42
~ ~ S Year (1)
5. Column 44 Season (S - S u m e r , W - Winter)
6- Column 46-73 Case identification (A)
Bus Data *
----
----
Section start line *:
1. Columns 1- 16 "BUS DATA FOLLOWS" *
2. Columns 36-50 Number of items (1")
3. Colurnns 5 1-55 ITEMS
Bus data lines *:
1. Columns 1- 4 Bus number (1) *
2. Columns 7- 17 Narne (A) (left justify) *
3. Columns 19-20 Load flow area number (1) Don't use zero! *
4. Columns 2 1-23 Loss zone number (1)
5. Columns 25-26 Type (1) *
O - Umeguiated (load, PQ)
1 - Hold MVAR generation within limits, (PQ)
2 - Hold voltage within V A R limits (gen, PV)
3 - Hold voltage and angle (swing, V-Theta) (must
always have one)
6. Columns 28-33 Final voltage, p.u. (F) *
7. Columns 34-40 Final angle, degrees (F) *
8. Columns 4 1-49 Load MW (F) *
9. Columns 50-59 Load MVAR (F) *
10. Columns 60-67 Generation MW (F) *
1 1. Columns 68-75 Generation MVAR (F) *
12. Columns 77-83 Base KV (F)
13. Colurnns 85-90 Desired volts (pu) (F) (This is desired remote
voltage if this bus is controlling another bus.)
14. Columns 9 1-98 Maximum MVAR or voltage limit (F)
15. Colurnns 99- 106 Minimum MVAR or voltage lirnit (F)
16. Columns 107-1 14 Shunt conductance G (per unit) (F) *
17. Columns 1 15- 122 Shunt susceptance B (per unit) (F) *
18. Columns 124-127 Remote controlled bus number
Section end line:
1. Columns 1- 4
Branch Data *
---- --
t *:
Section ~ t u tine
1. Columns 1-16 BRANCH DATA FOLLOWS*
2. Columns 36-50 Number of items (1)
3. Column 5 1-55 "ITEMS"
Branch data lines *:
Columns 1- 4 Tap bus number (1) * (the non-unity tap side of the
model for transforrners or phase shifters)
Colurnns 6- 9 Z bus number (1) * (the side of the model the device
irnpedance is on for transformers and phase shifters)
Columns 11- 12 b a d flow area (1)
Columns 13- 14 Loss zone (1)
Column 17 Circuit (1)* (Use 1 for single lines)
Column 19 Type (0 *
O - Transmission line
1 - Fixed tap
2 - Variable tap for voltage control
3 - Variable tap (tums ratio) for MVAR control
4 - Variable phase angle for MW control (phase
shifter)
Columns 20-29 Branch resistance R, per unit (F) *
Columns 30-40 Branch reactance X, per unit (F) * No zero
impedance lines
Columns 4 1-50 Line charging B, per unit (F) * (total line charging,
+BI
Columns 5 1-55 Line MVA rating No 1 (0
Columns 57-6 1 Line MVA rating No 2 (1)
Columns 63-67 Line MVA rating No 3 (0
Columns 69-72 Control bus number
Column 74 Side (0
O - Controlled bus 1s one of the terminais
i - Controlled bus is near the tap side
2 - Controlled bus is near the impedance side (2bus)
Columns 77-82 Transformer final tums ratio (F)
Columns 84-90 Transformer (phase shifter) final angle (F)
Columns 9 1-97 Minimum tap or phase shift (F)
Columns 98- 104 Maximum tap or phase shift (F)
Columns 106- 1 1 1 Step size (F)
Columns 113-1 19 Minimum voltage, MVAR or MW Iirnit (F)
Columns 120-126 Maximum voltage, M V A R or MW limit (F)
Section end line:
1. Columns 1- 4
Appendix G
Load Flow Input Data for a 9 Bus Test System
Figure G.2. Single line dirgram of ;inine bus power system.
Appendix H
Test Results
A small sarnple of test results were provided in Chapter 7. More test results are provided
in this appendix.
At this instance, the SSP had given two choices, either to proceed
ahead and open the circuit breaker or to back off and not open it.
For we are going to test the effect of opening the circuit breaker on
the status of its adjoining switches, the "Yes" button to permit the
SSP to open the switch was selected.
The final state of the switches are shown in Figure H.52, which also
shows the event log that records the order of operations.
35: Transfer lines from busbar Bus 1 to Bus 2, as shown in Figure H.53.
Operating state: Normal. Al1 lines of the left section are connected to Bus 1 and al1
lines of the right section are connected to Bus3.
Result: The SSP closed the following switches:
Bus coupler isolator 1 and 2
Bus coupler circuit breaker B5
Bus selector switches 4,6,10 and 8
Bus sectiondizing isolator 16
Bus coupler isolators 18 and 17
Bus coupler circuit breaker B 10
The SSP then opened the following switches:
Bus sectionalizing isolator 15
Bus selector switches 3, 5, 7 and 9
Bus coupler circuit breaker B5
Bus coupler isolators 2 and 1.
The state of the substation after transferring the lines from Bus 1 to
Bus2 and the switching operations carried during the process are
shown in Figure H.54.During this bus transfer process the SSP has
performed the following operations:
Energize Bus2 through bus coupler circuit and bring Bus 1
and Bus2 to the sarne voltage level.
Create a short circuit path across the bus selector switched.
Connect al1 the lines to Bus2 via the bus selector switches
adjoining Bus2.
Connect Bus2 to the energized bus of the next section,
which is Bus3, vis bus sectionalizing switch.
Disconnect Bus 1 from the adjoining section.
Prepare lines to disconnect from Bus1 by opening bus
selector switches adjacent to Bus 1.
I, Disconnect Bus1 from Bus2 by opening the bus coupler
circuit between them.
The effect of operating a switch on bus voltages and line currents of the system are
evaiuated by performing load flow calculations. This section presents how the SSP
facilitates the incorporation of the load flow data of the system in the validation of
switching operations and presentation of line currents and bus voltages for graphical
cornparison of their values.
A 9 bus system configuration as shown in Figure H.69 is used in this section to illustrate
the effects. Test Substation 4, shown in Figure 7.4, is to be represented by bus 3 of the 9
bus system represented the substation. Source2 of the substation is connected to the system
bus 9 via transmission line 8. Sourcel, Loadl and Load2 of the substation are lumped and
represented by a single source, 3, in the power system diagram of Figure H.69. System bus
1 is used as a slack bus, where the voltage magnitude is kept constant at 1.O5 per unit, and
voltage phase angle is considered as O degree. This bus injects the active and reactive power
not supplied by the rest of the generating units in the system to fulfil the load demand. The
phase angles of al1 other buses are measured with reference to that of the slack bus. Buses
2 and 3 of the 9 bus system are voltage controlled, where the magnitude of the voltage is
kept at 1.00 per unit and the amount of active power injected into the buses are kept
constant at 1.25 per unit. All other buses are load buses and the active and reactive power
drawn from those buses are known.
Figure 1 of Appendix H shows the bus data and line data of the nine bus power system. In
the tables, the per unit values are measured on a 100 MVA base. After acquinng the bus
data and line data o f the power system the substation switching scheme is updated to
incorporate the data when making the switching decisions. The SSP has the following
interfaces to specify the system data to the switching scheme:
Figure H.26. The SSP refuses to operate 143 and displays the reason for the refusal.
Figure H.27. Cornmand k i n g issued to open circuit breaker C4.
248
1
Figure H38. The SSP wams about the interruption of current, and gives
- a chance to
cancel the closing operation.
Figure H . 3 . The SSP has opened isolator 143 and a cornrnand is k i n g issued to open
isolator 14 1 .
Figure H.31. The SSP has opened isolator 141 and enabled grounding switches G41
and G42.
Figure H32. Command k i n g issued to close grounding switch G42.
I
Figure H.35. The SSP has closed grounding switch G41 and has disabled isolators 141
and 142.
Figure H.36. Cornrnand is k i n g issued to close circuit breaker CO.
:it , CL* 1
F q A42
~ ~
134
4 1
B3 : Open
7: Open
Command: Disconnect
Load3 £ rom buses
B8: Open
B12: Open
7: Close
B3: Close
B8: Close
B12: Close
Figure H.52. The stütus of switches after the SSP disconnccts line 7L4 from the busbürs.
Connand : Transf e r
Busl t o Bus2
1: Close
2: Close
ES: Close
b: Close
5: Close
10: Close
): Close
16: Close
18: Close
17: Close
310: Close
15: Open
3: Open
i: Open
1 : Open
P: Open
B5: Open
1: Open
1: Open
Figure H.54. The substation after the SSP transferred lines from Busl to Bus2.
Figure H.55. Command being issued to isolate circuit breaker 86.
Figure H.62. The SSP has declared isolator 9 as not healthy and a command is being issued to connect Loüd2 to the busbar.
Connand : Disconnect 7 ~ &
1,:
C4 : Open
141: Open
143: Open
144: Open
Comnand: Bypass C4 c
C4 : DontBypass = FALSE -
1
c
Comrnand: Conncct 7L4 to
144: Close
146: Close
1 0 2 : Close
101: Close
-
"'CO: Close
Figure H.68. Connection made between line 7L4 and Bus I while bypüssing C4.
I l ,
14 1 1
r:,,~
< ., ,
1-lNUM
, , I
1
;: - .*2 : . .4 ; , . . , . . .. . . , .. L . ' . . ~
Figure H a 7 0 a Command king issued to edit data that relate the substation with the power system.
?-- O-, cl
Figure H.75. Graph plott ing program being launched.
l ~ ~ s t eData
m 1
--
I Line nunber
I
Figure H.79. Display of the load-flow output data in numeric form along with the graphical plot.