GE SR750/760 Relay Tutorials - Part 5: Link XRIO Parameters Into RIO Device Function In The Test Object

Welcome to the fifth part of GE SR750/760 Relay Tutorial series. In this tutorial, I will show you how to link XRIO parameters into RIO Device Function, writing formula in the script function editor, I will show you how to make this test plan/routine flexible during relay testing and also, other stuff.


Device function block contains general information and settings such as:

  • the test object's name or description and its manufacturer *
  • the test object's device type and address *
  • the test object's serial or model number *
  • additional information to identify the test object *
  • power system nominal values *
  • residual factors *
  • overload detection sensitivity *
  • limits *
  • and others *

 * Reference from Omicron Test Universe help manual

If you haven't seen the previous tutorials, click the link below:

GE SR750/760 Relay Tutorials - Part 4: Add XRIO Parameters And Link Them To Other Parameters In The Test Object
GE SR750/760 Relay Tutorials

Open the test document that been created from the previous tutorial (Part 3). Make sure that  the advanced view is checked in the view menu to enable the linking in RIO function parameters.

Go to device nominal values block under the RIO block then link f nom parameter to Frequency Nominal. Right click on to f nom formula then click add reference. In the insert formula reference dialog box select the Frequency Nominal parameter under XRIO » Power System block then click OK button.

GE SR750/760 » RIO » Device
Parameter Formula
f nom FREQUENCY_NOMINAL
Formula ID's Path
FREQUENCY_NOMINAL GE SR750/760 » XRIO » Power System » Frequency Nominal


Because we want to make this test plan/routine to be flexible, we have to create a test controller for voltage and current selection. To do that, add new block under GE SR750/760 block then set the following parameters


GE SR750/760
Test Controller
ID TEST_CONTROLLER
Name Test Controller


Then move the test controller block to the top by right click on it and selecting move up or by doing shortcut key Ctrl + U until it reach the top.


Add another block under GE SR750/760 > Test Controller block and set the following

GE SR750/760 > Test Controller
Voltage/Current Controller
ID VOLTAGE_CURRENT_CONTROLLER
Name Voltage/Current Controller

Once that completed, add two parameters under the Test Controller > Voltage/Current Controller block and set the following parameter's details

GE SR750/760 > Test Controller > Voltage/Current Controller
Voltage Controller
ID VOLTAGE_CONTROLLER
Name Voltage Controller
Data Type Enumeration
Enumeration Values
ID Name
BUS_VT Bus VT
LINE_VT Line VT
Value Bus VT
Current Controller
ID CURRENT_CONTROLLER
Name Current Controller
Data Type Enumeration
Enumeration Values
ID Name
PHASE_CT Phase CT
GROUND_CT Ground CT
SGROUND_CT Sensitive Ground CT
Value Phase CT

Once that completed, that should be looked like the image below.


Now, back to the device function nominal values block , let's link the current and voltage using the voltage and current controller. On the V nom parameter, we're going to link the Bus VT and the Line VT using iif() command. Enter and link the formulas listed below.

GE SR750/760 » RIO » Device
Parameter Formula
V nom iif(VOLTAGE_CONTROLLER=BUS_VT, BUS_VT_SECONDARY, LINE_VT_SECONDARY)
V prim L-L iif(VOLTAGE_CONTROLLER=BUS_VT, BUS_VT_PRIMARY, LINE_VT_PRIMARY)
Formula ID's Path
VOLTAGE_CONTROLLER GE SR750/760 » Test Controller » Voltage/Current Controller » Voltage Controller
BUS_VT GE SR750/760 » Test Controller » Voltage/Current Controller » Voltage Controller » Bus VT
BUS_VT_SECONDARY GE SR750/760 » XRIO » Power System » Bus VT Secondary
LINE_VT_SECONDARY GE SR750/760 » XRIO » Power System » Line VT Secondary
BUS_VT_PRIMARY GE SR750/760 » XRIO » Power System » Bus VT Primary
LINE_VT_PRIMARY GE SR750/760 » XRIO » Power System » Line VT Primary

The results should be like in the image below.


Let's link the I prim and In. Enter and link the following formula listed below.

