ON population OFF population DLC-held backlog

Demand Response Fleet Model: Thermostat Population Bin Dynamics (2D)

This 2D companion to the 3D demand-response simulator replaces the per-house agent grid with the population-density ("state-bin") model actually used in demand-response research: two densities over temperature — one for houses currently off, one for houses currently on — advect along the same dead-band hysteresis ODE as the 3D sim's individual houses, circulating mass around a closed loop instead of tracking each house separately. Direct load control opens and shuts a gate at the switching boundary for enrolled cohorts, diverting their outflow into a backlog reservoir that keeps warming until its cohort's own schedule releases it. Watch the histogram show the population's temperature distribution shift live, and compare a rotating (staggered) restart against a synchronized one to see, in the aggregate load curve, why staggering is the real-world defence against a cold-load-pickup rebound.