Scripting
How to trigger a script in EMTP
I.
From the Script tab
Create a new JavaScript document (ctrl +
N)
Click on run
This method is good for small scripts.
The
What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?
DWDevice, DWCircuit, DWSignal, etc refer to JavaScript
classes of the EMTP graphical user interface (GUI) which are used for scripting
purpose.
DW is the abbreviation of DesignWorks which
is the name of the technology the GUI is built with.
·&nbs
How to get devices in circuit using EMTP JavaScript
Required knowledge: * How to trigger a script in EMTP
* What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?
This script gets a DWDevice from an EMTP
DWCircuit.
This script gets DEV1 in the ma
How to change a device name using EMTP JavaScript
Required knowledge: * How to trigger a script in EMTP
* What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?
* How to get devices in circuit with EMTP
JavaScript
This script gets a DWDevice from an EMTP
DWCircuit and chang
How to connect signals and pins using EMTP JavaScript
Required knowledge: * How to trigger a script in EMTP
* What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?
This script connects a device pin to
different buses using virtual connection (signal naming) method or wire
connect
How to replace a device by another from a library using EMTP JavaScript
Required knowledge: * How to trigger a script in EMTP
* What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?
This script replaces a device by another
device type defined in a EMTP library (.clf).
Applications:
· &