西南石油大学学报(自然科学版) ›› 2019, Vol. 41 ›› Issue (1): 165-174.DOI: 10.11885/j.issn.1674-5086.2018.04.26.03

• 石油机械与油田化学 • 上一篇    下一篇

改进遗传算法及其在钻井液设计中的运用

李建1, 蔡海艳1, 李嘉迪2   

  1. 1. 西南石油大学计算机科学学院, 四川 成都 610500;
    2. 中国石油西南油气田分公司通信与信息技术中心, 四川 成都 610051
  • 收稿日期:2018-04-26 出版日期:2019-02-10 发布日期:2019-02-10
  • 通讯作者: 李建,E-mail:lijian2835@163.com
  • 作者简介:李建,1960年生,男,汉族,四川绵阳人,教授,主要从事数据仓库与数据挖掘方面的研究。E-mail:lijian2835@163.com;蔡海艳,1993年生,女,汉族,四川德阳人,硕士研究生,主要从事数据挖掘与机器学习方面的研究工作。E-mail:1274416392@qq.com;李嘉迪,1991年生,男,汉族,四川绵阳人,工程师,主要从事油田信息化方面的研究工作。E-mail:ljd326@petrochina.com.cn
  • 基金资助:
    国家科技重大专项(2016ZX05020-006)

Improved Genetic Algorithm and its Application in the Design of Drilling Fluid

LI Jian1, CAI Haiyan1, LI Jiadi2   

  1. 1. School of Computer Science, Southwest Petroleum University, Chengdu, Sichuan 610500, China;
    2. Communication and Information Technology Center of PetroChina Southwest Oil and Gas Field Branch Company, Chengdu, Sichuan 610051, China
  • Received:2018-04-26 Online:2019-02-10 Published:2019-02-10

摘要: 在深井、超深井以及地层复杂等条件下,为了避免或减少钻井事故的发生,达到优质快速钻井的目的,选择合适的钻井液体系至关重要。基于案例推理(CBR,Case-Based Reasoning)的钻井液设计中,钻井液体系由岩性、井型和井深等属性推理得出,但属性权重的分配会对推理结果产生显著的影响;遗传算法在优化属性权重时,存在收敛速度慢、收敛精度低的缺点。针对上述问题,提出一种解决CBR中属性权重分配问题的改进遗传算法。首先,对遗传算子进行改进:选择算子方面,利用指数尺度变换法优化个体选择;交叉算子方面,对算术交叉中的比例因子进行自适应调整;变异算子方面,改进个体变异方向,保持种群多样性。其次,从个体适应度和交叉个体的差异程度两方面实现交叉概率自适应调整。最后,通过对UCI数据集的对比实验,证明了改进后的遗传算法能改善全局收敛性能,提高CBR的准确率。将该算法运用到基于CBR的钻井液设计中,实验结果表明,所提方法能够优化属性权重的分配,进而提高钻井液设计的质量。

关键词: 钻井液, 案例推理, 案例检索, 属性权重, 遗传算法

Abstract: The selection of a proper drilling fluid system is the key to enabling fast and high-quality drilling operations while avoiding or reducing the occurrence of drilling accidents when working in deep wells, ultra-deep wells, and complex formations. When designing the drilling fluid using case-based reasoning (CBR), the drilling fluid system can be derived from multiple attributes such as lithology, well type, and well depth. However, the derivation results can be substantially affected by each attribute's weight assignment. The genetic algorithm suffers from slow convergence and low convergence precision when used for optimization of the attribute weights. Considering this issue, this study proposes an improved genetic algorithm to address the issue of attribute weight assignment in CBR. Initially, the genetic operator is improved using the following techniques. An exponential scale transformation method is used to optimize the selection of the individual operator. A self-adaptive adjustment is performed on the scale factors in the arithmetic crossover. With reference to the mutation operator, the mutation direction of each individual is modified to maintain the diversity of the population. Next, the self-adaptive adjustment of the crossover probability is realized from two aspects, namely the individual fitness and the level of variation between crossover individuals. Finally, by performing comparative experiments on the UCI dataset, we proved that the improved genetic algorithm can enhance the global convergence performance and increase the accuracy of CBR. Experimental results demonstrate that applying the improved genetic algorithm to the CBR-based drilling fluid design can effectively optimize the weight assignments of each attribute and therefore improve the quality of drilling fluid.

Key words: drilling fluid, case-based reasoning, case retrieval, weight of attribute, genetic algorithm

中图分类号: