-
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(404 - rsr-1004): Add constraints to update compas flow bindings
- modification of ExtRefEditorService and add a test - modification of ExtRefEditor interface to return List<SclReportItem> with updateIedNameBasedOnLnode() Signed-off-by: JAFFRE Guillaume <guillaume.jaffre@rte-france.com>
- Loading branch information
1 parent
1167ab8
commit 4734324
Showing
5 changed files
with
186 additions
and
12 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
131 changes: 131 additions & 0 deletions
131
...sources/scd-extref-iedname/scd_set_extref_iedname_based_on_lnode_several_ied_matching.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,131 @@ | ||
<?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"> | ||
<Private type="COMPAS-ICDHeader"> | ||
<compas:ICDHeader xmlns:compas="https://www.lfenergy.org/compas/extension/v1" ICDSystemVersionUUID="IED7949eaedc51747c9947e9152eb09e9cf" IEDType="SCU" IEDSubstationinstance="12" IEDSystemVersioninstance="1" BayLabel="4CBO.1" IEDName="PUYPE4CBO1BCU1" VendorName="Efacec" IEDredundancy="A" IEDmodel="TPU L500-3-1-F-3-B-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-XXXX-6-4-8-X-CXXX-A2B1C2E3F2G1H1" hwRev="1.00" swRev="3.07.004" headerId="BCU_CBO_v2" headerVersion="1.484" headerRevision="1"/> | ||
</Private> | ||
<Private type="COMPAS-LNodeStatus">on</Private> | ||
</LNode> | ||
</Function> | ||
<Function name="FUNCTION_2"> | ||
<Private type="COMPAS-Function"> | ||
<compas:Function UUID="8f4cda3f-828c-4006-9b87-2af96b19304b" Label="FUNCTION_2"/> | ||
</Private> | ||
<LNode iedName="IED_NAME3" ldInst="LD_INST21" lnClass="ANCR" lnInst="1"> | ||
<Private type="COMPAS-ICDHeader"> | ||
<compas:ICDHeader xmlns:compas="https://www.lfenergy.org/compas/extension/v1" ICDSystemVersionUUID="IED7949eaedc51747c9947e9152eb09e9cf" IEDType="SCU" IEDSubstationinstance="12" IEDSystemVersioninstance="1" BayLabel="4CBO.1" IEDName="PUYPE4CBO1BCU1" VendorName="Efacec" IEDredundancy="A" IEDmodel="TPU L500-3-1-F-3-B-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-XXXX-6-4-8-X-CXXX-A2B1C2E3F2G1H1" hwRev="1.00" swRev="3.07.004" headerId="BCU_CBO_v2" headerVersion="1.484" headerRevision="1"/> | ||
</Private> | ||
<Private type="COMPAS-LNodeStatus">on</Private> | ||
</LNode> | ||
</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" FlowSourceIEDType="SCU" FlowSourceIEDredundancy="A" FlowIEDSystemVersioninstance="1"/> | ||
</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="SCU" 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> | ||
<IED name="IED_NAME3"> | ||
<Private type="COMPAS-ICDHeader"> | ||
<compas:ICDHeader ICDSystemVersionUUID="System_Version_IED_NAME2" IEDType="SCU" 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> |
Oops, something went wrong.