Skip to main content

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.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 esapp 1.0.0
File Size Uploaded Provenance Actions
esapp-1.0.0.tar.gz 1.9 MB With provenance Details for esapp-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.4 MB

Release files / esapp-1.0.0.tar.gz

Download URL esapp-1.0.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
416d408b81141d645af4d5e40772555445b777a4fb6316235d4eb29be7058ea8
BLAKE2b-256 checksum
How to use checksums
d8795f48e67483cff5076499648ae8b1de8e241d64e15bf3b984fdf3b1f72e20
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.0-py3-none-any.whl

Download URL esapp-1.0.0-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b846dfb5e4d6f336822a9d5b2c379dd07b37aa60d90d7ff26e3dd322cb479302
BLAKE2b-256 checksum
How to use checksums
df0079de6327b678fd5d7c91fe3a3f3812978dcb02de97be3920c134f069c0f6
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.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

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

Select from 2 files

Attestation for esapp-1.0.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 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