Using GridCal as a library

You can use the calculation engine directly or from other applications:

from GridCal.Engine import *

This will provide access to all the objects in the internal engine of GridCal. Refer to the API Reference and the examples for more details.

Power systems scripting

GridCal is a Python library for power systems simulation. As such you can seamlessly use the graphical user interface (GUI) or use GridCal as a library to program your own software. Using GridCal as a library might be useful when automatizing tasks or when you need to build a custom study or new tool.

Other examples

Examples are included in Tutorials folder of the GitHub repository. In addition, the tests under src/tests may serve as valuable examples.

Lastly, the GitHub wiki includes a few more examples.