Developing A Common Language For IED Communications in The S
Developing A Common Language For IED Communications in The S
for
Intelligent Electronic Device Communication
in the Substation
Dr. W. Premerlani, R. Mitchell, Dr. I. Ali, Dr. T. Saulnier
GE Corporate Research & Development
Schenectady, NY
M. Adamiak
GE Protection & Control
Malvern, PA
J. Melcher
EPRI
Palo Alto, CA
• One uniform paradigm. The notion of an object Encapsulation, which is also called information hiding,
uniformly applies to programming code and database means that the internal details of an object are hidden from
code, analysis and design. the external interface to the object. Only those details that
are needed to interact with an object are published.
Operations on an object provide a clean separation between
• Improved quality of data. Rigorous modeling
internal and external views of the object. The external view
improves the quality of the data. Many constraints can
of an object is what services the operations perform. The
be woven into the fabric of a model.
internal view of an object is how the services are
implemented. The behavior of the "close" operation is
An object is a concept, abstraction, or thing with crisp
visible in the external view of a switch object. The details
boundaries and meanings for the problem at hand [1].
of how this is accomplished is hidden from the external
Important characteristics of objects include identity,
view.
classification, polymorphism, and inheritance. Identity
means that objects can be distinguished from one another.
Object-oriented software also combines data and behavior
Switches, relays, and transformers are examples of objects.
into a single hierarchy. In nonobject-oriented approaches
Two identical switches can be distinguished from each
there is a separate hierarchy of data structure and
other, for example, so that a request to open one of them is
procedures. By combining data with behavior, the
not intended to open the other one. Objects have attribute
responsibility for the details of an operation is shifted from
values and may be related to other objects. For example, a
the procedure to the object. For example, in an object-
switch could be in the open position and be controllable by
oriented application it is not necessary for a print
a certain relay. Objects also have behavior,
procedure to deal with the details of each object that can be
specified by the operations that may be applied to them.
printed. Instead, each object knows how to print itself. This
For example, the "close" operation may be applied to a
simplifies maintenance, because it is not necessary to
switch. By classification we mean that objects that have
update procedural code for printing when a new class is
common attributes and behavior are grouped together into
added. Instead, if the new class needs to support the print
a class. Thus all switches from the same manufacturer with
operation, then the print operation is implemented for it.
the same model number are in the same class.
Polymorphism is a term used in object-oriented
This leads to the concept of reuse through inheritance. It is
methodologies that means the same operation can be
often possible to define a new class as a specialization of
applied to different classes of objects with appropriate
an existing class, and share the implementation of common
results. For example, the "close" operation is polymorphic
operations. For example, if we find that there is a
on the classes switch, recloser, and breaker because each
taxonomy of switches, it may be possible to implement the
can respond to a request to "close" in a perfectly
"close" operation on the superclass.
appropriate way. Inheritance is the sharing of attributes and
behavior based on a hierarchy. A class can be broadly
The abstraction power of object-oriented models provides
defined and then refined into superclasses. Inheritance is
a neutral representation that could be implemented in a
used to describe a taxonomy of classes. For example, there
variety of ways, including programs, databases, grammars,
are many kinds of relays, and we could use inheritance
and communications protocols, for example. We have also
relationships to describe their taxonomy.
found it useful to construct object-oriented models of
concepts as an aid to understanding.
Other important object-oriented concepts include
abstraction, encapsulation, combining data and behavior,
The concepts used in constructing object oriented models
and reuse through inheritance. By abstraction we mean
have natural interpretations in a number of domains of
focusing on the essential aspects of objects. Abstraction is
discourse. Yet, a model itself is simpler and more
fundamental than its realization in a particular can be an instance of more than one class through an
implementation, because implementations often require inheritance relationship between classes. Thus, all
extra detail. There is usually more than one way to measurements are instances of the class, Measurement.
implement a particular concept. For example, the concept
of inheritance is implemented in different ways in object- Classes may have attributes and methods. An attribute is a
oriented programming languages, relational database named property of a class that describes a value held by
management systems, and communications. In object- each object of the class. For example, the class Tag could
oriented languages there is direct support for inheritance by have the attributes date, type, and description. A method is
declaring a class to be a subclass of another class. In a service provided by objects in a class. For example, trip is
relational database systems, there is no direct support for a service provided by the class CircuitBreaker.
inheritance, and there are several ways for mapping an
inheritance hierarchy onto database tables. An object model One notation [3] for representing classes in object models
can also be interpreted as representing a grammar. In that is shown in Figure 1. A class is drawn as a rectangle
case, inheritance can be interpreted as alternate production
rules. However, in most communications protocols, there
is no direct support for inheritance. In some protocols, Switch
such as MMS, there are constructs that can be used to normalState
implement inheritance. operationTime
pulseTime
In addition to an object model, some object-oriented operationCounter
methodologies also include a dynamic model and a lastCommandSent
functional model. The object model describes the static state
structure of the objects in a system. The dynamic model operateSwitch
specifies the control aspects of a system. Finally, the
functional model describes the structure of computations.
Of the three models, the object model is most relevant to
Figure 1 Example of a class
system communications, and has a natural interpretation in
that context. Important constructs in an object model
include objects, classes, attributes, methods, associations,
with three sections. The name of the class is placed in the
and generalizations. In this paper, we will use the OMT
top section, the attributes in the middle section, and the
notation, one of the more popular notations for object
methods in the lower section.
models [3]. Another notation that is also being used to
model IED's is Coad's notation [4].
Another object-oriented concept is that of a link, which is a
physical or conceptual connection between objects. In a
An object is a concept, abstraction, or thing with crisp
programming language, links are sometimes implemented
boundaries and meaning for applications. Each object
with pointers, but links should not be confused with
exists and can be distinguished from other objects. A
pointers. Links are a logical abstraction of pointers, and
particular circuit breaker is an example of an object.
may be implemented in a variety of ways, particularly when
Another example of an object is a particular real time data
you consider that they can be interpreted in the context of
point. Objects can be real objects or software objects. In
databases and communications as well as programming
some cases there is a correspondence between the two. For
language. A link between objects indicates that those
example, a circuit breaker is a real object controlled by
objects are related in a meaningful way.
an IED. Inside of an object-oriented IED there would
probably be a software object that implements the control
An association is an abstraction of a group of links with
logic for the circuit breaker and which communicates with
common semantics, just like a class is an abstraction of a
other IED's. Both kinds of objects are valid elements in an
group of objects. One representation of an association
object model, depending on the purpose of the object
between the classes Company and Person is shown in
model. Objects can also be classified as passive objects or
Figure 2.
active objects. An active object can perform a service. A
circuit breaker is an example of an active object. A passive
The association in Figure 2 shows several features of
object, such as a measurement, conveys information.
associations using the OMT notation, including
association names, role names, and an indication of
A class is an abstraction of a group of objects with similar
multiplicity. In the example, the association name,
properties, common behavior, similar relationships to
indicated by a name by the middle of the association, is
other objects, and common semantics. We say that an
"Works-for". This indicates that a link between a particular
object is an instance of a class. As we shall see, an object
company and person indicates that the person works for the association [1]. Thus, in Figure 3, a tap changer is an
company. A role name is a name on an end of an optional part of a transformer.
association, indicating the role that the class on that end
plays with respect to the association. A role is an end of an Generalization is a relationship between a class, called the
association. In the example, Company plays the role of superclass, and one or more variations of the class, called
employer, and Person plays the role of employee. the subclasses. The superclass holds common attributes,
Association names and/or role names are needed when the operations, and associations. Each subclass adds its own
semantics of an association is not absolutely clear from the unique attributes, operations, and associations. A subclass
associated classes. We show both an association name and inherits the attributes, operations, and associations of its
role names in the example for illustration. It is not superclass. An example is shown in Figure 4, using the
necessary to use both. OMT notation. Generalization is indicated with a triangle
with the peak pointing towards the superclass. A number
of phases are usually carried out in an iterative, seamless
Company fashion in applying an object-oriented methodology. The
name phases in OMT are conceptualization, analysis, design, and
implementation [1]. During conceptualization, models are
address
prepared of the problem domain. These models can be
shared among several applications. Analysis refines the
model to represent the application requirements. During
employer design, strategies are developed for mapping the models to
works-for an implementation.
employee III How is OOM Applied to Communicating IED's?
The need to define consistent information and In establishing the groundwork for abstracting the
behavior at the application layer lends itself naturally to the numerous attributes and methods of the substation IED’s,
object-oriented paradigm found in some programming a model of the model or a “meta” model was created.
languages. Within this paradigm, objects define both data This “meta” model defines data that would be present in
and action. The MMS framework defined in ISO 9506-1 any type of IED. There is a standard diagram that is used
and ISO 9506-2 employs some aspects of the object- to construct the object model which is illustrated in
oriented paradigm. MMS defines abstract objects such as Figure 2 via the “meta” model for an IED. The top line is
variables, events, domains, and journals. For each abstract the name of the object being described which in this case
object type, attributes are defined that provide information is a Virtual Device object. The middle section is the
about the object. MMS also defines an abstract set of “attribute” list and the bottom section is the “methods”
operations called services that may be performed on list. Clearly, there are more attributes and methods
objects of a particular type. Unlike the object-oriented needed to describe, for example, a relay object. The
paradigm used in some programming languages, these beauty of the object modeling approach, however, is that
services are not strictly part of the objects themselves nor various attributes can be grouped in classes and then
is there an inheritence hierarchy as one would traditionally linked back to the base model. This technique allows the
find in C++ for example. addition of new attributes without having to re-do the
definitions and assignments of the previously defined
The definition of a common application language attributes.
using MMS requires that the abstract defintions found in
MMS must be mapped into the particular domain of Work is now in progress in the MMS Forum and the IEEE
interest. This mapping corresponds to the development of Power System Relay and Substation Committees to define
what is referred to as a companion standard. A companion standard or public object definitions. Common items
standard defines objects, attributes, and operations that are such as Voltage, Current, Watts, Vars, etc. can very
consistent with the MMS framework abstractions but readily be agreed upon as far as a standard definition goes.
which are relavent to a particular application domain. A It is inevitable, however, that each manufacturer’s IED
particular companion standard definition need not employ will have attributes that are new or unique to that IED.
all of the abstractions defined in the MMS standard but it These “vendor specific” attributes, being otherwise
must be consistent with the MMS framework. A modelling unknown to anything else in the system, need a mechanism
framework such as that provided by OMT (Object to define what they are.
Modelling Tool) may be employed in this process. A
companion standard must also define how the objects and As such, the concept of “self defining data” was included
operations that have been defined are mapped into in the requirements document. In response to the standard
messages communicated between devices. A number of query “who are you?”, an IED would be required to
encoding strategies have been proposed including BER download its object definition, complete with a data
(Basic Encoding Rules) and PER (Packed Encoding dictionary, to define any “vendor specific” attributes. In
Rules). In general, these rules define how information is this manner, an RTU function could automatically query
mapped into the bytes that actually form the messages all IED’s in the substation and compile a standard list of
communicated between devices. In choosing the encoding the information it is required to obtain.
rules for a particular application it is important to realize
that there is a trade-off that must be made betweenthe Implementation
power of the encoding scheme and the performance and The current institutional efforts to define structure for the
memory required in its implementation. new digital universe must be accompanied by the rapid
development of implementation vehicles if the industry is
to advantage, rather than succumb to the new technology. and so on. In the absence of at least an appropriate de facto
If the current standards work is to have more than standard embraced by all the often competing elements, the
historical value it must be accelerated to synchronize with solutions will continue to be somewhat cumbersome,
the pace of technological change, be viewed as a real time inflexible and costly.
consensus definition of best practice, and be connected to
an implementation path embraced by the utility industry. The two essential aspects of realizing the benefits of the
application of digital technology to substation and power
Utilities are driven by the need for increased productivity system automation are: First; a fast track commitment by
in the emerging competitive environment, while at the the utilities to sponsor and support the definition of open
same time are undergoing personnel reductions which standards for integration; and Second; the development and
weaken their ability to define and implement integrated utilization of Integrators who effectively implement these
automation systems to improve productivity. Functionally emerging standards.
fragmented institutional structures are evolving to support
these integrated system goals, but the trauma of such major One example of the possible ways in which this could be
changes further inhibits internal solutions. accomplished would be the utilization of existing utility
organizations such as EPRI to establish system integrators
Figure 3 illustrates the principal elements of substation which, because of their utility sponsorship, would
integration and automation systems. The integration implement the preferred standards, represent the utilities,
function has, in today's environment, typically moved and strongly influence the support of the related hardware
outside of the utility box. The Integrator's challenge is to and software suppliers. Various other proactive utility
define best fit / best value solutions tailored to the specific initiatives would appear to be worth considering. The
utility's goals. In this consulting role the Integrator is screens for such initiatives might include:
expected to develop specifications for open systems with
maximum flexibility for growth. His role can be expanded • support by a significant number of utilities
to identify the supplier of products and services, layout the • a possible equity position by the sponsoring utilities
program, manage the program, or take turnkey • a strong linkage with the continuing "standards"
responsibility, as well as providing ongoing support and activity
services.
• a strategy that allows customizing for individual
utilities
The IED suppliers provide protection or monitoring based
intelligent digital devices which are performance / cost • operational control at the Integrator with an advisory
optimized in a rapidly changing competitive market. The board representing the sponsoring utilities
IED's also provide the data acquisition and control • the assignment of key utility personnel to the
interface with the power system at the substation. Integrator during a project.
The Software suppliers provide custom software The alternative of waiting to see what becomes available
interfacing, drivers and control functions to integrate the does not look very attractive for the utility.
IED's and provide the required system functions. The
Integration Equipment includes the substation control and Conclusions
interfacing equipment such as Programmable Logic The search for a common communication platform in the
Controllers (PLC's) Personal Computers (PC's), Remote utility industry is becoming acute being driven by the
Terminal Units (RTU's), and associated communication proliferation of communicating Intelligent Electronic
equipment. Devices. A “top down” approach to solving the
communication problem has been sponsored by EPRI.
The value to the utility of being able to implement open This effort has resulted in the creation of a requirements
systems which meet current and future requirements with document that is open to the public for review. A
interoperable elements is obvious. The alternative of a summary of the basic requirements is presented. The heart
single supplier providing all elements integrated into a of the requirements document is the use of Object
closed system has generally not been acceptable to the Oriented Methodology as the tool to create a common
utility industry. Several other approaches are emerging IED communication language. This effort will only be
which include: effective if there is a concerted effort between the various
• Combinations of the Software supplier and the industry players to quickly bring this technology to
Integrator practice.
• The IED supplier with the Software supplier
• The integration Equipment supplier with the Integrator References
1. M. Adamiak, E. Weintraub, J. Schnegg, J. Burger, The
Integration of Protection, Control, and Monitoring is a
High Voltage Substation, Proceedings of the 46th
Annual Texas A&M Conference for Protective Relay
Engineers, April 12-14, 1993.