Under the condition of multiple wells, the inverse problem of two-phase flow typically requires hundreds of forward runs of the simulator to achieve meaningful coverage, leading to a substantial computational workload in reservoir numerical simulations. To tackle this challenge, we propose an innovative approach leveraging a surrogate model named TgCNN (Theory-guided Convolutional Neural Network). This method integrates deep learning with computational fluid dynamics simulations to predict the behavior of two-phase flow. The model is not solely data-driven but also incorporates scientific theory. It comprises a coupled permeability module, a pressure module, and a water saturation module. The accuracy of the surrogate model was comprehensively tested from multiple perspectives in this study. Subsequently, efforts were made to address the permeability-field inverse problem under multi-well conditions by combining the surrogate model with the Ensemble Random Maximum Likelihood (EnRML) algorithm. The research findings indicate that modifying the network structure allows for improved integration of the outputs, resulting in prediction accuracy and computational efficiency. The TgCNN surrogate model demonstrated outstanding predictive performance and computational efficiency in two-phase flow. By combining the surrogate model with the EnRML algorithm, the inversion results closely aligned with those from the commercial simulation software, significantly improving the computational efficiency.
The well pattern and boundary shape of reservoirs determine the distribution of the remaining oil distribution to a large extent, especially for small-scale reservoir blocks. However, it is difficult to replicate experiences from other reservoirs directly to predict the remaining oil distribution because of the variety of irregular boundary shapes and corresponding well patterns. Meanwhile, the regular well pattern can hardly suit irregular boundary shapes. In this paper, we propose a well placement method for undeveloped irregular reservoirs and a multi-step prediction framework to predict both oil saturation and pressure fields for any reservoir shape and well pattern. To boost the physical information of input characteristics, a feature amplification approach based on physical formulae is initially presented. Then, 3D convolution technology is employed for the first time in 3D reservoir prediction to increase the spatial information in the vertical direction of the reservoir in the input. Moreover, to complete the two-field prediction, the concept of multi-task learning is adopted for the first time, improving the rationality of the forecast. Through the loss-based ablation test, we found that the operation we adopt will increase the accuracy of prediction to some extent. By testing on both manually designed and real irregular-shape reservoirs, our method is proven to be an accurate and fast oil saturation prediction method with its prediction loss less than 0.01 and calculation time less than 10 s in the future one year.
Well placement optimization is one of the most important means to control the decline of oilfields and improve the recovery rate in the development process of deep and heterogeneous reservoirs, such as deep buried carbonate oil reservoirs. However, the mapping relationship from deployed well positions to actual profits is non-linear and multi-modal. At the same time, the injection and production relationship of new wells also affects the contribution of well positions to final profits. Currently, common algorithms include gradient-based and heuristic non-gradient algorithms, which have advantages, but face problems of high computational complexity, slow optimization speed, and difficulty in convergence. We propose an evolutionary algorithm for well placement optimization in carbonate reservoirs. This algorithm improves well placement optimization and computational speed by constraining the sampling process to effective sampling spaces, integrating prior knowledge to enhance sampling efficiency, strengthening local optima exploration, and utilizing parallel computing. Additionally, it refines the optimized variable content based on actual control factors, enhancing the algorithm’s robustness in practical applications. A case study from a carbonate reservoir in northwestern China demonstrated that this algorithm not only improved the performance by 50% compared to the classic DE algorithm but also achieved 15% higher optimization effectiveness than the current state-of-the-art algorithms.