IED generation menu plugin for CoMPAS Open SCD (next)
- Each
Function
andSubfunction
with more than oneLNode
becomes a Logical Device (name attributes are mapped toinst
attribute ofLDevice
). Function
name attribute becomes the value of theinst
attribute of the elementLDevice
. !! This plugin does not normalize thename
attributes to fit to the restriction of theinst
attributes. This is up to the user to restrictname
attributes in function-type element to alphanumeric characters, including_
. -Function
s with the same name inside substation elements (e.g. sameFunction
s in different Bays) are modelled toìnst
by prefixing the next higher Substation/Process Level (e.g.AA1E1A01Protection
).- For
LNode
within leafSubfunction
(one with only one childLNode
) the prefix is modelled from theSubfunction
name attribute.
Name | Module | Package |
---|---|---|
LitElement |
lit-element |
Name | Privacy | Type | Default | Description | Inherited From |
---|---|---|---|---|---|
doc |
XMLDocument |
The document being edited as provided to plugins by [[`OpenSCD`]]. | |||
editCount |
number |
-1 |
The editCount represents the current position in the edit history. |
Name | Privacy | Description | Parameters | Return | Inherited From |
---|---|---|---|---|---|
run |
Run method to start the plugin. | Promise<void> |
Kind | Name | Declaration | Module | Package |
---|---|---|---|---|
js |
default |
VirtualTemplateIED | src/virtual-template-ied.ts |
© 2023 Alliander N.V.