Repository navigation
Add single-law PV sweep and two-bus street study scripts - #77
Merged
Merged
Conversation
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
force-pushed
the
study/two-bus-street-vv
branch
from
November 16, 2026 08:27
5e2e066 to
d1f217f
Compare
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.
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.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