Skip to content

Validate template

Davood Sooran edited this page Apr 5, 2024 · 2 revisions

The templates validator serves a distinct purpose from the schema validator by identifying issues that are not related to the schema defined in IEC 61850-6, but rather with other sections of the standard such as IEC 61850-7-3, IEC 61850-7-4, and IEC 61850-8-1.

NOTE: It's important to note that OpenSCD utilizes namespace description (NSD) files as a reference for validation purposes, as per the standard's guidelines. However, these files are not available for all editions of the standard. Consequently, the validation of the DataTypeTemplate section is only performed for projects from 2007B3 and higher (Edition 2.1).

The validator is activated with each modification to the project basis, and the outcomes are exhibited in the diagnostics pane as follows:

grafik

The implemented rules currently address the following issues:

  • Mandatory DO is missing in LNodeType
  • Mandatory DA is missing in the DOType
  • Mandatory SDO is missing in the DOType
  • Mandatory BDA is missing in the DAType
  • Missing DA needed for control operation depending in ctlModel
    • sbo-with-enhanced-security: Missing Oper, SBOw
    • sbo-with-normal-security: Missing Oper, SBO
    • direct-with-enhanced-security: Missing Oper
    • direct-with-normal-security: Missing Oper
  • Check for correct service data implementation Oper,
  • Broken reference of DO to DOType - missing type or invalid type
  • Broken reference of SDO to DOType - missing type or invalid type
  • Broken reference of DA to DAType - missing type or invalid type
  • Broken reference of BDA to DAType - missing type or invalid type

1. About OpenSCD

4.2 XML editor - pro mode

6.1 Report

6.2 GOOSE

Clone this wiki locally