Skip to main content

Manitoba Hydro International: PSOUT File Reader

Project description

PSOut Reader

A reader for the PSCAD *.psout file

Example

import mhi.psout
import matplotlib.pyplot as plt

with mhi.psout.File('Cigre.psout') as file:

    ac_voltage = file.call("Root/Main/AC Voltage/0")
    run = file.run(0)

    for call in ac_voltage.calls():
        trace = run.trace(call)
        time = trace.domain
        plt.plot(time.data, trace.data, label=trace['Description'])

    plt.xlabel(time['Unit'])
    plt.ylabel(trace['Unit'])
    plt.legend()
    plt.show()

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

mhi_psout-1.0.4.tar.gz (110.3 kB view details)

Uploaded Source

Built Distributions

mhi_psout-1.0.4-cp312-cp312-win_amd64.whl (59.9 kB view details)

Uploaded CPython 3.12 Windows x86-64

mhi_psout-1.0.4-cp311-cp311-win_amd64.whl (59.9 kB view details)

Uploaded CPython 3.11 Windows x86-64

mhi_psout-1.0.4-cp310-cp310-win_amd64.whl (59.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

mhi_psout-1.0.4-cp39-cp39-win_amd64.whl (59.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

mhi_psout-1.0.4-cp38-cp38-win_amd64.whl (59.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

mhi_psout-1.0.4-cp37-cp37m-win_amd64.whl (59.6 kB view details)

Uploaded CPython 3.7m Windows x86-64

mhi_psout-1.0.4-cp36-cp36m-win_amd64.whl (60.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file mhi_psout-1.0.4.tar.gz.

File metadata

  • Download URL: mhi_psout-1.0.4.tar.gz
  • Upload date:
  • Size: 110.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for mhi_psout-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a3c1fe93efdc4c92f50723ca042c13075cde426b7e3c1ab3cfe31623ae01c488
MD5 30f7f9f1be851e7508bb4fb3a8664c85
BLAKE2b-256 d80d585493544e938b6359c07f35689a95ee60fd8af1205679bafeb51a180318

See more details on using hashes here.

File details

Details for the file mhi_psout-1.0.4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mhi_psout-1.0.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3af81133ad18f0030508cf45e068735b64bcc4cb806e37e03d2c3420f53a839a
MD5 6d0b86caecd3958ea3fe9fe1122dd818
BLAKE2b-256 b64b72f14f2a5d3c4127fa1568ede301faaa6146afccd740a6b61463813ad051

See more details on using hashes here.

File details

Details for the file mhi_psout-1.0.4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mhi_psout-1.0.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b9a317f1aab6897f2fe127f17146c6b85ee827fdde4945519cb2d01c00de37f9
MD5 3fdc20fa2b54ce94cc57263b66ca3275
BLAKE2b-256 9b047c323b8e680a6997871e1738e2aa206852baad6fee48b5ab8a38569cbc77

See more details on using hashes here.

File details

Details for the file mhi_psout-1.0.4-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mhi_psout-1.0.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3616ef3ecc5f5637aba256608fce7bd0b48b91b1ea9e30fe0d7e6ef986068530
MD5 01aeef10d7ae4ff365d1f4305bf7aff6
BLAKE2b-256 bbba42b5e5863c76c4f4aafb4a89d9c333e4221b77a4b02409313766553ba698

See more details on using hashes here.

File details

Details for the file mhi_psout-1.0.4-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: mhi_psout-1.0.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 59.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for mhi_psout-1.0.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1e720286e26546e8835e3a88f041e930982f96fd7d9ba723997bc06be019d5a2
MD5 5bbc2c95bce0c6b40e1292414bb5ed0d
BLAKE2b-256 e3f2ca514fabbe8e2bac3ff57279f3fe9826ce76dd51a61111676b2fe847daec

See more details on using hashes here.

File details

Details for the file mhi_psout-1.0.4-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: mhi_psout-1.0.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 59.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for mhi_psout-1.0.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 71e8e0cc5d6e946c80817e221442f53a2e24b32e972df3ed24563bcac5683bed
MD5 d9cbfbca62b87d70ca1e099dab4ee6f0
BLAKE2b-256 8954d0b21c5353b80b084ea4a3f9f30e0c4c6011d07622d6d66e65959334004c

See more details on using hashes here.

File details

Details for the file mhi_psout-1.0.4-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for mhi_psout-1.0.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e129be2b15a7eae906b28cf023d72d338fee714efa572c74cbe6243e6e6a74d9
MD5 5719067698a4e924214f5a215b0b601a
BLAKE2b-256 99275e5f561d1054fea274b9797a468eb00de8dd5c52e389fb1e9715db1ac1ad

See more details on using hashes here.

File details

Details for the file mhi_psout-1.0.4-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for mhi_psout-1.0.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 b5510c6724cda77031b00b138b780dc18214557237e059d31c4e8bc0444cc196
MD5 4911b2d21e6c08bc089f021f1e607427
BLAKE2b-256 f2d25abd5572e293a62f9b20ca5402110dd32aad73b0da21549bc22e142e4d1b

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