Professional Documents
Culture Documents
The UniCA 61850 conformance test set enables you to perform conformance tests of a IEC 61850
server, fully compliant with the IEC 61850-10 Conformance testing. The test set enables you to
create, send/receive, analyze and store correct and incorrect(!) IEC 61850-8-1 communication
messages. The UniCA test set is the tool for communication interface development and
conformance testing.
Scripts
To be both flexible and reproducible the test simulator is controlled by UniCAsim Basic scripts.
UniCAsim Basic enables you to construct and send messages, to check received messages,
access the data model and report errors or other text. To create or change scripts one should have
a detailed knowledge of the IEC 61850 protocol. Scripts are grouped together in a test group, test
groups are grouped together in one test suite. The test simulator is shipped with a ready-to-use
reference test suite that simulates a client to test any IEC 61850-8-1 server. KEMA uses the same
test set to perform its own conformance tests.
Simulator Features
Build in test script editor
Easy configuration of the test suite
Reference test suite according to IEC 61850-10
System requirements
PC or laptop with Windows operating system with at least 256 MB RAM
Parallel or USB port for copy protection key
Ethernet network interface card
Support Contact
6 month service included in license KEMA Nederland B.V.
Software and reference test suite updates via e-mail P.O. box 9035, 6800 ET
Issue change request and problem reports ARNHEM, the Netherlands
Service renewal available for one year Tel: +31 26 356 6043
Fax: +31 26 351 5456
email : sales@kema.com
www.kema.com
The test set enables you to perform the following tests (extract from IEC 61850-10). Some test
scripts cant be performed automatically and do need additional support form the test engineer.
Because the reference test suite can be copied and edited its easy for the end-user to
adjust/create user/device specific test cases when necessary.
UniCAsim enables you to compare the data model with the reference data model or with any other
data model of another IED. The test result is a list of data values with type and an OK, unknown,
missing or mismatch indication.
For each ACSI service model test cases are defined in the following categories:
positive = verification of normal conditions, typically resulting in positive response+
negative = verification of abnormal conditions, typically resulting in negative response (-)
Positive
o Associate and release a TPAA association (7-2 7.4)
o Associate and server-abort TPAA association (7-2 7.4)
o Associate and client-abort TPAA association (7-2 7.4)
o Associate with maximum number of clients simultaneously
Negative
o Check that with incorrect authentication parameters and authentication turned on at server
the association fails, and with authentication turned off the server associates (7-2 7.4)
o Check that with incorrect association parameters at server or client the association fails (7-2
7.4)
o Set up maximum+1 associations, verify the last associate is refused
o Disconnect the communication interface, the DUT should detect link lost within a specified
period
o Interrupt and restore the power supply, the DUT should accept an association request when
ready
Positive
o Request GetServerDirectory(LOGICAL-DEVICE) and check response (7-2 6.2.2)
o For each GetServerDirectory(LOGICAL-DEVICE) response issue a
GetLogicalDeviceDirectory request and check response (7-2 8.2.1)
o For each GetLogicalDeviceDirectory response issue a GetLogicalNodeDirectory(DATA)
request and check response (7-2 9.2.2)
o For each GetLogicalNodeDirectory(DATA) response issue a
o GetDataDirectory request and check response (7-2 10.4.4)
o GetDataDefinition request and check response (7-2 10.4.5)
o GetDataValues request and check response (7-2 10.4.2)
Negative
o Request following data services with wrong parameters (unknown object, name case
mismatch, wrong logical device or wrong logical node) and verify response- service error
o ServerDirectory(LOGICAL-DEVICE) (7-2 6.2.2)
o GetLogicalDeviceDirectory (7-2 8.2.1)
o GetLogicalNodeDirectory(DATA) (7-2 9.2.2)
o GetAllDataValues (7-2 9.2.3)
o GetDataValues (7-2 10.4.2)
o SetDataValues (7-2 10.4.3)
o GetDataDirectory (7-2 10.4.4)
o GetDataDefinition (7-2 10.4.5)
o Request SetDataValues of CODED ENUM data with out-of-range value and verify
response- service error (7-2 10.4.2)
o Request SetDataValues with mismatching data type (e.g. int-float) and verify response-
service error (7-2 10.4.2)
o Request SetDataValues for read-only data values and verify response- service error (7-2
10.4.2)
Positive
o Request GetLogicalNodeDirectory(DATA-SET) and check response (7-2 9.2.2)
Negative
o Request following data set services with wrong parameters (unknown object, name case
mismatch, wrong logical device or wrong logical node) and verify response- service error
o GetDataSetValues (7-2 11.3.2)
o SetDataSetValues (7-2 11.3.3)
o CreateDataSet (7-2 11.3.4)
o DeleteDataSet (7-2 11.3.5)
o GetDataSetDirectory (7-2 11.3.6)
o Create a dataset with the same name twice, and verify response- service error
o Create more then maximum number of datasets and verify response- service error
o Create a dataset with more then maximum number of elements and verify response- service
error
o Create a dataset with one unknown data value, and verify response- service error
o Create a dataset with no data values, and verify response- service error
o Delete a (pre-defined) non-deletable dataset, and verify response- service error
o Delete a dataset twice, and verify response- service error
o Delete a dataset referenced by a (report) control block, and verify response- service error
(7-2 11.1)
o Request SetDataSetValue with a dataset with one or more read-only elements, and verify
response- service error
Substitution model
Positive
o Disable subEna and set subVal, subMag, subCMag, subQ and verify the substituted values
are not transmitted when subEna is disabled and are transmitted when subEna enabled (7-
2 12)
Negative
o Verify setting subVal, subMag, subCMag, subQ and subID response- service error when
subEna is already enabled (12)
Positive
o Request GetLogicalNodeDirectory(SGCB) and check response+
o Verify all setting group state machine paths (7-2 13 figure 18)
o Verify active setting group values are effective
Negative
o Request following setting group services with wrong parameters (out of range values, or
non existent setting group) and verify response- service error
o SelectActiveSG (7-2 13.3.2)
o SelectEditSGValues (7-2 13.3.3)
o SetSGValues (7-2 13.3.4)
o ConfirmEditSgValues (7-2 13.3.5)
o GetSGValues (7-2 13.3.6)
o GetSGCBValues (7-2 13.3.7)
o Request SetSGValues on an active setting group (FC=SG), verify response- service error
o Request SetSGValues (FC=SE) and then SelectEditSGValues another setting group, verify
changes will be lost
Reporting model
Positive
o Request GetLogicalNodeDirectory(BRCB) and check response
o Request GetBRCBValues of all responded BRCBs
o Request GetLogicalNodeDirectory(URCB) and check response
o Request GetURCBValues of all responded URCBs
o Configure and enable a BRCB and a URCB and check the information reports are
transmitted as configured and contain the enabled optional fields (7-2 14.2.1)
o Optional fields: sequence-number, report-time-stamp, reason-for-inclusion, data-set-
name, data-reference, buffer-overflow, and/or entryID (7-2 14.2.3.2.2.1)
o Verify following trigger conditions
Negative
o Request GetxRCBValues with wrong parameters and verify response- service error (7-2
14.2.3.3.2)
Positive
o Request GetLogicalNodeDirectory(LOG) and check response+
o Request GetLogicalNodeDirectory(LCB) and check response+
o Request GetLCBValues with functional constraint LG of all responded LCBs
o Request SetLCBValues with functional constraint LG when LCB is disabled
o Verify only one Log per LD shall be allowed (7-2 $14.3.3.2.2) with reference
LDName/LDName
o Verify logging is independent of external application associations or other communication
transactions
o Verify a transition of LogEna from disable to enabled or from enabled to disabled shall
cause a log entry to be placed into the log
o Configure and enable logging and check the following logging trigger conditions place a
correct entry in the log with the correct members of the data set
Negative
o Request following log services with wrong parameters (out of range entrys, or non existent
Dataset, LCB or Log) and verify response- service error
o GetLCBValues (7-2 13.2.4)
o SetLCBValues (7-2 13.2.5)
o QueryLogByTime (7-2 14.3.5.2)
o QueryLogByEntry (7-2 14.3.5.3)
o GetLogStatusValues (7-2 14.3.5.4)
o Request SetLCBValues with functional constraint LG when LCB is enabled and verify
response- service error
Control model
Positive
o Force and check each path in control state machine for an control object with one of the
following control modes (compare Figure 1 and state machine test cases)
o Direct-operate with normal security (7-2 17.2.1)
o SBO-control with normal security (operate once/many) (7-2 17.2.2)
o Direct-operate with enhanced security (7-2 17.3.2)
o SBO-control with enhanced security (operate once/many) (7-2 17.3.3)
o Verify that with test mode set no operations to the process are performed.
o Verify that ctlVal and operTime are effective
o Select all SBO control objects and cancel them in opposite order
Negative
o Operate (without select) for a SBO control object and verify the response- AddCause (7.2
17.2.2)
o Select twice, second select should fail and verify the response- AddCause (7.2 17.2.2)
o Operate value is the same as the actual value (On-On, or Off-Off) and verify the response-
AddCause (7.2 17.2.2)
o Select the same control object from 2 different clients, verify the response- AddCause (7.2
17.2.2)
o Force and verify situations to set specific other applicable AddCause values (7-2 17.5.2.6)
o Select / Operate a unknown control object and verify the response- AddCause (7.2
17.2.2)
o Mismatch control mode behaviour
o Out-of-range operate value and verify the response- AddCause
Unselected
1) SelVal_req[Test not ok]^client.SelVal_rsp-
2) SelVal_req[Test
ok]^client.SelVal_rsp+
3a) Cancel_req^client.Cancel_rsp+
3b) Timeout
Ready 3c) TimOper_req[Test not ok]^client.TimOper_rsp-
3d) Oper_req[Test not ok]^client.Oper_rsp-
5) TimOper_req[Test ok]^client.TimOper_rsp+
4) Oper_req[Test ok]^client.Oper_rsp+
9a) state(new_valid)[sboClass=OPERATE_MANY]^client.Report_req,client.CmdTerm_req+
9b) timeout[state(old), sboClass=OPERATE_MANY]^client.CmdTerm_req-
9d) timeout[state(between), sboClass=OPERATE_MANY]^client.Report_req,client.CmdTerm_req-
State machine paths for SBO with enhanced security returning the device to the Unselected state
are:
Path 1
Path 2+3a/b/c/d
Path 2+4+8a/b/c
Path 2+5+6
Path 2+5+7+8a/b/c
And paths setting the device to the Ready state:
Path 2+4+9a/b/c
Path 2+5+7+9a/b/c
Positive
o Request a GetServerDirectory(FILE) with correct parameters and verify the response (7-2
6.2.2)
o For each responded file:
o request a GetFile with correct parameters and verify the response (7-2 20.2.1)
o request a GetFileAttributeValues with correct parameters and verify the response (7-
2 20.2.4)
o request a DeleteFile with correct parameters and verify the response (7-2 20.2.3)
o Verify the SetFile service with a small and large file and the maximum number of maximum
sized file (under construction)
Negative
o Request following file transfer services with an unknown file name and verify the appropriate
response- service error
o GetFile (7-2 20.2.1)
o GetFileAttributeValues (7-2 20.2.4)
o DeleteFile (7-2 20.2.3)
Positive
o Test reporting and control services keep on working as specified while requesting other
services; combine server actions: Reporting, Logging, Goose subscribing/publishing, with
client initiated operations:
o enable reporting and force reports
o enable logging and force logs
o enable Goose publishing and force Goose messages
o send Goose messages
o request GetXXXX data/dataset/log/file services
o issue control commands