read#

ams.io.pypower.read(system, file)[source]#

Read a PYPOWER case file into ppc and return an AMS system by calling ppc2system.

Parameters:
systemams.system

Empty AMS system to load data into.

filestr

The path to the PYPOWER file.

Returns:
systemams.system.System

The AMS system that loaded the data.