Ultimate Energy Cosmic Energy Simulation

The universe as an energy budget. Watch the share of radiation, matter and dark energy change as the scale factor a grows from 10^-5 to 20, and see which component rules each era.

Multiplies how fast model time runs (physics step stays fixed).
The science

Friedmann equation (flat). (å/a)2 = H02 E(a)2 with E2 = Ωra−4 + Ωma−3 + ΩΛ, ΩΛ = 1 − Ωm − Ωr. Radiation dilutes as a−4 (number density and photon redshift), matter as a−3, and a cosmological constant does not dilute.

Cosmic time. dτ/d ln a = 1/E(a), with τ = H0t, integrated by 4th-order Runge–Kutta. The age in Gyr is τ × 977.8 / H0[km/s/Mpc].

Independent check. With Ωr = 0 the age has the closed form t0 = 2 / (3 H0√ΩΛ) · asinh(√(ΩΛ/Ωm)); the page re-runs the integration with Ωr = 0 and compares. For Ωm = 1 the limit is 2/(3H0).

Other numbers. Deceleration q0 = Ωm/2 + Ωr − ΩΛ; matter–radiation equality at a = Ωr/Ωm; matter–Λ equality at a = (Ωm/ΩΛ)1/3.

Simplifications. Flat geometry, dark energy as an exact cosmological constant (w = −1), no neutrino mass, no inflation. The default values are Planck-like typical values (H0 about 67–68, Ωm about 0.31, Ωr about 9×10−5), quoted from memory as typical, not as precise measurements. The galaxy lattice is illustrative, not to scale.