Speed up Time-Step notebook, parallel aggregate in Mode A, run notebooks in CI#15
Merged
Conversation
…oks in CI - 02-Time-Step: rework to a one-week copy of 9n at hourly vs tetra-hourly resolution. The old notebook ran the full year with glpk and wrote back into the committed 9n case; it now copies the case, truncates the horizon to a week (clearing the annual RES-energy requirement so the short slice stays feasible), uses HiGHS, and solves in seconds. - 5.1 Sweep Mode A: the aggregate_to example now runs with backend='multiprocessing', showing that the parallel backend composes with result aggregation. - CI: the Test Binder Build workflow now also triggers on notebooks/** and executes the tutorial notebooks inside the built image, so a notebook that no longer runs is caught. 1.3 and 3.1 are excluded for now (3.1 writes back into the case folder and runs a clustering step) pending their own rework. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three improvements:
9nat hourly vs tetra-hourly resolution. The old notebook ran the full year with glpk and wrote back into the committed9ncase; it now copies the case, truncates the horizon to a week (clearing the annual RES-energy requirement so the short slice stays feasible), uses HiGHS, and solves in seconds. Output embedded.aggregate_toexample now runs withbackend="multiprocessing", showing the parallel backend composes with result aggregation.Test Binder Buildnow also triggers onnotebooks/**and executes the tutorial notebooks inside the built image, so a notebook that no longer runs is caught. (1.3and3.1are excluded for now pending their own rework —3.1writes back into the case folder and runs a clustering step.)