Skip to content

Repin BMOPFTools to main 602992e29 - #76

Merged
frederikgeth merged 3 commits into
mainfrom
sync/bmopftools-602992e
Nov 12, 2026
Merged

frederikgeth merged 3 commits into
mainfrom
sync/bmopftools-602992e

Conversation

@frederikgeth

@frederikgeth frederikgeth commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

Moves the BMOPFTools source pin from 9faedbfe8 (frederikgeth/BMOPFTools.jl#462, 2026-10-24) to 602992e29 (frederikgeth/BMOPFTools.jl#490), the current BMOPFTools main. The pin is updated in all three places the contributing guide lists: Project.toml, docs/Project.toml and docs/src/contributing.md.

Upstream changes picked up (38 commits)

  • PowerIO 0.11.7 → 0.11.11 and refreshed round-trip evidence
  • American English pass across docs, diagnostics and labels; identifiers and input aliases kept (#474)
  • OPF starts: constant-power load and generator currents are seeded, and resolve_opf! now warm-starts by default (#488)
  • Neutral-only branches are excluded from voltage levels, zones, radiality and downstream paths (#482–#485)
  • sideload_geolayer! for PowerIO GeoLayer geometry (#486)
  • Pinned IBR and generator P/Q are now one equality row, under the new :*_p_equality / :*_q_equality constraint names; this fixes a flaky per-unit power flow (#490)

Impact on PowerOptLab

No code changes were needed. PowerOptLab doesn't reference the :ibr_* / :generator_* lower/upper constraint names that #490 replaces for pinned devices, and it doesn't call resolve_opf!.

Verification

Local runs on Julia 1.12:

  • scripts/instantiate_pinned.jl resolves BMOPFTools at 602992e29
  • Pkg.test(): 22,372 passing
  • scripts/run_doe_tutorials.jl: 8 tutorials pass
  • scripts/run_study_tutorials.jl: 8 tutorials pass

Not run locally: Julia 1.10 and the documentation build. This PR's CI covers both.

Australian-PV evidence resealed

The "Solver and saved evidence" job audits saved records against the exact Project.toml bytes, so the repin made the sealed 116e279 campaign stale. Following studies/australian_pv/evidence/README.md:

  1. 9b0ce1d: repin only.
  2. 25327e0: regenerated every evidence root from the clean repin commit (Julia 1.12.6) and froze the full records once.
  3. 5355e36: packed a new bundle (15217af8…, 369 files, 15.1 MB) as current-25327e0.json → current.json, untracked the raw records again, and dropped the superseded 116e279 bundle and manifest. One current bundle remains, as in b442b2d.

What changed in the results: nothing beyond solver tolerance.

  • Every acceptance outcome matches the sealed campaign: 15/15 declared points with PF/OPF agreement, legacy fixture 11/15, all 60 EMT references enclosed, carrier-domain and DC-boundary audits accepted, and the retained LF-only hardware failure is still present.
  • Power, voltage and loss values move by a relative 1e-9 to 1e-11; the largest absolute change is 2.7e-5 W on a 31 kW export. This comes from the new OPF starts (#488) and one-row pinned bounds (#490).
  • PF/OPF agreement improves from 5.9e-8 V to 1.9e-8 V. The regenerated report, figures and compact summary reflect this.
  • The sealed domain audit had been run with numpy 2.0.2; this one uses the pinned 2.5.4.

Verified locally: every step of the evidence job passes (restore, rated-capability gate, test_coordinated_engineering, test_engineering_benchmark, the Python gates, summarize_evidence --check, test_emt_circuit).

🤖 Generated with Claude Code

frederikgeth and others added 3 commits November 11, 2026 20:07
Move the BMOPFTools source pin from 9faedbfe8 (#462, 2026-10-24) to
602992e29 (#490), picking up 38 upstream commits: PowerIO 0.11.11, the
American English pass (#474, identifiers preserved), OPF current seeding and
resolve_opf! warm starts (#488), neutral-only branch handling (#482-#485),
sideload_geolayer! (#486), and one-row equality bounds for pinned IBR and
generator P/Q (#490).

No PowerOptLab code changes were needed: it does not reference the
renamed :*_p/q_lower/upper constraint families or call resolve_opf!.

Verified locally on Julia 1.12: Pkg.test (22,372 passes), the DOE tutorials
(8) and the study tutorials (8).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Regenerated every Australian-PV evidence root from the clean repin commit
9b0ce1d (Julia 1.12.6): matched benchmark, legacy-fixture sensitivity, 60
matched EMT references, carrier domain and DC boundary. All acceptance gates
match the sealed 116e279 campaign: 15/15 declared points with PF/OPF
agreement, legacy 11/15, every thermal prediction encloses its switched
reference, carrier-domain and boundary audits accepted, retained LF-only
hardware failure.

Numbers move only within solver tolerance (relative 1e-9 to 1e-11 on
power, voltage and loss; largest absolute 2.7e-5 W on 31 kW), from the new
OPF starts (#488) and one-row pinned equality bounds (#490). PF/OPF
agreement improves from 5.9e-8 V to 1.9e-8 V. Raw records are compacted out
in the next commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pack the regenerated records from 25327e0 into a new content-addressed
bundle (15217af8..., 369 files, 15.1 MB) with manifest current-25327e0.json,
and make it current.json. Untrack the 360 raw records again, so the tree
keeps the same compact files as before.

Drop the superseded 116e279 bundle and manifest: the new campaign reproduces
every acceptance outcome within solver tolerance, so one current bundle
remains (as in b442b2d).

Verified locally: evidence restore, rated-capability gate,
test_coordinated_engineering, test_engineering_benchmark (saved-point SI
audit), the Python evidence/network/domain/EMT/plot gates,
summarize_evidence --check and test_emt_circuit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@frederikgeth
frederikgeth merged commit 5d2099a into main Nov 12, 2026
10 of 11 checks passed
@frederikgeth
frederikgeth deleted the sync/bmopftools-602992e branch November 12, 2026 04:51
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