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-587] - COMPAS - Automated binding - Evolution to adapt all queries inner joins which use the DO.name in order to not take the DO instance number into account #190

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 automated binding:

This affects during automated binding, the inner join queries which use the DO name.

During automated binding for the second part of the binding, is affected:

  • the inner join ExtRef@doName = FCDA.doName with the settings file into US RSR-473. As this US is not yet developed, the US RSR-473 has been directly updated

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

"

With the help of a parameter file given in attachement and only for ExtRef@serviceType='GOOSE' OR 'SMV', check if each quadruplet (ExtRef@lnClass, ExtRef@doName, DOType/DA@name[.DAType/BDA@name]n, DOType/DA@fc) previously found exists in the settings file where ExtRef@lnClass = FCDA.lnClass AND ExtRef@doName = FCDA.doName by not taking DO instance number into account, see US RSR-587 AND DOType/DA@name[.DAType/BDA@name]n = FCDA.daName AND DOType/DA@fc = FCDA.fc.

"

 

Output:

All queries inner join with a pDO have been adapted so that each inner join is done without taking instance number into account. 

 

Acceptance criteria:

  • During automated binding, check that all queries inner join with a pDO have 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