Skip to main content

image

CI Tests Python Library Gitter chat

GridDyn is a power system simulator developed at Lawrence Livermore National Laboratory. The name is a concatenation of Grid Dynamics, and as such usually pronounced as "Grid Dine". It was created to meet a research need for exploring coupling between transmission, distribution, and communications system simulations. While good open source tools existed on the distribution side, the open source tools on the transmission side were limited in usability either in the language or platform or simulation capability, and commercial tools while quite capable simply did not allow the access to the internals required to conduct the research. Thus the decision was made to design a platform that met the needs of the research project. Building off of prior efforts in grid simulation, GridDyn was designed to meet the current and future research needs of the various grid related research and computational efforts. It is written in C++ making use of recent improvements in the C++ standards. It is intended to be cross platform with regard to operating system and machine scale. The design goals were for the software to be easy to couple with other simulation, and be easy to modify and extend. It is very much still in development and as such, the interfaces and code is likely to change, in some cases significantly as more experience and testing is done. It is our expectation that the performance, reliability, capabilities, and flexibility will continue to improve as projects making use of the code continue and new ones develop. We expect there are still many issues so any bug reports or fixes are welcome. And hopefully even in its current state and as the software improves the broader power systems research community will find it useful.

Documentation

The current user documentation is hosted on Read the Docs, including installation, quick start, Python API, and build guidance. The C++ API reference is generated separately with Doxygen; see the build guide for instructions.

The repository also includes background presentations:

Installation

For Python, install the package from PyPI with python -m pip install griddyn (Python 3.13 or newer). See the installation guide.

Quick Start

Start with the quick start guide.

Python package

The griddyn Python package provides simulation control, network inspection, and power-flow case and result export. Install it on Python 3.13 or newer:

python -m pip install griddyn
from pathlib import Path
import griddyn as gd

sim = gd.load(Path("network.xml"))
sim.power_flow.run()
warnings = sim.write_file(Path("network.py"))

See the Python interface guide for setup, available methods, case-export limits, and four runnable examples covering power flow, OPF, load changes, and dynamic recorder time series. For example, run python -m griddyn.examples.power_flow after installing the package.

Get Involved!

GridDyn is an open source project. Questions, discussion, and contributions are welcome. Contributions can be anything from new packages to bugfixes, or even new core features. We are actively working on improving it and making it better, as well as development related to specific projects.

Contributions

See CONTRIBUTING.md for the current contribution process and development guidance. Please include tests for new behavior where practical.

Authors

GridDyn was originally written by Philip Top, top1@llnl.gov. A number of other people have contributed, see CONTRIBUTORS for more details

Source Repo

The GridDyn source code is hosted on GitHub: https://github.com/LLNL/GridDyn

Release

GridDyn is distributed under the terms of the BSD-3 clause license. All new contributions must be made under this license. LICENSE

SPDX-License-Identifier: BSD-3-Clause

portions of the code written by LLNL with release number LLNL-CODE-681053

Metadata

Release files for griddyn 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for griddyn 0.13.0
File Size Uploaded Provenance Actions
griddyn-0.13.0.tar.gz 44.7 MB With provenance Details for griddyn-0.13.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for griddyn 0.13.0
File Actions
griddyn-0.13.0-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details for griddyn-0.13.0-cp314-cp314t-win_amd64.whl
griddyn-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details for griddyn-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl
griddyn-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details for griddyn-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl
griddyn-0.13.0-cp314-cp314t-macosx_14_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 14.0+ ARM64 Details for griddyn-0.13.0-cp314-cp314t-macosx_14_0_arm64.whl
griddyn-0.13.0-cp313-abi3-win_amd64.whl CPython 3.13 abi3 Windows x86-64 Details for griddyn-0.13.0-cp313-abi3-win_amd64.whl
griddyn-0.13.0-cp313-abi3-manylinux_2_28_x86_64.whl CPython 3.13 abi3 Linux glibc 2.28+ x86-64 Details for griddyn-0.13.0-cp313-abi3-manylinux_2_28_x86_64.whl
griddyn-0.13.0-cp313-abi3-manylinux_2_28_aarch64.whl CPython 3.13 abi3 Linux glibc 2.28+ ARM64 Details for griddyn-0.13.0-cp313-abi3-manylinux_2_28_aarch64.whl
griddyn-0.13.0-cp313-abi3-macosx_14_0_arm64.whl CPython 3.13 abi3 macOS 14.0+ ARM64 Details for griddyn-0.13.0-cp313-abi3-macosx_14_0_arm64.whl

