Skip to content

Commit

Permalink
Fix SA results by forcing DFL to ouputs networks after SA.
Browse files Browse the repository at this point in the history
Signed-off-by: Gautier Bureau <gautier.bureau@rte-france.com>
  • Loading branch information
gautierbureau committed Feb 2, 2023
1 parent 44ae6f7 commit efce59d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ private static void writeParameters(SecurityAnalysisParameters securityAnalysisP
// TODO(Luma) Take into account also Security Analysis parameters
LoadFlowParameters loadFlowParameters = securityAnalysisParameters.getLoadFlowParameters();
DynaFlowParameters dynaFlowParameters = getParametersExt(loadFlowParameters);
dynaFlowParameters.setChosenOutputs(Collections.singletonList(DynaFlowConstants.OutputTypes.STEADYSTATE.name()));
DynaFlowConfigSerializer.serialize(loadFlowParameters, dynaFlowParameters, Path.of("."), workingDir.resolve(CONFIG_FILENAME));
}

Expand Down

0 comments on commit efce59d

Please sign in to comment.