Package com.powsybl.ampl.executor
Class AbstractAmplModel
- java.lang.Object
-
- com.powsybl.ampl.executor.AbstractAmplModel
-
-
Constructor Summary
Constructors Constructor Description AbstractAmplModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNetworkDataPrefix()
OutputFileFormat
getOutputFormat()
int
getVariant()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.ampl.executor.AmplModel
getAmplReadableElement, getAmplRunFiles, getModelAsStream, getNetworkApplierFactory, getOutputFilePrefix
-
-
-
-
Method Detail
-
getVariant
public int getVariant()
- Specified by:
getVariant
in interfaceAmplModel
- Returns:
- network variant to export for the Ampl solve
-
getNetworkDataPrefix
public String getNetworkDataPrefix()
- Specified by:
getNetworkDataPrefix
in interfaceAmplModel
-
getOutputFormat
public OutputFileFormat getOutputFormat()
- Specified by:
getOutputFormat
in interfaceAmplModel
-
-