GasNetSim
GasNetSim is a simulation package designed for gas network steady-state simulation. It supports the steady-state natural gas network simulations with different gas mixture compositions, thus enabling accurate analysis of the impacts of hydrogen injection on the gas network.
Description
GasNetSim
GasNetSim is a simulation package designed for gas network steady-state simulation.
It supports the steady-state natural gas network simulations with different gas mixture
compositions, thus enabling accurate analysis of the impacts of hydrogen injection on the gas network.
Moreover, users have the flexibility to modify this tool and implement their own desired
gas mixture modeling approaches.
Future work will be carried out to include gas storage units and to take into account
the dynamic behavior of the gas network so that short-term simulations can be performed.
Installation
Currently, it is only supported using source files. Using following commands to install the package in editable mode.
pip install -e .pip install -r ./requirements.txt
License
The project is released under the terms of the MPL 2.0.
Dependencies
numpy>=1.19.2matplotlib>=3.3.2scipy>=1.5.2pandas>=1.1.3pytest>=6.2.5fluids>=0.1.86pint>=0.18setuptools>=60.9.3requests>=2.25.1pyparsing~=3.0.7cantera~=3.0.0thermo~=0.2.23tqdm>=4.64.1seaborn>=0.12.2networkx~=3.1
For the thermo package, the version used in this repo is 0.1.40. Because there are some changes
and new features included in the newer versions. The source files of the thermo package is directly
stored in this repo. It will be updated in the future.
Reporting Issues
To report a problem, you can open an
issue
in repository against a specific workflow. If the issue is sensitive in nature or
a security related issue, please do not report in the issue tracker but instead
email Yifei Lu.
- MPL-2.0
Participating organisations
Reference papers
Mentions
- 1.Author(s): Ben Alex Baby, Filippo Luca Alberto Munafò, Tancredi Testasecca, Yifei Lu, Marco Beccali, Andrea Benigni, Marco Ferraro, Germana PomaPublished in 2024 3rd International Conference on Energy Transition in the Mediterranean Area (SyNERGY MED) by IEEE in 2024, page: 1-510.1109/synergymed62435.2024.10799459
- 2.Author(s): Ben Alex Baby, Filippo Luca Alberto Munafò, Tancredi Testasecca, Marco Beccali, Marco Ferraro, Germana PomaPublished in 2024 IEEE International Workshop on Metrology for Living Environment (MetroLivEnv) by IEEE in 2024, page: 349-35410.1109/metrolivenv60384.2024.10615772
- 1.Author(s): Filippo Luca Alberto Munafò, Ben Alex Baby, Tancredi Testasecca, Marco Ferraro, Marco BeccaliPublished in Energies by MDPI AG in 2025, page: 543410.3390/en18205434
- 2.Author(s): Yifei Lu, Andrew Ivan Sulimro, Thiemo Pesch, Andrea BenigniPublished in IEEE Access by Institute of Electrical and Electronics Engineers (IEEE) in 2025, page: 104220-10423210.1109/access.2025.3579340
- 3.Author(s): Ashwin S. Nayak, Sara GrundelPublished in PAMM by Wiley in 202310.1002/pamm.202200231