4.8. Site configuration
A site configuration defines the individual objects (or components) that exists in a specific site. It also defines the relationship between those objects.
The site configuration can either be defined as a separate YAML file or be combined with the YAML file of the SXL when needed. The Excel file always combines the SXL and the site configuration.
4.8.1. Meta data
In order to uniquely identify an SXL and site configuration for a supervision system the site id and the version needs to be known. See RSMP/SXL Version. The SXL defines the site id, but meta data is needed to provide the SXL version.
The site configuration may define a set of meta data of a specific site. It is defined in the first sheet named “Version” in in the Excel version and at the very top of the YAML version.
In each SXL there must defined which version of RSMP which it is conforms to.
It contains:
Excel |
YAML |
---|---|
Plant id |
|
Plant name |
|
Constructor |
|
Reviewed |
(not used) |
Approved |
(not used) |
Created date |
|
SXL revision 1 |
|
RSMP version |
|
Footnotes
- 1
Revision number and Revision date
4.8.2. Objects
A site consists of objects, identified by unique component ids (cId
).
Using the Excel format; objects are defined in it’s own sheet - one for each site. Using the YAML format, each object is defined like this:
sites:
site-id:
description: site description
objects:
object-type:
object-1:
componentId: AA+BBCCC=DDDEEFFF
ntsObjectId: AA+BBCCC=DDDEEFFF
externalNtsId: 00000
Where:
site-id
is the site id. This is needed during initial handshakesite description
. Site descriptionobject-type
defines which object type the object belongs toobject-1
is the name of the object. For instance “signal group 1”componentId
is the Component idntsObjectId
is the Component id for the NTS objectexternalNtsId
is the External NTS id
An object can either be categorized as a single object or grouped object, also known as the main component(s).
The main component(s) is defined by componentId and ntsObjectId are being set equal. This means that the object is visible from NTS.
Single objects have a unique componentId but uses the ntsObjectId of their main component.
externalNtsId and ntsObjectId are optional and only used if the object is intended to be sent to NTS.