Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-01496// Views: AA-01496// Created: 2018-06-06 14:06:41// Last Updated: 2020-07-30 14:09:49
HowTo
Protocols : How To configure IEC 61850 in RT-LAB 11.2+ using the I/Os GUI (IO GUI)

Protocols: How To configure IEC 61850 in RT-LAB 11.2+ using the I/Os GUI (IO GUI)


Before RT-LAB 11.2:

Note that, prior to RT-LAB 11.2, implementing the IEC 61850 communication protocol was done using the IEC 61850 blocks from the RT-LAB I/O Simulink Library.




For RT-LAB 11.2+:

The following procedures are based on the IEC 61850 example model found in the directory: C:\OPAL-RT\RT-LAB\v11.2.3.113\Examples\IO\_Generic_\IEC_61850\IEC_61850




Starting from RT-LAB 11.2+, protocols such as IEC 61850 are implemented using what is called the I/Os GUI in RT-LAB along with OpOutput and OpInput blocks inside the Simulink Model. See bellow.




Note: If after opening the model in RT-LAB you can not see IEC 61850 by opening the I/Os tool using the small arrow and/or if you try to right-click I/Os and select New > New I/O and can not see IEC 61850, please follow this KB Article to easily resolve this.


WORK FLOW:

1 - If using an IEC 61850 SV or GOOSE setup that is different from the SCL file provided in the example, you should prepare your own SCL file according to your needs.The I/Os GUI of RT-LAB will do a parsing (interpretation) of your ICD file at the Compilation (Step 4).

2 - Create your model or modify the example in such a way that you put the signals/values that you want to Publish/Subscribe to using OpOutput and OpInput blocks. These blocks are found in the RT-LAB Simulink Library.

3 - Import your model as well as the ICD file in an RT-LAB 11.2+ project. Do not forget, it is very important that the ICD file is put in the same folder as your model in your Workspace. 

4 - Add an IEC 61850 I/O (one per Subsystem) by right-clicking I/Os and select New > New I/O and select IEC 61850. 

5 - If you wish to have multiple GOOSE or SV messages which can be of different types, use the IEC 61850 Configuration Panel to specify what is the ICD source file, which IED from the SCL file, which Type of message (GOOSE ID, SV ID), which Ethernet port, AppID, MAC address, etc.




6 - Compile the model.

7 - Associate the I/Os GUI to a Subsystem.




8 - Associate the signals used with OpOutput and OpInput Blocks with the particular entities using the Configurations Tool.




OR




You can find additional information in the help button inside the IEC 61850 example model or in this path: C:/Users/%YourUserName%/OPAL-RT/RT-LABv11.2.x.x_Workspace/IEC 61850/help/help.html

And also see:




Note 1 : The IO GUI for SV 61850 9-2LE (Light Edition) and SV IEC 61869-9 does not necessarily need to be configured in an ICD file but the SV 2nd Edition requires the ICD file.

Note 2 : As you may observe from point 5, certain options like VLAN are not available in the I/Os GUI Goose but is present for SVs. That does not mean that it is not supported but that you need to set it up manually in the ICD file.