Nuclear Power Plant Simulator (2D)
Control the reactor, manage coolant flow and see how heat is converted to electricity!
Control Rod Position
(decreases reaction rate)
Coolant Flow Rate
removes more heat
Turbine Load
output
Control the reactor, manage coolant flow and see how heat is converted to electricity!
Real plants have many more trip functions; these four are enough to teach the margins. Each trip drops the rods in about 1.7 s.
Point kinetics. Neutron population n and one effective delayed-neutron group C: dn/dt = ((ρ - β)/Λ) n + λ C + S, dC/dt = (β/Λ) n - λ C. With β = 650 pcm, 99 % of the neutrons are prompt but the delayed ones set the time scale: a +150 pcm step gives a stable period of about a minute, not milliseconds. The k-factor on the dial is k = 1/(1 - ρ); k < 1 power falls, k > 1 power rises, k = 1 steady.
Reactivity budget. ρ = rods (S-curve worth of the inserted fraction) + Doppler (fuel temperature, −2.8 pcm/K) + moderator temperature (−20 pcm/K) + xenon-135 + boron. Negative feedback is why the plant follows turbine load by itself: more steam demand cools the primary water, which adds reactivity and raises power until the heat balance closes.
Decay heat. A six-group exponential model gives about 6.7 % of rated thermal power at SCRAM, falling to about 1.5 % after an hour. Fission stops in seconds, heat removal must not. Coolant flow and a heat sink are still needed for days.
Xenon-135. Iodine-135 (6.6 h) decays to xenon-135, a very strong neutron absorber (about 2800 pcm of negative reactivity at full-power equilibrium in this model). After a power cut the xenon peaks hours later: the plant can become hard to restart.
Steam cycle. Steam generator energy balance (Cs dTsat/dt = QSG − Qturbine), steam pressure from the saturation curve, electric power Pel = η Qturbine with η = 0.77 × (1 − Tcond/Tsteam) (a fraction of the Carnot limit) and the condenser held at the cooling-water temperature plus a terminal difference. Warmer weather raises the condenser temperature and lowers electric output.
Simplifications, stated honestly. One lumped neutron population (no spatial effects, no flux tilt, no burnup), one delayed group, one fuel node and one coolant node, constant primary pressure of about 15.5 MPa (the pressurizer is drawn but not simulated), a generic rounded PWR (3400 MWth, about 1150 MWe at full load), constant plant efficiency parameters, no feedwater heaters. The four protection trips are a small subset. Neutron flux numbers use 3×1014 n/cm²s at 100 % power as a typical core-average value and the trace carries cosmetic detector noise. The core colours are a false-colour heat map (fuel temperature), not literally visible light. Plant dimensions are illustrative.
Educational model. This is not a plant-specific or licensing tool and is not affiliated with any operator or vendor. Typical values come from textbook ranges and should be spot-checked before being quoted.
Backdrop and equipment: modelled and rendered in Blender (Cycles); dynamics, physics and interface: HTML Canvas 2D and JavaScript.
This 2D cross-section shows a pressurized-water reactor core feeding a steam generator and turbine-generator set. Control rod depth sets the neutron multiplication factor k — pull the rods out and k rises above 1, driving an exponentially growing chain reaction and rising core temperature, while inserting them past the equilibrium point drops k below 1 and shuts the reaction down. Coolant flow rate determines how fast that heat is carried out of the core; balance rod depth against flow to hold a steady k ≈ 1 and a stable power level, or push the core into overheating and watch the safety status flip to warning as core temperature climbs.