Skip to main content

ESA++ is an open-source power-grid toolkit.

Project description

License Python 3.9+ Documentation Coverage 98%

An open-source Python toolkit for power system automation, providing a high-performance wrapper for PowerWorld’s Simulator Automation Server (SimAuto). Transforms complex COM calls into intuitive, Pythonic operations.

  • Intuitive Indexing – Access grid data with pw[Bus, "BusPUVolt"] syntax

  • Full SimAuto Coverage – All PowerWorld API functions through modular mixins

  • Pandas Integration – Every query returns a DataFrame

  • Pythonic Settings – Solver and GIC options as descriptor attributes (pw.max_iterations = 250)

  • Convenience Methods – Flows, overloads, PTDF/LODF, snapshot context manager, case summary

  • Transient Stability – Fluent API with TS field intellisense

  • Analysis Utilities – Built-in GIC, network topology, and contingency tools

Installation

Requires Windows with PowerWorld Simulator (SimAuto enabled) and Python 3.9+.

pip install esapp

Quick Example

from esapp import PowerWorld
from esapp.components import *

pw = PowerWorld("path/to/case.pwb")

# Read data
bus_data = pw[Bus, ["BusName", "BusPUVolt"]]

# Solve power flow
V = pw.pflow()

# Inspect and modify
violations = pw.violations(v_min=0.95)
pw[Gen, "GenMW"] = 100.0

Documentation

Full tutorials, API reference, and examples at esapp.readthedocs.io.

Testing

pip install .[test]
pytest tests/

Citation

@article{esa2020,
  title={Easy SimAuto (ESA): A Python Package for PowerWorld Simulator Automation},
  author={Mao, Zeyu and Thayer, Brandon and Liu, Yijing and Birchfield, Adam},
  year={2020}
}

Authors

Developed by Luke Lowery and Adam Birchfield at Texas A&M University (Birchfield Research Group). See my personal (research website).

License

Distributed under the Apache License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esapp-0.1.3.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

esapp-0.1.3-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file esapp-0.1.3.tar.gz.

File metadata

  • Download URL: esapp-0.1.3.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for esapp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 917e653b6a8cd0e0c98dc8297737b00dceba83c47cc626898dbdb2080fe6dd8c
MD5 f8812e8a16859684c9da010f43c3f9c1
BLAKE2b-256 08c2240f1b021fcfe549b82e100162e087a2f416091829c36855769e01a6fbc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for esapp-0.1.3.tar.gz:

Publisher: python-publish.yml on lukelowry/ESApp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file esapp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: esapp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for esapp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9c016d130aaa809e2781d8bb20472049126ca20359ba1a91e7b247179a502309
MD5 21c5db25b6ccc876909b10eeb5827236
BLAKE2b-256 784819ea0d0038e6ef85a5e1611e9699ce665421bd85203fab5fbce9feae4858

See more details on using hashes here.

Provenance

The following attestation bundles were made for esapp-0.1.3-py3-none-any.whl:

Publisher: python-publish.yml on lukelowry/ESApp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page