Paper accepted to ACM e-Energy'14