Analysis of a Fuel Cell based system for cogenarative applications