MHI Packages#

Python packages authored by Manitoba Hydro International include:

Package

Description

Documentation

mhi.common

the MHI Common Library

local

mhi.cosim

for running PSCAD cosimulations with Python

local

mhi.enerplot

the Enerplot Automation Library

local web

mhi.pscad

the PSCAD Automation Library

local web

mhi.pscad.extras

additional PSCAD automation actions

local

mhi.psout

read *.psout files

local

mhi.xml

read & write *.pscx, *.pslx and *.pswx files

local

Note

The “local” documentation links, above, will only function if a recent version of the module in question has been installed.

The packages may be installed using a Python PIP command, such as:

py -m pip install --user mhi.cosim

Warning

The mhi package on PyPI is the “Mail Handler for IMAP”. It is unrelated to Manitoba Hydro International and may interfere with PSCAD operation. Do not install it. If you have accidentally installed it, please remove it using one (or more) of the following commands:

py -m pip uninstall -y mhi
py -3.7 -m pip uninstall -y mhi
py -3.13 -m pip uninstall -y mhi