Transfer function analysis as a novel diagnostic tool for polymer electrolyte membrane fuel cells