THE reference for power system transients

Scripting

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 main circuit, then gets all resistances inside the subcircuit of DEV1 //**Get the current (active) DWCircuit object. See Help & Support/4 – JavaScript based Scripting in EMTP/DWCircuit for methods and attributes

See more
If you can't find an answer, the support team is ready to help!
Follow us