Your search returned 461 items.
An example is provided attached depicting a linear and a non-linear dynamic load model.…
This DPL script will get all asynchronous machine types (TypAsmo) which are considered by PowerFactory to be relevant for the calculation. The names of types, where the calculation fails, are reported…
The attached script should be copied to the Scripts library of your project. Usage: - Select one or more lines in a diagram or in the Network Model Manager. - Right click, select "Execute Script" and…
It is possible to find the connected busbar as well as other related attributes of the cubicle by using ":" operator in combination with the attributes name. For example" e:cBusBar = (Connected…
The attached project includes the DPL script "CalcMat" in the study case. The script demonstrates how to read and manipulate matrix data. After resizing the matrix "out" the value of every row and…
Tags
You can redirect the output window to a file. The attached project contains a script within the scripts folder of it's library called 'WriteResults'. This script redirects the output window, writes…
Tags
Best way to do this is to first access your User by GetCurrentUser(). Once you have gain access to user you may use GetContents() or GetChildren() to access all projects that the current user…
Method GetProjectFolder() helps you with the navigation through folders inside of the project. It returns the project folder of a given type of active project. You can use this method to access Study…
To use external objects in Python you will first need to access your script. For example with: script=app.GetCurrentScript() Now you have gain access to you ComPython object and you can call any…
To read an input parameter of a ComPython object in Python you will first need to access your script. For example: script=app.GetCurrentScript() Now you have gain access to you ComPython object and…