public interface LoadFlowProvider
extends com.powsybl.commons.Versionable, com.powsybl.commons.config.PlatformConfigNamedProvider
Modifier and Type | Method and Description |
---|---|
CompletableFuture<LoadFlowResult> |
run(Network network,
ComputationManager computationManager,
String workingVariantId,
LoadFlowParameters parameters)
Run a loadflow on variant
workingVariantId of network delegating external program execution to
computationManager if necessary and using loadflow execution parameters . |
CompletableFuture<LoadFlowResult> run(Network network, ComputationManager computationManager, String workingVariantId, LoadFlowParameters parameters)
workingVariantId
of network
delegating external program execution to
computationManager
if necessary and using loadflow execution parameters
. This method is expected
to be stateless so that it can be call simultaneously with different arguments (a different network for instance)
without any concurrency issue.network
- the networkcomputationManager
- a computation manager to external program executionworkingVariantId
- variant id of the networkparameters
- load flow execution parametersCompletableFuture
on {@link LoadFlowResult]Copyright © 2020. All rights reserved.