**Arne L. Lazar, Swantje C. Konradt \* and Hermann Rottengruber**

Institute of Mobile Systems (IMS), Energy Conversion Systems for Mobile Applications, (EMA), Otto-von-Guericke University Magdeburg, Universitätsplatz 2, 39106 Magdeburg, Germany

**\*** Correspondence: swantje.konradt@ovgu.de

Received: 6 August 2019; Accepted: 5 September 2019; Published: 9 September 2019

**Abstract:** This work presents an open-source, dynamic, 1D, proton exchange membrane fuel cell model suitable for real-time applications. It estimates the cell voltage based on activation, ohmic and concentration overpotentials and considers water transport through the membrane by means of osmosis, diffusion and hydraulic permeation. Simplified equations reduce the computational load to make it viable for real-time analysis, quick parameter studies and usage in complex systems like complete vehicle models. Two modes of operation for use with or without reference polarization curves allow for a flexible application even without information about cell parameters. The program code is written in MATLAB and provided under the terms and conditions of the Creative Commons Attribution License (CC BY). It is designed to be used inside of a Simulink model, which allows this fuel cell model to be used in a wide variety of 1D simulation platforms by exporting the code as C/C++.

**Keywords:** proton exchange membrane fuel cell; matlab; simulink; real-time capability; dynamic fuel cell model
