Your search returned 53 items.
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…
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",…
A running PowerFactory instance can be terminated via DPL by using the ComExit command. Example: object cmd;cmd = GetFromStudyCase('ComExit'); cmd.Execute();…
The attached pfd-files contain a dpl script. The script should be stored inside a subfolder of the current user or inside a project, which is not intended to export. The selection of the path and…
The tabular reports for the contingency analysis are stored by default in the folder Database\System\Settings\Formats\Show. The DPL script called “Create” inside the tabular report is the one used to…
The attached document contains a step by step guide for the usage of the script "Wind Speed Sweep" in other projects.…
Data can be applied from one scenario is another via script using the ApplySelective() method. For example: Scenario.ApplySelective(1, folder) "Scenario" is the IntScenario object that contains…
The attached project contains an example of an Addon. The Addon is located in the study case and consists of subscripts (in this case DPL scripts - ComDPL, but could also be python scripts) and…