A multi-scale framework for simultaneous optimization of the design and operating strategy of residential CHP systems. (1st November 2017)