Decomposition of a Large-Scale Energy Model