com-pas / compas-sct

System Configuration Tool (SCT) components
Apache License 2.0
9 stars 9 forks source link

COMPAS - Instanciation of CB monitoring LN #257

Open DamienPERNET opened 1 year ago

DamienPERNET commented 1 year ago

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:

 

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 :

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

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:

 

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 commented 1 year ago

Exemple_LN_LGOS.zip

Sander3003 commented 1 year ago

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