A perspective on energy modeling