5 - Traffic Generation of Iec 61850 Sample Value
5 - Traffic Generation of Iec 61850 Sample Value
5 - Traffic Generation of Iec 61850 Sample Value
I. I NTRODUCTION
The utility industry across the globe has been investigating possible ways of addressing grand challenges such as
generation diversification, more effective electricity demand
response, more efficient energy conservation, and reduction
of the industrys overall carbon footprint [1]. As one viable
solution the concept of a Smart Grid has been proposed.
A Smart Grid can be defined as a unified, fully interoperable,
communications-enabled electrical system which aims at revolutionising traditional power systems through the introduction
of condition monitoring and intelligence.
Many of the existing standards are being updated and new
standards are being developed incrementally in order to ensure
a timely and smooth transition from contemporary electrical
transmission systems to Smart Grids [2]. One such example
is the international standard IEC 61850. Originally developed
to define communications within electrical substations, it has
recently been extended to cover Smart Grid relevant aspects,
such as communications between substations, hydro power
plants and distributed energy resources (DERs) [3].
IEC 61850 standardises the way devices at the substation
level (and beyond) should communicate with each other to
achieve full interoperability. This is crucial for Smart Grids
as in such a complex system there is no room for possible
communication breakdowns between equipment provided by
different vendors. Therefore, thorough understanding of the
standard, and existence of realistic and accurate simulation
models of the protocols specified therein is a necessity.
Other substation
devices (e.g. HMI)
Time-critical
OSI stack
Sampled
Values
GOOSE
Direct
mapping
GSSE
GSSE
Specific
Time Sync
Client-Server
MMS
Application
UDP
TCP
Transport
IP
Network
Data Link
Physical Medium
Physical
Gateway to other
substations
Switched
Ethernet
Station bus
P&C
Switched
Ethernet
MU
Process bus
CB
Power
line
Fig. 1.
SV Publisher
Application Layer
Type Length
SV Subscriber
savPdu
Packet flow
VLAN Interface
FDEthernet
FDChannel
Generator
Node
Fig. 3.
VLAN Interface
Switched
Ethernet
Value
Type Length
noASDU
0x80
Sequence of ASDU
0xA2 Length
Sequence ASDU 1
svID
FDEthernet
Physical Layer
0x60 Length
Value
10
0x30 Length
ASDU 1
0x80
10-34
Value
smpCnt
0x82
Value
confRev
0x83
smpSynch
0x85
Value
Sequence of Samples
0x87
64
Samples
(each
8-bytes
long)
FDChannel
Sink
Node
Kanabar et al. [10] presented results of modelling communication networks for distributed automation systems with DERs
in the OPNET Modeler. In their investigation, SV protocol was
mapped directly onto Ethernet layer, and included VLAN tags.
However, no information was provided whether SV-specific
header, ASDUs and APDU were also appended. Similarly,
Ali and Thomas [11] did not specify whether any SV-specific
fields were attached to the packet while modelling various
communication scenarios within a substation in the OPNET
Modeler.
Finally, Liang and Campbell [12] concentrated on implementing and simulating ACSI in J-Sim open-source simulator.
Their goal was to explore security aspects of the standard and
in particular of IEC 61850-7.
IV. D ESCRIPTION OF THE T RAFFIC G ENERATOR
The model of SV traffic generator developed during this
investigation is based on part 9-2 of the IEC 61850 standard
[13], [14], and on IEC 61850-9-2 LE implementation guidelines [15]. It was implemented in NS3 open-source network
simulator, version 3.8 [16]. NS3 was chosen out of many
other available simulators for two reasons: 1) it is opensource, hence it is possible to alter the core of the simulator if
necessary; and 2) it features uniform coding structure, i.e., both
simulation scripts and its core are written in C++ programming
language, hence there is no need to create language bindings
as is the case in NS2 for example (OTcl/C++ bindings).
Fig. 3 depicts a conceptual model of the traffic generator
in the spirit of OSI-7 reference model. The generator node
is responsible for generating packets carrying SV protocol
(or simply SV packets) while the sink node acts as their
addressee. Both nodes implement 3 out of 7 OSI layers as
required by [14]: application, data link, and physical layer.
The functionality of the application layer is implemented by
SV Publisher application in the generator node, and by SV
Subscriber application in the sink node. The functionality of
the data link layer is split into two parts: VLAN Interface and
FDEthernet sublayers; while the functionality of the physical
layer is implemented by FDChannel. VLAN Interface and
FDEthernet sublayers together with FDChannel model the
behaviour of full-duplex Ethernet with IEEE 802.1Q support,
Fig. 4.
Sequence ASDU 2
0x30 Length
ASDU 2
Sequence ASDU 10
0x30 Length
ASDU 10
APPID
Length=
m+8
2
Resrv1
Fig. 5.
6
MAC
Src
Resrv2
46-(m+8) bytes
APDU
Padding
Application
layer
VLAN
TCI
MAC
Dst
EtherType=
Payload
0x88BA
2
VLAN TPID=
Payload
0x8100
VLAN Interface
sublayer
4
FCS
FDEthernet
sublayer