Class CaseExporter
java.lang.Object
com.powsybl.action.ial.simulator.loadflow.DefaultLoadFlowActionSimulatorObserver
com.powsybl.action.ial.simulator.loadflow.CaseExporter
- All Implemented Interfaces:
LoadFlowActionSimulatorObserver
- Author:
- Teofil Calin BANC <teofil-calin.banc at rte-france.com> Allows to export to the "outputCaseFolder" folder in the "outputCaseFormat" format the case for action-simulator. The call of this observer is optional.
-
Constructor Summary
ConstructorDescriptionCaseExporter
(Path outputCaseFolder, String basename, String outputCaseFormat, CompressionFormat compressionFormat, boolean exportEachRound) CaseExporter
(Path outputCaseFolder, String basename, String outputCaseFormat, CompressionFormat compressionFormat, boolean exportEachRound, ExportersLoader loader) -
Method Summary
Modifier and TypeMethodDescriptionvoid
loadFlowConverged
(RunningContext runningContext, List<LimitViolation> violations) void
loadFlowDiverged
(RunningContext runningContext) void
maxIterationsReached
(RunningContext runningContext) void
noMoreViolations
(RunningContext runningContext) void
violationsAnymoreAndNoRulesMatch
(RunningContext runningContext) Methods inherited from class com.powsybl.action.ial.simulator.loadflow.DefaultLoadFlowActionSimulatorObserver
afterAction, afterApplyTest, afterPostContingencyAnalysis, afterPreContingencyAnalysis, afterTest, beforeAction, beforeApplyTest, beforePostContingencyAnalysis, beforePreContingencyAnalysis, beforeTest, divergedAfterTest, noMoreViolationsAfterTest, postContingencyAnalysisNetworkLoaded, roundBegin, roundEnd, ruleChecked, violationsAfterTest
-
Constructor Details
-
CaseExporter
public CaseExporter(Path outputCaseFolder, String basename, String outputCaseFormat, CompressionFormat compressionFormat, boolean exportEachRound) -
CaseExporter
public CaseExporter(Path outputCaseFolder, String basename, String outputCaseFormat, CompressionFormat compressionFormat, boolean exportEachRound, ExportersLoader loader)
-
-
Method Details
-
loadFlowDiverged
- Specified by:
loadFlowDiverged
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
loadFlowDiverged
in classDefaultLoadFlowActionSimulatorObserver
-
loadFlowConverged
- Specified by:
loadFlowConverged
in interfaceLoadFlowActionSimulatorObserver
- Overrides:
loadFlowConverged
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
-