Generic Construction and Efficient Evaluation of Flow Network DAEs and Their Derivatives in the Context of Gas Networks
We present a concept that provides an efficient description of differential-algebraic equations (DAEs) describing flow networks which provides the DAE function \(f\) and their Jacobians in an automatized way such that the sparsity pattern of the Jacobians is determined before their evaluation and previously determined values of \(f\) can be exploited. The user only has to provide the network topology and local function descriptions for each network element. The approach uses automatic differentiation (AD) and is adapted to switching element functions via the abs-normal-form (ANF).
KeywordsCompressed sparse row format Algorithmic differentiation abs-normal form Piecewise linear tangent approximation Piecewise smooth
This work was supported by the German Federal Ministry of Education and Research (BMBF) within the Research Campus MODAL (fund number 05M14ZAM) and by the Deutsche Forschungsgemeinschaft through the Collaborative Research Centre TRR154 Mathematical Modelling, Simulation and Optimization Using the Example of Gas Networks.
- 1.Jansen, L., & Tischendorf, C. (2014). A unified (P)DAE modeling approach for flow networks. In S. Schöps, A. Bartel, M. Günther, E. J. W. ter Maten, & P. C. Müller (Eds.), Progress in Differential-Algebraic Equations (pp. 127–151)., Differential-Algebraic Equations Forum Berlin: Springer.Google Scholar
- 2.Griewank, A., & Walther, A. (2008). Evaluating derivatives [Second edition]. Society for industrial and applied mathematicsGoogle Scholar
- 3.Golub, H. G., & Van Loan, C. F. (2012). Matrix computations. Wiley: JHU Press.Google Scholar
- 4.Griewank, A., & Walther A. (2016). First and second order optimality conditions for piecewise smooth objective functions. Optimization Methods and SoftwareGoogle Scholar
- 5.Griewank, A., Bernt, J. -U., Radons, M., & Streubel, T. (2015). Solving piecewise linear systems in abs-normal form. Linear Algebra and its ApplicationsGoogle Scholar
- 6.Griewank, A., Hasenfelder, R., Radons, M., & Streubel, T. (2017). Integrating lipschitzian dynamical systems using piecewise algorithmic differentiationGoogle Scholar
- 7.Humpola, J., Joormann, I., Oucherif, D., Pfetsch, M. E., Schewe L., Schmidt, M. & Schwarz R. GasLib – A library of gas network instances.Google Scholar