Published May 29, 2024 | Version 1.0
Software Open

phgasnets: Code supplement for article "Modelling Gas Networks with Compressors: A Port-Hamiltonian Approach".

  • 1. ROR icon Max Planck Institute for Dynamics of Complex Technical Systems

Contributors

  • 1. ROR icon Max Planck Institute for Dynamics of Complex Technical Systems
  • 2. ROR icon Otto-von-Guericke University Magdeburg

Description

Supplement to the article to implement the model and reproduce plots.

Model Details:
  - A speedy C++ implementation of port-Hamiltonian model for Gas Network with Compressors.
  - Emphasis on including four different compressor models in formulation.
  - Space discretization with second-order central finite differences.
  - Time discretization with implicit midpoint method.
  - Jacobian computation through numerical differentiation.

The provided source code is licensed under the GNU-GPL v3+ License.

Files

phgasnets-cpp-1.0.zip

Files (60.0 kB)

Name Size Download all
md5:5f66b9141ac73f36865eb06f92d2a0c9
60.0 kB Preview Download

Additional details

Related works

Is published in
Conference paper: arXiv:2406.01164 (arXiv)

Software

Repository URL
https://gitlab.mpi-magdeburg.mpg.de/anayak/phgasnets-cpp
Programming language
C++, Python
Development Status
Active