In developing countries there is a tension between building out electrical networks and installing micro or even nano nets, e.g. small to minuscule electrical systems. The former are (usually) in discussion associated with large central generation, especially coal. The latter are more suited to solar and wind.
There has been a concerted effort by the ignorant trying to guilt everybunny into considering coal heated power plants with a massive net build out. Net build out is expensive, network distribution is subject to theft and chaos. Then you have to move the coal, worse, if that choice is made the people pay for that choice forever, having to both buy the coal continually, and suffer from the health effects of burning coal. Coal is not an ethical choice and anybunny who thinks so is a moral degenerate like the Breakthrough Boys, Schellenberger and Nordhaus the Lesser
Eli has had something to say about this issue. The fall in prices for solar and wind making it competitive and the obvious choices for remote locations without electrical supply. A major issue, of course is what do you do when the sun don't shine.
Eli has an elegant answer with simple technology. You dig a lake at the top of a local hill and when the sun does shine, you use excess power to pump water from local sources up to the top. At night you reverse the pumps and use them as generators and distribute the water into irrigation networks.