Documentation


About the Project

Within the Green H2Island research project, the Offgridplanner was adapted to the Thai context and enhanced with hydrogen-related components - including storage, electrolyser, and fuel cell - to integrate green hydrogen as a seasonal storage solution into mini-grid system design and optimisation. The tool was further developed by Reiner Lemoine Institut (RLI) with support from consortium partners H2 Powercell and Recharge, who provided valuable feedback on default parameters for the hydrogen components.

The project explores how the integration of a hydrogen system into the existing community-operated renewable energy infrastructure on the Thai island of Koh Jik can enable a secure and reliable 100% renewable energy supply. The findings aim to serve as a model for implementing similar solutions on other islands across Southeast Asia.

The Green H2Islands project (FKZ: 67EXI7501A) is funded by the Federal Ministry for the Environment, Climate Action, Nature Conservation and Nuclear Safety (BMUKN) as part of the “Export Initiative Environmental Protection” (EXI). As the EXI project management agency, Zukunft - Umwelt - Gesellschaft (ZUG) gGmbH supports the Federal Ministry for the Environment in carrying out its tasks. As a project of the thematic focus “green hydrogen and fuel cell technologies for decentralized energy supply” within the Export Initiative Environmental Protection, NOW GmbH supports the Green H2Islands project in its function as a program company.

Project duration: October 2024 - September 2027

Further information: https://reiner-lemoine-institut.de/en/project/green-h2-islands-hydrogen-for-a-100-precent-renewable-energy-supply-for-islands-in-southeast-asia/

If you have specific questions regarding the following documentation, please contact: offgridplanner@rl-institut.de


Model Description

This section provides a brief overview of the models used in the backend of the tool. Each model is designed to address specific tasks related to spatial grid planning, and the optimal sizing of energy converters. Together, these models contribute to a comprehensive analysis framework, supporting the planning and optimization of off-grid energy systems. Below is a description of each model and its specific functionality.


Description of the Spatial Grid Optimization Tool

Grid Optimization

The Spatial Grid Optimization model strategically identifies optimal locations for poles, distribution cables, and connection cables to build the distribution grid. It achieves this by first clustering consumers and then connecting these clusters in a way that results in the lowest total distance. This approach minimizes investment and operational costs while ensuring comprehensive coverage and adherence to connection and distance constraints. Additionally, the model calculates annualized costs for assessing the Levelized Cost of Energy (LCOE).

The model provides the option to identify consumers with particularly high connection costs and exclude them from being connected to the grid. Instead, these consumers should be equipped with a solar home system. To achieve this, the costs for poles, connection, and distribution cables are distributed among consumers along each branch and its sub-branches, starting from the load center of the grid, which is the pole closest to the median longitude and latitude values. For each branch and its sub-branches, the costs are allocated from the load center, with consumers only responsible for the costs of poles and cables connecting them towards the load center. Costs for poles and cables beyond a consumer are borne by subsequent consumers.

