@AutoService(value=Importer.class) public class CgmesImport extends java.lang.Object implements Importer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALLOW_UNSUPPORTED_TAP_CHANGERS |
static java.lang.String |
BOUNDARY_LOCATION |
static java.lang.String |
CHANGE_SIGN_FOR_SHUNT_REACTIVE_POWER_FLOW_INITIAL_STATE |
static java.lang.String |
CONVERT_BOUNDARY |
static java.lang.String |
CREATE_BUSBAR_SECTION_FOR_EVERY_CONNECTIVITY_NODE |
static java.lang.String |
POST_PROCESSORS |
static java.lang.String |
POWSYBL_TRIPLESTORE |
static java.lang.String |
STORE_CGMES_MODEL_AS_NETWORK_EXTENSION |
Constructor and Description |
---|
CgmesImport() |
CgmesImport(PlatformConfig platformConfig) |
CgmesImport(PlatformConfig platformConfig,
java.util.List<CgmesImportPostProcessor> postProcessors) |
Modifier and Type | Method and Description |
---|---|
void |
copy(ReadOnlyDataSource from,
DataSource to)
Copy data from one data source to another.
|
boolean |
exists(ReadOnlyDataSource ds)
Check if the data source is importable
|
java.lang.String |
getComment()
Get some information about this importer.
|
java.lang.String |
getFormat()
Get a unique identifier of the format.
|
java.util.List<Parameter> |
getParameters()
Get a description of import parameters
|
Network |
importData(ReadOnlyDataSource ds,
NetworkFactory networkFactory,
java.util.Properties p)
Create a model.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
importData
public static final java.lang.String ALLOW_UNSUPPORTED_TAP_CHANGERS
public static final java.lang.String CHANGE_SIGN_FOR_SHUNT_REACTIVE_POWER_FLOW_INITIAL_STATE
public static final java.lang.String CONVERT_BOUNDARY
public static final java.lang.String CREATE_BUSBAR_SECTION_FOR_EVERY_CONNECTIVITY_NODE
public static final java.lang.String POWSYBL_TRIPLESTORE
public static final java.lang.String STORE_CGMES_MODEL_AS_NETWORK_EXTENSION
public static final java.lang.String POST_PROCESSORS
public static final java.lang.String BOUNDARY_LOCATION
public CgmesImport(PlatformConfig platformConfig, java.util.List<CgmesImportPostProcessor> postProcessors)
public CgmesImport(PlatformConfig platformConfig)
public CgmesImport()
public java.util.List<Parameter> getParameters()
Importer
getParameters
in interface Importer
public boolean exists(ReadOnlyDataSource ds)
Importer
public java.lang.String getComment()
Importer
getComment
in interface Importer
public java.lang.String getFormat()
Importer
public Network importData(ReadOnlyDataSource ds, NetworkFactory networkFactory, java.util.Properties p)
Importer
importData
in interface Importer
ds
- data sourcenetworkFactory
- network factoryp
- some properties to configure the importpublic void copy(ReadOnlyDataSource from, DataSource to)
Importer
Copyright © 2019. All rights reserved.