Your search returned 63 items.
Normally, when you access a variable in PowerFactory, the result of the DPL query is the value as entered in the element dialogue, e.g. oLoad:plini (the active power of a load). To access the actual…
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
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
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",…
A running PowerFactory instance can be terminated via DPL by using the ComExit command. Example: object cmd;cmd = GetFromStudyCase('ComExit'); cmd.Execute();…
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…
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
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…
There are two ways of exporting shown plots using DPL: By using the command object ComWr (attached example "ExportGraphic.pfd") By using the WriteWMF method (attached example "ExportWMF.pfd") Both of…
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…