Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Solves power flow and optimal power flow problems

Project description

PYPOWER is a power flow and Optimal Power Flow (OPF) solver. It is a port of MATPOWER to the Python programming language. Current features include:

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

Installation

PYPOWER depends upon:

It can be easy_installed using setuptools:

$ easy_install PYPOWER

Alternatively, download and unpack the tarball and install:

$ tar zxf PYPOWER-4.0.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 the http://www.pypower.org/ and the API documentation.

Project details


Release history Release notifications

History Node

5.1.3

History Node

5.1.2

History Node

5.1.0

History Node

5.0.1

History Node

4.1.2

History Node

4.1.1

History Node

4.1.0

History Node

4.0.1

This version
History Node

4.0.0

History Node

3.2.0b1

History Node

0.1.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
PYPOWER-4.0.0-py2.5.egg (643.2 kB) Copy SHA256 hash SHA256 Egg 2.5 Jul 7, 2011
PYPOWER-4.0.0-py2.6.egg (642.9 kB) Copy SHA256 hash SHA256 Egg 2.6 Jul 7, 2011
PYPOWER-4.0.0.tar.gz (244.6 kB) Copy SHA256 hash SHA256 Source None Jul 7, 2011
PYPOWER-4.0.0.win32.exe (542.9 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 Jul 7, 2011
PYPOWER-4.0.0.win32.msi (573.4 kB) Copy SHA256 hash SHA256 Windows MSI Installer 2.7 Jul 7, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page