A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

GasModels.jl

A Julia/JuMP Package for Gas Network Optimization.
https://github.com/lanl-ansi/GasModels.jl

Category: Energy Storage
Sub Category: Hydrogen

Keywords

gas-flow gas-network-formulations network optimization

Keywords from Contributors

optimal-power-flow power-network optimization-algorithms nonlinear-optimization non-convex-optimization mixed-integer-programming mixed-integer-nonlinear-programming minlp-solver minlp global-optimization

Last synced: about 6 hours ago
JSON representation

Repository metadata

A Julia/JuMP Package for Gas Network Optimization

README.md

GasModels.jl

Status:
CI
codecov
Documentation

GasModels.jl is a Julia/JuMP package for Steady-State Gas Network Optimization.
It is designed to enable computational evaluation of emerging Gas network formulations and algorithms in a common platform.
The code is engineered to decouple problem specifications (e.g. Gas Flow, Expansion planning, ...) from the gas network formulations (e.g. CWP, DWP, CRDWP, ...).
This enables the definition of a wide variety of gas network formulations and their comparison on common problem specifications.

Core Problem Specifications

  • Gas Flow (gf)
  • Expansion Planning (ne)
  • Load Shed (ls)

Core Network Formulations

  • CWP
  • DWP
  • WP
  • CRDWP
  • LRDWP
  • LRWP

Basic Usage

Once GasModels is installed, a optimizer is installed, and a network data file has been acquired, a Gas Flow can be executed with,

using GasModels
using <solver_package>

run_gf("foo.m", FooGasModel, FooSolver())

Similarly, an expansion optimizer can be executed with,

run_ne("foo.m", FooGasModel, FooSolver())

where FooGasModel is the implementation of the mathematical program of the Gas equations you plan to use (i.e. DWPGasModel) and FooSolver is the JuMP optimizer you want to use to solve the optimization problem (i.e. IpoptSolver).

Acknowledgments

This code has been developed as part of the Advanced Network Science Initiative at Los Alamos National Laboratory.
The primary developer is Russell Bent, with significant contributions from Conrado Borraz-Sanchez, Hassan Hijazi, and Pascal van Hentenryck.

Special thanks to Miles Lubin for his assistance in integrating with Julia/JuMP.

License

This code is provided under a BSD license as part of the Multi-Infrastructure Control and Optimization Toolkit (MICOT) project, C15024.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 933
Total Committers: 14
Avg Commits per committer: 66.643
Development Distribution Score (DDS): 0.609

Commits in past year: 24
Committers in past year: 4
Avg Commits per committer in past year: 6.0
Development Distribution Score (DDS) in past year: 0.583

Name Email Commits
Russell Bent r****t@l****v 365
Kaarthik Sundar k****r@g****m 301
Byron Tasseff b****f@l****v 101
David M Fobes d****s@l****v 65
carleton c****c@l****v 46
Sai Krishna Kanth Hari h****h@g****m 33
Kaarthik Sundar k****r@p****v 8
James Wernicke w****e@l****v 4
Jack Miner 5****c 4
Peter Watson 4****4 2
Adam Mate 3****e 1
Julia TagBot 5****t 1
Oscar Dowson o****w 1
ftuser f****r@l****v 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 146
Total pull requests: 121
Average time to close issues: 5 months
Average time to close pull requests: 9 days
Total issue authors: 12
Total pull request authors: 11
Average comments per issue: 1.47
Average comments per pull request: 1.49
Merged pull request: 115
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 7
Past year average time to close issues: N/A
Past year average time to close pull requests: 9 days
Past year issue authors: 0
Past year pull request authors: 4
Past year average comments per issue: 0
Past year average comments per pull request: 0.71
Past year merged pull request: 5
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/lanl-ansi/GasModels.jl

Top Issue Authors

  • rb004f (87)
  • ccoffrin (41)
  • kaarthiksundar (5)
  • tasseff (3)
  • cvr (3)
  • 3ch01c (1)
  • hskkanth (1)
  • attobot (1)
  • wenjingsu16 (1)
  • JuliaTagBot (1)
  • adammate (1)
  • pseudocubic (1)

Top Pull Request Authors

  • rb004f (61)
  • kaarthiksundar (13)
  • hskkanth (12)
  • ccoffrin (9)
  • tasseff (9)
  • pseudocubic (9)
  • 3ch01c (4)
  • odow (1)
  • adammate (1)
  • sonofwatt84 (1)
  • JuliaTagBot (1)

Top Issue Labels

  • bug (1)

Top Pull Request Labels

  • enhancement (5)
  • bug (2)

Package metadata

juliahub.com: GasModels

A Julia/JuMP Package for Gas Network Optimization

  • Homepage: https://lanl-ansi.github.io/GasModels.jl/latest/
  • Documentation: https://docs.juliahub.com/General/GasModels/stable/
  • Licenses: BSD-3-Clause
  • Latest release: 0.10.4 (published 13 days ago)
  • Last Synced: 2025-04-26T14:34:56.706Z (1 day ago)
  • Versions: 22
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 17 Total
  • Rankings:
    • Dependent repos count: 9.94%
    • Forks count: 10.378%
    • Stargazers count: 11.463%
    • Average: 13.688%
    • Dependent packages count: 22.97%

Dependencies

.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite
.github/workflows/ci.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • codecov/codecov-action v1 composite
  • julia-actions/julia-buildpkg latest composite
  • julia-actions/julia-processcoverage v1 composite
  • julia-actions/julia-runtest latest composite
  • julia-actions/setup-julia v1 composite
.github/workflows/documentation.yml actions
  • actions/checkout v2 composite
  • julia-actions/setup-julia latest composite

Score: 10.291603022309179