Review of modelling energy transitions pathways with application to energy system flexibility. (March 2019)