openscd / open-scd

A substation configuration description editor for projects using SCL IEC 61850-6 Edition 2 or greater
https://openscd.github.io
Apache License 2.0
104 stars 38 forks source link

104 support: change 104 values #686

Closed Sander3003 closed 2 years ago

Sander3003 commented 2 years ago

Is your feature request related to a problem? Please describe. As a user of OpenSCD I want to change 104 values in the 104 plug-in So I can build a 104 configuration

Describe the solution you'd like 104mockups-104 phase 2 change 104 values drawio

If the user wants to add a 104 adress, the user should click on the plug Icon. A window should pop-up with the 104 settings

104mockups-change104 drawio

And depending on the CDC type it should show: usedBy (only used in the network section) expectedValue inverted scaleMultiplier scaleOffset unitMultiplier check

See 61850-80-1 A3.3 for more information on the types (see 61850-80-1 A.2.11 for an XML example). And the Control model (only for controllable classes, see below)

ctlModels are not needed for SPG, ING, ASG, ENG, CSG

Technical: The lists can be used for implementation. The control mode values can be found in the data template section. It is mantadory to have a datatemplate section with the 104 control model (see 61850-80-1 A.2.11 for an XML example) to edit these values. The control model can be added with the datatemplate editor.

Q&A: Q: What CDC types can be controllable? A: Common data classes that end with can C e.g. SPC.

All CDC's below contain the default 104 settings casdu/ioa/t1. Depending on type, some additions can be made (see 61850-80-1 for the XSD). The XSD can be found in the IEC document: A3.3 (including the Enum values).

SPS

DPS

INS

The addtional fields of INS depend on the TI used. Based on the ti, the window should dynamicly adjust to the possible fields. TI<35> unitMultiplier

TI<33> unitmulitplier

TI<30> expectedValue inverted

Example In this case if ti <30> is selected, more 104 adresses and settings show up. 104mockups-change104complex drawio (2)

ACT In case of mutiple TI<30> 5 104 adresses are needed. 1 per DAI (general/phsA/phsB/phsC/neut)

ACD All DAI/address values are shown as seperate lines in the overview.

In case of ti is <30>

1 104 adres: general phsA phsB phsC neut

3 104 adresses: dirgeneral dirphsA dirphsB dirphsC dirneut

SEC Control model selector

BCR

MV TI<36> or TI <35> unitMultiplier scaleMultiplier scaleOffset

CMV

WYE

DEL

SEQ

HMV

DEL

SPC Control model selector

Where DAI name = "Check" check (interlocking/synchrocheck)

Example: image

DPC Control model selector

INC Control model selector

BSC Control model selector

APC Control model selector (not a private, DAI name is ctlModel)

SPG

ING

ASG

ENS

HST

ENC Control model selector

If TI = 30 add this to the dialogue expectedValue

ENG

BAC Control model selector

CSG

SelectActiveSG expectedValue

The mapping of the CDC into ASDU types (including the TI options) can be found in Table 1 of the IEC61850-80-1. The TI possibilities can be found in table 8 IEC60870-5-101.

Sander3003 commented 2 years ago

Most important common data classes: BSC ACT CMV DPC INS MV SPC SPS

If it turns out that some specific CDC's are complex, an seperate issue can be created.