基于面向对象和二叉树的油气集输管网水力计算

1. 珠海城市管道燃气有限公司;2. 东北石油大学石油工程学院;3. 中国石油化工股份有限公司大连石油化工研究院储运技术部

单管掺水集输流程;水力计算;面向对象;二叉树

Hydraulic calculation of oil & gas gathering and transportation pipeline network based on object-oriented idea and binary tree
WANG Li1 , CHEN Shuangqing2, WANG Jia'nan3, LI Mengyue2 , DING Hui1, LIU Peng2

1. Zhuhai City Pipeline Gas Co. Ltd.; 2. School of Petroleum Engineering, Northeast Petroleum University; 3. Storage and Transportation Technology Department, SINOPEC Dalian Research Institute of Petroleum and Petrochemicals

gathering and transportation process of single-pipe water mixing, hydraulic calculation, object-oriented, binary tree

DOI: 10.6047/j.issn.1000-8241.2019.12.006

备注

为了更好地掌握油田集输管网的水力情况,针对油田常见的单管环状掺水集输流程,提出一种基于面向对象思想与二叉树的水力计算方法。该方法将油气集输管网表征为实例化对象的组合,以字段、属性存储对象参数,建立了水力计算模型,基于二叉树理论对系统集油和掺水管网部分的流量、温度、压力分别采用不同遍历顺序进行求解。据此开发了油气集输管网水力计算软件,可对实际的生产集输系统进行计算。结果 表明:该方法能大幅减少前期建模工作量,同时具备计算速度快、适应性强、稳定性好等优点,并且最终计算误差约为5%,具有较强的实际应用价值。(图7表2,参[25]

In order to better grasp the hydraulic situation of oilfield gathering and transportation pipeline network, a hydrauliccalculation method based on object-oriented idea and binary tree was proposed for the gathering and transportation process withsingle-pipe annular watering which is common in oilfields. In this method, the oil & gas gathering and transportation pipelinenetwork is represented as a combination of instanced objects, and the parameters of the object are stored in fields and attributes.Then, the hydraulic calculation model was established. Based on the binary tree theory, the flow, temperature and pressure of theoil gathering pipeline network and watering pipeline network of the system were solved in different ergodic orders. Accordingly,the hydraulic calculation software for oil & gas gathering and transportation pipeline network was developed, which can be usedfor the calculation of gathering and transportation system in actual production. It is indicated that this method can greatly reducethe workload of early modeling and has the advantages of high calculation speed, strong adaptability and good stability, and thefinal calculation error is about 5%, indicating its high value of practical application. (7 Figures, 2 Tables, 25 References)

·