$npx skillfedfor your agent

power-grid-model

Python/C++ library for distribution power system analysis

With conditionsPyPI PhysicsReleased Aug 2026152.0K downloads / moMPL-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — power_grid_model-1.13.142-py3-none-macosx_13_0_arm64.whl · power_grid_model-1.13.142-py3-none-macosx_13_0_x86_64.whl · power_grid_model-1.13.142-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
v1.13.142 · released 2026-08-14 · Python >=3.12 · 1 runtime deps: numpy

Yes, if you work on power system analysis. The library is production-stable, actively maintained, has no known vulnerabilities, and solves a specialized but well-defined problem. Medium install friction is manageable given pre-compiled wheels for common platforms. The copyleft license (MPL-2.0) is a consideration only if you plan to distribute modified versions of the library itself; using it as-is in proprietary applications is permitted.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or later; compiled wheels are available for common platforms but source builds require a C++ compiler.
  • Medium install friction due to compiled C++ bindings; wheels are available for macOS (arm64, x86_64), Linux (aarch64, x86_64), and Windows, reducing build complexity.
  • Requires Python 3.12 or later.

License · maintenance · safety

MPL-2.0 (copyleft) — Licensed under MPL-2.0 (copyleft). Derivative works and modifications must be distributed under the same license; proprietary applications can link to the library but must disclose modifications to the library itself.

last release 2026-08-14 (0 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 152,047 downloads/mo, #10,912 on PyPI

Verify before relying

pip install power-grid-model

import power_grid_model
# Create and analyze a power grid network using the library's API
  • Specific API surface and ease of use for common power flow scenarios
  • Performance characteristics for large-scale grid models
  • Integration patterns with external grid data formats or tools
Same gist for agents: .md · .json

What it is and what it does

Power Grid Model is a production-grade library for analyzing electrical distribution networks. The core is implemented in C++ for performance, with a Python interface for ease of use. It handles three main types of steady-state power system calculations: power flow (determining voltages and currents), state estimation (inferring grid state from measurements), and short circuit analysis (computing fault currents). The library depends only on numpy and is distributed as pre-compiled wheels for most platforms, making installation straightforward despite its compiled nature.

Developers use it to model and analyze distribution grids—the lower-voltage networks that deliver power to neighborhoods and industrial sites. It's aimed at researchers, engineers, and developers working on grid planning, operation, or optimization. The project is actively maintained under the LF Energy umbrella and includes documentation and examples for common workflows.

Use it for

  • Run power flow studies to determine steady-state voltages and currents in a distribution network
  • Perform state estimation to infer grid conditions from real-world measurement data
  • Analyze short circuit faults to size protective equipment and validate grid resilience
  • Validate input data and export results for integration with other grid analysis tools
  • Build grid optimization or planning workflows that require repeated steady-state calculations

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work on power system analysis.

The library is production-stable, actively maintained, has no known vulnerabilities, and solves a specialized but well-defined problem. Medium install friction is manageable given pre-compiled wheels for common platforms. The copyleft license (MPL-2.0) is a consideration only if you plan to distribute modified versions of the library itself; using it as-is in proprietary applications is permitted.

Install

power-grid-model on PyPI

Before you install

Medium install friction due to compiled C++ bindings; wheels are available for macOS (arm64, x86_64), Linux (aarch64, x86_64), and Windows, reducing build complexity. Requires Python 3.12 or later. Active maintenance with a recent release.

Requires Python 3.12 or later; compiled wheels are available for common platforms but source builds require a C++ compiler.

License in practice

Licensed under MPL-2.0 (copyleft). Derivative works and modifications must be distributed under the same license; proprietary applications can link to the library but must disclose modifications to the library itself.

Quickstart

pip install power-grid-model

import power_grid_model
# Create and analyze a power grid network using the library's API

Verify before relying

  • Specific API surface and ease of use for common power flow scenarios
  • Performance characteristics for large-scale grid models
  • Integration patterns with external grid data formats or tools

Package facts

LicenseMPL-2.0 copyleft
Python supportSupports the current Python release >=3.12
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 0 days since the last release
First released
Downloads152,047 / month, #10,912 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: C++Programming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPythonTopic :: Scientific/Engineering :: Physics

Evidence: power_grid_model-1.13.142-py3-none-macosx_13_0_arm64.whl; power_grid_model-1.13.142-py3-none-macosx_13_0_x86_64.whl; power_grid_model-1.13.142-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; power_grid_model-1.13.142-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl; power_grid_model-1.13.142-py3-none-musllinux_1_2_aarch64.whl; power_grid_model-1.13.142-py3-none-musllinux_1_2_x86_64.whl; power_grid_model-1.13.142-py3-none-win_amd64.whl

Tags

Capabilities
power flow calculationelectrical grid analysisstate estimation power systemsshort circuit analysisdistribution network solverpower system simulationgrid modeling library
Topics
power-systemsgrid-analysisscientific-computing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “power flow calculation”

  • power-grid-modelPower Grid Model is a Python/C++ library for steady-state…
  • pandapowerpandapower automates power system modeling, analysis, and…
  • pypsaPyPSA is a Python framework for optimizing and simulating power and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Physics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
pydicom Worth it
PyPI · Libraries · released Mar 2026

Pydicom reads, modifies, and writes DICOM medical imaging files in pure Python, with optional NumPy support for pixel data as arrays.

Install it if you work with medical imaging data, DICOM files, or healthcare IT systems.

MITpure Python · 3.10+
5.5Mdownloads / mo
albumentations Worth it
PyPI · Libraries · released May 2025

Albumentations applies image transformations to training data, supporting classification, segmentation, object detection, and pose estimation with a unified API for images, masks, bounding boxes, and keypoints.

Install it if you need a unified, production-grade augmentation API for computer vision tasks.

MITpure Python · 3.9+aging
5.5Mdownloads / mo
CoolProp Worth it
PyPI · Scientific/Engineering · released Jun 2026

CoolProp provides thermodynamic and transport property calculations for fluids and fluid mixtures, offering open-source functionality similar to REFPROP.

MITcompiled wheel · 3.9+
5.5Mdownloads / mo
pyquaternion Worth it
PyPI · Python Modules · released Oct 2020

Provides quaternion representation, manipulation, and rotation operations for 3D geometry and animation, with support for smooth interpolation between orientations.

MITpure Python
3.9Mdownloads / mo

See also pandapower · gridstatus · pypsa · opower · pvlib · ansys-dpf-core · gplugins · powershap · PySpice · lscsoft-glue