Skip to main content

Introduction

PYPOWER is a power flow and Optimal Power Flow (OPF) solver. Current features include:

  • DC and AC (Newton’s method & Fast Decoupled) power flow and

  • DC and AC optimal power flow (OPF)

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

Installation

PYPOWER depends upon:

It can be installed using setuptools:

$ easy_install PYPOWER

Alternatively, download and unpack the tarball and install:

$ tar zxf PYPOWER-4.0.X.tar.gz
$ python setup.py install

Using PYPOWER

Installing PYPOWER creates pf and opf commands. To list the command options:

$ pf -h

PYPOWER includes a selection of test cases. For example, to run a power flow on the IEEE 14 bus test case:

$ pf -c case14

Alternatively, the path to a PYPOWER case data file can be specified:

$ pf /path/to/case14.py

The opf command has the same calling syntax. For example, to solve an OPF for the IEEE Reliability Test System and write the solved case to file:

$ opf -c case24_ieee_rts --solvedcase=rtsout.py

For further information please refer to http://rwl.github.io/PYPOWER/ and the API documentation.

Support

Questions and comments regarding PYPOWER should be directed to the mailing list:

pypower@googlegroups.com

Metadata

Release files for PYPOWER 4.0.1

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

Source distribution (sdist)

Source distribution for PYPOWER 4.0.1
File Size Uploaded Provenance Actions
PYPOWER-4.0.1.tar.gz 245.5 kB Without provenance Details for PYPOWER-4.0.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for PYPOWER 4.0.1
File Actions
PYPOWER-4.0.1.win32.msi Details for PYPOWER-4.0.1.win32.msi
PYPOWER-4.0.1.win32.exe Details for PYPOWER-4.0.1.win32.exe
PYPOWER-4.0.1-py2.6.egg Legacy Egg format - - Details for PYPOWER-4.0.1-py2.6.egg
PYPOWER-4.0.1-py2.5.egg Legacy Egg format - - Details for PYPOWER-4.0.1-py2.5.egg

Total release size: 2.4 MB

Release files / PYPOWER-4.0.1.tar.gz

Download URL PYPOWER-4.0.1.tar.gz
Size 245.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b72fa79e4b9d4c4752e3b20ed90e3eae2efd8ce87200c28d71a5af3c0156a0d3
BLAKE2b-256 checksum
How to use checksums
72953cef679aea190b2b34c51f3743685053efc1b647c0428608515a69daf39e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / PYPOWER-4.0.1.win32.msi

Download URL PYPOWER-4.0.1.win32.msi
Size 360.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8299731d5537995ef84e2b0d3de8ad80fc1aad5fab44e90eced867eca0aa27cc
BLAKE2b-256 checksum
How to use checksums
7cd57fc8cbc564e397494e0d05c616feadbe33a98ee76b7826f24be7be533ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / PYPOWER-4.0.1.win32.exe

Download URL PYPOWER-4.0.1.win32.exe
Size 542.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6d4c6ff3efd6b812c0f430334b03abd20486f77e8c54cd372a889b7eb616aa23
BLAKE2b-256 checksum
How to use checksums
5a2e98a293753f051ba89bf0d779f8cd749bbe53fb6288535ae6a9528d3e376d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / PYPOWER-4.0.1-py2.6.egg

Download URL PYPOWER-4.0.1-py2.6.egg
Size 643.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
2b8a30e2d26ea9149a40b6986540353ef762503c8d636a65bd5660aec7dbb54c
BLAKE2b-256 checksum
How to use checksums
71a497e10ecbabdee1f5cdd3bdbddb82598c5cde5e1398cc12a7ac41a7086a34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / PYPOWER-4.0.1-py2.5.egg

Download URL PYPOWER-4.0.1-py2.5.egg
Size 643.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
c1a879829edb81ed8154e6cb5b11ebe7363d0b50e0cf205bc80285a9c52adf06
BLAKE2b-256 checksum
How to use checksums
8ead6d2c89a8eb5db86a26d248dcac2989b5f4b2265b9b084527f413e4ed1038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for PYPOWER 4.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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