Skip to content

Commit

Permalink
feat(366): update SCL_COMPAS.xsd file
Browse files Browse the repository at this point in the history
- add compasLnodeStatus element

Signed-off-by: gleizesDor <[email protected]>
  • Loading branch information
gleizesDor committed Jun 25, 2024
1 parent 6a4fd53 commit 571afe7
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions scl-extension/src/main/resources/xsd/SCL_CoMPAS.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ SPDX-License-Identifier: Apache-2.0
Version 1.6 Release 2023/12/06
Version 1.7 Release 2024/02/07
Version 1.8 Release 2024/05/16
Version 1.9 Release 2024/06/25
</xs:documentation>
</xs:annotation>

Expand Down Expand Up @@ -142,6 +143,7 @@ SPDX-License-Identifier: Apache-2.0
<xs:enumeration value="VIRT"/>
<xs:enumeration value="ICT"/>
<xs:enumeration value="SYN"/>
<xs:enumeration value="OND"/>
<xs:enumeration value="ADEFINIR"/>
<xs:enumeration value="IEDTEST"/>
</xs:restriction>
Expand Down Expand Up @@ -257,7 +259,7 @@ SPDX-License-Identifier: Apache-2.0
FlowSourceBayKind -> Bay Kind of the Bay (CB, TR, LI, TG, AP...) same meaning as Bay@BayCodif of the Compas:Bay node
FlowSourceBayNum -> BayNum of the bay same meaning as Bay@NumBay of the Compas:Bay node
FlowSourceBayNode -> BayNum of the bay same meaning as Bay@NumBay of the Compas:Topo@Node attribute
FlowSourceBayNodeOrder -> There are multiple cases
FlowSourceBayNodeOrder -> There are multiple cases
Case 1 FlowSourceBayKind +AND+ FlowSourceBayNum have values (not empty); the source IED is searched within a unique bay defined by bay attributes
Case 2 FlowSourceBayNode +AND+ FlowSourceBayNodeOrder have values (not empty); the source IED is searched within a unique bay defined by bay attributes
Case (1 +OR+ 2) AND (FlowSourceIEDType (not empty) +OR + FlowSourceIEDredundancy (not empty) +OR+ FlowIEDSystemVersioninstance (not empty)); the source IED is searched within a predefined bay and for given IED attributes
Expand Down Expand Up @@ -399,6 +401,25 @@ SPDX-License-Identifier: Apache-2.0
<xs:attribute name="Direction" type="tCompasTopoNodeDirection" use="optional"/>
</xs:complexType>

<xs:simpleType name="tCompasLNodeStatus">
<xs:annotation>
<xs:documentation>Status of the LNode on or off</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:Name">
<xs:enumeration value="on">
<xs:annotation>
<xs:documentation>IED/LD/LN.Mod associated to LNode has to be turned on</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="off">
<xs:annotation>
<xs:documentation>IED/LD/LN.Mod associated to LNode has to be turned off</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>

<xs:element name="LNodeStatus" type="tCompasLNodeStatus"/>
<xs:element name="SclName" type="tCompasSclName"/>
<xs:element name="SclFileType" type="tCompasSclFileType"/>
<xs:element name="Labels" type="tCompasLabels"/>
Expand All @@ -410,4 +431,4 @@ SPDX-License-Identifier: Apache-2.0
<xs:element name="SystemVersion" type="tCompasSystemVersion"/>
<xs:element name="Function" type="tCompasFunction"/>
<xs:element name="Topo" type="tCompasTopo"/>
</xs:schema>
</xs:schema>

0 comments on commit 571afe7

Please sign in to comment.