Package com.powsybl.ampl.converter
Class AmplNetworkReader
- java.lang.Object
-
- com.powsybl.ampl.converter.AmplNetworkReader
-
public class AmplNetworkReader extends Object
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description AmplNetworkReader(ReadOnlyDataSource dataSource, Network network, int variantIndex, StringToIntMapper<AmplSubset> mapper)
AmplNetworkReader(ReadOnlyDataSource dataSource, Network network, StringToIntMapper<AmplSubset> mapper)
-
Method Summary
-
-
-
Constructor Detail
-
AmplNetworkReader
public AmplNetworkReader(ReadOnlyDataSource dataSource, Network network, int variantIndex, StringToIntMapper<AmplSubset> mapper)
-
AmplNetworkReader
public AmplNetworkReader(ReadOnlyDataSource dataSource, Network network, StringToIntMapper<AmplSubset> mapper)
-
-
Method Detail
-
readGenerators
public AmplNetworkReader readGenerators() throws IOException
- Throws:
IOException
-
readBatteries
public AmplNetworkReader readBatteries() throws IOException
- Throws:
IOException
-
readLoads
public AmplNetworkReader readLoads() throws IOException
- Throws:
IOException
-
readRatioTapChangers
public AmplNetworkReader readRatioTapChangers() throws IOException
- Throws:
IOException
-
readPhaseTapChangers
public AmplNetworkReader readPhaseTapChangers() throws IOException
- Throws:
IOException
-
readShunts
public AmplNetworkReader readShunts() throws IOException
- Throws:
IOException
-
readBuses
public AmplNetworkReader readBuses() throws IOException
- Throws:
IOException
-
readBranches
public AmplNetworkReader readBranches() throws IOException
- Throws:
IOException
-
readHvdcLines
public AmplNetworkReader readHvdcLines() throws IOException
- Throws:
IOException
-
readStaticVarcompensator
public AmplNetworkReader readStaticVarcompensator() throws IOException
- Throws:
IOException
-
readLccConverterStations
public AmplNetworkReader readLccConverterStations() throws IOException
- Throws:
IOException
-
readVscConverterStations
public AmplNetworkReader readVscConverterStations() throws IOException
- Throws:
IOException
-
readMetrics
public AmplNetworkReader readMetrics(Map<String,String> metrics) throws IOException
- Throws:
IOException
-
-