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.1.tar.gz (3.8 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.1-py3-none-any.whl (320.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gasnetsim-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5b3eca6368e8002880d439048ad99782562e5eab25d2c8407ff26559413f1dd7
MD5 557bcf9216dd863fc396105b904db33e
BLAKE2b-256 7441c4e26b025fae03f47b54100e94355b10b057027e6ed8769d2086a4073e34

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gasnetsim-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89f51130d88960a59123170aa29768d2f3ef0857836c6a6ee64e2114ff09867b
MD5 894b9a2f873447d1a17e526209c04c6d
BLAKE2b-256 81ea2b307c31c09599d82db0db3cce8d2bc51ea0478a5a4d05e0cd738291713c

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