Your search returned 187 items.
The recommended IDE for debugging is Eclipse (www.eclipse.org) with the Python add-on PyDev (www.pydev.org). Both Eclipse and PyDev are open source and can be downloaded from their official websites.…
Tags
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…
Tags
The attached document contains a step by step guide for the usage of the script "Wind Speed Sweep" in other projects.…
Tags
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…
Tags
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…
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 add a constant value to a plot you will have to define a new object of the class VisXvalue inside of the plot object and to fill all needed parameters. For example via: Xline =…
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…
The environment chapter in the scripting references is dedicated to performance increase of scripts. For example, when executing Python scripts from within PowerFactory, there is the possibility to…