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

COMPAS - Instanciation of CB monitoring LN #257

Open
DamienPERNET opened this issue Mar 13, 2023 · 2 comments
Open

COMPAS - Instanciation of CB monitoring LN #257

DamienPERNET opened this issue Mar 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@DamienPERNET
Copy link
Contributor

DamienPERNET commented Mar 13, 2023

Context:

The LGOS and LSVS logical nodes are used to monitor subscription states to GOOSE or
SMV signals. They contain mandatory information like status of the subscription (active, not active) among other optional informations.

 

US purpose

This US purpose is to create a service which implements into each Client IED, one instance of LGOS or LSVS logical node for each source GOOSE or SMV CB.

 

Inputs:

  • A SCD file
    • It is the same context than US RSR-641

 

Description:

1) Case of Client IEDs which have ExtRef which are bound with a GOOSE CB:

For each ExtRef of the Client IED which is bound with distinct GOOSE CB, monitor each distinct GOOSE CB by an LGOS logical node placed in the LDevice@inst="LDSUIED" of the Client IED. This monitoring is required only if an existing LGOS logical node already resides LDSUIED logical device.

This first LGOS logical node is completed to be bound with the first GOOSE CB which feeds at least one ExtRef :

  • by creating the DOI@name="GoCBRef" element AND the DAI@name="setSrcRef" element if they are missing
  • AND by creating (if needed) the LN@inst attribute and by setting it with "1" 
  • AND by completing the DAI@name="setSrcRef" value: LDevice@inst="LDSUIED"/LN@lnClass="LGOS"/DOI@name="GoCBRef"/DAI@name="setSrcRef"/Val contains the concatenation of:
    • the LDevice@name where the source GOOSE type CB is placed
    • /
    • the LN Class where the source GOOSE type CB is placed
    • .
    • the CB name of the source GOOSE type CB

All additional LGOS logical nodes of a same Client IED for another GOOSE CB bound with at least one ExtRef, are created by:

  • duplicating an already existing LGOS logical node placed in the same LDevice@inst="LDSUIED" of the Client IED
  • setting appropriate LN@inst value
  • completing the DAI@name="setSrcRef" value

Service described in US RSR-121 may be used to set the DAI@name="setSrcRef" value

 

2) Case of Client IEDs which have ExtRef which are bound with a SMV CB:

Regarding SMV CB which are bound with at least one ExtRef , the same principle is applicable but with a LSVS logical node.

Note: For LSVS logical node, the XPath of the DAI@name="setSrcRef" value to complete is: LDevice@inst="LDSUIED"/LN@lnClass="LSVS"/DOI@name="SvCBRef"/DAI@name="setSrcRef"/Val

Note: In a given Client IED, a given CB can't be monitored twice.

 

Details:

An example of LGOS logical node is already given in each LDSUIED which are able to have LGOS logical node.

All LN@inst of LN@lnClass="LGOS" are a sequence of integer. The sequence begins with 0 OR 1 and it is incremented by 1 at each new LGOS logical node creation.

The same principle is applicable with LSVS logical nodes for each SMV CB which are bound with at least one ExtRef.

 

Output:

A SCD file where each Client IED is completed by one LGOS logical node into LDSUIED logical device for each GOOSE CB bound with at least one ExtRef of the Client IED but only if the LDSUIED logical device of the Client IED already contains one LGOS logical node.

Each LGOS logical node which monitors a GOOSE CB bound with at least one ExtRef is completed by:

  • a valid LN@inst i.e a sequence of integer beginning by 1 and incremented by 1
  • a valid DOI@name="GoCBRef"/DAI@name="setSrcRef" value which is the concatenation of:
    • LDevice@name where the source CB is placed
    • /
    • LN Class where the source CB is placed
    • .
    • CB name of the source CB

 

The same principle is applicable with LSVS logical nodes for each SMV CB which are bound with at least one ExtRef.

 

Error messages:

None

 

@DamienPERNET DamienPERNET added the enhancement New feature or request label Mar 13, 2023
@DamienPERNET
Copy link
Contributor Author

Exemple_LN_LGOS.zip

@Sander3003
Copy link
Member

OpenSCD has also an implementation of it: openscd/open-scd#942 Might be usefull to crosscheck the story.

AliouDIAITE added a commit that referenced this issue Mar 23, 2023
…S for Control Blocks GOOSE and SMV

Signed-off-by: Aliou DIAITE <[email protected]>
AliouDIAITE added a commit that referenced this issue Mar 27, 2023
…S for Control Blocks GOOSE and SMV

Signed-off-by: Aliou DIAITE <[email protected]>
AliouDIAITE added a commit that referenced this issue Mar 27, 2023
…S for Control Blocks GOOSE and SMV

Signed-off-by: Aliou DIAITE <[email protected]>
AliouDIAITE added a commit that referenced this issue Mar 28, 2023
…S for Control Blocks GOOSE and SMV

Signed-off-by: Aliou DIAITE <[email protected]>
AliouDIAITE added a commit that referenced this issue Mar 28, 2023
…S for Control Blocks GOOSE and SMV

Signed-off-by: Aliou DIAITE <[email protected]>
AliouDIAITE added a commit that referenced this issue Mar 29, 2023
…S for Control Blocks GOOSE and SMV

Signed-off-by: Aliou DIAITE <[email protected]>
AliouDIAITE added a commit that referenced this issue Mar 29, 2023
…S for Control Blocks GOOSE and SMV

Signed-off-by: Aliou DIAITE <[email protected]>
AliouDIAITE added a commit that referenced this issue Mar 30, 2023
…S for Control Blocks GOOSE and SMV

Signed-off-by: Aliou DIAITE <[email protected]>
AliouDIAITE added a commit that referenced this issue Mar 30, 2023
…S for Control Blocks GOOSE and SMV

Signed-off-by: Aliou DIAITE <[email protected]>
AliouDIAITE added a commit that referenced this issue Apr 3, 2023
…-lgos-lsvs-for-cb-gse-smv

feat(#257): manage (update and/or create) monitoring LNs LSVS and LGOS for Control Blocks GOOSE and SMV
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

2 participants