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 <geoffroy.jamgotchian at rte-france.com>
  • Constructor Details

    • IeeeCdfImporter

      public IeeeCdfImporter()
    • IeeeCdfImporter

      public IeeeCdfImporter(ToDoubleFunction<IeeeCdfBus> nominalVoltageProvider)
  • Method Details

    • getFormat

      public String getFormat()
      Description copied from interface: Importer
      Get a unique identifier of the format.
      Specified by:
      getFormat in interface Importer
    • getParameters

      public List<Parameter> getParameters()
      Description copied from interface: Importer
      Get a description of import parameters
      Specified by:
      getParameters in interface Importer
      Returns:
    • getComment

      public String getComment()
      Description copied from interface: Importer
      Get some information about this importer.
      Specified by:
      getComment in interface Importer
    • exists

      public boolean exists(ReadOnlyDataSource dataSource)
      Description copied from interface: Importer
      Check if the data source is importable
      Specified by:
      exists in interface Importer
      Parameters:
      dataSource - the data source
      Returns:
      true if the data source is importable, false otherwise
    • copy

      public void copy(ReadOnlyDataSource fromDataSource, DataSource toDataSource)
      Description copied from interface: Importer
      Copy data from one data source to another.
      Specified by:
      copy in interface Importer
      Parameters:
      fromDataSource - from data source
      toDataSource - destination data source
    • importData

      public Network importData(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters)
      Description copied from interface: Importer
      Create a model.
      Specified by:
      importData in interface Importer
      Parameters:
      dataSource - data source
      networkFactory - network factory
      parameters - some properties to configure the import
      Returns:
      the model