PerturbedEquilibrium - FEATURE - Complete the resistive perturbed-equilibrium workflow from Galerkin and matched results
Maintainers usually reply within 3 days
@matt-pharr is already working on this.
Since Nov 2, 2026.
Assessment
This issue has not been assessed yet.
Description
The resistive, coil-driven perturbed equilibrium cannot run end to end yet. That run is Galerkin Δ′ with the edge-source (rpec) columns, then inner-layer matching, then PerturbedEquilibrium. It is the last link of Fortran GPEC's RDCON → RMATCH → GPEC chain (PrincetonUniversity/GPEC#210).
Why it stops: the plasma response is built from the free-boundary δW, through the edge response wp. Galerkin and inner-layer-matched results do not publish wp, so #556 made PerturbedEquilibrium refuse them with an error instead of silently returning only the forcing.
Two ways to close it:
- Publish
wpfrom closed Galerkin and matched results. The existing energy route then works unchanged, and #556's refusal lifts on its own (it checksfree_boundary). - Port Fortran's other inductance route (
resp_index = 1).- Fortran builds the plasma inductance from the flux response and a surface-current response, L = Φ·K⁻¹ (
gpec/gpresp.f,plas_indmats(j)fromkapmats(j)andflxmats). - For Galerkin and RDCON results Fortran computes only
j = 1and forcesresp_index = 1(gpec/rdcon.f: "since we don't have energies"). resp_index = 0, the energy identity, is what Julia uses today.
- Fortran builds the plasma inductance from the flux response and a surface-current response, L = Φ·K⁻¹ (
What is already ready:
examples/DIIID-like_gal_resistive_pe_examplekeeps its coil forcing and[PerturbedEquilibrium]section for this.- The harness case
gal_resistive_petracks the eightPerturbedEquilibrium/SingularCoupling/quantities. They read N/A until this lands; until then itsremove_sectionsstops the run before PE, so it duplicatesgal_resistive_diiid. - Done when: the
remove_sectionsline is dropped and the eight quantities are tracked. - #633, the check against Fortran RMATCH, needs this for its last step.
Timing: v2.1 might be a good fit, but @matt-pharr, please set the milestone that works for you.
- Dominant language
- Julia
- Stars
- 11
- Forks
- 7
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 68
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenFUSIONToolkit/GPEC
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
OpenFUSIONToolkit/GPEC#644 ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
OpenFUSIONToolkit/GPEC#643 ·
Maintainers usually reply within 3 days
-
test
Difficulty 4/5 3-5 days Newbie friendliness 25/100
OpenFUSIONToolkit/GPEC#633 · 2 comments ·
Maintainers usually reply within 3 days
-
Tearing - FEATURE - Add a general modified Rutherford equation for island evolutionPossibly taken @StuartBenjamin claimed this 1 day ago. Openfeature
OpenFUSIONToolkit/GPEC#630 · 1 assignee ·
Maintainers usually reply within 3 days
-
feature
Difficulty 5/5 Over a week Newbie friendliness 15/100
OpenFUSIONToolkit/GPEC#629 ·
Maintainers usually reply within 3 days
All issues in OpenFUSIONToolkit/GPEC
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Sienna-Platform/InfrastructureSystems.jl#675 ·
Maintainers usually reply within 2 days
-
TargetEncoder reuses the first level's shrinkage factor for all levels when m > 0Possibly taken @parth-patel010 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
JuliaAI/MLJTransforms.jl#95 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
SciML/RecursiveArrayTools.jl#687 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
SciML/Corleone.jl#179 ·
Maintainers usually reply within 1 day
-
Setup Aqua.jlOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
JuliaUQ/UncertaintyQuantification.jl#363 ·
Maintainers usually reply within 1 day