Hundreds of millions of people still live beyond the reach of a centralized power grid. Reaching them usually comes down to one economic choice, made village by village: string a grid line out to them, or install a self-contained solar microgrid on-site. This simulator scatters a set of villages of varying size and distance around a substation, prices both options for every one of them, and spends a limited budget on whichever option is cheapest per household first โ showing exactly how distance, line cost and falling solar prices shift the balance between centralized grid extension and distributed micro-generation.