Package com.powsybl.ampl.converter
Class AmplExporter
- java.lang.Object
-
- com.powsybl.ampl.converter.AmplExporter
-
- All Implemented Interfaces:
Exporter
@AutoService(Exporter.class) public class AmplExporter extends Object implements Exporter
- Author:
- Geoffroy Jamgotchian
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXPORT_ACTION_TYPE
static String
EXPORT_RATIOTAPCHANGER_VT
static String
EXPORT_SCOPE
static String
EXPORT_XNODES
static String
TWT_SPLIT_SHUNT_ADMITTANCE
-
Constructor Summary
Constructors Constructor Description AmplExporter()
AmplExporter(PlatformConfig platformConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(Network network, Properties parameters, DataSource dataSource)
Export a model.String
getComment()
Get some information about this exporter.String
getFormat()
Get a unique identifier of the format.List<Parameter>
getParameters()
Get a description of export parameters
-
-
-
Field Detail
-
EXPORT_SCOPE
public static final String EXPORT_SCOPE
- See Also:
- Constant Field Values
-
EXPORT_XNODES
public static final String EXPORT_XNODES
- See Also:
- Constant Field Values
-
EXPORT_ACTION_TYPE
public static final String EXPORT_ACTION_TYPE
- See Also:
- Constant Field Values
-
EXPORT_RATIOTAPCHANGER_VT
public static final String EXPORT_RATIOTAPCHANGER_VT
- See Also:
- Constant Field Values
-
TWT_SPLIT_SHUNT_ADMITTANCE
public static final String TWT_SPLIT_SHUNT_ADMITTANCE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AmplExporter
public AmplExporter()
-
AmplExporter
public AmplExporter(PlatformConfig platformConfig)
-
-
Method Detail
-
getFormat
public String getFormat()
Description copied from interface:Exporter
Get a unique identifier of the format.
-
getComment
public String getComment()
Description copied from interface:Exporter
Get some information about this exporter.- Specified by:
getComment
in interfaceExporter
-
export
public void export(Network network, Properties parameters, DataSource dataSource)
Description copied from interface:Exporter
Export a model.
-
getParameters
public List<Parameter> getParameters()
Description copied from interface:Exporter
Get a description of export parameters- Specified by:
getParameters
in interfaceExporter
- Returns:
-
-