A MATLAB Simulink Library for Transient Flow Simulation of Gas Networks
Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 32797
A MATLAB Simulink Library for Transient Flow Simulation of Gas Networks

Authors: M. Behbahani-Nejad, A. Bagheri

Abstract:

An efficient transient flow simulation for gas pipelines and networks is presented. The proposed transient flow simulation is based on the transfer function models and MATLABSimulink. The equivalent transfer functions of the nonlinear governing equations are derived for different types of the boundary conditions. Next, a MATLAB-Simulink library is developed and proposed considering any boundary condition type. To verify the accuracy and the computational efficiency of the proposed simulation, the results obtained are compared with those of the conventional finite difference schemes (such as TVD, method of lines, and other finite difference implicit and explicit schemes). The effects of the flow inertia and the pipeline inclination are incorporated in this simulation. It is shown that the proposed simulation has a sufficient accuracy and it is computationally more efficient than the other methods.

Keywords: Gas network, MATLAB-Simulink, transfer functions, transient flow.

Digital Object Identifier (DOI): doi.org/10.5281/zenodo.1075454

Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 6415

References:


[1] E. B. Wylie, M. A. Stoner, and V. L. Streeter, "Network Transient Calculation by Implicit methods", Soc. Pet Eng. J., 1971, 356-362.
[2] C. A. Luongo, "An Efficient Program for Transient Flow Simulation in Natural Gas Pipelines", 15th Annual Meeting Pipeline Simulation Interest Group (PSIG), New Orleans, October 1986.
[3] W. Yow, "Analysis and Control of Transient Flow in Natural Gas Piping System", Ph.D. dissertation, U. of Michigan, Ann Harbor, 1971.
[4] A. J. Osiadacz, "Simulation and Analysis of Gas Networks", E. & F.N. Spon, London, 1987.
[5] S. O. Ibraheem and M. A. Adewumi, "Higher-Resolution Numerical Solution for 2-D Transient Natural Gas Pipeline Flows",Soc. of Petroleum Eng., SPE 35626, 1996, pp. 473.482.
[6] T. Kiuchi, "An Implicit Method for Transient Gas Flow in Pipe Networks", Int. J. Heat and Fluid Flow, Vol. 15, No. 5, 1994, pp. 378- 383.
[7] Y. Dukhovnaya and A. Michael, "Simulation of non-isothermal transient in gas/condensate pipelines using TVD schemes", Petroleum and Natural Gas Eng., The Pennsylvania State University, USA., 2000.
[8] J. Zhou and M. A. Adewumi, "Simulation of Transient Flow in Natural Gas Pipelines", the Pennsylvania State University, Petroleum and Natural Gas Engineering, GRI-PA 16802, 1996.
[9] E. Tentis, D. Margaris, and D. Papanikas, "Transient gas flow simulation using an Adaptive Method of Lines", U. of Patras, C. R. Mechanics J., 2003, pp. 481-487.
[10] S. L. Ke and H. C. Ti, "Transient analysis of isothermal gas flow in pipeline network", chemical eng. J., 1999, 169-177.
[11] A. H. Gonzales, J. M. De La Cruz, B. D. Andres-Toro, and J. L. Risco- Martin, "Modeling and simulation of a gas distribution pipeline network", Applied Mathematical Modeling J., article in press, 2008.
[12] H. P. Reddy, S. Narasimhan, and S. M. Bhallamudi, "Simulation and State Estimation of Transient Flow in Gas Pipeline Networks Using a Transfer Function Model", Department of Chemical Engineering and Department of Civil Engineering, Indian Inst. of Technology, Madras, Chennai-600036, India, 2006.
[13] J. Kralik, P. Stiegler, Z. Vostry, J. Zavorka, "Dynamic modeling of large scale networks with application to gas distribution", 1st ed., Inst. of Information Thory and Automation of the Czechoslovak Academy of Sciences Prague, Czechoslovakia, ELSEVIER Amesterdam-Axford, 1998.
[14] A. K. Hoffman and S. T. Chiang, "Computational Fluid Dynamics for Engineers", Wichita, Kansas, 2000.
[15] T. D. Taylor, N. E. Wood, and J. E. Power, "A Computer Simulation of Gas Flow in Long Pipelines", Soc. Pet. Eng. J., Trans. AIME, 225, 1962, 1962, pp. 297-302.
[16] A. Bagheri, "Evaluation of Various Numerical Algorithms for Transient Flow Computation in Natural Gas Networks and Dynamic Analysis of a Typical Case", M. Sc. Thesis, Mech. Eng. Dept., Shahid Chamran University, Ahvaz, Iran, (in preparation).