Stolwijk, Jeroen J.Mehrmann, Volker2021-12-172021-12-172017-01-042197-8085https://depositonce.tu-berlin.de/handle/11303/15897http://dx.doi.org/10.14279/depositonce-14670In the simulation and optimization of gas flow in a pipeline network, a hierarchy of models is used that employs different formulations of the Euler equations. While the optimization is performed on piecewise linear models, the flow simulation is based on the simulation of one to three dimensional Euler equations including the temperature distributions. To decide which model class in the hierarchy is adequate to achieve a desired accuracy, this paper presents an error and perturbation analysis for a two level model hierarchy including the isothermal Euler equations in semilinear form and the stationary Euler equations in purely algebraic form. The focus of the work is on the effect of data uncertainty, discretization and rounding errors in the numerical simulation of these models and their interaction. Two simple discretization schemes for the semilinear model are compared with respect to their conditioning and temporal stepsizes are determined for which a well-conditioned problem is obtained. The results are based on new componentwise relative condition numbers for the solution of nonlinear systems of equations. Moreover, the model error between the semilinear and the algebraic model is computed, the maximum pipeline length is determined for which the algebraic model can be used safely, and a condition is derived for which the isothermal model is adequate.en510 Mathematikgas networkisothermal Euler equationserror analysiscondition numberdata uncertaintycomponentwise error analysisstochastic error analysisError Analysis and Model Adaptivity for Flows in Gas NetworksResearch Paper