Your search returned 39 items.
Coding directly in Python Shell is quite similar as writing a Python script in PowerFactory. Only difference is that you have to append the system path so that Python would be able to find…
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 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…
There are two ways of exporting shown plots using python: 1) By using command object ComWr 2) By implementing WriteWMF() method on GraphicBoard Both of them are exporting current shown plot with the…
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…
  Refer to attached example project. It contains a basic example on how such a procedure could be implemented. The project is built based on the Resonance Studies Application Example. It contains…
To automate the execution of a specific DPL or Python script, a command button (VisButton) may be created in the single-line diagram. To add a Command Button to a single-line diagram in your project,…
Attached to this FAQ a project with a simple script can be found. Script reads external csv file and creates in total 121 relay device automatically according to the content of the csv. csv file is…
In PowerFactory 2021 a new plot framework was introduced. The old classes for pages (SetVipage) and plots (VisPlot, Vis..) were retired and new, more advanced, classes are now avaiable and the new…