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:
License & Copyright
Copyright (C) 1996-2011 Power System Engineering Research Center
Copyright (C) 2010-2011 Richard Lincoln
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file PYPOWER-4.0.1.tar.gz
.
File metadata
- Download URL: PYPOWER-4.0.1.tar.gz
- Upload date:
- Size: 245.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b72fa79e4b9d4c4752e3b20ed90e3eae2efd8ce87200c28d71a5af3c0156a0d3 |
|
MD5 | 98756a4a3304589ccd5ebb8516e2f9a2 |
|
BLAKE2b-256 | 72953cef679aea190b2b34c51f3743685053efc1b647c0428608515a69daf39e |
File details
Details for the file PYPOWER-4.0.1.win32.msi
.
File metadata
- Download URL: PYPOWER-4.0.1.win32.msi
- Upload date:
- Size: 360.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8299731d5537995ef84e2b0d3de8ad80fc1aad5fab44e90eced867eca0aa27cc |
|
MD5 | e36c0a43cb44ac945f57be79993702e6 |
|
BLAKE2b-256 | 7cd57fc8cbc564e397494e0d05c616feadbe33a98ee76b7826f24be7be533ba1 |
File details
Details for the file PYPOWER-4.0.1.win32.exe
.
File metadata
- Download URL: PYPOWER-4.0.1.win32.exe
- Upload date:
- Size: 542.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d4c6ff3efd6b812c0f430334b03abd20486f77e8c54cd372a889b7eb616aa23 |
|
MD5 | 0636d07475a380eff6d130a58d00f28b |
|
BLAKE2b-256 | 5a2e98a293753f051ba89bf0d779f8cd749bbe53fb6288535ae6a9528d3e376d |
File details
Details for the file PYPOWER-4.0.1-py2.6.egg
.
File metadata
- Download URL: PYPOWER-4.0.1-py2.6.egg
- Upload date:
- Size: 643.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8a30e2d26ea9149a40b6986540353ef762503c8d636a65bd5660aec7dbb54c |
|
MD5 | c362be33c1d09df81167b5316841a051 |
|
BLAKE2b-256 | 71a497e10ecbabdee1f5cdd3bdbddb82598c5cde5e1398cc12a7ac41a7086a34 |
File details
Details for the file PYPOWER-4.0.1-py2.5.egg
.
File metadata
- Download URL: PYPOWER-4.0.1-py2.5.egg
- Upload date:
- Size: 643.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1a879829edb81ed8154e6cb5b11ebe7363d0b50e0cf205bc80285a9c52adf06 |
|
MD5 | ad471e21853d2461ac3380f449b4aa67 |
|
BLAKE2b-256 | 8ead6d2c89a8eb5db86a26d248dcac2989b5f4b2265b9b084527f413e4ed1038 |