Module com.powsybl.action.simulator
Class ParallelLoadFlowActionSimulator
- java.lang.Object
-
- com.powsybl.action.simulator.loadflow.ParallelLoadFlowActionSimulator
-
public class ParallelLoadFlowActionSimulator extends Object
Runs a load flow action simulator through calls to itools action-simulator command, submitted to the computation manager.- Author:
- Yichen Tang
, Teofil Calin BANC
-
-
Constructor Summary
Constructors Constructor Description ParallelLoadFlowActionSimulator(Network network, ComputationManager cm, int taskCount)
ParallelLoadFlowActionSimulator(Network network, ComputationManager cm, int taskCount, LoadFlowActionSimulatorConfig config, boolean applyIfSolved, Consumer<SecurityAnalysisResult>... resultHandlers)
ParallelLoadFlowActionSimulator(Network network, ComputationManager cm, int taskCount, LoadFlowActionSimulatorConfig config, boolean applyIfSolved, List<Consumer<SecurityAnalysisResult>> resultHandlers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(String script, List<String> contingencyIds)
Runs a load flow action simulator through calls to itools action-simulator command, submitted to the computation manager.
-
-
-
Constructor Detail
-
ParallelLoadFlowActionSimulator
public ParallelLoadFlowActionSimulator(Network network, ComputationManager cm, int taskCount)
-
ParallelLoadFlowActionSimulator
public ParallelLoadFlowActionSimulator(Network network, ComputationManager cm, int taskCount, LoadFlowActionSimulatorConfig config, boolean applyIfSolved, Consumer<SecurityAnalysisResult>... resultHandlers)
-
ParallelLoadFlowActionSimulator
public ParallelLoadFlowActionSimulator(Network network, ComputationManager cm, int taskCount, LoadFlowActionSimulatorConfig config, boolean applyIfSolved, List<Consumer<SecurityAnalysisResult>> resultHandlers)
-
-