Skip to main content

Power flow and optimal power flow solver

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 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 and write the solved case to file:

$ opf -c case14 --solvedcase=out.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-3.2.0b1.tar.gz (153.9 kB view details)

Uploaded Source

Built Distributions

PYPOWER-3.2.0b1.win32.exe (435.0 kB view details)

Uploaded Source

PYPOWER-3.2.0b1-py2.7.egg (439.2 kB view details)

Uploaded Source

PYPOWER-3.2.0b1-py2.6.egg (438.4 kB view details)

Uploaded Source

PYPOWER-3.2.0b1-py2.5.egg (438.6 kB view details)

Uploaded Source

File details

Details for the file PYPOWER-3.2.0b1.tar.gz.

File metadata

  • Download URL: PYPOWER-3.2.0b1.tar.gz
  • Upload date:
  • Size: 153.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PYPOWER-3.2.0b1.tar.gz
Algorithm Hash digest
SHA256 4854805f538c151ea2beee74a42b4f770dd4a1cf9562e4bbc255084baa323c44
MD5 b9726b695fb089ff0dabb5aa48824e12
BLAKE2b-256 14568d55fcd40ebb5c42de360c3233977983c12bc3e184bad49986ec965490fc

See more details on using hashes here.

File details

Details for the file PYPOWER-3.2.0b1.win32.exe.

File metadata

File hashes

Hashes for PYPOWER-3.2.0b1.win32.exe
Algorithm Hash digest
SHA256 965b742e754e333984373be89fabf6937ff501427ca00c80c638887feae845c1
MD5 ca436ac33d5302bfb2d9b19ba6f87547
BLAKE2b-256 b09fdea14aa90cfa5ad6dd951656f960c57e01821ca584b0f90a03e4cbddce9d

See more details on using hashes here.

File details

Details for the file PYPOWER-3.2.0b1-py2.7.egg.

File metadata

File hashes

Hashes for PYPOWER-3.2.0b1-py2.7.egg
Algorithm Hash digest
SHA256 b882658f0427a6d3e5afa13c6595fdc04d3ca55d453f50b06cd41cc0d62540d2
MD5 af24f0abd9f51fcd14aa9cd81735bde0
BLAKE2b-256 760706f7d6fc63b0ca457b6c852a5d0d9d2966a93b9db0815266e6d10e72dbb4

See more details on using hashes here.

File details

Details for the file PYPOWER-3.2.0b1-py2.6.egg.

File metadata

File hashes

Hashes for PYPOWER-3.2.0b1-py2.6.egg
Algorithm Hash digest
SHA256 c73a9ffc552f20b236fb6a9299ad961c210b1a5f26f8e4d8400b2e2054e123c0
MD5 699c4af5a068f6ddb50ebe2fb406cf65
BLAKE2b-256 3c5e59213d17e1190e8a7ced2d3f2817228b57efe78f9ec028f77a8187352e22

See more details on using hashes here.

File details

Details for the file PYPOWER-3.2.0b1-py2.5.egg.

File metadata

File hashes

Hashes for PYPOWER-3.2.0b1-py2.5.egg
Algorithm Hash digest
SHA256 f4363fe80113c73b148a037f3d3dedfcfd857e49ba1c22a6180a696c09a9030c
MD5 057a428adfcc33a75a400f9cb808c9cc
BLAKE2b-256 16bb69aad38f1a51f7c5faa4a6afdbaa84af7683c037be43248d113708db8323

See more details on using hashes here.

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