Research of Heated Oil Pipeline Shutdown and Restart Process Based on VB and MATLAB

Full Text (PDF, 379KB), PP.18-24

Views: 0 Downloads: 0


Changjun Li 1,* Xia Wu 1 Wenlong Jia 1

1. School of Petroleum Engineering, Southwest Petroleum University, Chengdu, China

* Corresponding author.


Received: 7 Sep. 2010 / Revised: 14 Oct. 2010 / Accepted: 3 Nov. 2010 / Published: 8 Dec. 2010

Index Terms

Heated oil pipeline, model, simulation, VB and MATLAB, hybrid programming, Component Object Module


During the operation of a heated oil transportation pipeline, the shutdown was caused by some pipeline accidents and repairing. In order to ensure the safety operation of the pipeline, determine the temperature drop and restart pressure was needed at different shutdown is important. This paper builds the heated oil pipeline temperature drop model after shutdown based on the unsteady heat transfer theory and restart model based on fluid transient flow theory. In order to solve the models, MATLAB is adopted a code for the models solving program. VB and MATLAB hybrid programming method which is on the basis of COM technical is utilized to develop a friendly man-machine interface for the heated oil pipeline shutdown and restart simulation software. The practical application shows using of VB and MATLAB hybrid programming method can reduce the work of algorithm developing and enhance the reliability of heated oil pipeline shutdown and restart simulation software.

Cite This Paper

Changjun Li, Xia Wu, Wenlong Jia, "Research of Heated Oil Pipeline Shutdown and Restart Process Based on VB and MATLAB", International Journal of Modern Education and Computer Science(IJMECS), vol.2, no.2, pp.18-24, 2010. DOI:10.5815/ijmecs.2010.02.03


[1]E.B. Liu, C.J.Li, W.L. Jia, “Simulation of Shutdown and Restarting Process of Heated Oil Pipelines,”,The 2nd International Symposium on Information Engineering and Electronic Commerce(IEEC2010),IEEE Publisher, 23-25 July, Ternopil, Ukraine,2010.
[2]C.J.Li, W.L. Jia, X. Wu, “Study on Safety Technology of Shutdown and Restart Process for Waxy and High Viscosity Oil Transportation Pipeline,” 2010 International Symposium on Safety Science and Technology (ISSST2010), 26-29 October, Hangzhou, China,2010.
[3]Y. Peysson, A.Bensakhria, “Pipeline lubrication of heavy oil: Experimental investigation of flow and restart problems,” 2005 SPE International Thermal Operations and Heavy Oil Symposium, SPE, 1-3 November, Calgary, Canada, 2005.
[4]C. Li, M. Q. Qiao, “The restart pressure research of a hot waxy crude Pipeline,” OGST,vol.17,no.1, pp.1-14,1998
[5]H D Yang, M. Wu, “The study of axial temperature drop of shutdown on buried crude pipeline,” Journal of Petrochiemical Universities, vol.14,no.3,pp.51-56,2001
[6]X Liu, J. Sun, “Method of computing the maximum flow stoppage time of buried oil pipelines,” Oil and gas Hydrocarbon Spills III: Modelling, Analysis and Control,vol.11,pp.159-168,2002, Rhodes, Greece
[7]Nossen, J. O. Sendstad, “Restart model for gelled multiphase pipelines,” The 11th International Conference on Multiphase, BHR Group Limited, 11-13 June, San Remo, Italy, 2003.
[8]X. C. Yu, Q. P. Li, “Shutdown and restart transient flow characteristic study in offshore multiphase pipeline,” Journal of Engineering Thermophysics, vol.29. no.2. pp.251-255, 2008.
[9]L. H. Hong, J. L. Cai, “The application guide of mixed programming between MATLAB and other programming languages,” The 2nd International Conference on Computer and Automation Engineering, IEEE Publisher ,26-28 Feb. Singpore, 2010.
[10]X.Han, X.Xu, and Z.P. Chen,” Protection Simulation Based on Data Exchange between Matlab and VB,” Power Automation Equipment, vol.26,no.5, pp. 62 -66,2006.
[11]L. Li, Y.T. long, “Motor Testing Data Processing With Hybrid Programming Technology,” The 1st International Conference on Information Science and Engineering (ICISE2009),IEEE Publisher,26-28 Decmber, Nanjing, Chian, 2009.
[12]D. A. Zhao, T. H. Pan, “Identification of grain mildewing with ANN pattern recognition software based on VB and MATLAB,” International conference on Networking, sensing and Control, IEEE Publisher,6-8 April, Sanya, China. 2008.
[13]J. P. Zhang, R.T. Wang, “The system of lifetime prediction for VFD based on VB and MATLAB,” Artificial Intelligence and Computational Intelligence 2009, IEEE Publisher, 7-8 Nov. Shanghai, China,2009.
[14]C. J. Li, W. L. Jia, “Water Hammer Analysis for Heated Liquid Transmission Pipeline with Entrapped Gas Based on Homogeneous Flow Model and Fractional Flow Model,” 2010 Asia-Pacific Power and Energy Engineering Conference, IEEE Publisher, 28-32 March ,2010, Chengdu, China,2010 .
[15]C. F. Zhen, “The study and application of data visualization technology in test system,” 2010 International Conference on Computer Application and System Modeling, IEEE Publisher, 22-24 Oct. Taiyuan, China,2010.
[16]Y. Yu., X. W. Zhou, “Application of the COM Component to VB Calling MATLAB,” Computer Engineering & Science, vol.30, no.2. pp.110-112, 2005 (in Chinese).
[17]Y.Y. Jin, Z.H. Pang, and H.Cui,” Real-time monitoring system based on VB and Matlab,” Control Engineering of China,, pp150-152,2005 (in Chinese).
[18]X.Ren, Y.Q. Ren, and H.C. Zhu, “Control system study of dry pilverized coal pressure gasifier”, Control and Instruments in Chemical Industry, vol.37, no.2,pp.90-92, 2010(in Chinese).