Theoretical simulation model of a proton exchange membrane fuel cell