A grid of 256 noisy leaky integrate-and-fire neurons. Every spike costs ATP; scaling to an 86-billion-neuron brain shows how the state of the network changes the power the brain must burn. This is an energy-accounting model, not a model of consciousness itself.
The science
Neuron model. Leaky integrate-and-fire: τ dv/dt = −v + μ + σ√(2τ)ξ(t); a spike is emitted when v reaches 1, then v resets to 0 and the neuron is silent for tref = 2 ms (τ = 20 ms). μ is the mean drive (in threshold units), σ is synaptic noise.
Exact rate without noise. For μ > 1: f = 1 / (tref + τ ln(μ/(μ−1))). The page runs a noise-free reference neuron alongside the network and compares its measured rate with this formula.
Energy accounting. Spike power = Nbrain · f · Espike, with N = 8.6×1010 and Espike = (ATP per spike) × 5.07×10−20 J (standard free energy of ATP hydrolysis, 30.5 kJ/mol; in a living cell it is roughly 1.5× larger). Total = housekeeping + spike power. Typical literature estimates are 108–109 ATP per spike and a whole-brain power near 20 W; the numbers here are typical values, not measurements of a person.
Landauer comparison. The minimum energy to erase one bit at 310 K is kBT ln 2 = 2.97×10−21 J. A spike costs 104 times more, so biological computing is far from the thermodynamic limit.
Simplifications. Neurons are identical and unconnected (noise stands in for synaptic input); real brains average only a few Hz per neuron and have heterogeneous cells and synapses. Presets are illustrative regimes, not clinical states. Nothing here measures or explains consciousness.