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.2.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.2-cp314-cp314-win_amd64.whl (65.6 kB view details)

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.8Windows x86-64

mhi_psout-1.2.2-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.2.tar.gz.

File metadata

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

File hashes

Hashes for mhi_psout-1.2.2.tar.gz
Algorithm Hash digest
SHA256 70a8958b81a9a9a7efcf79d071af3aa9cbd2ab51695c8e60e72dcd4d0e1a1183
MD5 7d77498cfd4185bf7951d9ceae00571a
BLAKE2b-256 81d9f00de1231057615dea4e7e630b4c9b84924c5153bdb0161969d464c3378f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.2-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.3

File hashes

Hashes for mhi_psout-1.2.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d490671e04d9974bdb4188c16cbf41717c5d27a25443c3f19e75a65752f29abe
MD5 db3eb2772420d2b09ee27c961bd0da1d
BLAKE2b-256 f2de6980706403e29d670c5fce4734141436f5bf3dbe0c2e4214f47ae2a3341b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.2-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.3

File hashes

Hashes for mhi_psout-1.2.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 05282e98ea68f274624b5a613256b50421660ed8c7336b91110ddd6cbfc60cf0
MD5 fe4d4f1de85b6ac0b450b07b2db2c672
BLAKE2b-256 9fc54d63bf6b55f14b0ef78b576490b11445c7f611cda1547e8d473029008aab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.2-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.3

File hashes

Hashes for mhi_psout-1.2.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 77dff84fb05a3c3db55b057759f299508a4aa2b7a8be7d49883f1e124a437831
MD5 63ef553dd6ba60092e0f1cdcfb3eb3a1
BLAKE2b-256 deecd83ec0f942310db42f4c6db57e28ed4910c9fbb0173d432961a2fa402a6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.2-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.3

File hashes

Hashes for mhi_psout-1.2.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 51d05389869609f6f0c279b7ef9e2d7fea83d49f1280397c81be54aefb31e9e4
MD5 20780a64a62e6a39a1f502dc7164ba63
BLAKE2b-256 18f68998db15eb9939b5aa312c26548cc2ed0cdd602fd08ea1b1edebd3551231

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.2-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.3

File hashes

Hashes for mhi_psout-1.2.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5bbac05b166fc910df94b698d89d45942b88e78fd9c0b13679cf30aca58d2caa
MD5 84e0506837b0399ff192e98d692a9498
BLAKE2b-256 60e7c2ef64edc6748eb153d6c4a273cee001a2e479e7a99e8d53b59293bb282e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.2-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.3

File hashes

Hashes for mhi_psout-1.2.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3889d486ac6afadb108ef5095ca936617b08e1df10c314c7dce8e3a003e2d2ba
MD5 473535e775d9599f7db7fe0a26ed68d8
BLAKE2b-256 cafed9cc049af2ab27aa60159450dc508e4cab11fd624f2438a46635e6cf250a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.2-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.3

File hashes

Hashes for mhi_psout-1.2.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5205adc2cfdfced200c91cc4725193a80d29480a892db03499d660b7e793166b
MD5 9d95b348fdad9685221a88d13d286cd6
BLAKE2b-256 9c4fdbed40cceaf46a9cc133bd0235244f87184e11d7e59a1e6e79fb5c6cb12f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.2.2-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.3

File hashes

Hashes for mhi_psout-1.2.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 50543e1136b9cad4fba1df8ea953e9134cb31db311f35c8aa954488fa5dbad4c
MD5 6fac19d1bf7a0ec0b8f3971d54c5e049
BLAKE2b-256 5987d072db75873ecab42f3f0470e0a3fa1b91427f68353fd57e3f86d0616132

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