Package com.powsybl.sensitivity
Class SensitivityResultCsvWriter
java.lang.Object
com.powsybl.sensitivity.SensitivityResultCsvWriter
- All Implemented Interfaces:
SensitivityResultWriter
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
ConstructorDescriptionSensitivityResultCsvWriter
(TableFormatter formatter, TableFormatter formatterContingencyStatus, List<Contingency> contingencies) -
Method Summary
Modifier and TypeMethodDescriptionstatic TableFormatter
static TableFormatter
createTableFormatter
(Writer writer) void
writeContingencyStatus
(int contingencyIndex, SensitivityAnalysisResult.Status status) void
writeSensitivityValue
(int factorIndex, int contingencyIndex, double value, double functionReference)
-
Constructor Details
-
SensitivityResultCsvWriter
public SensitivityResultCsvWriter(TableFormatter formatter, TableFormatter formatterContingencyStatus, List<Contingency> contingencies)
-
-
Method Details
-
createTableFormatter
-
createContingencyStatusTableFormatter
-
writeSensitivityValue
public void writeSensitivityValue(int factorIndex, int contingencyIndex, double value, double functionReference) - Specified by:
writeSensitivityValue
in interfaceSensitivityResultWriter
-
writeContingencyStatus
- Specified by:
writeContingencyStatus
in interfaceSensitivityResultWriter
-