Skip to content

ToOp-Interfaces#

The interfaces package provides a set of abstractions and adapters to enable interoperability between different grid modeling tools and data formats. It is designed to facilitate the integration of various power system analysis libraries, such as pandapower and pypowsybl, within a unified workflow.

Interfaces#

Asset Topology - Defines the physical structure and configuration of electrical assets in the grid system. A full description is found here: Asset Topology

The BackendInterface is an abstract interface to read grid data for a bus-branch model. It provides raw numeric inputs for the solver — no validation or processing. Specifically not task of this interface is to perform any validations or processing of the data. Implementations can be found in the repository: powsybl_backend.py and pandapower_backend.py

Folder Structure - Manages the file system organization for preprocessing and post-processing optimization data.

Loadflow Results - Contains power flow calculation results and electrical network analysis data.

Loadflow Results Polars - Polars-based implementation for efficient handling of large-scale loadflow result datasets.

N-minus-1 Definition - Defines contingency scenarios for reliability analysis where one component is out of service.

Stored Action Set - Contains pre-computed optimization actions and topology configurations for the optimizer.

Types - Provides type definitions and metric types used throughout the optimization engine.

Message Interfaces#

Loadflow Commands - Message interface for requesting and controlling loadflow calculations.

Loadflow Heartbeat - Heartbeat messages for monitoring loadflow service health and status.

Preprocess Commands - Message interface for preprocessing operations and commands.

Preprocess Heartbeat - Heartbeat messages for monitoring preprocessing service health and status.