Category
Tags
Your search returned 95 items.
ComPython has a different approach to subscripting as compared to ComDPL. Two methods are shown below: Define a subfunction inside your *.py file. This subfunction can later on be used at any place of…
This is something typical for Python. What you should do is import imp module and reload the changed one. Imp module is built in module and is part of all python version supported by PowerFactroy. For…
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…
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 following models are available in PowerFactory (see attachment): Lumped PI model Distributed Constant Parameter, also known as Bergeron model Distributed Frequency Dependent Parameter Modal Domain…
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…
Several EMT studies (transformer energisation, load rejection, ferro-resonance etc.) require a detailed model of the non-linear behaviour of the transformer iron core which is defined by its…
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…