Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23525156This record contains the Python model scripts and result files supporting 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” (Awad and El-Samra, Energies, 2026),. The model assesses whether biogas from sludge digestion can keep three Lebanese wastewater treatment plants (Al Ghadir, Tripoli and Saida) running through daily grid blackouts of 4, 12 and 20 h. It estimates biogas and CHP power from the influent COD load; builds plant electricity demand bottom-up from pumping heads and aeration oxygen requirements; computes the power adequacy ratio (biogas power / essential load); sizes gas storage for fixed blackout blocks and through an hourly simulation of random outages; counts methane over a full 24-h boundary, including leakage, CHP and flare slip and a sludge-disposal counterfactual; and evaluates NPV, payback and GHG savings for alternative operating configurations, including surplus export and a PV–battery alternative. Nineteen uncertain inputs are propagated jointly through 10,000 Monte Carlo draws, with Spearman rank sensitivity per blackout scenario. Contents: task1–task14 (.py): model scripts, one per analysis step (baseline model, bottom-up demand, Al Ghadir configurations, gas storage, Monte Carlo uncertainty and sensitivity, surplus export, plausibility checks, secondary-plant demand, sludge counterfactual, hourly outage simulation, PV–battery comparison, Tripoli and Saida economics, Table 5 checks, upgrades and avoided sludge disposal) convergence.py: Monte Carlo and hourly-simulation convergence checks (Tables S2 and S3 of the article) make_figures.py: reproduces Figures 3–7 of the article (600 dpi) *_results.xlsx: output of each script README.txt: run order and dependencies
Keyword(s):
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)