-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#351): RSR-894 Update Compasflow and extref prebindings
Signed-off-by: massifben <105049157+massifben@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
209 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
...s/src/test/resources/scd-extref-iedname/scd_set_extref_iedname_based_on_lnode_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<!-- SPDX-FileCopyrightText: 2023 RTE FRANCE --> | ||
<!-- --> | ||
<!-- SPDX-License-Identifier: Apache-2.0 --> | ||
<SCL version="2007" revision="B" release="4" xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:compas="https://www.lfenergy.org/compas/extension/v1"> | ||
<Header id="hId" version="2007" revision="B" toolID="COMPAS"/> | ||
<Substation name="SITE"> | ||
<VoltageLevel nomFreq="50" numPhases="3" name="0"> | ||
<Voltage unit="V" multiplier="k">0</Voltage> | ||
<Bay name="BAY_1"> | ||
<Private type="COMPAS-Topo"> | ||
<compas:Topo Node="101" NodeOrder="2" Direction="Down"/> | ||
</Private> | ||
<Private type="COMPAS-Bay"> | ||
<compas:Bay BayCodif="TG00000001" UUID="9cd6f05b-1bbd-4ba3-86c5-41c99103e06d" Version="1" | ||
MainShortLabel="SITE1" SecondLabel="SITE-TGENE" NumBay="7" BayCount="1"/> | ||
</Private> | ||
<Function name="FUNCTION_1"> | ||
<Private type="COMPAS-Function"> | ||
<compas:Function UUID="8f4cda3f-828c-4006-9b87-2af96b19304b" Label="FUNCTION_1"/> | ||
</Private> | ||
<LNode iedName="IED_NAME2" ldInst="LD_INST21" lnClass="ANCR" lnInst="1"/> | ||
</Function> | ||
</Bay> | ||
</VoltageLevel> | ||
</Substation> | ||
<IED name="IED_NAME1"> | ||
<Private type="COMPAS-ICDHeader"> | ||
<compas:ICDHeader ICDSystemVersionUUID="System_Version_IED_NAME1" IEDType="BCU" IEDSubstationinstance="11" IEDSystemVersioninstance="1" IEDName="IED_NAME1" VendorName="SCLE SFE" IEDmodel="ARKENS-SV1120-HGAAA-EB5" IEDredundancy="A" BayLabel="3THEIX2" hwRev="0.0.2." swRev="1.0a" | ||
headerId="ARKENS-SV1120-HGAAA-EB5_SCU" headerVersion="1.2a" headerRevision="412995"/> | ||
</Private> | ||
<AccessPoint name="AP_NAME"> | ||
<Server> | ||
<Authentication/> | ||
<LDevice inst="LD_INST11" ldName="IED_NAME1LD_INST11"> | ||
<LN0 lnClass="LLN0" inst="" lnType="LNEX1"> | ||
<DOI name="Mod"> | ||
<DAI name="stVal"> | ||
<Val>on</Val> | ||
</DAI> | ||
</DOI> | ||
<Inputs> | ||
<Private type="COMPAS-Flow"> | ||
<compas:Flow FlowSourceBayNode="101" FlowSourceBayNodeOrder="2" dataStreamKey="STAT_LDSUIED_LPDO 1 Sortie_13_BOOLEAN_18_stVal_1" ExtRefiedName="IED_NAME_A_CHANGER" ExtRefldinst="LD_INST21" ExtRefprefix="" ExtReflnClass="ANCR" ExtReflnInst="1" FlowID="1" FlowStatus="ACTIVE" FlowKind="BAY_INTERNAL"/> | ||
</Private> | ||
<ExtRef iedName="IED_NAME_A_CHANGER" ldInst="LD_INST21" lnClass="ANCR" lnInst="1" doName="DoName1" daName="daName1" intAddr="INT_ADDR11" pDO="Do11.sdo11" pDA="da11.bda111.bda112.bda113" desc="STAT_LDSUIED_LPDO 1 Sortie_13_BOOLEAN_18_stVal_1"/> | ||
</Inputs> | ||
</LN0> | ||
</LDevice> | ||
</Server> | ||
</AccessPoint> | ||
</IED> | ||
<IED name="IED_NAME2"> | ||
<Private type="COMPAS-ICDHeader"> | ||
<compas:ICDHeader ICDSystemVersionUUID="System_Version_IED_NAME2" IEDType="BCU" IEDSubstationinstance="22" IEDSystemVersioninstance="1" IEDName="IED_NAME2" VendorName="SCLE SFE" IEDmodel="ARKENS-SV1120-HGAAA-EB5" IEDredundancy="A" BayLabel="3THEIX2" hwRev="0.0.2." swRev="1.0a" | ||
headerId="ARKENS-SV1120-HGAAA-EB5_SCU" headerVersion="1.2a" headerRevision="412995"/> | ||
</Private> | ||
<AccessPoint name="AP_NAME"> | ||
<Server> | ||
<Authentication/> | ||
<LDevice inst="LD_INST21"> | ||
<LN0 lnClass="LLN0" inst="" lnType="LNEX1"> | ||
<DOI name="Mod"> | ||
<DAI name="stVal"> | ||
<Val>on</Val> | ||
</DAI> | ||
</DOI> | ||
</LN0> | ||
<LN lnClass="ANCR" inst="1" lnType="lnType"/> | ||
</LDevice> | ||
</Server> | ||
</AccessPoint> | ||
</IED> | ||
<DataTypeTemplates> | ||
<LNodeType lnClass="LLN0" id="LNEX1"> | ||
<DO name="Mod" type="DO1"/> | ||
</LNodeType> | ||
<LNodeType lnClass="ANCR" id="lnType"> | ||
<DO name="DoName1" type="DO2"/> | ||
</LNodeType> | ||
<DOType cdc="ENC" id="DO1"> | ||
<DA fc="ST" name="stVal" bType="Enum" type="BehaviourModeKind"/> | ||
</DOType> | ||
<DOType cdc="ENC" id="DO2"> | ||
<DA fc="BL" name="daName1" bType="BOOLEAN"/> | ||
</DOType> | ||
<EnumType id="BehaviourModeKind"> | ||
<EnumVal ord="1">on</EnumVal> | ||
<EnumVal ord="2">off</EnumVal> | ||
<EnumVal ord="3">test</EnumVal> | ||
</EnumType> | ||
</DataTypeTemplates> | ||
</SCL> |