Optimal operation of residential micro-CHP systems with thermal storage losses modelling