Your search returned 81 items.
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…
In \pf 15.2 and \pf 15.1 an old approach has been used for some methods like for example GetContents(), GetPage(),... This methods were returning a list as the result ([result,input1,input2) for…
The attached zip file includes a small project having a Python command predefined, which must be linked to the Python script included. The script will do the following tasks:- Prepare the initial…
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 Python support is based on provision of a Python module that can be imported into Python scripts allowing access to PowerFactory data. The scripts - independent of whether started from within…
The following code gets the export command from the stadycase and prepares it in such way that the data can be exported as a csv file.  In this example a resultfile of a RMS-Simulation is used…
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…