danyill / oscd-supervision

IEC 61850 Ed 2 supervisions for GOOSE and SV in OpenSCD
Apache License 2.0
1 stars 1 forks source link

Connection between supervision and control block out of order #4

Closed jarradraumati closed 9 months ago

jarradraumati commented 10 months ago

(@danyill masquerading to describe issue @jarradraumati found)

Generally, supervisions go in the correct order but I found a case where they do not:

image

Here is a video:

https://github.com/danyill/oscd-supervision/assets/3224671/c43e88ab-4734-4501-b4f9-bdbbc29f7f56

Here is the scd file:

XAT (13).zip

The issue seems only be the UI because the intended connections is shown for the Val of the setSrcRef:

<LN desc="HV_MU_Trips" lnType="SIEMENS_6MU85_01SIPROTEC5_LNType_LGOS" prefix="HV_" lnClass="LGOS" inst="2">
    <Private type="Siemens-MasterId">d797cd79-1a63-4498-9af5-878a2baa3066</Private>
    <DOI desc="Mode (controllable)" name="Mod">
        <SDI name="Oper"/>
    </DOI>
    <DOI desc="Behavior" name="Beh"/>
    <DOI desc="Health" name="Health"/>
    <DOI desc="Name plate" name="NamPlt">
        <DAI name="configRev">
            <Val>2023-06-08 09:06:31</Val>
        </DAI>
    </DOI>
    <DOI desc="Needs commissioning" name="NdsCom"/>
    <DOI desc="Status subscription" name="St"/>
    <DOI desc="Status Sim messages" name="SimSt"/>
    <DOI desc="Exp. conf. rev." name="ConfRevNum"/>
    <DOI desc="Rec. conf. rev." name="RxConfRevNum"/>
    <DOI desc="Ref. GOOSE CB" name="GoCBRef">
        <DAI name="setSrcRef" valImport="true">
            <Val>XAT_242_M2Prot_MechanicalTrips/LLN0.Ctl_1</Val>
        </DAI>
    </DOI>
    <DOI desc="Diagnosis error" name="DiagErr"/>
</LN>
danyill commented 9 months ago

Thank you for filing this issue -- it is most helpful.

Just one of the render functions had not consistently used the helper function to generate the supervisions and that appears to be the cause of this. PR on the way.