Package com.powsybl.matpower.converter
Class MatpowerImporter
java.lang.Object
com.powsybl.matpower.converter.MatpowerImporter
- All Implemented Interfaces:
Importer
- Author:
- Christian Biasuzzi <[email protected]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.powsybl.iidm.network.Importer
Importer.ImporterWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(ReadOnlyDataSource fromDataSource, DataSource toDataSource) Copy data from one data source to another.boolean
exists
(ReadOnlyDataSource dataSource) Check if the data source is importableGet some information about this importer.Get a unique identifier of the format.Get a description of import parametersimportData
(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 Details
-
MatpowerImporter
public MatpowerImporter()
-
-
Method Details
-
exists
Description copied from interface:Importer
Check if the data source is importable -
getComment
Description copied from interface:Importer
Get some information about this importer.- Specified by:
getComment
in interfaceImporter
-
getFormat
Description copied from interface:Importer
Get a unique identifier of the format. -
copy
Description copied from interface:Importer
Copy data from one data source to another. -
getParameters
Description copied from interface:Importer
Get a description of import parameters- Specified by:
getParameters
in interfaceImporter
- Returns:
-
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
-