Skip to Content

GSFit: Open-Source Plasma Reconstruction for Fusion Research

Fusion Research Enters a New Era of Transparency

Achieving practical fusion energy depends on understanding plasma behavior inside tokamaks, fusion machines that host conditions hotter than the sun’s core. Tokamak Energy’s introduction of GSFit, an open-source plasma reconstruction tool, is a major leap forward for the field. GSFit brings a new level of transparency, accuracy, and collaborative potential to the challenge of mapping plasma boundaries, current, and stored energy using live diagnostic data.

Inside GSFit: Advanced Algorithms, Real Data

GSFit is built to solve the Grad-Shafranov equation, the mathematical backbone for determining how plasma settles into equilibrium inside a toroidal magnetic field. It harnesses experimental data, mainly magnetic field measurements from sophisticated sensors around the device, to reconstruct the elusive interior plasma profile. On Tokamak Energy’s ST40 tokamak, for instance, GSFit draws from 85 sensors, including:

  • Mirnov coils: Tiny, robust sensors capturing minute magnetic field changes with remarkable accuracy.

  • Flux loops: Larger sensors measuring the overall magnetic field within their circumference, giving a broader picture of the plasma’s magnetic environment.

Because it’s impossible to place probes directly inside the superheated plasma, GSFit’s sophisticated reconstructions are essential for monitoring how well the plasma is confined, how stable it is, and how efficiently it stores energy. All factors that underpin progress in fusion science.

Technical Innovations and Community Orientation

GSFit’s core is engineered in Rust for computational speed and robustness, but it also features a flexible Python interface for broad accessibility. Its modular, thoroughly documented design supports easy integration and extension. 

By embracing an open-source model, GSFit invites the global fusion community to participate in its development. Researchers can review the code, propose enhancements, or adapt it for new experiments, creating a collaborative feedback loop that accelerates advances in plasma science.

Proven Performance: From Simulation to Experiment

GSFit has been validated through rigorous tests, starting with simulated data generated by the FreeGS solver to mimic the real sensor layout of ST40. The true benchmark, however, is GSFit’s performance with actual experimental data. By comparing its magnetic reconstructions with camera images of the plasma across a range of configurations—including plasmas limited to the central post, upper single-null diverted plasmas, and vertically displaced states—GSFit has demonstrated outstanding accuracy and consistency. This level of validation confirms its value for both operational monitoring and high-end research.


Why GSFit Stands Out

  • Modern architecture: Leverages Rust for speed and Python for accessibility.

  • Reliability: Automated testing and integration prevent errors and regressions.

  • Transparency: Open-source licensing allows full scientific scrutiny and reproducibility.

  • Comprehensive documentation: Clear guides help both users and developers get started quickly.

  • Community-driven development: Encourages global collaboration, troubleshooting, and innovation.

Looking Ahead: A Collaborative Future for Fusion

GSFit marks a turning point in accessible, accurate plasma reconstruction for fusion research. By combining modern software practices, thorough validation, and a commitment to open-source collaboration, Tokamak Energy is fostering an environment where progress toward practical fusion becomes a shared, global endeavor. For anyone seeking reliable, adaptable tools for tokamak diagnostics, GSFit is set to become an essential part of the fusion researcher’s toolkit.

Source: Tokamak Energy

GSFit: Open-Source Plasma Reconstruction for Fusion Research
Joshua Berkowitz September 20, 2025
Views 363
Share this post