Package com.powsybl.matpower.model
Class MatpowerReader
- java.lang.Object
-
- com.powsybl.matpower.model.MatpowerReader
-
public final class MatpowerReader extends Object
- Author:
- Christian Biasuzzi
-
-
Field Summary
Fields Modifier and Type Field Description static String
MATPOWER_STRUCT_NAME
static String
MATPOWER_SUPPORTED_VERSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatpowerModel
read(InputStream iStream, String caseName)
static MatpowerModel
read(Path file, String caseName)
-
-
-
Field Detail
-
MATPOWER_STRUCT_NAME
public static final String MATPOWER_STRUCT_NAME
- See Also:
- Constant Field Values
-
MATPOWER_SUPPORTED_VERSION
public static final String MATPOWER_SUPPORTED_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
read
public static MatpowerModel read(Path file, String caseName) throws IOException
- Throws:
IOException
-
read
public static MatpowerModel read(InputStream iStream, String caseName) throws IOException
- Throws:
IOException
-
-