Package com.powsybl.ucte.converter
Class UcteImporter
- java.lang.Object
-
- com.powsybl.ucte.converter.UcteImporter
-
- All Implemented Interfaces:
Importer
@AutoService(Importer.class) public class UcteImporter extends Object implements Importer
- Author:
- Geoffroy Jamgotchian
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.iidm.network.Importer
Importer.ImporterWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMBINE_PHASE_ANGLE_REGULATION
-
Constructor Summary
Constructors Constructor Description UcteImporter()
UcteImporter(PlatformConfig platformConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copy(ReadOnlyDataSource fromDataSource, DataSource toDataSource)
Copy data from one data source to another.boolean
exists(ReadOnlyDataSource dataSource)
Check if the data source is importableString
getComment()
Get some information about this importer.String
getFormat()
Get a unique identifier of the format.List<Parameter>
getParameters()
Get a description of import parametersNetwork
importData(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters, Reporter reporter)
Create a model.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.iidm.network.Importer
importData, importData
-
-
-
-
Field Detail
-
COMBINE_PHASE_ANGLE_REGULATION
public static final String COMBINE_PHASE_ANGLE_REGULATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UcteImporter
public UcteImporter()
-
UcteImporter
public UcteImporter(PlatformConfig platformConfig)
-
-
Method Detail
-
getFormat
public String getFormat()
Description copied from interface:Importer
Get a unique identifier of the format.
-
getComment
public String getComment()
Description copied from interface:Importer
Get some information about this importer.- Specified by:
getComment
in interfaceImporter
-
getParameters
public List<Parameter> getParameters()
Description copied from interface:Importer
Get a description of import parameters- Specified by:
getParameters
in interfaceImporter
- Returns:
-
exists
public boolean exists(ReadOnlyDataSource dataSource)
Description copied from interface:Importer
Check if the data source is importable
-
copy
public void copy(ReadOnlyDataSource fromDataSource, DataSource toDataSource)
Description copied from interface:Importer
Copy data from one data source to another.
-
importData
public Network importData(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters, Reporter reporter)
Description copied from interface:Importer
Create a model.- Specified by:
importData
in interfaceImporter
- Parameters:
dataSource
- data sourcenetworkFactory
- network factoryparameters
- some properties to configure the importreporter
- the reporter used for functional logs- Returns:
- the model
-
-