The maths behind the simulation

This model describes nuclear fusion in a few deliberately simplified equations so that everyone can follow it. The qualitative behaviour stays the same: how temperature, density and magnetic field ignite a plasma, when it stays stable and how much power a plant gains from it. The simulation is built on these equations and lets you try out every effect directly.

Two helper functions are used in many places. The first limits a value to a range, the second forms a smooth transition from 0 to 1.

clamp(x,a,b)=min(max(x,a),b)\operatorname{clamp}(x, a, b) = \min(\max(x, a), b)

xx
Input value
a, ba,\ b
Lower and upper limit of the range

s(x; a,b)=u2(3−2u),u=clamp(x−ab−a, 0, 1)s(x;\ a, b) = u^2\,(3 - 2u), \qquad u = \operatorname{clamp}\left(\frac{x - a}{b - a},\ 0,\ 1\right)

ss
Smooth transition: 0 up to the start, 1 from the end, a smooth rise in between
xx
Input value
a, ba,\ b
Start and end of the transition
uu
Position between start and end, limited to 0 to 1

Fuels

The model considers four fuel pairs. The values are rounded textbook figures.

ReactionEnergy per reactionIgnition temperatureEnergy density
D+T→4He+n\text{D} + \text{T} \to {}^{4}\text{He} + \text{n}17.6 MeV150 million °C3.4 × 1011 J/g
D+D→3He+norT+p\text{D} + \text{D} \to {}^{3}\text{He} + \text{n} \quad\text{oder}\quad \text{T} + \text{p}3.65 MeV400 million °C8.7 × 1010 J/g
D+3He→4He+p\text{D} + {}^{3}\text{He} \to {}^{4}\text{He} + \text{p}18.3 MeV580 million °C3.5 × 1011 J/g
p+11B→34He\text{p} + {}^{11}\text{B} \to 3\,{}^{4}\text{He}8.7 MeV1000 million °C6.6 × 1010 J/g
D\text{D}
Deuterium, heavy hydrogen with one neutron
T\text{T}
Tritium, hydrogen with two neutrons
3He, 4He{}^{3}\text{He},\ {}^{4}\text{He}
Helium-3 and helium-4
p\text{p}
Proton
n\text{n}
Neutron
11B{}^{11}\text{B}
Boron-11

With deuterium and tritium, the neutron carries away 14.1 MeV of the energy and the helium nucleus 3.5 MeV. In the equations below, the ignition temperature is called TignT_\text{ign}.

Size of atomic nuclei

The radius of an atomic nucleus grows with the cube root of its mass number. The simulation adopts this proportion and draws deuterium with a radius of 9 pixels.

R=r0A1/3,r0=1.2 fmR = r_0\, A^{1/3}, \qquad r_0 = 1.2\ \text{fm}

RR
Nuclear radius; a deuterium nucleus is about 4 fm across
r0r_0
Radius constant, the same for all nuclei
AA
Mass number, the number of protons and neutrons in the nucleus

Rpx=9 px×(A2)1/3R_\text{px} = 9\ \text{px} \times \left(\frac{A}{2}\right)^{1/3}

RpxR_\text{px}
Drawn nuclear radius in pixels
AA
Mass number, the number of protons and neutrons in the nucleus

A femtometre is a quadrillionth of a metre, so the simulation magnifies the nuclei about a trillion times.

Tokamak: energy balance of the plasma

How readily a fuel fuses depends steeply on temperature. The reactivity rises from a quarter of the ignition temperature and levels off just above it.

r(T)=s(T; 0.25Tign, 1.15Tign)2r(T) = s(T;\ 0.25\, T_\text{ign},\ 1.15\, T_\text{ign})^2

rr
Reactivity between 0 and 1: how readily the fuel fuses
TT
Plasma temperature in millions of degrees Celsius
TignT_\text{ign}
Ignition temperature of the fuel from the table above
ss
Smooth transition from the second helper function above

Rf=n2r(T)R_\text{f} = n^2\, r(T)

RfR_\text{f}
Fusion rate, a measure of the number of reactions per unit of time
nn
Fuel density between 0 and 1; the slider shows it as up to 2 × 10²⁰ particles per cubic metre
rr
Reactivity between 0 and 1: how readily the fuel fuses

