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. 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


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.0.tar.gz (244.6 kB view details)

Uploaded Source

Built Distributions

PYPOWER-4.0.0.win32.msi (573.4 kB view details)

Uploaded Source

PYPOWER-4.0.0.win32.exe (542.9 kB view details)

Uploaded Source

PYPOWER-4.0.0-py2.6.egg (642.9 kB view details)

Uploaded Source

PYPOWER-4.0.0-py2.5.egg (643.2 kB view details)

Uploaded Source

File details

Details for the file PYPOWER-4.0.0.tar.gz.

File metadata

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

File hashes

Hashes for PYPOWER-4.0.0.tar.gz
Algorithm Hash digest
SHA256 847e95c19e5b6a7b4afc5bcad6ea392aa6bb5a9d16585eca73b9c3e5dbe719a0
MD5 1569c5061315b86e794fc2347dcb1dc2
BLAKE2b-256 618c110ca763f4804c010e5d85e617e0822564cf9ae4c3783e5db0de5a7f5112

See more details on using hashes here.

File details

Details for the file PYPOWER-4.0.0.win32.msi.

File metadata

  • Download URL: PYPOWER-4.0.0.win32.msi
  • Upload date:
  • Size: 573.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PYPOWER-4.0.0.win32.msi
Algorithm Hash digest
SHA256 165cdf28260c4c591fff10f685f8ae60e05767b166fce394c2f58c47cd517baf
MD5 28dd1a23d124bf50e12a9c40a4eb336f
BLAKE2b-256 bb7ceb2e6183037f624f59beb9903e7fea70567462554bd0a80522a20a4cdae7

See more details on using hashes here.

File details

Details for the file PYPOWER-4.0.0.win32.exe.

File metadata

  • Download URL: PYPOWER-4.0.0.win32.exe
  • Upload date:
  • Size: 542.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PYPOWER-4.0.0.win32.exe
Algorithm Hash digest
SHA256 bb52b336d8c599e944cc1c6ec9b1f012039800b67de1f89ac34078274cb4cf3a
MD5 c080d1eb15a7302d1aa74f7028631764
BLAKE2b-256 90c134849afd3c39b22f2202e5140244993677ce1e0aae7ee8baad735648e44a

See more details on using hashes here.

File details

Details for the file PYPOWER-4.0.0-py2.6.egg.

File metadata

  • Download URL: PYPOWER-4.0.0-py2.6.egg
  • Upload date:
  • Size: 642.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PYPOWER-4.0.0-py2.6.egg
Algorithm Hash digest
SHA256 438920397ee3c7410f61ca2e69a5a243dcb1b104b34525de5df3d15933c117fc
MD5 1a79206356933ff5f0a7095a1d9edea8
BLAKE2b-256 784fe106576a498f022eb41b9d980bfb1ababb2c7709abcd74e3e9454227e9fa

See more details on using hashes here.

File details

Details for the file PYPOWER-4.0.0-py2.5.egg.

File metadata

  • Download URL: PYPOWER-4.0.0-py2.5.egg
  • Upload date:
  • Size: 643.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PYPOWER-4.0.0-py2.5.egg
Algorithm Hash digest
SHA256 edb30e3f5449d25efb8a3da7999df0aefd89fb00894b996664c71b4839f0f692
MD5 0505bd773b2df8aa807808cd53e968ff
BLAKE2b-256 3657adfa9641063a234630121e0f6ff470af3abc535c69c46c5fb4547a2cdadf

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