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.3.0.tar.gz (433.4 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.3.0-cp314-cp314-win_amd64.whl (68.7 kB view details)

Uploaded CPython 3.14Windows x86-64

mhi_psout-1.3.0-cp313-cp313-win_amd64.whl (66.8 kB view details)

Uploaded CPython 3.13Windows x86-64

mhi_psout-1.3.0-cp312-cp312-win_amd64.whl (66.8 kB view details)

Uploaded CPython 3.12Windows x86-64

mhi_psout-1.3.0-cp311-cp311-win_amd64.whl (66.8 kB view details)

Uploaded CPython 3.11Windows x86-64

mhi_psout-1.3.0-cp310-cp310-win_amd64.whl (66.8 kB view details)

Uploaded CPython 3.10Windows x86-64

mhi_psout-1.3.0-cp39-cp39-win_amd64.whl (66.8 kB view details)

Uploaded CPython 3.9Windows x86-64

mhi_psout-1.3.0-cp38-cp38-win_amd64.whl (66.7 kB view details)

Uploaded CPython 3.8Windows x86-64

mhi_psout-1.3.0-cp37-cp37m-win_amd64.whl (66.7 kB view details)

Uploaded CPython 3.7mWindows x86-64

File details

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

File metadata

  • Download URL: mhi_psout-1.3.0.tar.gz
  • Upload date:
  • Size: 433.4 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.3.0.tar.gz
Algorithm Hash digest
SHA256 7860bb9690254f995dcc942c573f66bc1d503649687cef2eae838ebb70cc870c
MD5 373385261fb9dbb43777bf1a02470810
BLAKE2b-256 48444c52a5ef91a452f81f17c9a96f672de353338724bf265f406b33a73b397f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.3.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 68.7 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.3.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 46e3a13a2f79d6f770e088b80ea0abc42220d9701bb529a468608333dd1cb8fb
MD5 65f543754781f4179b1a8f680620df29
BLAKE2b-256 c1dfc8ace261435d63a900fa8c69432df947c219c07818067cc938aaf05cbff2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.3.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 66.8 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.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1d2969696fa334bba41d076badef654805966729c52846873e90a1b1f79d09dc
MD5 39fe6f951667e41f262706fc58a2a2b9
BLAKE2b-256 9532ffe85080edfcfe7b3465c2462b6060609740d16a385fefb5bee2d8f1002d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.3.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 66.8 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.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 49603fd1fe7862a26f3940ca8c90c8dd58cb9bbdf23b97bb4cfb34e0790d924a
MD5 0cdfe31d869acdbe87e38a647260dbb8
BLAKE2b-256 8b1ba4c29aef18a4d8fe4daee6817bb39df8e6d223617916ba5b7a0aa1b4f5db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.3.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 66.8 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.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f24eec9afd52ffb25e4561964ed01805c2411c03edb85ab5460dab7940611169
MD5 f70e9d963e1b2db09b001c42ef4c462d
BLAKE2b-256 7b05c893371a673a1f0eeccf66248e23e1f548cf44446e13dd7a9c21615b255c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.3.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 66.8 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.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 215fac330cd5f4ac3fb37511f9b0e0a3253fb461da705aebe2bdbdc343302f43
MD5 993e02acedcaf03e95ec86b8819ce86e
BLAKE2b-256 102e5e82e13a8b21fccdf4ec080c69f6bf549eaebfeb601a4c9bceb036b330a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.3.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 66.8 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.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e3b5da98b7df22ee8a67688f769e8f693dbbb4a7ba53367511df891761bdc28e
MD5 4c0c0dd8a1d993f0ac3d4c2ba1c7ac3c
BLAKE2b-256 80f632157d46ef7a486b4a4e4d95fd1eef46db6739cb66c6cbcabceda62bf1f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.3.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 66.7 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.3.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bf407f15b0db0d937d1fe1e655ae46ef4a617ad95fcd2545e59751c0233fe0db
MD5 7a7d97ca34dfd27ff8ede493fa7f8b8d
BLAKE2b-256 f5a764a1e4cb62bd27523723df01a65334f3334f48aec678e522c59745b4a21e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhi_psout-1.3.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 66.7 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.3.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7db97145327cf167683ccd3b7bb2440b6d4ebf3041aadadde9d30a36972da56b
MD5 7fda93c97a7f39eff0d0e3bf5b30d6ed
BLAKE2b-256 dc5f90eb9bc5cc7ff1fe477ddb62aca7e6662fd26f793f5cd4a11829e08988b4

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