Skip to content

Changes for the BundleSolver 2.0, again - #76

Merged
AlessandroPampado99 merged 12 commits into
SPSUnipi:mainfrom
dmeoli:feature/uncapped-pollutant-instances
Oct 28, 2026
Merged

AlessandroPampado99 merged 12 commits into
SPSUnipi:mainfrom
dmeoli:feature/uncapped-pollutant-instances

Conversation

@dmeoli

@dmeoli dmeoli commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

This is #62 again, which #74 reverted because the tests failed with the FutureWarnings as errors of #67. The tests of main fail in the same way without #62 (see #75, which fixes them: the warnings are raised by linopy inside PyPSA), so this has the content of #62 unchanged, merged with main, plus one fix of its own: test_investment_outside_matches_the_flat_optimum now passes include_objective_constant=True to optimize(), as #67 does for the other tests, since PyPSA warns about its default.

With the change of #75 the whole suite passes with the FutureWarnings as errors: 52 passed and 17 skipped, with ucblock_solver, tssb_solver and investmentblock_solver of SMS++ develop on the PATH. It is to be merged after #75.

The description of #62 still holds for the content.

…ber of its modules, tested as an xlsx case of the sweep
…teger design too, the number of its modules, and solves it with the BundleSolver of InvestmentBlock/BSPar-int.txt
…AC network into a transport model without Kirchhoff's voltage law
… no capital cost, was fixed at a large capacity before the merge, accepts a preset or a list of presets, and the merged links are read back also per scenario
…ltage law since the lines have their susceptance, is left out where the solver is a released SMS++, whose DCNetworkBlock finds it infeasible
…e scenarios are in the InnerSolution of the InvestmentBlock, and its design goes to every scenario of the asset; tested against PyPSA on a TSSB and an MSSB
…arginal_cost, Cost being a price on the net injection
…tive_constant, whose default PyPSA warns about, the FutureWarnings being errors since SPSUnipi#67
…build of SMS++ has not the Solver of its configuration, which asks for GUROBI
@AlessandroPampado99
AlessandroPampado99 merged commit a2ef36f into SPSUnipi:main Oct 28, 2026
6 of 7 checks passed
@dmeoli
dmeoli deleted the feature/uncapped-pollutant-instances branch October 28, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants