A system for optimizing the purge cycle of a fuel cell stack responsive to the
performance of the fuel cell. The system includes a controller that measures a
process parameter indicative of the rate at which water is being produced in the
fuel cell. If the measured value exceeds a threshold value, then the purge assembly
is automatically actuated.