Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

...

This standard extends the use of Sampled Values to customizable data sets and sampling rates. The content of an IEC 61869-9 SV message must be described in an SCL file, similarly to GOOSE messages.

IEC 61850-8-1 MMS

MMS is an international standard dealing with messaging systems for transferring real time process data and supervisory control information between networked devices or computer applications. In the IEC 61850 standard, it is the communication protocol chosen to implement a client-sever TCP/IP communication link.
There are two ways to exchange data between clients and servers: through reporting (initiated by servers) or polling (initiated by clients).
A report is an event based transmission of a data set's contents, according to specific trigger options. Its definition is found in an SCL file, similarly to GOOSE and SV IEC 61869-9. The file contains information about the data set the report uses, what its triggers are and which optional fields to include in the packet. When one of the trigger conditions is met, the server IED will send a report containing all data attributes of the concerned data set to all connected clients.
On the other hand, polling is done by the client by performing a direct read of a data attribute that is part of the server.

Supported Features

General aspects

...

Record dataIf enabled, all data points of the I/O interface will be recorded during the simulation. They can be monitored with ScopeView while the simulation is running.
The values are also recorded in a file, configurable below. This file is retrieved from the simulator automatically after the model resets.
When this box is checked, the configurable parameters of the DataLogger are made available.
Recorder log levelSelect the level of verbosity for displaying user messages concerning the DataLogger feature.
    Mode
  • Manual: Starting and stopping the recording is done manually, through the API.
  • Automatic: Logging starts automatically at the load of the model and stops at reset.

    Export format

Choice for the format of the file containing the recorded values of the monitored signals:

  • OPREC (native format)
  • CSV (EXCELComma-Separated Values)
  • MATLAB
    Output file auto naming

If selected, the name of the output file will be automatically generated. Naming collisions are therefore avoided as name uniqueness is ensured by appending the timestamp to the filename.
The automatic file name is a combination of the model name, the subsystem name, and the date and hour.

Note that the seconds in the generated file name correspond to the time at which the DataLogger prepares the recorded/saved file. This may occur just before the recording starts, or at some time before when a trigger is configured.

To provide a custom name for the file, the field must be unchecked. As a result, the Output file name and Append Timestamp fields are made available.

        Output file nameProvide the custom name of the output file.
Note that multiple simulation runs will overwrite the output file if it has not been renamed/moved between each simulation start. To avoid that, check the box in the field below, Append Timestamp.
This field is only visible if the Output file auto naming field above is unchecked.
        Append Timestamp

Activate this to append the timestamp to the end of the filename in the following format: <Year>-<Month>-<Day>-<Hour><Minutes><Seconds>.
Appending a timestamp ensures that files will not be overwritten for each simulation run.
This field is only visible if the Output file auto naming field above is unchecked.

    Decimation Factor

Specifies the logging frequency based on a factor of the simulation time step.
For instance, with a decimation factor equal to 1 the data is saved every step. If the decimation factor is 2, the data is saved every 2 steps.

    Frame length

The Frame length parameter specifies how many steps are to be recorded without any data loss.

A frame corresponds to the number of consecutive steps without loss. Depending on the hardware configuration, some steps may be lost between two frames.
This zone of possibly lost data is called the blind area. This area is not visible and is thus not captured by the data logging system. Because the data are stored in a file, users may see missing samples between these frames. 
The size of the blind area depends on many factors such as the number of signals stored, the sampling frequency, the speed of the simulator, the disk speed, etc.

    Frame length unit

Defines the unit of the Frame length parameter.

Default unit is in Seconds.

    Number of frames to recordSpecifies how many frames to record. Note that there is no data loss within a frame but it may happen between frames.
    Show trigger configurationIf enabled, the trigger configuration parameters will be made available.
        Trigger levelLevel value that activates the trigger. For example, a value of 80 means the recording starts when the trigger-signal rises past 80.
        Trigger function

Specifies when a trigger event is generated, depending on the Trigger level or Trigger polarity fields.

  • Edge: recording starts as soon as the signal moves into the polarity region specified in the Trigger polarity field (which takes place, conceptually, in an instant)
  • Level: recording starts when the signal crosses the value set in the Trigger level field (which will be true over a period of time)
        Trigger polarity

Recording starts when the trigger signal is greater (Positive) or less (Negative) than the parameter Trigger level.

Together with the Trigger function and Trigger level, this parameter determines the trigger condition:

When the Trigger function is set to Edge:

  • Positive polarity: the trigger condition is met when the trigger signal becomes higher or equal to the value in the Trigger level field
  • Negative polarity: the trigger condition is met when the trigger signal becomes lower or equal to the value in the Trigger level field

