Your search returned 63 items.
It is possible to find the connected busbar as well as other related attributes of the cubicle by using ":" operator in combination with the attributes name. For example" e:cBusBar = (Connected Node)…
Tags
You can redirect the output window to a file. The attached project contains a script within the scripts folder of it's library called 'WriteResults'. This script redirects the output window, writes…
Tags
For Python, a PowerFactory DPL script (ComDPL) is an object as any other Com* objects (e.g. ComLdf- LoadFlow or ComShc-ShortCircuit,…). You just have to define a variable that represents the ComDpl…
The attached example includes the DPL script "Searching" within the scripts library. It includes three different variations for searching objects using the pathname. The first option searches the…
Tags
There are different possibilities to control which study case should be evaluated. The first possibility would be to use a general set (SetSelect) and evaluate this set via the SEL object in \pf. To…
Tags
PowerFactory supports automatic execution of DPL scripts at user logon. All scripts that shall be executed automatically must be stored in the folder {USERNAME}\Settings\Startup. In case this folder…
Tags
In the dialog of branch elements such as lines (class ElmLne) the connected terminals are displayed in red color. The same information is displayed in Data Manager as columns "Terminal i", "Terminal…
A running PowerFactory instance can be terminated via DPL by using the ComExit command. Example: object cmd; cmd = GetFromStudyCase('ComExit'); cmd.Execute();…
Tags
A DPL script can execute a huge number of calculations in a loop. This can be used to analyse sensitivity to element or type parameters on load flow, short circuit or other calculation. This iterative…
Tags
To plot the values of a variable used in a DPL script, you must first save the values of the variable in a result file (ElmRes). For this, define result parameters on the "Result" page of your script…