This plugin removes one or more IEDs from an SCL file.
It is a menu plugin for OpenSCD.
It uses the oscd-edit-v2 event and the doc and docVersion plugin properties.
The plugin removes the data which refers to the selected IEDs:
-
The
IEDandAccessPointelements. -
ConnectedAP,GSEandSMVaddresses. -
Association,ClientLNandKDCelements. -
IEDNametext content. -
Subscriptions and supervisions in other IEDs.
Associated LNode elements are preserved with iedName="None" by default.
The dialog can delete them instead.
The dialog can also delete a SubNetwork or a Communication section which the removal empties.
Both section deletions are off by default and show a schema warning.
All changes from one removal are one undoable action.
See the documentation or try it online.
Add this entry to the menu plugins of an OpenSCD distribution:
{
"name": "Remove IEDs",
"icon": "delete",
"requireDoc": true,
"src": "https://openpowershift.github.io/oscd-menu-remove-ieds/oscd-menu-remove-ieds.js"
}The host must supply doc and a reactive docVersion.
A host which supplies only the legacy editCount does not work.
To use a release, install the npm package and set src to its bundle.
The plugin uses Node.js 22 and @omicronenergy/oscd-tooling.
$ npm install $ npm run start
Open http://localhost:8000/demo/ in a browser.
| Command | Purpose |
|---|---|
|
Run the linter. |
|
Run the unit and component tests with coverage. |
|
Build |
|
Build the plugin bundle and the demo. |
|
Run the screenshot tests. |
The screenshot baselines are owned by CI. Do not create or update them on a development machine.
See the documentation for the architecture, the test strategy, the screenshot workflow and the release setup.
Open an issue to report a problem or to ask for a change. Use the OpenSCD Zulip chat for questions.
This plugin uses the Apache License. You can use, study, share and improve it.
© 2026 OpenPowerShift