The user can set a threshold value called Max Specific Grid Cost. If a consumer exceeds this cost, they are excluded from the grid. Starting from the ends of the branches, consumers with excessive costs are identified, and when consumers are excluded, the cost distribution is recalculated iteratively. The process continues until the consumer at the end of a branch falls below the threshold. Once this happens, the branch is no longer evaluated. The process stops when all consumers at the ends of branches have costs below the threshold.

  1. The starting point for the optimization are the respective geolocations of the consumers.
    Grid Optimization
  2. Clustering of consumers by constrained Kmeans algorithm (size of clusters are limited).
    Grid Optimization
  3. The centroids of the clusters are taken as the geolocations of the poles.
    Grid Optimization
  4. Each consumer is connected to its cluster pole.
    Grid Optimization
  5. A minimum spanning tree (MST) is then constructed from this graph, which connects all the poles with minimum total distance (Kruskal's algorithm).
    Grid Optimization
  6. Addition of intermediate poles to prevent unacceptable cable spans.

Description of the Energy System Optimization Tool

This tool is a comprehensive solution for the design and optimization of off-grid energy systems. It integrates a variety of energy sources, including photovoltaic (PV) systems and diesel generators, and supports key components such as battery systems, inverters, hydrogen components and rectifiers. The tool's core functionality lies in its ability to design and optimize these systems to meet specific energy demands in the most cost-efficient way. It uses advanced data modeling techniques, including ERA5 satellite data and PVLIB, to accurately simulate solar potentials, ensuring that PV systems are optimized for the specific environmental conditions of the installation site.

A central aspect of the tool is its focus on minimizing the total annualized costs. Annualized costs account for both the capital expenditures (CapEx) associated with the installation of energy systems and the operational expenditures (OpEx) incurred throughout their lifetime. By optimizing the balance between these costs, the tool generates a configuration that not only meets consumer energy demands but does so in the most financially sustainable manner. This optimization is achieved through mixed-integer linear programming (MILP), a mathematical modeling approach that enables the tool to explore multiple possible configurations and select the one that offers the lowest total annualized cost.

OEMOF-Solph and MILP for Investment Optimization

The tool's optimization relies on the OEMOF (Open Energy Modeling Framework) and its Solph library, which specialize in energy system optimization. OEMOF Solph offers a flexible, open-source platform for modeling various energy converters, storage solutions, and energy flows. Using mixed-integer linear programming (MILP), the tool addresses complex tasks like investment planning and unit commitment.

Investment optimization using MILP offers an efficient approach to system design by minimizing total annualized costs, which include both initial capital investments and ongoing operational expenses. MILP enables the tool to handle discrete decisions, such as selecting additional PV arrays or generators, as well as continuous decisions like determining their optimal capacities. By focusing on a minimal formulation and foregoing the global optimality guarantees of nonlinear programming (NLP), MILP can be solved more efficiently. However, this efficiency comes with the trade-off of accepting some inaccuracies due to the linearization of nonlinear relationships. Nonetheless, MILP provides a practical balance between solution quality and computational performance, making it well-suited for optimizing energy technologies.

Unit commitment refers to the tool's ability to determine which energy units (such as generators or battery systems) should be activated at any given time to meet energy demands efficiently. By using MILP, the tool ensures that these decisions are made in a way that minimizes operational costs, such as fuel consumption and wear-and-tear on equipment, while adhering to technical constraints such as storage capacity and generation limits.

Data-Driven Results for Strategic Decision-Making

The tool generates detailed results regarding the energy system's performance and financial metrics. Key outputs include installed capacities, operational time series, investment costs, CO2 emissions, and fuel requirements. These results provide stakeholders with a comprehensive overview of the system's operational efficiency and its long-term economic and environmental impacts. This information supports strategic planning for off-grid energy systems across various scales, from small rural electrification projects to larger industrial applications.


Data Sources

This section summarizes the sources used to define the default values displayed in the tool. We distinguish between techno-economic default values and demand data.

Techno-economic default values

The aim of defining techno-economic default values for each parameter in the tool was to use the most recent data available, ideally reflecting Thailand-specific conditions and closely aligned with practitioners’ experience. The data were compiled from a range of literature sources. In some cases, values were taken from a previous version of the tool developed for the Nigerian context (OGP Nigeria), which can also be accessed via the tool’s landing page (offgridplanner.org).

Additional default values are based on the HOMER Energy modelling tool, a proprietary software used to simulate and design renewable energy mini-grids and to provide reference input data for system components. Furthermore, for certain parameters - especially those related to hydrogen components and Thailand-specific assumptions - practitioners in the field, particularly in Thailand, were consulted for their expert insights.

For all remaining techno-economic parameters, the specific sources, including links, are provided in the table below.

Parameter Unit Step Component Value Source Source Link
Interest rate % Project Setup 4.2 World Bank: Lending interest rate (%). 2024 https://data.worldbank.org/indicator/FR.INR.LEND
Connection cost EUR/con Grid Design 3.0 Provincial Electricity Authority Thailand
Lifetime a Grid Design Distribution Cable 25.0 ELEK: Estimating Cable Life Expectancy. https://elek.com/articles/estimating-cable-life-expectancy/
CapEx EUR/m Grid Design Distribution Cable 13.0 Rocky Mountain Institute: Minigrids in the Money: Six Ways to Reduce Minigrid Costs by 60% for Rural Electrification: 2018 https://rmi.org/wp-content/uploads/2018/12/rmi-seeds-minigrid-report.pdf
Max. length m Grid Design Distribution Cable 50.0 OGP Nigeria
Lifetime a Grid Design Connection Cable 25.0 ELEK: Estimating Cable Life Expectancy. https://elek.com/articles/estimating-cable-life-expectancy/
CapEx EUR/m Grid Design Connection Cable 3.5 OGP Nigeria
Max. length m Grid Design Connection Cable 20.0 OGP Nigeria
Lifetime a Grid Design Pole 25.0 OGP Nigeria
CapEx EUR/m Grid Design Pole 676.0 OGP Nigeria
Max. number of connections - Grid Design Pole 5.0 OGP Nigeria
Lifetime a Energy System Design Diesel Genset 8.0 Rocky Mountain Institute: Minigrids in the Money: Six Ways to Reduce Minigrid Costs by 60% for Rural Electrification: 2018 https://rmi.org/wp-content/uploads/2018/12/rmi-seeds-minigrid-report.pdf
CapEx EUR/kW Energy System Design Diesel Genset 500.0 Gabriel Veilleux et al.: Techno-economic analysis of microgrid projects for rural electrification: A systematic approach to the redesign of Koh Jik off-grid case study. 2020 https://linkinghub.elsevier.com/retrieve/pii/S0973082619309160
OpEx variable EUR/kWh Energy System Design Diesel Genset 0.02 NREL: Tariff Considerations for Micro-Grids in Sub-Saharan Africa. 2018 https://docs.nrel.gov/docs/fy18osti/69044.pdf
OpEx fixed EUR/kW*a Energy System Design Diesel Genset 21.0 NREL: Tariff Considerations for Micro-Grids in Sub-Saharan Africa. 2018 https://docs.nrel.gov/docs/fy18osti/69044.pdf
Fuel cost EUR/l Energy System Design Diesel Genset 0.81 Global Petrol Prices: Thailand Diesel Prices. 2026 https://www.globalpetrolprices.com/Thailand/diesel_prices/
Fuel LHV kWh/kg Energy System Design Diesel Genset 11.8 Gammel: Heating value - Calorific value. 2026 https://gammel.de/en/energy-glossary/heating-value-calorific-value-4838
Minimum efficiency % Energy System Design Diesel Genset 22.0 OGP Nigeria
Maximum efficiency % Energy System Design Diesel Genset 30.0 OGP Nigeria
Minimum load % Energy System Design Diesel Genset 25.0 HOMER Energy
Maximum load % Energy System Design Diesel Genset 100.0
Lifetime a Energy System Design Battery 10.0 ENTEC: Study on Energy Storage. 2022 https://www.google.com/url?sa=i&source=web&rct=j&url=https://refman.energytransitionmodel.com/publications/2162&ved=2ahUKEwjpzfCG7uKSAxX4BNsEHcv2NK4Qy_kOegQIARAB&opi=89978449&cd&psig=AOvVaw3UaIXvQkUhvb-BL4KH7bxu&ust=1771497894152000
CapEx EUR/kWh Energy System Design Battery 540.0 Gabriel Veilleux et al.: Techno-economic analysis of microgrid projects for rural electrification: A systematic approach to the redesign of Koh Jik off-grid case study. 2020 https://linkinghub.elsevier.com/retrieve/pii/S0973082619309160
OpEx EUR/kWh*a Energy System Design Battery 5.0 Chakphed Madtharad et al.: Microgrid Design for Rural Island in PEA Area. 2018 https://ieeexplore.ieee.org/document/8541848
Minimum SOC % Energy System Design Battery 15.0 Gabriel Veilleux et al.: Techno-economic analysis of microgrid projects for rural electrification: A systematic approach to the redesign of Koh Jik off-grid case study. 2020 https://linkinghub.elsevier.com/retrieve/pii/S0973082619309160
Maximum SOC % Energy System Design Battery 100.0 ESMAP: Mini Grids for Half a Billion People. 2022 https://openknowledge.worldbank.org/server/api/core/bitstreams/32287154-1ccb-46ce-83af-08facf7a3b49/content
C-rate in - Energy System Design Battery 1.0
C-rate out - Energy System Design Battery 1.0
Roundtrip efficiency % Energy System Design Battery 90.0 ESMAP: Mini Grids for Half a Billion People. 2022 https://openknowledge.worldbank.org/server/api/core/bitstreams/32287154-1ccb-46ce-83af-08facf7a3b49/content
Lifetime a Energy System Design Inverter 25.0 Rocky Mountain Institute: Minigrids in the Money: Six Ways to Reduce Minigrid Costs by 60% for Rural Electrification: 2018 https://rmi.org/wp-content/uploads/2018/12/rmi-seeds-minigrid-report.pdf
CapEx EUR/kW Energy System Design Inverter 350.0 ESMAP: Mini Grids for Half a Billion People. 2022 https://openknowledge.worldbank.org/server/api/core/bitstreams/32287154-1ccb-46ce-83af-08facf7a3b49/content
OpEx EUR/kW*a Energy System Design Inverter 7.0 NREL: Tariff Considerations for Micro-Grids in Sub-Saharan Africa. 2018 https://www.nrel.gov/docs/fy18osti/69044.pdf
Efficiency % Energy System Design Inverter 95.0 HOMER Energy
Lifetime a Energy System Design PV 25.0 Gabriel Veilleux et al.: Techno-economic analysis of microgrid projects for rural electrification: A systematic approach to the redesign of Koh Jik off-grid case study. 2020 https://linkinghub.elsevier.com/retrieve/pii/S0973082619309160
CapEx EUR/kW Energy System Design PV 845.0 Leontina Walldén et al.: Analysis of Microgrid Electrification on Phaluai Island. 2023 https://www.diva-portal.org/smash/get/diva2:1776786/FULLTEXT01.pdf
OpEx EUR/kW*a Energy System Design PV 8.45 ESMAP: Mini Grids for Half a Billion People. 2022 https://openknowledge.worldbank.org/server/api/core/bitstreams/32287154-1ccb-46ce-83af-08facf7a3b49/content
Lifetime a Energy System Design H2 Storage 30.0 Practitioner's value
CapEx EUR/kg Energy System Design H2 Storage 4000.0 Practitioner's value
OpEx variable EUR/kg Energy System Design H2 Storage 0.0 NOW: H2 in der dezentralen Energieversorgung. 2023 https://www.now-gmbh.de/wp-content/uploads/2023/05/H2-in-der-dezentralen-Energieversorgung_Ergebnisbericht_E4tech.pdf
OpEx fixed EUR/kg*a Energy System Design H2 Storage 40.0 Practitioner's value
Minumum SOC % Energy System Design H2 Storage 5.0 Practitioner's value
Maximum SOC % Energy System Design H2 Storage 100.0 Practitioner's value
Efficiency % Energy System Design H2 Storage 100.0 Practitioner's value
Lifetime (system) a Energy System Design H2 Electrolyzer 10.0 Practitioner's value
Lifetime (stack) h Energy System Design H2 Electrolyzer 35000.0 Practitioner's value
CapEx EUR/kW Energy System Design H2 Electrolyzer 5000.0 Practitioner's value
OpEx variable EUR/kg Energy System Design H2 Electrolyzer 0.02 NOW: H2 in der dezentralen Energieversorgung. 2023 https://www.now-gmbh.de/wp-content/uploads/2023/05/H2-in-der-dezentralen-Energieversorgung_Ergebnisbericht_E4tech.pdf
OpEx fixed EUR/kW*a Energy System Design H2 Electrolyzer 50.0 Practitioner's value
Efficiency % Energy System Design H2 Electrolyzer 65.0 Practitioner's value
Lifetime a Energy System Design H2 Fuel Cell 10.0 Practitioner's value
Lifetime h Energy System Design H2 Fuel Cell 40000.0 Practitioner's value
CapEx EUR/kW Energy System Design H2 Fuel Cell 5250.0 Practitioner's value
OpEx variable EUR/kg Energy System Design H2 Fuel Cell 0.006 NOW: H2 in der dezentralen Energieversorgung. 2023 https://www.now-gmbh.de/wp-content/uploads/2023/05/H2-in-der-dezentralen-Energieversorgung_Ergebnisbericht_E4tech.pdf
OpEx fixed EUR/kW*a Energy System Design H2 Fuel Cell 52.5 Practitioner's value
Efficiency % Energy System Design H2 Fuel Cell 45.0 Practitioner's value
LHV kWh/kg Energy System Design H2 Fuel Cell 33.3 National Academies of Sciences, Engineering, and Medicine: The Hydrogen Economy: Opportunities, Costs, Barriers, and R&D Needs. 2004, Washington, The National Academies Press. https://doi.org/10.17226/6496. https://www.nationalacademies.org/read/10922/chapter/21

Demand data

The demand profiles used in the tool originate from different sources:

The “Household” load profiles (low, medium, and high demand), as well as the profiles for households combined with restaurants, shops, and motorbike repair services, for a “Health Center”, “School” and “Mosque”, as well as the high load appliances “Laptop”, “Fridge”, “Washing Machine” and “Water Pump” are based on a study conducted in 2017 on Koh Mak Noi (ILF: Hybridization of Islands, Thailand, Feasibility Study, Koh Mak Noi, 2017): https://www.thai-german-cooperation.info/userfiles/N048-ILF-AD-0007-Feasbility%20Report_MakNoi_Final_Rev1_old%20demand.pdf

The demand profiles for temple and homestay are based on measurements conducted on Koh Jik.

The resort demand profile is based on measurements conducted on Koh Bulon Lae.

The high load appliance “AC” is based on measurements conducted in a private home in Bangkok.