Description
As a COMPAS service user, this US purpose is to create a COMPAS service that generate a new SCD file and complete it with Substation section from SSD file and later IED section from STD files and Private elements.
As service user, I would like to have a service in order to create a new SCD file (cf US RSR-31 and RSR-384) and complete it with:
Substation section from SSD file (cf US RSR-358)
IED sections with its DataTypeTemplate by copying STD files content and renaming IED name (cf US RSR-367)
Communication nodes from STD files (cf US RSR-367)
Private elements (cf US RSR-367)
updated /Substation/VoltageLevel/Bay/Function/LNode.iedName (cf US RSR-368)
renamed IED name signal source i.e ExtRef.iedName (cf US RSR-369)
Prerequisites:
The following COMPAS services have already been developed:
RSR-31 and RSR-384 to create a new SCD file with a specific Header.Id
RSR-165 to import a Substation section from a SSD file into an SCD file for a given EXPORT SITE
RSR-351 and RSR-352 to import a SSD file and a set of STD files from an ExportSite
RSR-356 to generate automatically the SCD filename and its Header.Id
The inputs of this service are:
A SSD file (required) defined by Header.id, Header.version and Header.revision
For the new SCD to create
Header @id @Version @revision (string) (required)
And Hitem.Who, Hitem.What, Hitem.Why (string) (optional)
US process description:
Step 1)
Create a new SCD file by calling COMPAS service RSR-31 by using the SCD Header @id @Version @revision and Hitem attributes provided as input
Step 2)
Open the SSD file provided as input
Import the (unique) Substation section from SSD file into current SCD file by calling COMPAS service RSR-165.
Output:
The SCD file has been created with the filename, Header attributes and Hitem attributes provided as input and it has been completed with the Substation section of the SSD file
Error messages:
All error messages from COMPAS services are returned
If a SSD file is not provided as input then an error message is returned: "A SSD file is mandatory as input of this service"