Skip to main content

A tool for gas network steady-state simulation.

Project description

PyPI version Python Versions License: MPL 2.0 DOI:10.1109/OSMSES54027.2022.9769148 Binder Code style: black

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.2.0.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gasnetsim-0.2.0-py3-none-any.whl (328.4 kB view details)

Uploaded Python 3

File details

Details for the file gasnetsim-0.2.0.tar.gz.

File metadata

  • Download URL: gasnetsim-0.2.0.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for gasnetsim-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8ec01c96b1e9ffe59a206d48a356e879a8c97fd024d2437d29727e5914011a2c
MD5 9380f4ae3a94c6df954ef1e4a2bf9b5f
BLAKE2b-256 45e19a36fc50c28fd08050d6ac233da96d5a06bf75104fe43797a2586753adf8

See more details on using hashes here.

File details

Details for the file gasnetsim-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gasnetsim-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 328.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for gasnetsim-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d67adc8ec72b156b2c971725addf3e7c1712dda7a6d78de6548d382958b8f4d
MD5 ff7c104758383af04f057fce1beccdf5
BLAKE2b-256 5f8d5a30886efc44a8bf0e641584aa7107eec15d27a1ffb105d43266491a316c

See more details on using hashes here.

Supported by

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