Fuel Cell Library

The Modelica Fuel Cell Library (FCL) is used to model, simulate, analyze and control fuel cell design and operation, especially for PEMFC (Polymer Electrolyte Membrane) and SOFC (Solid Oxide) fuel cell systems.

It contains the essential components needed to research, design and configure fuel cell systems, including components, subsystems, templates and media.

The flexibility of the tool, the extended code, the graphical user interface and examples make FCL easy to get started and useful in a wide range of applications.


  • System and component design and simulation are concentrated in the same library, providing great work flow
  • Easy-to-use in any fuel-cell application domain
  • Well-suited for transient analysis and control design
  • Handles reformate and other media
  • Based on the Modelica open standard, enabling model re-use and easy integration with other libraries.
  • Can be used in real-time simulation on e.g. HIL rigs

    5kW Solid Oxide Fuel Cell system with pre-processing of natural gas

    In the figure above natural gas, water and air are fed to a fuel preprocessor where the components are mixed, pre-heated and reformed into syngas suitable as fuel for the SOFC stack. The reformed gas is fed to the anode side of a 5 kW SOFC stack, hot air is fed to the cathode side. The stack in this examples contains three substacks with a total of 50 cells. Reforming reactions are taking place in the anode channel of each substack so that more hydrogen gas is generated. The hydrogen reacts with oxygen in the cell membrane, which gives rise to electrical current through the stack.

    The Modelica Fuel Cell Library is a valuable tool for all industries and academia that work with fuel cell stacks and PEMFC and SOFC systems, including manufacturers, operators, consultancy companies and universities.

    The main applications cove

    • Power Generation 
    • Automotive (APU)
    • Real-time applications
    • Other applications such as aerospace and residential

    Typical challenges are: system design, controls system verification (HIL/SIL), fast dynamics due to reactions and start-up sequence.

    Both detailed systems modeling and real-time simulations are possible with the Fuel Cell Library.

    1. Daniel Andersson, Erik Åberg, Jonas Eborn, Jinliang Yuan, Bengt Sundén, Dynamic modeling of a solid oxide fuel cell system in Modelica, Proceedings 8th Modelica Conference, Dresden, Germany, March 20-22, 2011
    2. Karin Fröjd, Karin Axelsson, Ivar Torstensson, Erik Åberg, Erik Osvaldsson, Gregor Dolanc, Bostjan Pregelj, Jonas Eborn, Jens Pålsson (2014). Development of a Real-Time Fuel Processor Model for HIL Simulation, Proceedings of the 10th International Modelica Conference, March 10-12, 2014, Lund.
    3. Erik Åberg, Jens Pålsson, Karin Fröjd, Karin Axelsson, Gregor Dolanc, Bostjan Pregelj (2015). HIL simulations of a Real-Time Fuel Processor Model, Proceedings of the 5th European PEFC and H2 Forum, June 30- July 3, 2015, Lucerne.

    Fuel Cell Library is a product of Modelon and is distributed by Modelon and partners worldwide.

      How can we help you?

    Product Sheet 

    Release Information

    The system model developed by Modelon in Fuel Cell Library for the FCGEN project was used for HIL verification of the control system. This proved very convenient, especially as it could run on real-time computer, and on standard PC within the Matlab/Simulink model through its FMU block.

    Dr. Boštjan Pregelj , Coordinator for EU project FCGEN www.fcgen.com, Researcher at Jožef Stefan Institute, Slovenia