Large power grids are among the most complicated machines humans have ever devised. Different generators produce power at various times and at various costs. A generator might fail and another fills ...