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
97 stars 31 forks source link

Placeholder: Current transformer details (TCTR) #736

Open Sander3003 opened 2 years ago

Sander3003 commented 2 years ago

Is your feature request related to a problem? Please describe. As an engineer I want to set the current transformer settings (TCTR) So I can use them to check the configuration (e.g. looking at the winding ratio)

Background: The conducting equipment very limited in SCL (tconductingequipment). The information is stored in LN in the IED.

Describe the solution you'd like An extented window to enter current transformer settings. These are the LN's and their attributes as shown in the IED editor for example.

Requirements

Example values that can be part of the LN: Data object Common data class Explanation
ARtg ASG Rated current
HzRtg ASG Rated frequency
Rat ASG Winding ratio of an external current transformer
Cor ASG Current phasor magnitude correction of an external current transformer
AngCor ASG Current plhasor angle correction of an extralnal current transformer
CorCrv CSG Curve phasor magnitude and angle correction

Suggestions for a specific user interaction When the user enables the filter function. image

The related TCTR LN's are shown. image

When the use clicks on the icon, a window should pop-up with the LN and their parameters.

<>

Additional information The LN current transformer is described in IEC 61850-7-4 5.15.4 Some descriptions can be found in the NSdoc file.

Information on the fields allowed of the can be found in the NSD file (B4 version): https://assets.iec.ch/public/tc57/IEC_61850-7-3.NSD.2007B4.Light.zip?2022051155

LN class name: TCTR uses the InstrumentTransformerLN.

JakobVogelsang commented 2 years ago

The wizard we are showing does belong to the element ConductingEquipment. The information you want to be added does belong to the element LN with a specific lnClass. This means that a LNode reference must be present within any of the children or as a direct child of ConductingEquipment with the type CTR or VTR.

This is theoretically possible, but surely not as a standard wizard that we are proposing with the new open-scd-core.

I therefore propose a different approach: In the near future with this PR: https://github.com/openscd/open-scd/pull/730 you can see all linked logical nodes by unfolding the ConductingEquipment. We then can think of something like an information wizard that shows all information.

If you want to edit this information, I would strongly suggest doing it within the IED editor where this kind of element is stored in.

Sander3003 commented 2 years ago

The NSD files also contain validation rules;

Example of the NSDlight file:

        <DataObject name="HiSet"
                 type="ASG"
                 descID="IEC61850_7_4.LNGroupP::PDIF.HiSet.desc"
                 presCond="AtMostOne"
                 dsPresCond="F"/>

presCond is the validation rule here. Unsure where to find the definition of AtMostOne.

Sander3003 commented 2 years ago

We can build this after https://github.com/openscd/open-scd/pull/730 is merged.

Sander3003 commented 2 years ago

We need to rethink this, another option would be to build user specific view of the most important parameter engineers like to see to check/edit configurations. TCTR ratio is one of these settings.

Sander3003 commented 2 years ago

It will be solved partly here: https://github.com/com-pas/compas-open-scd/issues/167

Sander3003 commented 2 years ago

Community contributions are welcome!