When the Trigger function is set to Level:

  • Positive polarity: the trigger condition is met whenever the trigger signal is higher than the value in the Trigger level field
  • Negative polarity: the trigger condition is met whenever the trigger signal is lower than the value in the Trigger level field
        Pre-trigger percentagePercentage of frame length allocated to values occurring before the trigger event. In all cases the trigger event itself is recorded.
        Trigger holdoffNumber of steps to ignore after a frame is completed before re-arming the trigger detection.

...

NIC nameThe network interface card name used for the IED's MMS server communication.
The proper adapter should be selected based on the information given by the Linux command "ifconfig" or Windows command "ipconfig".
On Linux platforms, the server communication will bind itself to the network interface specified in this field. This means that the server will only accept connection requests received through that particular interface.
IP addressThe IP address to use for the IED's MMS server communication. The keywords ANY or AUTO can be used when the IP is not known. In that case, the IP will be determined automatically from the NIC name provided.


On Linux platforms, the IP aliasing functionality can be used to give each IED a different IP address even though the same network interface will be used. Each IED will have its own IP alias (i.e. eth0:0, eth0:1 ...) which should appear in the list displayed by the Linux command "ifconfig".
TCP portThe TCP port used for the IED's MMS server communication.

...

NameThe name of the data attribute. It contains any potential sub-object or structure levels, separated by dots.
Functional constraintThe functional constraint (FC) of the current attribute. The following FC are not supported: CO, BR, RP, GO, MS, US, LG, SG, SE.
Data set reference(s)Names of the datasets within the IED that contain the data attribute.
Control block reference(s)Names of the control blocks within the IED that make use of the data attribute.
Add MMS data point

Add the data attribute to the MMS server instantiated on the simulator. This means that any client connecting to the server will be able to read the attribute and/or write into it (if the functional constraint permits it).


Enabling a report using a dataset that contains this attribute will cause this field to be automatically enabled as well.

If this field is grayed out, there are several explanations:

  • if the FC is CO, it means the current attribute can only be enabled through its parent object's Enable as controllable object field
  • if the FC is not CO and:
    • the field is enabled, it means the current attribute is in use by a report control block; the field is grayed out to prevent disabling it while a report needs it
    • the field is disabled, it means the FC of the current attribute is not supported

Note: since attributes with FC = CO are parameters for control commands sent by the client, they are considered pseudo-attributes. Therefore, they cannot be read or written the same way as other attributes. They can be added to the IED tree but they will not have any connection points to allow their control by the user in the model.

Output RMSThe value placed in the server for the attribute will be its RMS calculation.


This field is only available for attributes with the MX (measurement) functional constraint and it can be changed only if the field Add MMS data point above is enabled.
RMS number of samples

Number of samples to accumulate for each RMS calculation.
This field is only available for attributes with the MX (measurement) functional constraint. It can be changed only if the fields Add MMS data point and Output RMS above are enabled.

RMS gainGain to apply to each RMS calculation. The value placed in the server contains this gain.


This field is only available for attributes with the MX (measurement) functional constraint. It can be changed only if the fields Add MMS data point and Output RMS above are enabled.

...

This information applies to both Sampled Values 9-2LE and IEC 61869-9 publishers and subscribers.

Bit

Attribute nameMeaning of valueValueDefault value

0-1


Validity


Good0 00 0
Invalid0 1
Reserved1 0
Questionable1 1
2Overflow

TRUE

FALSE
3Out of range

TRUE

FALSE
4Bad reference

TRUE

FALSE
5Oscillatory

TRUE

FALSE
6Failure

TRUE

FALSE
7Old data

TRUE

FALSE
8Inconsistent

TRUE

FALSE
9Inaccurate

TRUE

FALSE

10

SourceProcess00
Substituted1
11Test

TRUE

FALSE
12Operator blocked

TRUE

FALSE
13Derived

TRUE

FALSE

...

Connectable nameDescriptionDirection

Data

Each attribute enabled in the IED tree that is used outside of reports provides a connection point from the model to the driver. Its format represents its full path within the IED:


IED / Access point / Logical device / Logical node / Data object / Data attribute

From model

Data (write)

If an attribute:

  • is enabled in the IED tree
  • is not part of any data sets used by reports
  • has functional constraint (FC) equal to SP, SV, CF, DC , SE or BL or it is one of the attributes mentioned above part of a controllable object

→ then it will also provide a connection point from the driver to the model.
Its format represents its full path within the IED with the suffix that denotes it being written externally:
IED / Access point / Logical device / Logical node / Data object / Data attribute (write)

To model

...

  • Supported basic attributes are: BOOLEAN, INT8, INT16, INT32, INT64, INT8U, INT16U, INT32U, FLOAT32, FLOAT64, Enum, Dbpos, Tcmd, Check, Quality, Timestamp and Struct.
  • Timestamp data type is treated as a simple integer.
  • The following data attribute FC are not supported: BR, RP, GO, MS, US, LG, SG, SE.