Skip to main content

An Open-Source Package for Gas Network Simulation with Complex Gas Mixture Compositions

Project description

Python 3.9 License: MPL 2.0 Binder DOI:10.1109/OSMSES54027.2022.9769148

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.2
  • matplotlib>=3.3.2
  • scipy>=1.5.2
  • pandas>=1.1.3
  • pytest>=6.2.5
  • fluids>=0.1.86
  • pint>=0.18
  • setuptools>=60.9.3
  • requests>=2.25.1
  • pyparsing~=3.0.7
  • cantera~=3.0.0
  • thermo~=0.2.23
  • tqdm>=4.64.1
  • seaborn>=0.12.2
  • networkx~=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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gasnetsim-0.1.0.tar.gz (140.4 kB view hashes)

Uploaded Source

Built Distribution

GasNetSim-0.1.0-py3-none-any.whl (143.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page