GE SR750/760 » RIO » Device
Parameter Formula
In iif(CURRENT_CONTROLLER=PHASE_CT, PHASE_CT_SECONDARY, iif(CURRENT_CONTROLLER=GROUND_CT, GROUND_CT_SECONDARY, SG_CT_SECONDARY)
I prim iif(CURRENT_CONTROLLER=PHASE_CT, PHASE_CT_PRIMARY, iif(CURRENT_CONTROLLER=GROUND_CT, GROUND_CT_PRIMARY, SG_CT_PRIMARY)
Formula ID's Path
CURRENT_CONTROLLER GE SR750/760 » Test Controller » Voltage/Current Controller » Current Controller
PHASE_CT GE SR750/760 » Test Controller » Voltage/Current Controller » Current Controller » Phase CT
GROUND_CT GE SR750/760 » Test Controller » Voltage/Current Controller » Current Controller » Ground CT
PHASE_CT_SECONDARY GE SR750/760 » XRIO » Power System » Phase CT Secondary
GROUND_CT_SECONDARY GE SR750/760 » XRIO » Power System » Ground CT Secondary
SG_CT_SECONDARY GE SR750/760 » XRIO » Power System » Sensitive Ground CT Secondary
PHASE_CT_PRIMARY GE SR750/760 » XRIO » Power System » Phase CT Primary
GROUND_CT_PRIMARY GE SR750/760 » XRIO » Power System » Ground CT Primary
SG_CT_PRIMARY GE SR750/760 » XRIO » Power System » Sensitive Ground CT Primary

The results should be looked like the image below


As you can see, the In value is zero because we haven't set yet their values in the XRIO > Power System block . I'm going to write formula for that to parse the nominal current in relay order code. Copy the code below and paste it to the Script Function editor.


14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Function GetNominalCurrent(OrderCode As String, PGS As String) As Double
    If PGS = "P" Then
        If OrderCode.Contains("P5") Then
            Return 5
        Else
            Return 1
        End If
    ElseIf PGS = "G" Then
        If OrderCode.Contains("G5") Then
            Return 5
        Else
            Return 1
        End If
    Else
        If OrderCode.Contains("S5") Then
            Return 5
        Else
            Return 1
        End If
    End If
End Function


Let's use that formula to get those nominal current. Go back to Power System block under the XRIO block , type the following formula for each parameter listed below and link the ORDER_CODE parameter to parse.

GE SR750/760 » XRIO » Power System
Parameter Formula
Phase CT Secondary GetNominalCurrent(ORDER_CODE, "P")
Ground CT Secondary GetNominalCurrent(ORDER_CODE, "G")
Sensitive Ground CT Secondary GetNominalCurrent(ORDER_CODE, "S")
Formula ID's Path
ORDER_CODE GE SR750/760 » Relay Parameters » Device Definition » Order Code
"P" "G" "S" String selector. P - primary, G - ground, S or " " - sensitive ground

The results should be the same in the image below.


Now, let's make additional relay information blocks and parameters to link in the RIO Device Function. First, add new block under the GE SR750/760 block then set the following block details below.

» GE SR750/760
Additional Information
ID ADDITIONAL_INFORMATION
Name Additional Information

This block will be inserted in the bottom list so move it up right next to Relay Parameters. Then add another block under this Additional Information block and set the following block details below.

» GE SR750/760 » Additional Information
Relay Information
ID RELAY_INFORMATION
Name Relay Information

Add ten string parameters into Relay Information block under the GE SR750/760 » Additional Information block then set the following parameter details below.

» GE SR750/760 » Additional Information » Relay Information
Substation Name
ID SUBSTATION_NAME
Name Substation Name
Data Type String
Value Zone Substation
Reference value Zone Substation
Substation Address
ID SUBSTATION_ADDRESS
Name Substation Address
Data Type String
Value Substation Address
Reference value Substation Address
Circuit Name
ID BAY_NAME
Name Circuit Name
Data Type String
Value CB1
Reference value CB1
Circuit Address
ID BAY_ADDRESS
Name Circuit Address
Data Type String
Value Feeder 1
Reference value Feeder 1
Manufacturer
ID RELAY_MANUFACTURER
Name Manufacturer
Data Type String
Value General Electric
Reference value General Electric
Relay Model
ID RELAY_MODEL
Name Relay Model
Data Type String
Value SR750/760
Reference value SR750/760
Serial Number
ID RELAY_SERIAL_NUMBER
Name Serial Number
Data Type String
Value A1234567
Reference value A1234567
Device Type
ID DEVICE_TYPE
Name Device Type
Data Type String
Value Feeder Management Relay
Reference value Feeder Management Relay
Relay ID
ID DEVICE_ID
Name Relay ID
Data Type String
Value RLY1
Reference value RLY1
Panel ID
ID PANEL_ID
Name Panel ID
Data Type String
Value P1
Reference value P1

Link the Order Code and Relay Serial Number from Device Definition parameter into Relay Information Relay Model and Serial Number receptively. The results should be looked like in the image below.


GE SR750/760 » Additional Information » Relay Information
Parameter Formula
Relay Model "SR" & left(ORDER_CODE, 3)
Serial Number SERIAL_NUMBER
Formula ID's Path
ORDER_CODE GE SR750/760 » Relay Parameters » Device Definition » Order Code
SERIAL_NUMBER GE SR750/760 » Relay Parameters » Device Definition » Serial Number

Let's link those parameters into RIO Device function nameplate and location. Link the following parameters in the table below

GE SR750/760 » RIO » Device » Name Plate
Parameter Formula
Device name RELAY_MODEL
Manufacturer RELAY_MANUFACTURER
Device type DEVICE_TYPE
Serial Number RELAY_SERIAL_NUMBER
Formula ID's Path
RELAY_MODEL GE SR750/760 » Additional Information » Relay Information » Relay Model
RELAY_MANUFACTURER GE SR750/760 » Additional Information » Relay Information » Manufacturer
DEVICE_TYPE GE SR750/760 » Additional Information » Relay Information » Device Type
RELAY_SERIAL_NUMBER GE SR750/760 » Additional Information » Relay Information » Serial Number
GE SR750/760 » RIO » Device » Location
Parameter Formula
Device address PANEL_ID & "/" & DEVICE_ID
Substation name SUBSTATION_NAME
Substation address SUBSTATION_ADDRESS
Bay BAY_NAME
Bay address BAY_ADDRESS
Formula ID's Path
PANEL_ID GE SR750/760 » Additional Information » Relay Information » Panel ID
DEVICE_ID GE SR750/760 » Additional Information » Relay Information » Relay ID
SUBSTATION_NAME GE SR750/760 » Additional Information » Relay Information » Substation Name
SUBSTATION_ADDRESS GE SR750/760 » Additional Information » Relay Information » Substation Address
BAY_NAME GE SR750/760 » Additional Information » Relay Information » Circuit Name
BAY_ADDRESS GE SR750/760 » Additional Information » Relay Information » Circuit Address

The results should be looked like in the images below



That's it for now. In the next part, I will show you adding Overcurrent function and linking parameters onto it.

Summary

In this tutorial, we learned adding more blocks and parameters, writing formula in the script function editor, using script function formulas in the the parameter's formula, linking parameters with condition to make the test plan/routine flexible during testing.

See you next time.




Comments