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