A general spatio-temporal model of energy systems with a detailed account of transport and storage. (2nd September 2015)