Optimization of a Small Size CHP System by Means of a Fully Transient Numerical Approach