Skip to content

[UPGRADE] of station controller. Allowing for faster and more stable run. - #3057

Open
vogt31337 wants to merge 4 commits into
developfrom
upgrade_station_controller
Open

[UPGRADE] of station controller. Allowing for faster and more stable run.#3057
vogt31337 wants to merge 4 commits into
developfrom
upgrade_station_controller

Merge branch 'develop' into upgrade_station_controller

c7ba4e6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 10, 2026 in 1m 7s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 180 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrn6&open=AZ8yc-cwPgOMskWIkrn6&pullRequest=3057

Check failure on line 973 in pandapower/control/controller/station_control.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 28 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-dhPgOMskWIkroG&open=AZ8yc-dhPgOMskWIkroG&pullRequest=3057

Check warning on line 188 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrn7&open=AZ8yc-cwPgOMskWIkrn7&pullRequest=3057

Check warning on line 189 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrn8&open=AZ8yc-cwPgOMskWIkrn8&pullRequest=3057

Check warning on line 575 in pandapower/test/control/test_stactrl_characterization.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cnPgOMskWIkrnu&open=AZ8yc-cnPgOMskWIkrnu&pullRequest=3057

Check failure on line 1278 in pandapower/control/controller/station_control.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 40 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-dhPgOMskWIkroJ&open=AZ8yc-dhPgOMskWIkroJ&pullRequest=3057

Check warning on line 737 in pandapower/control/controller/station_control.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "list(...)[0]" with "next(iter(...))" to avoid materializing the entire iterable.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-dhPgOMskWIkroC&open=AZ8yc-dhPgOMskWIkroC&pullRequest=3057

Check warning on line 101 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrn1&open=AZ8yc-cwPgOMskWIkrn1&pullRequest=3057

Check warning on line 65 in pandapower/test/control/test_stactrl_convergence.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not perform equality checks with floating point values.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-c5PgOMskWIkrn_&open=AZ8yc-c5PgOMskWIkrn_&pullRequest=3057

Check failure on line 808 in pandapower/control/controller/station_control.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 42 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-dhPgOMskWIkroE&open=AZ8yc-dhPgOMskWIkroE&pullRequest=3057

Check warning on line 89 in pandapower/test/control/test_stactrl_jacobian.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cdPgOMskWIkrnr&open=AZ8yc-cdPgOMskWIkrnr&pullRequest=3057

Check warning on line 135 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrn3&open=AZ8yc-cwPgOMskWIkrn3&pullRequest=3057

Check warning on line 79 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrny&open=AZ8yc-cwPgOMskWIkrny&pullRequest=3057

Check failure on line 1035 in pandapower/control/controller/station_control.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-dhPgOMskWIkroH&open=AZ8yc-dhPgOMskWIkroH&pullRequest=3057

Check warning on line 103 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrn2&open=AZ8yc-cwPgOMskWIkrn2&pullRequest=3057

Check warning on line 738 in pandapower/control/controller/station_control.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "list(...)[0]" with "next(iter(...))" to avoid materializing the entire iterable.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-dhPgOMskWIkroD&open=AZ8yc-dhPgOMskWIkroD&pullRequest=3057

Check warning on line 86 in pandapower/test/control/test_stactrl_jacobian.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cdPgOMskWIkrnq&open=AZ8yc-cdPgOMskWIkrnq&pullRequest=3057

Check warning on line 120 in pandapower/test/control/benchmarks/bench_station_control.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-aCPgOMskWIkrnn&open=AZ8yc-aCPgOMskWIkrnn&pullRequest=3057

Check warning on line 99 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrn0&open=AZ8yc-cwPgOMskWIkrn0&pullRequest=3057

Check warning on line 78 in pandapower/test/control/benchmarks/bench_station_control.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-aCPgOMskWIkrnl&open=AZ8yc-aCPgOMskWIkrnl&pullRequest=3057

Check warning on line 27 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrnv&open=AZ8yc-cwPgOMskWIkrnv&pullRequest=3057

Check warning on line 35 in pandapower/control/util/sensitivity.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter "J" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-d0PgOMskWIkroK&open=AZ8yc-d0PgOMskWIkroK&pullRequest=3057

Check warning on line 221 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrn-&open=AZ8yc-cwPgOMskWIkrn-&pullRequest=3057

Check failure on line 194 in pandapower/test/control/benchmarks/bench_station_control.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

LLMs running this code with faulty CLI arguments can escape file system restrictions. Refactor this code to validate the constructed path before accessing the file system.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-aCPgOMskWIkrnp&open=AZ8yc-aCPgOMskWIkrnp&pullRequest=3057

Check warning on line 177 in pandapower/test/control/test_stactrl_multistation.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=e2nIEE_pandapower&issues=AZ8yc-cwPgOMskWIkrn5&open=AZ8yc-cwPgOMskWIkrn5&pullRequest=3057