The fusion rate grows with the square of the density, because every reaction needs two nuclei to meet. The temperature changes through heating, through self-heating by helium nuclei and through losses.

dTdt=Pext+Pα−TτE\frac{\mathrm{d}T}{\mathrm{d}t} = P_\text{ext} + P_\alpha - \frac{T}{\tau_\text{E}}

TT
Plasma temperature in millions of degrees Celsius
tt
Time in seconds
PextP_\text{ext}
External heating, in millions of degrees per second
PαP_\alpha
Self-heating by the helium nuclei from the fusion reactions
τE\tau_\text{E}
Energy confinement time: a stronger field holds the heat longer

Pext=220h+500i,Pα=180Rf,τE=0.25+1.7B12P_\text{ext} = 220\, h + 500\, i, \qquad P_\alpha = 180\, R_\text{f}, \qquad \tau_\text{E} = 0.25 + 1.7\,\frac{B}{12}

PextP_\text{ext}
External heating, in millions of degrees per second
hh
Heating power between 0 and 1; the slider shows it as 0 to 50 MW
ii
Injection pulse: jumps to 1 on injection and decays at 1.4 per second
PαP_\alpha
Self-heating by the helium nuclei from the fusion reactions
RfR_\text{f}
Fusion rate, a measure of the number of reactions per unit of time
τE\tau_\text{E}
Energy confinement time: a stronger field holds the heat longer
BB
Magnetic field in tesla, between 1 and 12

The simulation solves this equation in time steps of at most 0.05 seconds and keeps the temperature between 2 and 600 million degrees.

Tokamak: stability

A hot, dense plasma pushes hard against the magnetic field. If the field is too weak for this pressure, the plasma collapses. What matters is how the pressure compares with a minimum field.

p=nT1000,Bmin=0.6+5pp = \frac{n\, T}{1000}, \qquad B_\text{min} = 0.6 + 5\sqrt{p}

pp
Plasma pressure in simplified units
nn
Fuel density between 0 and 1; the slider shows it as up to 2 × 10²⁰ particles per cubic metre
TT
Plasma temperature in millions of degrees Celsius
BminB_\text{min}
Minimum field that can just about hold this pressure

T←T×0.18Δt,Rf←0.3RfT \leftarrow T \times 0.18^{\Delta t}, \qquad R_\text{f} \leftarrow 0.3\, R_\text{f}

TT
Plasma temperature in millions of degrees Celsius
RfR_\text{f}
Fusion rate, a measure of the number of reactions per unit of time
Δt\Delta t
Length of one time step in seconds

If the field is at least as strong as the minimum field, the plasma stays stable. Otherwise a disruption occurs: temperature and fusion rate drop within fractions of a second, as the second line describes.

Tokamak: power and Q value

A burning plasma delivers up to 1500 megawatts of electrical power. The power follows the fusion rate with a time constant of half a second.

Pel←Pel+(1500 MW×Rf−Pel)×min(1, 2Δt)P_\text{el} \leftarrow P_\text{el} + (1500\ \text{MW} \times R_\text{f} - P_\text{el}) \times \min(1,\ 2\,\Delta t)

PelP_\text{el}
Electrical power of the plant
RfR_\text{f}
Fusion rate, a measure of the number of reactions per unit of time
Δt\Delta t
Length of one time step in seconds

Q=1500 MW×RfPheat,Pheat=50 MW×h+1 MWQ = \frac{1500\ \text{MW} \times R_\text{f}}{P_\text{heiz}}, \qquad P_\text{heiz} = 50\ \text{MW} \times h + 1\ \text{MW}

QQ
Q value: ratio of fusion power to heating power
RfR_\text{f}
Fusion rate, a measure of the number of reactions per unit of time
PheatP_\text{heiz}
Heating power in megawatts
hh
Heating power between 0 and 1; the slider shows it as 0 to 50 MW

The Q value is the ratio of fusion power to heating power. The plasma counts as ignited when it is stable, has reached the ignition temperature and the fusion rate is above 0.15.

Tokamak: nuclei in the plasma

Nuclei with the same charge repel each other. The repulsion follows Coulomb's law, smoothed so that it does not become infinite at very small distances.

