A review of energy systemmodels