mpc2system#
- ams.io.matpower.mpc2system(mpc: dict, system) bool[source]#
Load an mpc dict into an empty AMS system.
This function is revised from
andes.io.matpower.mpc2system.Compared to the original one, this function includes the generator cost data.
- Parameters:
- systemandes.system.System
Empty system to load the data into.
- mpcdict
mpc struct names : numpy arrays
- Returns:
- bool
True if successful, False otherwise.