eCherry: A Modelica Library for Modular Dynamic Modelling of Electrochemical Reactors
Jan F. Pyschik, Katharina M. Ebeling, Georgia Ioanna Prokopou, Michael J. Rix, J. Raphael Seidenberg, Marius B. Kleiner, Matthias Leitl, Alexander Mitsos, Dominik BongartzABSTRACT
Electrochemical reactors offer promising pathways for defossilizing the chemical industry. To understand the operation as well as to evaluate and optimise their performance and efficiency, modelling presents a crucial tool. Currently, no comprehensive open‐source library for dynamic modelling of electrochemical reactors exists, and instead modelling efforts are typically specific to individual applications and lack reusability and accessibility. To address this gap, we introduce eCherry, an open‐source Modelica library designed for fast and flexible model building of various electrochemical applications. eCherry supports dynamic modelling of multiple electrochemical reactions and experimental setups and enables integration into aggregated system models. It features modular and replaceable components, facilitating model customisation without extensive coding. Additionally, eCherry supports basic spatial discretisation using the finite volume approach and can be integrated with other open‐source libraries into larger system models for enhanced functionality. This paper details the structure of eCherry, key equations, and how they combine to models, and illustrates its application via examples demonstrating its versatility.