ams.io.matpower#

MATPOWER parser. This module is revised from the existing module andes.io.matpower.

Functions

mpc2system(mpc, system)

Load an mpc dict into an empty AMS system.

read(system, file)

Read a MATPOWER data file into mpc, and build andes device elements.

system2mpc(system)

Convert data from an AMS system to an mpc dict.

testlines(infile)

Test if this file is in the MATPOWER format.