How can someone with a background in computer science learn enough about energy and electrical grids to make a relatively correct model/simulation of the energy production, distribution and consumption of say, a country?<p>I'm looking for resources you can use to learn on my own.<p>This might be an overly ambitious idea or a relatively simple one, I have no clue. Any insights to help me get started are very appreciated.