Package com.powsybl.ieeecdf.converter
Class IeeeCdfImporter
- java.lang.Object
-
- com.powsybl.ieeecdf.converter.IeeeCdfImporter
-
- All Implemented Interfaces:
Importer
@AutoService(Importer.class) public class IeeeCdfImporter extends Object implements Importer
- Author:
- Geoffroy Jamgotchian
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.iidm.network.Importer
Importer.ImporterWrapper
-
-
Constructor Summary
Constructors Constructor Description IeeeCdfImporter()
IeeeCdfImporter(ToDoubleFunction<IeeeCdfBus> nominalVoltageProvider)
-
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)
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
-
-
-
-
Constructor Detail
-
IeeeCdfImporter
public IeeeCdfImporter()
-
IeeeCdfImporter
public IeeeCdfImporter(ToDoubleFunction<IeeeCdfBus> nominalVoltageProvider)
-
-
Method Detail
-
getFormat
public String getFormat()
Description copied from interface:Importer
Get a unique identifier of the format.
-
getParameters
public List<Parameter> getParameters()
Description copied from interface:Importer
Get a description of import parameters- Specified by:
getParameters
in interfaceImporter
- Returns:
-
getComment
public String getComment()
Description copied from interface:Importer
Get some information about this importer.- Specified by:
getComment
in interfaceImporter
-
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)
Description copied from interface:Importer
Create a model.- Specified by:
importData
in interfaceImporter
- Parameters:
dataSource
- data sourcenetworkFactory
- network factoryparameters
- some properties to configure the import- Returns:
- the model
-
-