Skip to content

Add single-law PV sweep and two-bus street study scripts - #77

Merged
frederikgeth merged 1 commit into
mainfrom
study/two-bus-street-vv
Nov 16, 2026
Merged

frederikgeth merged 1 commit into
mainfrom
study/two-bus-street-vv

Conversation

@frederikgeth

@frederikgeth frederikgeth commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • scripts/australian_pv/single_law_sweep.jl: runs the LV3 feeder with every site on a single voltage-aware law (average, highest phase, each phase). It can add single-phase PV on phase C and sweeps the source voltage.
  • scripts/australian_pv/two_bus_street.jl: a two-bus teaching case. The LV3 source and 500 kVA transformer feed one 250 m overhead 4-wire line to a street bus with 8 homes (6 kVA three-phase inverters, 5 kW PV each), plus neighbours' single-phase PV on phase C. It retries the fixed point with damping (relaxation 1/0.5/0.25) near the volt-watt knee at 253 V.

These are illustrative cases for the AS/NZS 4777 webinar, not generalised feeder results. No library code changes.

Test plan

  • two_bus_street.jl: neighbours' PV from 0 to 1.5 kW per home, three laws, 21 points, all converged. Run before the BMOPFTools repin in Repin BMOPFTools to main 602992e29 #76.
  • single_law_sweep.jl: source voltage from 1.00 to 1.05 pu, three laws, all converged. Run before the BMOPFTools repin in Repin BMOPFTools to main 602992e29 #76.
  • Spot-check on current main: the 10 kW street point (1.25 kW per home) converges for all three laws and reproduces the earlier phase voltages, curtailment and reactive power to the reported precision.

🤖 Generated with Claude Code

single_law_sweep.jl runs the LV3 feeder with every site on one
voltage-aware law (mean, worst-phase, per-phase) and optional
single-phase PV on phase C. two_bus_street.jl reduces the case to
one overhead line feeding a street bus of homes plus neighbours'
phase-C PV, with damped fixed-point retries near the volt-watt knee.
Illustrative teaching cases for the AS4777 webinar, not generalised
feeder results.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@frederikgeth
frederikgeth force-pushed the study/two-bus-street-vv branch from 5e2e066 to d1f217f Compare November 16, 2026 08:27
@frederikgeth
frederikgeth merged commit a45ad68 into main Nov 16, 2026
9 checks 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