Skip to main content

Port of MATPOWER to Python.

Project description


Pylon is a free software package for simulation of electric power systems and energy markets. Its purpose is to provide a simple yet powerful tool for electric power Engineers that is not tied to proprietary software and can be used and extended easily.

Pylon’s features currently include:

  • DC and AC (Newton’s method & Fast Decoupled) power flow,
  • DC and AC optimal power flow,
  • State estimation,
  • PSS/E, MATPOWER and PSAT data file parsers, and
  • Agent-based market simultaion using reinforcement learning methods.

Quick start

With Python, setuptools and SciPy installed, run:

# easy_install pylon

Pylon performs an AC power flow and prints a ReStructuredText report by default:

$ pylon data_file.raw

Refer to the documentation for detailed usage information or type:

$ pylon --help


Pylon is developed by Richard Lincoln (

Pylon is a port of MATPOWER to the Python programming language.

Pylon was originally funded by the EPSRC through Grant GR/T28836/01 for the SUPERGEN Highly Distributed Power Systems consortium.

Project details

Download files

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

Files for Pylon, version 0.4.4
Filename, size File type Python version Upload date Hashes
Filename, size (779.4 kB) File type Source Python version None Upload date Hashes View
Filename, size Pylon-0.4.4.win32.exe (694.8 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size Pylon-0.4.4-py2.6.egg (623.7 kB) File type Egg Python version 2.6 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page