Optimization of a fuel cell system running on ammonia from a wastewater treatment