As temperatures soared recently, so did demand on the energy grid and, in turn, wholesale prices of electricity.