diff --git a/flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionObserver.java b/flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionObserver.java index 331ca5ff..5d79f031 100644 --- a/flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionObserver.java +++ b/flow-decomposition/src/main/java/com/powsybl/flow_decomposition/FlowDecompositionObserver.java @@ -32,7 +32,7 @@ public interface FlowDecompositionObserver { void computingBaseCase(); /** - * Called when starting to compute for the contingency + * Called when a contingency computation starts * * @param contingencyId The current contingency id */ @@ -46,35 +46,35 @@ public interface FlowDecompositionObserver { void computedGlsk(Map> glsks); /** - * Called when net positions are computed (during base case computation) + * Called when net positions are computed (for base case computation) * * @param netPositions the net positions per country */ void computedNetPositions(Map netPositions); /** - * Called when the nodal injection matrix is computed (during n-state or contingency) + * Called when the nodal injection matrix is computed (for base case or contingency) * * @param nodalInjections the matrix of nodal injections indexed by(node, flow) */ void computedNodalInjectionsMatrix(Map> nodalInjections); /** - * Called when the PTDF matrix is computed (during n-state or contingency) + * Called when the PTDF matrix is computed (for base case or contingency) * * @param pdtfMatrix the matrix of ptdf indexed by (line, node) */ void computedPtdfMatrix(Map> pdtfMatrix); /** - * Called when the psdf matrix is computed (during n-state or contingency) + * Called when the PSDF matrix is computed (for base case or contingency) * * @param psdfMatrix the matrix of psdf indexed by (line, node) */ void computedPsdfMatrix(Map> psdfMatrix); /** - * Called when the AC nodal injections matrix is computed (during n-state or contingency) + * Called when the AC nodal injections matrix is computed (for base case or contingency) * * @param positions the positions after AC loadflow * @param fallbackHasBeenActivated true if AC loadflow didn't converge @@ -82,21 +82,21 @@ public interface FlowDecompositionObserver { void computedAcNodalInjections(Map positions, boolean fallbackHasBeenActivated); /** - * Called when the DC nodal injections matrix is computed (during n-state or contingency) + * Called when the DC nodal injections matrix is computed (for base case or contingency) * * @param positions the positions after DC loadflow */ void computedDcNodalInjections(Map positions); /** - * Called when the AC loadflow is computed (during n-state or contingency) + * Called when the AC loadflow is computed (for base case or contingency) * * @param flows the flows for all branches */ void computedAcFlows(Map flows); /** - * Called when the DC loadflow is computed (during n-state or contingency) + * Called when the DC loadflow is computed (for base case or contingency) * * @param flows the flows for all branches */