How can I disable error messages in a DPL script?

Category:
Scripting
Answer

The attached project contains a DPL script showing how to disable error messages in DPL. The DPL command is called "LdfNoConv" and is located inside the Scripts library.

The script increases the scale factor of the loads starting from 0.1 in steps of 0.05 and execute a load flow calculation until the load flow does not converge any more.

The script uses the object of the class ComEcho to disable and enable to feedback. This command object will suppress also error messages.

The EchoOff() and EchoOn() DPL command could be used if only the graphical refresh should be disabled during the execution of the script (note: the calculation is faster without graphical updates).

Tags
Back