Total release size: 107.4 MB

Release files / griddyn-0.13.0.tar.gz

Download URL griddyn-0.13.0.tar.gz
Size 44.7 MB
Tags Source
SHA-256 checksum
How to use checksums
dedd6b6f6cfb7a74068d678b608164188d5fae14eadd9ca409b9ac6b51300208
BLAKE2b-256 checksum
How to use checksums
f214c2caac996c87b47fb7557334ac358c894eede24273b4319e2782858890ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / griddyn-0.13.0-cp314-cp314t-win_amd64.whl

Download URL griddyn-0.13.0-cp314-cp314t-win_amd64.whl
Size 8.6 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
70ad6a698fc27f7e055fe690171f66e81a00abae0546acf3c6d1cde448423be7
BLAKE2b-256 checksum
How to use checksums
52b4af69e992a1c513d267a350d4d3233cceac64b02cccb5cad3e5b0d53290b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / griddyn-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL griddyn-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 8.9 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d3d25018f6f7ca88238e37c93f5ca29af040c34e2114e6e0a4bcebf61dc3f804
BLAKE2b-256 checksum
How to use checksums
d1a822f685eee4e75bec9057fd39b6c675f077abc2798ad08ecd22f4f95eb916
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / griddyn-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL griddyn-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 8.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
1720aeb9afede4296cdda9a65f281f53d2c03cdcc50f6f7d60e32bd7473022d4
BLAKE2b-256 checksum
How to use checksums
1f3b03a5639e5da8647575bee31c4812e30dd7bef3b4164bd8af773313e13a57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / griddyn-0.13.0-cp314-cp314t-macosx_14_0_arm64.whl

Download URL griddyn-0.13.0-cp314-cp314t-macosx_14_0_arm64.whl
Size 5.9 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
9735b0d9e2e9d33c4841b96698c2b6cc5d1c312915dc34f0bfae8b7c6084e060
BLAKE2b-256 checksum
How to use checksums
ce202193d0a193f7c6973b3302be70f897c0cfb57b438d06c79b651669f15bc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / griddyn-0.13.0-cp313-abi3-win_amd64.whl

Download URL griddyn-0.13.0-cp313-abi3-win_amd64.whl
Size 8.2 MB
Tags CPython 3.13 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5d57a9fff92e53d8e9321469194bc7d56dedd39b228e3b85abd7a6055c29bdf4
BLAKE2b-256 checksum
How to use checksums
a753a0f4deb62f1f99b6fa5843028cda8adfd9d43f1f686994516a3b9b627ff4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / griddyn-0.13.0-cp313-abi3-manylinux_2_28_x86_64.whl

Download URL griddyn-0.13.0-cp313-abi3-manylinux_2_28_x86_64.whl
Size 8.9 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
28e03890170b8fc1f137885c44719fc4d9bf6a1ff9bc74fbf9e04bf1772050d8
BLAKE2b-256 checksum
How to use checksums
54dd14ebfc83c082afa7cd97e431dba074ef4e2c61a0be3e16ecf91aade75137
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / griddyn-0.13.0-cp313-abi3-manylinux_2_28_aarch64.whl

Download URL griddyn-0.13.0-cp313-abi3-manylinux_2_28_aarch64.whl
Size 8.2 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
4d28f33996ab7b8772166f2e64d21a01049447ba8fb2996803d8afc06c0c2012
BLAKE2b-256 checksum
How to use checksums
14e3bf0e6618656829e08ffe291ddea957cd84f83f744ad8fb7823c7ceb4063b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / griddyn-0.13.0-cp313-abi3-macosx_14_0_arm64.whl

Download URL griddyn-0.13.0-cp313-abi3-macosx_14_0_arm64.whl
Size 5.9 MB
Tags CPython 3.13 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
9f3d0daaa4da7fa82811c51ae6f024c14d1e1dfac895255fa817bfc070426d0a
BLAKE2b-256 checksum
How to use checksums
4a9f616618c9d31f4e1c88e86b3bed6c9a83d0ea7207c4dbab5833859c25ba69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Security for griddyn 0.13.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for griddyn-0.13.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.13.0 This release

9 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page