It's called Factorio.
https://www.factorio.com/
Factorio isn't really relevant, its electricity simulation subsystem is pretty bland.
indeed, it's literally just total consumption divided by total production