a=kZ1Z2d2+ε2,k=14000 px3/s2,ε2=64 px2a = \frac{k\, Z_1 Z_2}{d^2 + \varepsilon^2}, \qquad k = 14\,000\ \text{px}^3/\text{s}^2, \qquad \varepsilon^2 = 64\ \text{px}^2

aa
Acceleration with which two nuclei repel each other
kk
Strength of the repulsion, scaled to the display
Z1, Z2Z_1,\ Z_2
Charge numbers of the two nuclei; for boron the repulsion is five times as strong as for hydrogen
dd
Distance between two nuclei; the repulsion acts up to 55 pixels and is capped at 2200 px/s²
ε\varepsilon
Smoothing length that keeps the repulsion finite at small distances

v←v+0.07(vth−v),vth=18+150clamp(TTign, 0, 1.3) px/sv \leftarrow v + 0.07\,(v_\text{th} - v), \qquad v_\text{th} = 18 + 150\, \operatorname{clamp}\left(\frac{T}{T_\text{ign}},\ 0,\ 1.3\right)\ \text{px/s}

vv
Speed of a nucleus in pixels per second
vthv_\text{th}
Thermal speed, towards which a thermostat pulls every nucleus
TT
Plasma temperature in millions of degrees Celsius
TignT_\text{ign}
Ignition temperature of the fuel from the table above

Two nuclei fuse when they come closer than 1.13 times the sum of their radii, the plasma is stable and hotter than 45 per cent of the ignition temperature. The light reaction product then flies off at 320 px/s in a random direction. For deuterium-tritium and deuterium-deuterium this is a neutron, for deuterium-helium-3 a proton and for proton-boron a helium nucleus. In the simulation, the number of nuclei shown follows the density.

N=round(6+20n)N = \operatorname{round}(6 + 20\, n)

NN
Number of nuclei shown
nn
Fuel density between 0 and 1; the slider shows it as up to 2 × 10²⁰ particles per cubic metre

Stellarator: confinement without plasma current

The stellarator follows the same equations as the tokamak, with two differences. Its twisted coils hold the plasma without any plasma current, so no disruption can occur. And how well the heat stays confined also depends on the shape of the coils.

τE=(0.25+1.7B12)×(0.55+0.5o)\tau_\text{E} = \left(0.25 + 1.7\,\frac{B}{12}\right) \times (0.55 + 0.5\, o)

τE\tau_\text{E}
Energy confinement time: a stronger field holds the heat longer
BB
Magnetic field in tesla, between 1 and 12
oo
Coil optimisation between 0.3 and 1

If the pressure exceeds what the field can hold, the confinement time drops instead of the plasma collapsing. It keeps burning, just less well.

τE←0.45τE(B<Bmin)\tau_\text{E} \leftarrow 0.45\, \tau_\text{E} \qquad (B < B_\text{min})

τE\tau_\text{E}
Energy confinement time: a stronger field holds the heat longer
BB
Magnetic field in tesla, between 1 and 12
BminB_\text{min}
Minimum field that can just about hold this pressure

The simulation calculates the minimum field, the fusion rate, the electrical power and the nuclei in the plasma as for the tokamak.

Laser: gain of a shot

In laser fusion, the symmetry of the beams matters most. The gain factor of a shot is the product of a base value for the fuel and two factors for symmetry and laser energy.

G=GB×fσ×fEG = G_\text{B} \times f_\sigma \times f_\text{E}

GG
Gain factor of the shot: yield divided by laser energy
GBG_\text{B}
Base gain of the fuel: 110 for D-T, 38 for D-D, 72 for D-3He, 30 for p-11B
fσf_\sigma
Factor for the beam symmetry
fEf_\text{E}
Factor for the laser energy

fσ=s(σ; 0.5, 0.95)2,fE=0.4+0.6clamp(EL−0.5 MJ2.5 MJ, 0, 1)f_\sigma = s(\sigma;\ 0.5,\ 0.95)^2, \qquad f_\text{E} = 0.4 + 0.6\, \operatorname{clamp}\left(\frac{E_\text{L} - 0.5\ \text{MJ}}{2.5\ \text{MJ}},\ 0,\ 1\right)

