How to model a complex national energy system? Developing an integrated energy systems framework for long-term energy and emissions analysis. (2019)