Class LoadFlowActionSimulatorLogPrinter
java.lang.Object
com.powsybl.action.ial.simulator.loadflow.DefaultLoadFlowActionSimulatorObserver
com.powsybl.action.ial.simulator.loadflow.LoadFlowActionSimulatorLogPrinter
- All Implemented Interfaces:
LoadFlowActionSimulatorObserver
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
ConstructorDescriptionLoadFlowActionSimulatorLogPrinter
(PrintStream out, PrintStream err, boolean verbose) -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeAction
(RunningContext runningContext, String actionId) void
beforePostContingencyAnalysis
(RunningContext runningContext) void
beforePreContingencyAnalysis
(RunningContext runningContext) void
beforeTest
(RunningContext runningContext, String actionId) void
loadFlowConverged
(RunningContext runningContext, List<LimitViolation> violations) void
loadFlowDiverged
(RunningContext runningContext) void
maxIterationsReached
(RunningContext runningContext) void
noMoreViolations
(RunningContext runningContext) void
roundBegin
(RunningContext runningContext) void
ruleChecked
(RunningContext runningContext, Rule rule, RuleEvaluationStatus status, Map<String, Object> variables, Map<String, Boolean> actions) void
violationsAnymoreAndNoRulesMatch
(RunningContext runningContext) Methods inherited from class com.powsybl.action.ial.simulator.loadflow.DefaultLoadFlowActionSimulatorObserver
afterAction, afterApplyTest, afterPostContingencyAnalysis, afterPreContingencyAnalysis, afterTest, beforeApplyTest, divergedAfterTest, noMoreViolationsAfterTest, postContingencyAnalysisNetworkLoaded, roundEnd, violationsAfterTest
-
Constructor Details
-
LoadFlowActionSimulatorLogPrinter
-
-
Method Details
-
beforePreContingencyAnalysis
- Specified by:
beforePreContingencyAnalysis
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
beforePreContingencyAnalysis
in classDefaultLoadFlowActionSimulatorObserver
-
beforePostContingencyAnalysis
- Specified by:
beforePostContingencyAnalysis
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
beforePostContingencyAnalysis
in classDefaultLoadFlowActionSimulatorObserver
-
roundBegin
- Specified by:
roundBegin
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
roundBegin
in classDefaultLoadFlowActionSimulatorObserver
-
loadFlowDiverged
- Specified by:
loadFlowDiverged
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
loadFlowDiverged
in classDefaultLoadFlowActionSimulatorObserver
-
loadFlowConverged
- Specified by:
loadFlowConverged
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
loadFlowConverged
in classDefaultLoadFlowActionSimulatorObserver
-
ruleChecked
public void ruleChecked(RunningContext runningContext, Rule rule, RuleEvaluationStatus status, Map<String, Object> variables, Map<String, Boolean> actions) - Specified by:
ruleChecked
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
ruleChecked
in classDefaultLoadFlowActionSimulatorObserver
-
beforeAction
- Specified by:
beforeAction
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
beforeAction
in classDefaultLoadFlowActionSimulatorObserver
-
beforeTest
- Specified by:
beforeTest
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
beforeTest
in classDefaultLoadFlowActionSimulatorObserver
-
noMoreViolations
- Specified by:
noMoreViolations
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
noMoreViolations
in classDefaultLoadFlowActionSimulatorObserver
-
violationsAnymoreAndNoRulesMatch
- Specified by:
violationsAnymoreAndNoRulesMatch
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
violationsAnymoreAndNoRulesMatch
in classDefaultLoadFlowActionSimulatorObserver
-
maxIterationsReached
- Specified by:
maxIterationsReached
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
maxIterationsReached
in classDefaultLoadFlowActionSimulatorObserver
-