Calibrating Energy Models with Historical Data