mpc2system#
- ams.io.matpower.mpc2system(mpc: dict, system) bool[source]#
Load an mpc dict into an empty AMS system.
Revised from
andes.io.matpower.mpc2system.Note that mbase in mpc is converted to Sn, but it is not actually used in MATPOWER nor AMS.
- Parameters:
- systemams.system.System
Empty system to load the data into.
- mpcdict
mpc struct names : numpy arrays
- Returns:
- bool
True if successful, False otherwise.