王力, 陈双庆, 王佳楠, 李梦越, 丁慧, 刘鹏. 基于面向对象和二叉树的油气集输管网水力计算[J]. 油气储运, 2019, 38(12): 1359-1365. DOI: 10.6047/j.issn.1000-8241.2019.12.006
引用本文: 王力, 陈双庆, 王佳楠, 李梦越, 丁慧, 刘鹏. 基于面向对象和二叉树的油气集输管网水力计算[J]. 油气储运, 2019, 38(12): 1359-1365. DOI: 10.6047/j.issn.1000-8241.2019.12.006
WANG Li, CHEN Shuangqing, WANG Jia'nan, LI Mengyue, DING Hui, LIU Peng. Hydraulic calculation of oil & gas gathering and transportation pipeline network based on object-oriented idea and binary tree[J]. Oil & Gas Storage and Transportation, 2019, 38(12): 1359-1365. DOI: 10.6047/j.issn.1000-8241.2019.12.006
Citation: WANG Li, CHEN Shuangqing, WANG Jia'nan, LI Mengyue, DING Hui, LIU Peng. Hydraulic calculation of oil & gas gathering and transportation pipeline network based on object-oriented idea and binary tree[J]. Oil & Gas Storage and Transportation, 2019, 38(12): 1359-1365. DOI: 10.6047/j.issn.1000-8241.2019.12.006

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

Hydraulic calculation of oil & gas gathering and transportation pipeline network based on object-oriented idea and binary tree

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

     

    Abstract: In order to better grasp the hydraulic situation of oilfield gathering and transportation pipeline network, a hydraulic calculation method based on object-oriented idea and binary tree was proposed for the gathering and transportation process with single-pipe annular watering which is common in oilfields. In this method, the oil & gas gathering and transportation pipeline network 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 the oil 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 used for the calculation of gathering and transportation system in actual production. It is indicated that this method can greatly reduce the workload of early modeling and has the advantages of high calculation speed, strong adaptability and good stability, and the final calculation error is about 5%, indicating its high value of practical application.

     

/

返回文章
返回