Python API for power system studies
A Python API for power-system studies is a programmatic interface through which Python code can create or load a network model, configure a calculation, execute it and retrieve structured results. It enables repeatable workflows without requiring every study step to be performed manually in a graphical interface.
Interpretation and study use
A reproducible script identifies the software version, input model, units, solver options and scenario changes, and checks the termination status before using outputs. The same file can otherwise produce different conclusions when defaults or model assumptions change between software releases.
VeraGrid provides a Python engine with study drivers and result objects. The available operations depend on the installed version and chosen calculation. Having an API does not establish a deployed web service, an unlimited commercial solver license or automatic validation of every model. Automated studies should retain diagnostics and explicit failure handling so that a batch of failed calculations is not mistaken for a completed engineering assessment.
Related concepts
Batch simulation, Network model validation.