Sand Battery: Resistive Thermal Energy Storage — 2D

A 2D-canvas companion to the 3D sand-battery simulator, built around the same real sensible-heat physics — resistive charging, insulation-scaled ambient loss and heat-exchanger discharge — but collapsed to a single lumped thermal mass so the full charge → idle-storage → discharge cycle can be integrated with a fine timestep and plotted as one continuous temperature trace. Drive the silo live with the Charge/Idle/Discharge buttons, or use "Run full cycle" to instantly simulate a complete cycle at your chosen storage duration and insulation quality and read off the measured round-trip thermal efficiency — watch it fall as storage time lengthens or insulation worsens, exactly as the underlying heat-loss equation predicts.