-
Notifications
You must be signed in to change notification settings - Fork 19
Additional Notes
The .psout format is a modern, proprietary binary format introduced in PSCAD V5 for storing EMTDC simulation data. It replaces legacy text-based .out files, offering significantly smaller file sizes, faster read/write speeds, and the ability to store multiple, hierarchical simulation runs (including sequential and parallel results) in a single file
.psout files can be viewed from within PSCAD using the PSOUT Reader
MHI also has a separate tool, Enerplot that can be used not only for plotting .psout files, but also to perform post processing of data using e.g. Python mhi.enerplot library
The MTB Plotter makes use of the "low level" mhi-psout Python library provides "high level" library or function, process_psout.py to process and plot .psout files a little bit easier.
These functions are
- getPsoutSignal use by getPsoutSignals below
- getPsoutSignals to extract a list of signals as a Pandas DataFrame
- findPsoutSignalPath find the signal path name or names of a specified signal name
Two scripts are also provided,
- psout_to_csv to extract all the signals listed in figureSetup.csv from a .psout file, and convert it to human readable .csv format
- list_psout_signals to list all signal, and their relative signal path, in a .psout file
e.g. `E:\Users\PRW\SAAI\Solbakke_TSO\MTB\export\MTB_27042026160858>list_psout_signals.py Solbakke_88.psout
[ MAIN CANVAS SIGNALS ] ... mtb_GroundTRF1
[ SUB-MODULE SIGNALS ] ... MTB\fft_neg_Id_pu MTB\fft_neg_Imag_pu MTB\fft_neg_Iq_pu MTB\fft_neg_Vmag_pu MTB\fft_pos_Id_pu MTB\fft_pos_Imag_pu MTB\fft_pos_Iq_pu MTB\fft_pos_Vmag_pu MTB\init_brk MTB\meas_Ia_kA MTB\meas_Ia_pu MTB\meas_Ib_kA MTB\meas_Ib_pu MTB\meas_Ic_kA MTB\meas_Ic_pu MTB\meas_Vab_pu MTB\meas_Vag_kV MTB\meas_Vag_pu MTB\meas_Vbc_pu ... `
For further questions or help, please check if the README or the Quickstart Guides contains the answer.
Otherwise, please contact the Energinet simulation model team: simuleringsmodeller@energinet.dk