Class LfNetworkLoaderImpl
java.lang.Object
com.powsybl.openloadflow.network.impl.LfNetworkLoaderImpl
- All Implemented Interfaces:
LfNetworkLoader<com.powsybl.iidm.network.Network>
public class LfNetworkLoaderImpl
extends Object
implements LfNetworkLoader<com.powsybl.iidm.network.Network>
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
ConstructorDescriptionLfNetworkLoaderImpl
(Supplier<List<LfNetworkLoaderPostProcessor>> postProcessorsSupplier) -
Method Summary
Modifier and TypeMethodDescriptionload
(com.powsybl.iidm.network.Network network, LfTopoConfig topoConfig, LfNetworkParameters parameters, com.powsybl.commons.reporter.Reporter reporter) Load the given network object
-
Constructor Details
-
LfNetworkLoaderImpl
public LfNetworkLoaderImpl() -
LfNetworkLoaderImpl
-
-
Method Details
-
load
public List<LfNetwork> load(com.powsybl.iidm.network.Network network, LfTopoConfig topoConfig, LfNetworkParameters parameters, com.powsybl.commons.reporter.Reporter reporter) Description copied from interface:LfNetworkLoader
Load the given network object- Specified by:
load
in interfaceLfNetworkLoader<com.powsybl.iidm.network.Network>
- Parameters:
network
- the network to loadparameters
- parameters used to load the networkreporter
- the reporter used for functional logs- Returns:
- the list of LfNetwork, sorted by ascending connected components number then by ascending synchronous components number (hence sorted by descending connected components size then by descending synchronous components size)
-