Skip to content

Commit

Permalink
Update Monitoring.java
Browse files Browse the repository at this point in the history
Signed-off-by: Roxane Chen <[email protected]>
  • Loading branch information
RoxaneChen02 authored Jan 17, 2025
1 parent ce33d9c commit c6caedc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public Monitoring(String loadFlowProvider, LoadFlowParameters loadFlowParameters
* Main function : runs AngleMonitoring computation on all AngleCnecs defined in the CRAC.
* Returns an RaoResult enhanced with AngleMonitoringResult
*/
public static RaoResultWithAngleMonitoring runAngleAndUpdateRaoResult(String loadFlowProvider, LoadFlowParameters loadFlowParameters, int numberOfLoadFlowsInParallel, MonitoringInput monitoringInput) throws OpenRaoException {
public static RaoResult runAngleAndUpdateRaoResult(String loadFlowProvider, LoadFlowParameters loadFlowParameters, int numberOfLoadFlowsInParallel, MonitoringInput monitoringInput) throws OpenRaoException {
return new RaoResultWithAngleMonitoring(monitoringInput.getRaoResult(), new Monitoring(loadFlowProvider, loadFlowParameters).runMonitoring(monitoringInput, numberOfLoadFlowsInParallel));
}

Expand Down Expand Up @@ -141,7 +141,6 @@ public MonitoringResult runMonitoring(MonitoringInput monitoringInput, int numbe
} catch (Exception e) {
Thread.currentThread().interrupt();
monitoringResult.setStatusToFailure();

}

BUSINESS_LOGS.info("----- {} monitoring [end]", physicalParameter);
Expand Down

0 comments on commit c6caedc

Please sign in to comment.