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.2.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.2-py3-none-any.whl (320.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gasnetsim-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1a8af490ab12c83da2d77195dff7831d8e347dca06a17dad41ed958facffa778
MD5 28761294fccbd099fc8906331a10853d
BLAKE2b-256 1f50e6ca1fc05fe0409cf0485d3e587eb26c2e59fbfbed9b8039f94cdb7a8a92

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gasnetsim-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fb55ff5fa50a0d61cbf76b46edf9ff15f550a005727a2dcb5cf22d1cdeaf456a
MD5 0f357ba4e26b75bef3ca67ef13ad031f
BLAKE2b-256 a64cdd993eb50a8ec9779d4dfcc01211c8f173b2a0390b95daf5a1505895cb0e

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