Examples Documentation

The examples folder contains a library gas network instances which have been developed in the literature.

Many of the examples can be run using the run_examples.jl script which executes various problems and formulations on the library of instances and verifies that GasModels returns solutions which were reported in the literature.

Long term, the plan is to move the examples out of the GasModels repository and maintain a special GasModelsLib repository specifically for warehousing models developed in the literature.

ProblemsSource
24-pipe-benchmark[1]
A3[2]
case-30[1]
gaslib-40-E-*[2]
gaslib-135-F-*[2]
gaslib-582-G-*[2]
distributionbenchmark65[3]

Sources

[1] Unknown

[2] Conrado Borraz-Sanchez, Russell Bent, Scott Backhaus, Hassan Hijazi and Pascal Van Hentenryck. "Convex Relaxations for Gas Expansion Planning". INFORMS Journal on Computing, 28 (4): 645-656, 2016.

[3] C. Brosig, S. Fassbender, E. Waffenschmidt, S. Janocha and B. Klaassen, "Benchmark gas distribution network for cross-sectoral applications," 2017 International Energy and Sustainability Conference (IESC), Farmingdale, NY, 2017, pp. 1-5, doi: 10.1109/IESC.2017.8283183. *

  • This benchmark was modified for GasModels in the following ways

(i) properties of the gas were modified to reflect standard methanes (ii) friction factors were computed using the formula stated in https://arxiv.org/pdf/2009.14726.pdf - (2 ln ((3.7*diameter) / roughness))^-2 (iii) MW load values (for gas) conversion. MW to Joules per second (multiply MW by 1,000,000). Joules per second to BTU per second (multiply J/s by 0.00095). BTU per second to ft^3/s (there are 1,030 BTUs per cubic foot for natural gas, so divide by 1030 to get ft^3). ft^3/s to m^3/s (multiply by 0.0283168) m^3/s to kg/ s (multiply by density of gas - used .68 as a "standard density")