From f2b0a182317cf8b3c8cd329431a9fdf647d1ce24 Mon Sep 17 00:00:00 2001 From: p-arvy Date: Fri, 3 Jan 2025 15:32:35 +0100 Subject: [PATCH] Clean comments Signed-off-by: p-arvy --- .../optimization/OpecReacOptimizationBoundsTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/open-reac/src/test/java/com/powsybl/openreac/optimization/OpecReacOptimizationBoundsTest.java b/open-reac/src/test/java/com/powsybl/openreac/optimization/OpecReacOptimizationBoundsTest.java index 0d0810e2..c2d076fe 100644 --- a/open-reac/src/test/java/com/powsybl/openreac/optimization/OpecReacOptimizationBoundsTest.java +++ b/open-reac/src/test/java/com/powsybl/openreac/optimization/OpecReacOptimizationBoundsTest.java @@ -104,7 +104,7 @@ void testGeneratorQmaxPmaxRatioBounds() throws IOException { @Test void testGeneratorQBoundsInterpolatedBetweenMinPMaxP() throws IOException { - // verify feasibility when minQ/maxQ are interpolated between bounds at MinP and MaxP (0 < minP < targetP < maxP) + // verify feasibility when minQ/maxQ are interpolated between minP and maxP (0 < minP < targetP < maxP) Network network = create(101, 50, 150, 150); network.getGenerator("g1").newReactiveCapabilityCurve() .beginPoint() @@ -140,7 +140,7 @@ void testGeneratorQBoundsInterpolatedBetweenMinPMaxP() throws IOException { @Test void testGeneratorQBoundsInterpolatedBetweenMinPMaxP2() throws IOException { - // verify feasibility when minQ/maxQ are interpolated between bounds at MinP and MaxP (minP < targetP < maxP < 0) + // verify feasibility when minQ/maxQ are interpolated between minP and maxP (minP < targetP < maxP < 0) Network network = create(-10, -20, -5, -10); setDefaultVoltageLimits(network, 0.85, 1.15); network.getGenerator("g1").newReactiveCapabilityCurve() @@ -176,7 +176,7 @@ void testGeneratorQBoundsInterpolatedBetweenMinPMaxP2() throws IOException { @Test void testGeneratorQBoundsInterpolatedBetweenP0MaxP() throws IOException { - // verify feasibility when minQ/maxQ are interpolated between bounds at MinP and P0 (minP < 0 < targetP < maxP) + // verify feasibility when minQ/maxQ are interpolated between P0 and maxP (minP < 0 < targetP < maxP) Network network = create(101, -50, 150, 150); network.getGenerator("g1").newReactiveCapabilityCurve() .beginPoint() @@ -211,7 +211,7 @@ void testGeneratorQBoundsInterpolatedBetweenP0MaxP() throws IOException { @Test void testGeneratorQBoundsInterpolatedBetweenP0MaxP2() throws IOException { - // verify feasibility when minQ/maxQ are interpolated between bounds at MinP and P0 (maxP < targetP < 0) + // verify feasibility when minQ/maxQ are interpolated between P0 and maxP (maxP < targetP < 0) Network network = create(-4, -20, -5, -4); setDefaultVoltageLimits(network, 0.85, 1.15); network.getGenerator("g1").newReactiveCapabilityCurve() @@ -247,7 +247,7 @@ void testGeneratorQBoundsInterpolatedBetweenP0MaxP2() throws IOException { @Test void testGeneratorQBoundsInterpolatedBetweenP0MinP() throws IOException { - // verify feasibility when minQ/maxQ are interpolated between bounds at MinP and P0 (0 < targetP < minP) + // verify feasibility when minQ/maxQ are interpolated between minP and P0 (0 < targetP < minP) Network network = create(101, 150, 200, 100); network.getGenerator("g1").newReactiveCapabilityCurve() .beginPoint() @@ -282,7 +282,7 @@ void testGeneratorQBoundsInterpolatedBetweenP0MinP() throws IOException { @Test void testGeneratorQBoundsInterpolatedBetweenP0MinP2() throws IOException { - // verify feasibility when minQ/maxQ are interpolated between bounds at MinP and P0 (minP < targetP < 0 < maxP) + // verify feasibility when minQ/maxQ are interpolated between minP and P0 (minP < targetP < 0 < maxP) Network network = create(-5.1, -10, 10, -2); setDefaultVoltageLimits(network, 0.85, 1.15); network.getGenerator("g1").newReactiveCapabilityCurve()