Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RSR-590] - COMPAS - Evolution to extract all External References signals ExtRef belonging to an IED and LDevice.inst of an SCD file #191

Open
DamienPERNET opened this issue Nov 9, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@DamienPERNET
Copy link
Contributor

Context:

DO@name and associated DOI@name are formed with lettres and sometimes with figures into their left side as established historically but some are suffixed by an instance number which is a positive natural number in the right side.

Figures contained into the historical name of the DO are never appended to figures of the instance number which are always separated by at least one letter of historical name of the DO.

Then, it is possible to deduce the historical name of the DO and its instance number by reading the DO name from right to left because the first letter encountered indicates the end of the instance number. Once the instance number known we can deduce the historical name of the DO.

Example: Rec3Tmms12 where Rec3Tmms is the historical name of the DO@name and 12 is the instance number.

There is never instance number for a SDO@name, but only for a DO@name.

Nota: 

  • IEC 61850 doesn't consider the possibility of the existence of a DO@inst
  • IEC 61850 imposes that DO name is formed by alphanumeric characters only then it is impossible to add a separator character between the historical name and the instance number of the DO name

 

 Consequences:

All inner join of queries using ExtRef.pDO are affected directly. We have to delete le instance number of DO name before doing the inner join in order to get rid of this instance number.

 

+ For ExtRef extraction:

This affects the inner join queries which use the DO name.

Thus, is affected:

The inner join ExtRef@pDO = input parameter DO@name from US RSR-81 which has to be adjusted to extract all ExtRef.

Here the part of the US RSR-81 which is affected:

"

The following steps have to be considered to list all signals from current SCD:

  • For each SCL/IED/AccessPoint/Server/LDevice/LN0/Inputs/ExtRef XML tag belonging to IED.name AND LDevice.inst AND optionally the ExtRef.desc and/or optionaly ExtRef.intAddr and/or ExtRef.pDO and/or ExtRef.desc  provided as input, give as output,
    • Case1A) If ExtRef.desc and ExtRef.intAddr and ExtRef.pDO are not provided as input, all the ExtRefs belonging to the IED.name AND LDevice.inst defined as Input;
    • If only ExtRef.desc is provided as input, only the ExtRefs where ExtRef.desc=ExtRef.desc provided as input (case sensitive);
    • If multiple optional attributes are provided as Input, the constraints are cumulative.

 "

 

Output:

Query inner join with a pDO has been adapted so that inner join is done without taking instance number into account. 

 

Acceptance criteria:

  • During ExtRef signal extraction, check that query inner join with a pDO has been adapted so that each inner join is done without taking instance number into account. 

 

@DamienPERNET DamienPERNET added the enhancement New feature or request label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant