How can I use DPL to execute a dynamic simulation and analyse results?

Category:
Scripting
Answer

The attached project contains a DPL script located in the Scripts library. The script performs the following tasks:

- Execute the "Calculation of Initial Conditions" and "Run Simulation" commands.

- Uses a sub-script called "FindMax" where the result file (ElmRes) are analysed to find the maximum voltage of all the busbars.

- The results of the sub-script are passed back to the main script.

- The main script produces a list with the maximum voltage for all busbars and the overall maximum.

Back