Experimental analysis of the cogenerative performance of a PEM fuel cell based energy system