Numerical modeling of a solid oxide fuel cell for use in real-time simulation and cyber-physical systems