How an updraft separates charge, when the field breaks down, where the bolt lands and when you hear it.
-Max updraft (m/s)
-Cloud-top height (km)
-Main charge Q (C)
-Peak field (kV/m) vs 200 breakdown
-Flash rate, this model (/min)
-Williams empirical rate (/min)
-Hail size the updraft can hold (mm)
-Wind (Beaufort)
-Last strike: distance (km)
-Flash-to-bang delay (s)
-Cloud-to-ground / in-cloud
-Struck so far (mast / turbine / tree / house / ground)
The science
Updraft. The convective available potential energy (CAPE, J/kg) is converted into upward motion: an ideal parcel reaches w = sqrt(2 CAPE); entrainment and the weight of the water take roughly half of that, and the model uses w = 0.5 sqrt(2 CAPE). A strong updraft carries cloud top to 10-15 km and suspends large hail.
Charge separation. Collisions between rebounding ice crystals and soft hail (graupel) in the presence of supercooled droplets transfer charge: the lighter crystals gain positive charge and rise, the heavier graupel gains negative charge and sinks. The result is a tripole: main positive charge near the top, main negative charge near the -15 C level, and a small positive pocket below. The model builds the main charge at dQ/dt = 0.8 (w/25)^2 C/s (illustrative, scaled with the graupel flux).
Field and breakdown. Each charge acts as a point charge with an opposite image charge in the conducting ground, E = k q / r^2. The peak field between the charge layers is compared with the initiation field of 200 kV/m (measured values in storms are 100-400 kV/m, far below the 3 MV/m needed for dry air at ground level). When it is reached the model removes 35 % of the main charge in one flash.
Flash rate. Charge balance gives one flash every 0.35 q_threshold / (dQ/dt). The empirical law of Williams (1985) says total flash rate grows with the fifth power of cloud-top height, F = 3.44e-5 H^4.9 per minute, so doubling the cloud top multiplies the rate by about 30. The two are shown side by side: they agree in order of magnitude, not exactly.
Thunder. Light arrives at once; sound travels at c = 331.3 sqrt(1 + T/273.15) m/s, about 343 m/s at 20 C, so every 3 seconds between flash and bang is about 1 km. The blue ring is drawn at c t; when it reaches the observer the delay is measured and compared with distance / c. Which object a flash reaches is drawn with a probability proportional to the square of its height: a tall mast collects far more strikes than a house.
Honest simplifications: point charges instead of extended charge regions, a vertical axis only, no horizontal field from the wind shear, no corona, no leader physics (the bolt path is a random walk biased toward the target), 65 % in-cloud flashes by assumption, fixed object distances, and no refraction of sound in the temperature profile. It teaches the scaling and the timing, not a lightning-risk forecast. Safety: when thunder follows within 30 seconds (about 10 km) go indoors.