Skip to content

Speed up Time-Step notebook, parallel aggregate in Mode A, run notebooks in CI#15

Merged
erikfilias merged 1 commit into
mainfrom
improve-notebooks-and-ci
Jun 29, 2026
Merged

Speed up Time-Step notebook, parallel aggregate in Mode A, run notebooks in CI#15
erikfilias merged 1 commit into
mainfrom
improve-notebooks-and-ci

Conversation

@erikfilias

@erikfilias erikfilias commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Three improvements:

  • 02-Time-Step: reworked 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. Output embedded.
  • 5.1 Sweep Mode A: the aggregate_to example now runs with backend="multiprocessing", showing the parallel backend composes with result aggregation.
  • CI: Test Binder Build 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 pending their own rework — 3.1 writes back into the case folder and runs a clustering step.)

…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>
@erikfilias erikfilias merged commit 39af099 into main Jun 29, 2026
1 check passed
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.

1 participant