Biogas-to-Resilience: model scripts and results for "Biogas as a Resilience Fuel for Wastewater Treatment under Chronic Grid Failure: Demand-Based Design, Gas Storage and Economics for Three Lebanese Plants

Python scripts, result files and figures for the article “Biogas as a Resilience Fuel for Wastewater Treatment under Chronic Grid Failure: Demand-Based Design, Gas Storage and Economics for Three Lebanese Plants” (Energies, resubmission of energies-4676450). The model assesses whether sludge biogas can keep three Lebanese wastewater treatment plants (Al Ghadir, Tripoli, Saida) running through daily blackouts of 4, 12 and 20 h/d. It covers bottom-up electricity demand at three service levels, gasholder sizing with an hourly simulation of persistent random outages and variable gas production, a closed COD balance with a digester heat balance, an hourly CHP reliability model under normal and crisis operation and maintenance, greenhouse-gas accounting including the sludge chain against a single reference plant, and economics in constant 2024 USD with break-even values, PV–battery systems and hybrids. Fifty-six uncertain inputs are propagated jointly through 10,000 Monte Carlo draws. Running bash run_all.sh (about one hour; Python 3 with the versions in requirements.txt) regenerates every results file (task*_results.xlsx), the logs and Figures 2–7; make_figure1.py draws Figure 1. README.txt describes each script, and File_S1_Model_log.pdf documents every change to the model since the first submission. This version adds Figure 1 and its script, the TIFF figures, a licence file and a corrected check-table row in Task 2; no reported result changed. PVGIS data: European Union, JRC.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-09
DOI
https://doi.org/10.5281/zenodo.24073164
Primary Topic
Anaerobic Digestion and Biogas Production
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Biogas-to-Resilience: model scripts and results for "Biogas as a Resilience Fuel for Wastewater Treatment under Chronic Grid Failure: Demand-Based Design, Gas Storage and Economics for Three Lebanese Plants

Renalda El-Samra
Zenodo (CERN European Organization for Nuclear Research)
Anaerobic Digestion and Biogas Production
article

Biogas-to-Resilience: model scripts and results for "Biogas as a Resilience Fuel for Wastewater Treatment under Chronic Grid Failure: Demand-Based Design, Gas Storage and Economics for Three Lebanese Plants

Renalda El-Samra
article en

Abstract

Python scripts, result files and figures for the article “Biogas as a Resilience Fuel for Wastewater Treatment under Chronic Grid Failure: Demand-Based Design, Gas Storage and Economics for Three Lebanese Plants” (Energies, resubmission of energies-4676450). The model assesses whether sludge biogas can keep three Lebanese wastewater treatment plants (Al Ghadir, Tripoli, Saida) running through daily blackouts of 4, 12 and 20 h/d. It covers bottom-up electricity demand at three service levels, gasholder sizing with an hourly simulation of persistent random outages and variable gas production, a closed COD balance with a digester heat balance, an hourly CHP reliability model under normal and crisis operation and maintenance, greenhouse-gas accounting including the sludge chain against a single reference plant, and economics in constant 2024 USD with break-even values, PV–battery systems and hybrids. Fifty-six uncertain inputs are propagated jointly through 10,000 Monte Carlo draws. Running bash run_all.sh (about one hour; Python 3 with the versions in requirements.txt) regenerates every results file (task*_results.xlsx), the logs and Figures 2–7; make_figure1.py draws Figure 1. README.txt describes each script, and File_S1_Model_log.pdf documents every change to the model since the first submission. This version adds Figure 1 and its script, the TIFF figures, a licence file and a corrected check-table row in Task 2; no reported result changed. PVGIS data: European Union, JRC.

Zenodo (CERN European Organization for Nuclear Research)
Saint Joseph University (LB)
Anaerobic Digestion and Biogas Production
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon