Modelling Gas Networks with Compressors: A port-Hamiltonian Approach
Thomas Bendokat, Peter Benner, Sara Grundel, Ashwin S. Nayak
TL;DR
The paper addresses the need for energy-consistent transient simulations of gas networks by embedding compressor dynamics into a port-Hamiltonian framework. It develops four compressor models under two specifications (compression ratio or outlet pressure) and two gas-flow assumptions (AV and AM), implemented within an isothermal ISO2b pipe model and integrated via structure-preserving interconnections. The key contributions include explicit FC and FP formulations with AV/AM, boundary-interaction expressions, and a demonstrative Yamal-Europe–like test confirming model validity. The work enables energy-aware design, operation, and digital-twin development for gas networks, with openly available software material for reproducibility.
Abstract
Transient gas network simulations can significantly assist in design and operational aspects of gas networks. Models used in these simulations require a detailed framework integrating various models of the network constituents - pipes and compressor stations among others. In this context, the port-Hamiltonian modelling framework provides an energy-based modelling approach with a port-based coupling mechanism. This study investigates developing compressor models in an integrated isothermal port-Hamiltonian model for gas networks. Four different models of compressors are considered and their inclusion in a larger network model is detailed. A numerical implementation for a simple testcase is provided to confirm the validity of the proposed model and to highlight their differences.
