Skip to content
/ opem Public
forked from ECSIM/opem

OPEM (Open Source PEM Cell Simulation Tool)

License

Notifications You must be signed in to change notification settings

Moduland/opem

 
 

Repository files navigation


Overview

The Open-Source PEMFC Simulation Tool (Opem) is an open-source mathematical simulation package for polymer electrolyte fuel cells. It contains a database of physical phenomena equations, and kinetics mathematical models in order to perform static/dynamic analysis of PEMFC. The goal of the software is to prepare a platform for collaborative development of PEMFC mathematical models.

Installation

Source Code

  • Download Version 0.2 or Latest Source
  • Run pip install -r requirements.txt or pip3 install -r requirements.txt (Need root access)
  • Run python3 setup.py install or python setup.py install (Need root access)

PyPI

Exe Version (Only Windows)

Usage

CLI (Command Line Interface)

  • Open CMD (Windows) or Terminal (UNIX)

  • Run python -m opem or python3 -m opem

  • Enter PEM cell parameters

    1. Amphlett Static Model

      Input Description Unit
      T Cell Operation Temperature K
      PH2 Partial Pressure atm
      PO2 Partial Pressure atm
      i-start Cell operating current start point A
      i-step Cell operating current step A
      i-stop Cell operating current end point A
      A Active area cm^2
      l Membrane Thickness cm
      lambda is an adjustable parameter with a min value of 14 and max value of 23 --
      R(*Optional) R-Electronic ohm
      B An empirical constant depending on the cell and its operation state (Tafel Slope) V
      JMax Maximum current density A/(cm^2)
      N Number Of Single Cells --
      * For more information about this model visit here
    2. Larminie-Dicks Static Model

      Input Description Unit
      E0 Fuel Cell reversible no loss voltage V
      A The slope of the Tafel line V
      B Constant in the mass transfer term V
      i-start Cell operating current start point A
      i-step Cell operating current step A
      i-stop Cell operating current end point A
      i_n Internal current A
      i_0 Exchange current at which the overvoltage begins to move from zero A
      i_L Limiting current A
      RM The membrane and contact resistances ohm
      N Number Of Single Cells --
      * For more information about this model visit here
    3. Chamberline-Kim Static Model

      Input Description Unit
      E0 Open circuit voltage V
      b Tafel's parameter for the oxygen reduction V
      R Resistance ohm.cm^2
      i-start Cell operating current start point A
      i-step Cell operating current step A
      i-stop Cell operating current end point A
      A Active area cm^2
      m Diffusion's parameters V
      n Diffusion's parameters (A^-1)(cm^2)
      N Number Of Single Cells --
      * For more information about this model visit here
  • Find Your Result In .opem & .csv files

Issues & Bug Reports

Just fill an issue and describe it. We'll check it ASAP! or send an email to opem@ecsim.ir.

TODO

  • Static Analysis
    • Amphlett Static Model
      • Nernst Voltage
      • PEMFC losses model
      • Power of PEMFC
      • Efficiency of PEMFC
    • Larminie-Dicks Static Model
      • PEMFC losses model
      • Power of PEMFC
      • Efficiency of PEMFC
    • Chamberline-Kim Static Model
      • PEMFC losses model
      • Power of PEMFC
      • Efficiency of PEMFC
  • Flat Output
    • Simulation Result
    • CSV File
  • GUI
    • Plot Graphs
    • Input/Output
  • Dynamic Analysis
    • Impedance model of fuel cell
    • Dicks-Larminie Danymic Model
    • Becherif-Hissel Dynamic model
    • PEMFC Charge Transport
    • PEMFC Mass Trasport
    • PEMF Heat Transfer
    • PEMFC Catalyst Layers
    • PEMFC Flow Feild Plates

Contribution

You can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. ❤️

Remember to write a few tests for your code before sending pull requests.

Reference

1- J. C. Amphlett, R. M. Baumert, R. F. Mann, B. A. Peppley, and P. R. Roberge. 1995. "Performance Modeling of the Ballard Mark IV Solid Polymer Electrolyte Fuel Cell." J. Electrochem. Soc. (The Electrochemical Society, Inc.) 142 (1): 9-15. doi: 10.1149/1.2043959.
2- Jeferson M. Correa, Felix A. Farret, Vladimir A. Popov, Marcelo G. Simoes. 2005. "Sensitivity Analysis of the Modeling Parameters Used in Simulation of Proton Exchange Membrane Fuel Cells." IEEE Transactions on Energy Conversion (IEEE) 20 (1): 211-218. doi:10.1109/TEC.2004.842382.
3- Junbom Kim, Seong-Min Lee, Supramaniam Srinivasan, Charles E. Chamberlin. 1995. "Modeling of Proton Exchange Membrane Fuel Cell Performance with an Empirical Equation." Journal of The Electrochemical Society (The Electrochemical Society) 142 (8): 2670-2674. doi:10.1149/1.2050072.
4- I. Sadli, P. Thounthong, J.-P. Martin, S. Rael, B. Davat. 2006. "Behaviour of a PEMFC supplying a low voltage static converter." Journal of Power Sources (Elsevier) 156: 119–125. doi:10.1016/j.jpowsour.2005.08.021.

Cite

If you use OPEM in your research , please cite this :

@misc{https://doi.org/10.5281/zenodo.1133110,
  doi = {10.5281/zenodo.1133110},
  author = {{Sepand Haghighi} and {Kasra Askari} and {Sarmin Hamidi} and Rahimi,  Mohammad Mahdi},
  keywords = {Cell,  PEM,  Fuel Cell,  electrochemistry},
  title = {Opem : An Open Source Pem Cell Simulation Tool},
  pages = {--},
  publisher = {Zenodo},
  year = {2017}
}


License

Donate to our project

Bitcoin :

12Xm1qL4MXYWiY9sRMoa3VpfTfw6su3vNq

Payping (For Iranian citizens) :

About

OPEM (Open Source PEM Cell Simulation Tool)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 51.3%
  • Python 48.7%