A review of analytical and optimization methodologies for transitions in multi-scale energy systems