Your search returned 52 items.
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 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…
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…
For this task of importing and exporting of projects, you can use CompfdImport and CompfdExport command objects. Python example of importing a PowerFactory pfd project direct under user location:…
The attached Python script is a small example on how a topological search might be performed. The attached example starts from a busbus, which must be marked in the single line diagram and does a…
The DIgSILENT “Scripting with Python in PowerFactory” focusses mainly on the communication between PowerFactory and Python. The training includes a short introduction to the Python language and…
Refer to the attached project which is based on the Transmission example and is focusing on study case "03 Transient Stability". The case reproduces a 100 ms fault event and the post fault recovery…