Mutli-scale Solar-to-hydrogen System Design: An Open-source Modeling Framework
Abstract
Hydrogen produced from renewable energy holds significant potential in providing sustainable solutions to achieve Net-Positive goals. However, one technical challenge hindering its widespread adoption is the absence of open-source precise modeling tools for sizing and simulating integrated system components under realworld conditions. In this work, we developed an adaptable, user-friendly and open-source Python® model that simulates grid-connected battery-assisted photovoltaic-electrolyzer systems for green hydrogen production and conversion into high-value chemicals and fuels. The code is publicly available on GitHub, enabling users to predict solar hydrogen system performance across various sizes and locations. The model was applied to three locations with distinct climatic patterns – Sines (Portugal), Edmonton (Canada), and Crystal Brook (Australia) – using commercial photovoltaic and electrolyzer systems, and empirical data from different meteorological databases. Sines emerged as the most productive site, with an annual photovoltaic energy yield 39 % higher than Edmonton and 9 % higher than Crystal Brook. When considering an electrolyzer load with 0.5 WEC/Wp PV capacity solely powered by the photovoltaic park, the solar-to-hydrogen system in Sines can reach an annual green hydrogen production of 27 g/Wp PV and export 283 Wh/Wp PV of surplus electricity to the grid. Continuous 24/7 electrolyzer operation increased the annual hydrogen output to 33 g/Wp PV, with a reduced Levelized Cost of Hydrogen of €6.42/kgH2. Overall, this work aims to advance green hydrogen production scale-up, fostering a more sustainable global economy.