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.0.tar.gz (78.0 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.0-cp314-cp314-win_amd64.whl (23.9 kB view details)

Uploaded CPython 3.14Windows x86-64

mhi_psout-1.2.0-cp313-cp313-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.13Windows x86-64

mhi_psout-1.2.0-cp312-cp312-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.12Windows x86-64

mhi_psout-1.2.0-cp311-cp311-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.11Windows x86-64

mhi_psout-1.2.0-cp310-cp310-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.10Windows x86-64

mhi_psout-1.2.0-cp39-cp39-win_amd64.whl (23.4 kB view details)

Uploaded CPython 3.9Windows x86-64

mhi_psout-1.2.0-cp38-cp38-win_amd64.whl (23.3 kB view details)

Uploaded CPython 3.8Windows x86-64

mhi_psout-1.2.0-cp37-cp37m-win_amd64.whl (23.2 kB view details)

Uploaded CPython 3.7mWindows x86-64

File details

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

File metadata

  • Download URL: mhi_psout-1.2.0.tar.gz
  • Upload date:
  • Size: 78.0 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.0.tar.gz
Algorithm Hash digest
SHA256 644f78c505b119ebb129dbf13c0fc30078ab9916be9e0b81a327690dddf28da5
MD5 0239e9e89ad978edef61e1b04df3a0ad
BLAKE2b-256 7cbd3997ecaddf2046a277e59d24437ffe5e997ed6688b82f9d3333eb56e5083

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 23.9 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.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 db66231ef6b960369dfccb03318fe749c65862830c14070e96eb90b864e597e6
MD5 f60a9f203f54831b3cdb2baa3a6cb68b
BLAKE2b-256 82519501b8bdd698cc32ecdd2e456008acfe498a8f70b2fa1e05706e06553071

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 23.3 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.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8e69707ddb55bbc19007ce05210f9384b49e9c0cf31c02c66a4ac031cc890d07
MD5 511c1f8073eecaef8707df2766e1f44d
BLAKE2b-256 81c47594488e379a2157fcc927862c4103877c894ef05fafd6b37368664181ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 23.3 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.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cbc987f5d49cbcb11dce0b9cb6a64d2c96db349b667b0ac10d181504f293f742
MD5 e84152ba0199710ae54ea8aa83137f20
BLAKE2b-256 76d3b3f85d34eb60f06dc2765fd84cf6881897675e8af2a63fe34c00435ca842

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 23.3 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.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 803dbe9529e43e5b3ed80185ffd6dc33b2bd4f900a35ee8d6c24ec56bf29f1e2
MD5 e6c1d6d9a2d70c335a65791ff72517a1
BLAKE2b-256 d97bbc42058e0527e0fce16ea20a29a3d7f449120a77a0fac1af8745b118564d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 23.3 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.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 493ae9ddeb434c2f5460accc958f7643d6a40f0bcf3ec9cfa6883fe9efc0980b
MD5 98d1f95ce939287b13c6095181f88c89
BLAKE2b-256 1226df14f6a6f927174422c31c2540fb497d12a5571e9cabb3537e889d17e1af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 23.4 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.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 42c268c8cd15f83e9499252ad81ce90494aceaa051fcb0e068ea8cb4bc266c47
MD5 95593a675ef23b1614179a5e6ca3b622
BLAKE2b-256 02f1bcae0c0dee5e279b03ae6ccf5417237df50985d6d1c5bd108e89d53e9bfc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 23.3 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.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 03aebfa8b6ea6073568e3a70d0ba7028916d294d153259c73bc0014b86954d83
MD5 c7a130ca7ec97cadedb27cb7ff7537db
BLAKE2b-256 62492f5722b23ca96b38f2ae15977be396997e79bb1c0976a2e30d2d147d36e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 23.2 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.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e95171b5de589eebd7393069ee83d95d9cf29dc62af009bfaf2a59474f465bb3
MD5 c251c076bf5e01e9a7d83c583ac6dd19
BLAKE2b-256 bdca220f4d583afde2040105c2a025097744a7c3f3bd0764a381bd9097e0220c

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