Optimal sizing for residential CHP system