Skip to content

HolkanVS/e-Hydrogen-Cost-Optimizer

Repository files navigation

e-Hydrogen Cost Optimizat Logo

e-Hydrogen Cost Optimizer

Python-based User-defined Techno-economic Optimization and Life Cycle Assessment for e-Hydrogen Production

DOI Static Badge GitHub file size in bytes


📑Overview

The e-Hydrogen Cost Optimizer application integrates techno-economic optimization and life cycle assessment (LCA) for the production of electrolytic hydrogen (e-hydrogen) powered by renewable energy sources.

The e-Hydrogen Cost Optimizer app is built on top of the Brightway LCA framework as well as the optimization modeling framework Pyomo.


✏Capabilities

Its capabilities include:

🔧 Techno-Economic Modeling and Optimization

  • Mixed-Integer Linear Programming (MILP) for cost-optimal system design, based on the lowest Levelized Cost of Hydrogen (LCOH).
  • Optimization of energy systems comprising:
    • Solar photovoltaics (PV)
    • Wind turbines
    • Battery storage systems
    • Electrolyzers
    • Hydrogen storage tanks
  • Customizable project parameters, such as hydrogen demand (daily or yearly), location coordinates, component capital and operational expenditure, system lifetime, etc.
  • Scenario-based optimization with selectable technology options for each component.
  • Graphical interface to run optimizations and view solver status in real time.

🌱 Life Cycle Assessment (LCA)

  • Built-in integration with the Brightway25 LCA framework.
  • Calculation of climate impact using standard LCIA methods (e.g., Global Warming Potential).
  • Component-level environmental performance analysis.
  • Exportable CSV file with detailed LCA results per subcomponent.

📉 Output and Results

  • Export of comprehensive results to .xlsx and .csv files for further analysis.
  • Includes optimized capacities, energy flows, hydrogen production, storage states, cost metric, environmental performance per subcomponent, etc.
  • Results are organized for easy interpretation and reuse.

📘 User Manual

A complete User Manual is included in the wiki section to guide you through each feature of the application.

It provides detailed, step-by-step instructions for:

  • Setting system parameters and selecting technologies
  • Running techno-economic optimization
  • Interpreting cost results and decision variables
  • Exploring time series of system operation
  • Performing environmental impact assessments using LCA
  • Exporting and analyzing results
  • Replicating real-world case studies

We highly recommend reviewing the manual before starting a new project. It is especially useful for first-time users and those working with custom scenarios or advanced inputs.


💿 How To Install

For the complete installation procedure, please refer to the full Installation guide in the wiki section.


📂 Tests (Baseline Case Study)

To verify that the e-Hydrogen Cost Optimizer application functions as intended, run the Baseline Case Study.


⌨ Source Code

The source code is mainly found at the hydrogen_optimizer_v_1_0_0.py python file.


✍Authors

The e-Hydrogen Cost Optimizer is being continuously developed and maintained by researchers at
King Abdullah University of Science and Technology (KAUST).

This tool is the result of ongoing collaboration between experts in renewable energy systems, optimization modeling, and environmental assessment.

For academic inquiries, collaborations, or feature requests, please contact the development team:


📋 Citation

APA

Vazquez-Sanchez, H. (2025). e-Hydrogen Cost Optimizer (Version : latest) [Computer software]. https://doi.org/10.5281/zenodo.17198884

BibText

@software{Vazquez-Sanchez_e-Hydrogen_Cost_Optimizer_2025,
author = {Vazquez-Sanchez, Holkan},
doi = {10.5281/zenodo.17198884},
license = {Apache-2.0},
month = oct,
title = {{e-Hydrogen Cost Optimizer}},
url = {https://github.com/HolkanVS/e-Hydrogen-Cost-Optimizer/},
version = {: latest},
year = {2025}
}


This project is actively evolving — contributions and feedback are welcome!