Python/C++ library for distribution power system analysis

233 stars 67 forks 233 watchers C++ Mozilla Public License 2.0
cpp eigen3 numpy powerflow powersystem python shortcircuit stateestimation
20 Open Issues Need Help Last updated: Jul 6, 2026

Open Issues Need Help

View All on GitHub

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
improvement good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
improvement good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
improvement good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
documentation feature good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
feature good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
feature improvement good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
help wanted question

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation

AI Summary: The project needs to replace several `TypeAlias` definitions for `np.ndarray` with custom classes inheriting from `np.ndarray`. This change is necessary because MyPy currently treats distinct aliases as the same type, preventing effective use of function `@overloading` and clear type distinctions. The task involves creating 7 new classes, each with specific validation in `__init__` and a `from` static method to aid migration.

Complexity: 4/5
improvement good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation

AI Summary: The Power Grid Model (PGM) currently suffers from suboptimal performance because its caching mechanism for expensive calculations (like topology and Y_bus construction) invalidates the cache after every scenario if it couldn't be reused, even if subsequent scenarios could benefit. This issue proposes a more intelligent caching strategy that combines "reverse update data" and "new update data" to prevent premature cache invalidation. The goal is to maximize the reuse of pre-calculated data across scenarios, thereby improving overall performance.

Complexity: 4/5
improvement good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation

AI Summary: The issue proposes adding a utility function to `power_grid_model.utils` to reorder scenarios within a `BatchDataset`. This reordering aims to improve calculation performance by grouping scenarios with identical topologies and, within those groups, scenarios with identical electrical parameters. The function will return a new, reordered `BatchDataset` copy and the original indices mapping.

Complexity: 3/5
feature good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
improvement good first issue github_actions

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
improvement good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation
improvement good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation

AI Summary: Implement a validation test case runner within the power-grid-model package, allowing users to easily run their own validation cases and potentially submit them to the project. This also involves creating a separate `dataset_equal` function for robust comparison of datasets, handling angular values and tolerances.

Complexity: 4/5
feature good first issue

Python/C++ library for distribution power system analysis

C++
#cpp#eigen3#numpy#powerflow#powersystem#python#shortcircuit#stateestimation