Category
Tags
Your search returned 187 items.
The attached project contains a small DPL example, where a controller will be created for asynchronous machines (ElmAsm). The DPL script is located inside the Scripts library. 1. Optionally it will…
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…
If an error message appears when importing the powerfactory module stating “ DLL load failed: the specified module could not be found”, this means that Microsoft Visual C++ Redistributable for Visual…
You can access to Microsoft Word by Python scripts if the “Python for Windows Extensions" PyWin32 (http://sourceforge.net/projects/pywin32/) package is installed, which includes Win32 API, COM support…
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 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 example contains an additional result box which shows the sum of losses of all the lines in the system. To prepare such a result box, a DPL script named "DPL_Example" is included in the…
The simulation results are not always on a fixed time base due to interruptions happening during the simulation. The attached project contains a script which uses first the Comtrade export to get a…
The attached DPL script is based on a project including both, the old and the new boundary as PowerFactory grids available. To do this it has three input values: - oldBoundary: defines the old…