Skip to content

About

Fusion plasma physics learning suite demonstrating FUSE.jl capabilities through realistic tokamak plasma modeling. Includes complete analysis, educational examples, and tuning guidance for fusion performance optimization.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Fusion Physics Learning Scripts (Julia)

Standalone Julia scripts implementing textbook tokamak plasma-physics calculations as a self-study exercise.

Scope and honest limitations

These scripts do not use FUSE.jl. FUSE.jl was the original intent, but its precompilation issues under Julia 1.11.6 remain unresolved. The working calculations run independently of it.

The models use analytic approximations and idealised profiles. They are not gyrokinetic or neoclassical solvers and have not been benchmarked against validated codes or experimental data. Positive or plausible-looking output is only a sanity check, not validation. Treat all results as illustrative scalings, not predictions.

What it computes

  • D-T fusion power density from an analytic reactivity approximation
  • ITER-89P energy-confinement scaling
  • Simplified neoclassical and turbulent transport estimates
  • 0-D heating, fusion, radiation, and conduction accounting
  • Derived confinement, Lawson, and gain metrics
  • Simplified MHD stability indicators

Files

File Purpose
fusion_analysis_fixed.jl Main end-to-end educational analysis
fusion_calculations.jl Standalone physics examples
fusion_learning_example.jl Introductory walkthrough
fusion_analysis.jl Earlier superseded version, retained for reference
simple_fuse_example.jl Non-working FUSE.jl loading experiment

Running

git clone https://github.com/Sarvesh2304/FUSE_fusion_analysis.git
cd FUSE_fusion_analysis
julia fusion_analysis_fixed.jl
julia fusion_calculations.jl
julia fusion_learning_example.jl

Requires Julia 1.11.6 or later. The working scripts use only the Julia standard library.

Parameters and reproducibility

The default configuration is intentionally illustrative, not self-consistent. In particular, the reported gain depends directly on the chosen heating profile and approximate reactivity. Changing those inputs changes the result; the script does not independently constrain them.

License

MIT. See LICENSE.

Author

Sarvesh Pardeshi (@Sarvesh2304)

About

Fusion plasma physics learning suite demonstrating FUSE.jl capabilities through realistic tokamak plasma modeling. Includes complete analysis, educational examples, and tuning guidance for fusion performance optimization.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages