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()

Documentation

See: py -m mhi.psout help

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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mhi_psout-1.2.1-cp314-cp314-win_amd64.whl (65.6 kB view details)

Uploaded CPython 3.14Windows x86-64

mhi_psout-1.2.1-cp313-cp313-win_amd64.whl (63.6 kB view details)

Uploaded CPython 3.13Windows x86-64

mhi_psout-1.2.1-cp312-cp312-win_amd64.whl (63.6 kB view details)

Uploaded CPython 3.12Windows x86-64

mhi_psout-1.2.1-cp311-cp311-win_amd64.whl (63.7 kB view details)

Uploaded CPython 3.11Windows x86-64

mhi_psout-1.2.1-cp310-cp310-win_amd64.whl (63.7 kB view details)

Uploaded CPython 3.10Windows x86-64

mhi_psout-1.2.1-cp39-cp39-win_amd64.whl (63.7 kB view details)

Uploaded CPython 3.9Windows x86-64

mhi_psout-1.2.1-cp38-cp38-win_amd64.whl (63.6 kB view details)

Uploaded CPython 3.8Windows x86-64

mhi_psout-1.2.1-cp37-cp37m-win_amd64.whl (63.5 kB view details)

Uploaded CPython 3.7mWindows x86-64

File details

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

File metadata

  • Download URL: mhi_psout-1.2.1.tar.gz
  • Upload date:
  • Size: 428.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mhi_psout-1.2.1.tar.gz
Algorithm Hash digest
SHA256 001bd42758ac14d25e9b5f4e6ddff326dc75aecb15f4dc666fabc98f962bed10
MD5 f7ae9c2d82727141ce2a9e21418e8f8f
BLAKE2b-256 b4e7a50cfba52b0ceed3b0f5c5bc3874bb68cd9ade94e32ee8ee694c6e4af429

See more details on using hashes here.

File details

Details for the file mhi_psout-1.2.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: mhi_psout-1.2.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 65.6 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mhi_psout-1.2.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 c7c1d414972fc5ad20c3382d29d176ffc377749c42e1d8aafdd68af3795b1f11
MD5 a9d7c3e931f13a5999de92489d79cdf4
BLAKE2b-256 66125e9bdf96d20bef38d86be2784d1d389dfb6516ddea6099465db7118eee79

See more details on using hashes here.

File details

Details for the file mhi_psout-1.2.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: mhi_psout-1.2.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 63.6 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mhi_psout-1.2.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cbfb6b84c101b64c5266d8ec0cf2ff3a85608a46f40ed0e20f2fbdc3b5871088
MD5 59ddf09c10a7950e975fa6cd2f2e23d2
BLAKE2b-256 99ab9bd6e0f41cfbcc37d04e0620e051de0953e6948189c5493c53913fd32170

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 63.6 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mhi_psout-1.2.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e334a0d4d0d2a28f836b654e40bbf73c5b8032af77bd698017f9d6b455c9b824
MD5 f522ec82b7b9e4958ad4360f8f709792
BLAKE2b-256 01a35ee112c01ee60420b08f06c228c988336db58dadffa010e3566a0dddb31c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 63.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mhi_psout-1.2.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fef25dc40672be305171ea4a8a42c53d01d67071bb0118faa142a9f11e19d32d
MD5 9417b5f11d17a89bd44ee9ddae9fe4ac
BLAKE2b-256 4be123acce6a82c15f5aeaee987e8f1cc006c3caab307a4dcdfa99ca29fe3c29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 63.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mhi_psout-1.2.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 19a9fb77f91acfa5057ad2aa506c33f5ffb9c96dd873216b4cbc39c942980f0f
MD5 2d9bc18b11b538e2d124ba2028178358
BLAKE2b-256 2dabcccb770c2b46164dc25aaa3b6bd3aa12cee926b795bf48db7d4f620f448b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 63.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mhi_psout-1.2.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2bdaa416c35257828d6f0362f975c34c5a3f682d3a348a2d526b695c59c1c934
MD5 0dd638f8dcbf1e2d53467db9008f03e9
BLAKE2b-256 3aa836380e12b37be4f7b48108e29479508da23e5980a4b9613d9c768c2f361c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 63.6 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mhi_psout-1.2.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6fbc2998256e1980e8ef20a3bbac1708b6062a22406f88ee4b939f6a84d1a6a8
MD5 fda581ba78d5c2eda40898f62d3378de
BLAKE2b-256 d6324c2254093c82987d70948f26fd92ef74e4966c7ce434d61da9453b47ba5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 63.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mhi_psout-1.2.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9632019cefa996184095fefa9b6e37a16888d215f121eeeb00fbded35399c3d4
MD5 75209177ec6bbc0797f937ebae1edbac
BLAKE2b-256 2db91984bd04edab05a8d02d39a323deed52544aa9fd7ba4b8cba9297f867b1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page