Skip to main content

Solves power flow and optimal power flow problems

Project description

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

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

PYPOWER-4.0.1.tar.gz (245.5 kB view hashes)

Uploaded Source

Built Distributions

PYPOWER-4.0.1.win32.msi (360.4 kB view hashes)

Uploaded Source

PYPOWER-4.0.1.win32.exe (542.6 kB view hashes)

Uploaded Source

PYPOWER-4.0.1-py2.6.egg (643.4 kB view hashes)

Uploaded Source

PYPOWER-4.0.1-py2.5.egg (643.7 kB view hashes)

Uploaded Source

Supported by

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