Roles of local and national energy systems in the integration of renewable energy. (1st December 2016)