Skip to content

PyRAMSES Overview

PyRAMSES is a Python module that provides an interface to the RAMSES dynamic simulator and the Helios AC power-flow engine. It covers the full workflow: defining test cases, launching simulations, querying system states at runtime, extracting and plotting results, and running power flows. The package embeds pre-compiled RAMSES binaries (Windows and Linux) plus Helios power-flow libraries (Windows, Linux, and macOS) and exposes them through a clean Python API.

For more information, visit the PyRAMSES project page.

After importing the package, the following attributes are available:

AttributeDescription
pyramses.__version__Current version string (e.g., '0.1.0')
pyramses.__url__Documentation URL
pyramses.__runTimeObs__True if Gnuplot was found in PATH at import time; runtime observables will be active
ClassDescription
pyramses.cfgDefines a test case: data files, disturbance file, output files, observables, and runtime options.
pyramses.simRuns simulations. Supports start/pause/continue, runtime queries, and disturbance injection.
pyramses.extractorExtracts and visualises time-series results from trajectory files produced by a simulation.
pyramses.helios.HeliosSessionRuns AC power flows with the Helios engine: load, modify with redispatch, solve, contingency screening, and file exports.

PyRAMSES supports Windows and Linux for dynamic simulation; the bundled Helios power-flow engine additionally runs on macOS. All binaries are bundled directly in the package, no separate simulator installation is required.

Source code: SPS-L/stepss-pyramses