Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

esa++: Python for PowerWorld

CI PyPI Python 3.12 to 3.14 Documentation Apache 2.0 license

esa++ is Python for PowerWorld. Read and write Simulator data as pandas DataFrames, run any script command, and get transient stability results as NumPy arrays. Every object type and field is typed.

Documentation: guide, examples, catalog and API.

pip install esapp

Needs Windows and PowerWorld Simulator with SimAuto.

from esapp import PowerWorld
from esapp.grid import Bus, Gen

with PowerWorld("Hawaii40.pwb") as pw:
    pw.pf.solve()
    low = pw[Bus, Bus.BusName, Bus.BusPUVolt < 0.97]  # filtered inside Simulator
    pw[Gen, Gen.GenMW, Gen.AreaNum.eq(1)] = 50.0  # sets only the matching generators
Module Contents
esapp PowerWorld, the session: reading, writing, selecting, commands and analyses
esapp.grid Simulator's object types and their fields
esapp.commands every script command, as a typed class
esapp.ctg contingencies
esapp.matrix the Ybus, Jacobian and G-matrix as labelled sparse arrays (esapp[sparse])
esapp.ts transient stability: contingencies, play-ins and results
esapp.testing pytest fixtures and a fake SimAuto, to test without PowerWorld (esapp[testing])

Author

Luke Lowery, PhD student in the Birchfield Research Group at Texas A&M University · Google Scholar · ORCID

Also by the author: pyvectorfit, vector fitting for EMT line models · OpenLine, overhead transmission lines · latkit, GPU visualization of large networks.

Metadata

Release files for esapp 1.0.0rc1

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

Source distribution (sdist)

Source distribution for esapp 1.0.0rc1
File Size Uploaded Provenance Actions
esapp-1.0.0rc1.tar.gz 1.9 MB With provenance Details for esapp-1.0.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for esapp 1.0.0rc1
File Interpreter ABI Platform Actions
esapp-1.0.0rc1-py3-none-any.whl Python 3 none any Details for esapp-1.0.0rc1-py3-none-any.whl

Total release size: 4.4 MB

Release files / esapp-1.0.0rc1.tar.gz

Download URL esapp-1.0.0rc1.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
7bf2c407dc2dd30700792e034f99f306b5641d0290f282dec4dee8425c8f4c6b
BLAKE2b-256 checksum
How to use checksums
811f374d5e577d417ee9373ecad3be545daa2404c9238aead4c57ab8c5bb56c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 30, 2026.

Transparency log

Release files / esapp-1.0.0rc1-py3-none-any.whl

Download URL esapp-1.0.0rc1-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
77b13190deefdfa70dc940b2c9ed0e6bb063b68ab04335793cb209e58af2b2e8
BLAKE2b-256 checksum
How to use checksums
216f7da6a1576103ddfefca3de512f13b4221808f944becb2ea3096a833b5f7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 30, 2026.

Transparency log

Security for esapp 1.0.0rc1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for esapp-1.0.0rc1.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 30, 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.

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