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.2.tar.gz
(110.8 kB
view hashes)
Built Distributions
Close
Hashes for mhi_psout-1.0.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c80e364580e0005b7704bcf17ee1db919393ef4fd55b4692655471e50732108a |
|
MD5 | ecae2acd918736073e5c5c7587994e03 |
|
BLAKE2b-256 | 29591b2acbe97b5e0a931497f24a134b6dd8963c75718a53d3a1a0301d8c9ed0 |
Close
Hashes for mhi_psout-1.0.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f352f2f5e7f4c118ccfd5e61fa72dc4e8b43e0cbee053abd6c3f8ef5a1b7607 |
|
MD5 | c86a46e883f2f48ba42104ec784fd045 |
|
BLAKE2b-256 | ca0f47ebea8ec6237fecb2729e53ef5583c17e99c6f1f6bd18631006681ad483 |
Close
Hashes for mhi_psout-1.0.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 604d10fb7769df3494ce22ff0dde3398b444f3d534e0126a5d8de6d0f0afcabb |
|
MD5 | de8318913281dbcc40921210f496580b |
|
BLAKE2b-256 | ca1e50a56b23db9deb4304990c8689713d3d4ef3f2ebe26f714bc2476d9890f8 |
Close
Hashes for mhi_psout-1.0.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 775436758fe8bb59d53e06097283641652480f2a9ad6a021aeee78097200b9d2 |
|
MD5 | 9514b70f7cef2d9e9bd9f63e180fa7ca |
|
BLAKE2b-256 | 2e885deaccad3e1de95e8fc5805641f09a56d8314a81a7fe3b2f0afeebcbe2d3 |
Close
Hashes for mhi_psout-1.0.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d2b61ba429acc31c1bbcfafbfa0575e01594c439b99bb899644823e57e9e2f9 |
|
MD5 | b28fc28e395f396b9c75dd80f89699fc |
|
BLAKE2b-256 | 3df742bcc7ed220c23922cad98f403127396958190b9f68cee0e3bb4e331fc58 |
Close
Hashes for mhi_psout-1.0.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0d396d9f520cb6af44fa0800f64d4ef9f1bd750bf5f2e9092c877385ee864d1 |
|
MD5 | dc3015be394a9cef61329810dc7500ab |
|
BLAKE2b-256 | d16f111dc9c469a5e5037483b48715a30881b093b9dc69dce7ac600f6ffec870 |