fσf_\sigma
Factor for the beam symmetry
fEf_\text{E}
Factor for the laser energy
ss
Smooth transition from the second helper function above
σ\sigma
Beam symmetry between 0.3 and 1; below 0.7 the implosion fizzles
ELE_\text{L}
Laser energy between 0.5 and 3 MJ

Y=EL×G,Pel=Y×10 Hz×0.4Y = E_\text{L} \times G, \qquad P_\text{el} = Y \times 10\ \text{Hz} \times 0.4

YY
Energy yield of the shot
ELE_\text{L}
Laser energy between 0.5 and 3 MJ
GG
Gain factor of the shot: yield divided by laser energy
PelP_\text{el}
Electrical power of the plant

A laser power plant fires ten shots per second and converts 40 per cent of the heat into electricity. In the simulation, a shot lasts three seconds. Compression, ignition and burn follow the time axis from 0 to 1 with smooth transitions.

e(t)={2t2t<0.51−(2−2t)22t≥0.5e(t) = \begin{cases} 2t^2 & t < 0.5 \\ 1 - \dfrac{(2 - 2t)^2}{2} & t \geq 0.5 \end{cases}

ee
Progress of the animation between 0 and 1
tt
Timeline of the shot between 0 and 1

Comparison with coal and wind

The comparison extrapolates the plant output to a year. It is based on one megawatt of electrical power at 90 per cent capacity factor and 40 per cent efficiency. That corresponds to about 7.1 × 1013 joules of heat per year.

mF=0.21 kg×PMW×3.4×1011 J/gem_\text{F} = 0.21\ \text{kg} \times \frac{P}{\text{MW}} \times \frac{3.4 \times 10^{11}\ \text{J/g}}{e}

mFm_\text{F}
Fusion fuel per year
PP
Electrical power of the plant
ee
Energy density of the selected fuel from the table above

mcoal=2470 t×PMW,mCO2=6160 t×PMWm_\text{Kohle} = 2470\ \text{t} \times \frac{P}{\text{MW}}, \qquad m_{\text{CO}_2} = 6160\ \text{t} \times \frac{P}{\text{MW}}

mcoalm_\text{Kohle}
Hard coal per year
mCO2m_{\text{CO}_2}
CO₂ from burning this coal, per year
PP
Electrical power of the plant

NWind=P4 MW×0.30,Ncoal=P400 MWN_\text{Wind} = \frac{P}{4\ \text{MW} \times 0.30}, \qquad N_\text{Kohle} = \frac{P}{400\ \text{MW}}

NWindN_\text{Wind}
4 MW wind turbines that deliver 30 per cent of their rated power on average
NcoalN_\text{Kohle}
Coal-fired units of 400 MW each
PP
Electrical power of the plant

For deuterium-tritium this gives about 210 grams of fuel per megawatt and year. Hard coal with about 29 megajoules per kilogram needs about 2470 tonnes for the same heat, and burning it releases about 6160 tonnes of CO₂.

Scientific literature

The equations above simplify results from fusion research. The following papers explain the physics behind them in detail, ordered by the sections of this page. Each entry leads to the original publication through its DOI.

Fuels

  • The standard formulas for the cross-sections and reactivities of D-⁠T, D-⁠D and D-⁠³He.

    Bosch, H.-S.; Hale, G. M. (1992): Improved formulas for fusion cross-sections and thermal reactivities. Nuclear Fusion 32, 611–631. https://doi.org/10.1088/0029-5515/32/4/I07

  • The reaction rate of proton-boron fusion.

    Nevins, W. M.; Swain, R. (2000): The thermonuclear fusion rate coefficient for p-11B reactions. Nuclear Fusion 40, 865–872. https://doi.org/10.1088/0029-5515/40/4/310

Size of atomic nuclei

  • Electron scattering reveals how large atomic nuclei are and how their charge is distributed.

    Hofstadter, R. (1956): Electron Scattering and Nuclear Structure. Reviews of Modern Physics 28, 214–254. https://doi.org/10.1103/RevModPhys.28.214

Tokamak: energy balance of the plasma

  • The Lawson criterion: when a plasma delivers more energy than it loses.

    Lawson, J. D. (1957): Some Criteria for a Power Producing Thermonuclear Reactor. Proceedings of the Physical Society B 70, 6–10. https://doi.org/10.1088/0370-1301/70/1/303

  • How long a tokamak holds its heat and how that depends on the magnetic field.

    ITER Physics Expert Group on Confinement and Transport et al. (1999): Chapter 2: Plasma confinement and transport. Nuclear Fusion 39, 2175–2249. https://doi.org/10.1088/0029-5515/39/12/302

  • The discovery of the H-mode, a regime with much better confinement.

    Wagner, F. et al. (1982): Regime of Improved Confinement and High Beta in Neutral-Beam-Heated Divertor Discharges of the ASDEX Tokamak. Physical Review Letters 49, 1408–1412. https://doi.org/10.1103/PhysRevLett.49.1408

Tokamak: stability

  • The Troyon limit: how much pressure a magnetic field can hold stably.

    Troyon, F. et al. (1984): MHD-Limits to Plasma Confinement. Plasma Physics and Controlled Fusion 26, 209–215. https://doi.org/10.1088/0741-3335/26/1A/319

  • A review of the density limit in tokamaks and stellarators.

    Greenwald, M. (2002): Density limits in toroidal plasmas. Plasma Physics and Controlled Fusion 44, R27–R53. https://doi.org/10.1088/0741-3335/44/8/201

  • Stability limits and disruptions in tokamaks, with a view to ITER.

    Hender, T. C. et al. (2007): Chapter 3: MHD stability, operational limits and disruptions. Nuclear Fusion 47, S128–S202. https://doi.org/10.1088/0029-5515/47/6/S03

Tokamak: power and Q value

  • An overview of the physics basis of ITER, which is to produce ten times more fusion power than heating power.

    ITER Physics Basis Editors et al. (1999): Chapter 1: Overview and summary. Nuclear Fusion 39, 2137–2174. https://doi.org/10.1088/0029-5515/39/12/301

  • Results from the large European tokamak JET in preparation for ITER operation.

    Mailloux, J. et al. (2022): Overview of JET results for optimising ITER operation. Nuclear Fusion 62, 042026. https://doi.org/10.1088/1741-4326/ac47b4

Tokamak: nuclei in the plasma

  • Tunnelling through the Coulomb barrier, first described for alpha decay. The same effect makes fusion possible at attainable temperatures.

    Gamow, G. (1928): Zur Quantentheorie des Atomkernes. Zeitschrift für Physik 51, 204–212. https://doi.org/10.1007/BF01343196

Stellarator: confinement without plasma current

  • The original concept of the stellarator.

    Spitzer, L. (1958): The Stellarator Concept. The Physics of Fluids 1, 253–264. https://doi.org/10.1063/1.1705883

  • The first plasmas of Wendelstein 7-X in Greifswald.

    Klinger, T. et al. (2017): Performance and properties of the first plasmas of Wendelstein 7-X. Plasma Physics and Controlled Fusion 59, 014018. https://doi.org/10.1088/0741-3335/59/1/014018

  • Wendelstein 7-X shows that an optimised magnetic field reduces neoclassical heat losses.

    Beidler, C. D. et al. (2021): Demonstration of reduced neoclassical energy transport in Wendelstein 7-X. Nature 596, 221–226. https://doi.org/10.1038/s41586-021-03687-w

Laser: gain of a shot

  • The proposal to compress fuel to extreme density with lasers.

    Nuckolls, J.; Wood, L.; Thiessen, A.; Zimmerman, G. (1972): Laser Compression of Matter to Super-High Densities: Thermonuclear (CTR) Applications. Nature 239, 139–142. https://doi.org/10.1038/239139a0

  • At the National Ignition Facility, an experiment exceeds the Lawson criterion for ignition for the first time.

    Abu-Shawareb, H. et al. (2022): Lawson Criterion for Ignition Exceeded in an Inertial Fusion Experiment. Physical Review Letters 129, 075001. https://doi.org/10.1103/PhysRevLett.129.075001

  • For the first time, a laser fusion experiment yields more fusion energy than the laser delivered to the target.

    Abu-Shawareb, H. et al. (2024): Achievement of Target Gain Larger than Unity in an Inertial Fusion Experiment. Physical Review Letters 132, 065102. https://doi.org/10.1103/PhysRevLett.132.065102