{'fraction_non_alphanumeric': 0.027147993249688165, 'fraction_numerical': 0.00909824638638198, 'mean_word_length': 5.120341266277503, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Temperature Prediction Model for Two-Phase Flow Multistage Fractured Horizontal Well in Tight Oil Reservoir

Distributed temperature sensing (DTS) has been used for fracture parameter diagnosis and flow profile monitoring. In this paper, we present a new model for predicting the temperature profile of two-phase flow multistage fractured horizontal wells in the tight oil reservoirs. The homogeneous reservoir flow/heat transfer model is extended to the tight oil reservoir-fracture-wellbore coupled flow/thermal model. The influence of SRV area on reservoir and wellbore is considered, and the Joule-Thomson effect, heat convection, heat conduction, and other parameters are introduced into the improved model. The temperature distributions of reservoir and wellbore with different production times, water cut, and locations of water entry are simulated. The simulated results indicate that the Joule-Thomson effect will cause wellbore temperature to rise; the temperature of fractures with more water production is significantly lower than that of other fractures, and the water outlet location can be judged according to the temperature change of the wellbore. By using the improved temperature prediction model, the DTS monitoring data of twophase flow multistage fractured horizontal well in the tight reservoir has been calculated and analyzed, and the accurate production profile has been obtained.


Introduction
Multifractured horizontal well is an effective method to improve the recovery of tight reservoir. Fracture diagnosis techniques, such as production logging, microseismic, and well test interpretation [1][2][3] are used to identify fluid inflow and estimate the overall level of fracture parameters in horizontal wells, but it is difficult to determine the contribution of the fracture along the wellbore and production profile. In recent years, distributed temperature sensing (DTS) has been gradually used in downhole temperature monitoring. DTS provides continuous temperature profile data of fractured horizontal wells, and inversion of the measured data can interpret the fracture contribution and parameters [4,5]. DTS has high temperature resolution, which can reach 0.01°C, so small temperature changes in the wellbore can be detected [6]. Accurate multistage fractured horizontal well temperature profile model is the basis of DTS data inversion. Ramey [7] first proposed the classical single-phase incompressible injection/production process wellbore temperature distribution prediction model, which solved the basic problem of wellbore heat transfer. The researchers have extended Ramey's theory to calculate transient and multiphase flow in different types of wells [8][9][10]. Different from vertical wells, horizontal well temperature profile changes very little and is mainly controlled by a series of microthermal effects such as the Joule-Thompson effect, heat conduction, and heat convection. Yoshioka et al. [11] established a steady-state temperature model for horizontal wells in a box homogeneous reservoir considering the Joule-Thomson effect, heat convection, and heat conduction. Izgec et al. [12] proposed an unsteady semianalytical temperature model to calculate the wellbore temperature distribution during production or shut-in. It is believed that the wellbore and reservoir temperature would change with the progress of production. Muradov and Davies [13] derived a single-phase (oil or water) steady-state temperature model for horizontal wells, and the microthermal effect fluid was considered in the model.
Hydraulic fracturing changes the initial temperature of the horizontal well and makes the fluid flow more complicated as fracturing fluid enters the formation. Cui et al. [14] established a computational model of hydraulic fracture temperature distribution based on the trilinear flow hypothesis, in which the Joule-Thomson effect and small temperature changes caused by frictional heat generation were considered. Yoshida [15] established a temperature prediction model for fractured horizontal wells in a single-phase gas reservoir and proposed that horizontal well temperature monitoring can help diagnose the parameters of fractures. Sui et al. [16] established a semianalytical reservoir-wellbore coupled thermal model for the tight gas reservoir, by considering open hole packer completion. Cao et al. [17] proposed a thermohydraulic coupling mathematical model to describe the temperature and pressure fields for multistage fractured horizontal wells (MFHWs) during the single-phase oil production process. However, few two-phase flow multistage fracturing horizontal well temperature prediction model is proposed in the tight reservoir.
In this paper, a coupled temperature model of fracturewellbore in a two-phase flow tight reservoir is established. The effects of the Joule-Thomson effect, heat convection, and heat conduction on wellbore temperature of multistage fractured horizontal wells are considered in the model. The variations of wellbore temperature at different production times, water cut, and locations of water entry are analyzed. Taking a horizontal well in a tight oil reservoir as an example, the temperature profile and the production profile of the horizontal well have been obtained.

Mathematical Model Description
2.1. Basic Assumptions. The stimulated reservoir volume (SRV) zone is formed after multistage fracturing of horizontal wells in tight oil reservoirs. In this area, the reservoir rocks are broken, forming hydraulic fractures and fracture areas [18,19]. In Figure 1, each fracture zone is simplified as a main fracture and a fracturing zone around the main fracture, in which the fracturing zone is simplified as a rectangular zone.
In this paper, according to the following assumptions: (1) the fluid is oil-water two-phase, slightly compressible, and conforms to Darcy's law; (2) the properties of each fracture remain unchanged; (3) fixed length and width of hydraulic fracture and unlimited diversion; and (4) the skin and wellbore-storage are negligible.

Coupled
Model. Based on the assumptions above, the mass conservation equation of oil-water two-phase is obtained: According to Darcy's Law: In Eq. (2), k is permeability, k r is relative permeability, μ is dynamic viscosity, ρ is density, and the subscript β is oil or water. γ is the degree of wellbore opening (γ = 1 at fracture and γ = 0 at cementing section). The temperature model of the oil reservoir has been given in previous issues [15,20]. It can be extended to the tight oil reservoir: In Eq. (3), from left to right, respectively, represent the internal energy change term in the reservoir, the energy change term caused by fluid thermal expansion, heat convection term, thermal expansion term and viscous dissipation term, heat conduction, and heat transfer between reservoir and wellbore.
Similarly, the fracture heat transfer model can be obtained: In Eq. (4), subscript F represents fracture parameters, and k F and S F represent permeability and saturation in fracture, respectively.
Based on the principle of energy conservation, the wellbore thermal model is established to describe the temperature distribution along the wellbore. For two-phase wellbore flow, the interaction between phases is ignored [21].
The wellbore diameter is much smaller than the mesh size, and the flow and heat exchange between the wellbore and the reservoir grid block cannot be described directly in the mesh containing the wellbore. Therefore, the equivalent radius r eff is introduced to describe the flow between the reservoir grid block and the wellbore in the coupled model [22].

Parameter Analysis
In this section, the presented temperature profile prediction model of the multistage fractured horizontal well was used to analyze the wellbore temperature changes with different production time, water cuts, and locations of water entry. This example considers a multistage fractured horizontal well with four transverse fractures in a tight reservoir. The fracture and calculation parameters are shown in Table 1.

Effect of Production Time.
It is assumed that the well is produced at a constant oil production rate of 60 m 3 /d and the water production rate of 10 m 3 /d. Figure 2 presents that the reservoir pressure and temperature distribution after 6 hours. Reservoir pressure and temperature decrease obviously at the fracture position, showing the typical production characteristics of a multistage fractured horizontal well. Figure 3 shows that the wellbore temperature rises with the production time increases, due to the production pressure difference causing the Joule-Thomson effect. In the oilwater production well, the Joule-Thomson effect of oil and water is different; the inflow of formation water will lower than the wellbore temperature. Thus, the temperature drop occurs, so the locations of formation water entering the wellbore can be identified.

3.2.
Influence of Water Cut. The temperature profiles with different water cut values have been shown in Figure 4. From this data, we can see that with the increase in water production, the wellbore temperature profile decreases.
The water-producing zone is indicated by the cool temperature anomaly in the fractures, with the beginning of the water zone corresponding to the sudden drop in temperature and the end of the water zone marked by the increase in temperature. For the higher water cut, this difference is more pronounced. Table 2, the temperature profiles of different locations of water entry are calculated. Figure 5 shows the fracture temperature distribution after 6 hours of production. Figure 5(a) shows that the water flows evenly from four fractures, and Figure 5(b) shows that more water entry from the heel end and toe end. Comparing the two results, it can be seen that the more water there is, the lower the temperature of the fracture. Figure 6 shows the wellbore temperature profiles in the two cases. It is apparent from this figure that the larger the water inflow, the faster the temperature drop of the fracture, and the heat conduction between fluids is greater than the influence of Joule-Thomson effect on the temperature. Therefore, the location and quantity of water entry can be determined by the wellbore temperature profile.

Field Application
The temperature prediction model of multistage fracturing horizontal well with the oil-water two-phase flow can be used to calculate the wellbore temperature at the stage of    4 Geofluids backflow. In this section, the model is applied to a tight oil fracturing horizontal well monitored by DTS, and a corresponding production profile is obtained. The well has 13stage fractured with DTS monitoring data from the 4th to 13th stage fractures (the points at the bottom of the figures indicate the location of the wellbore covered by DTS). As shown in Figure 7, the wellbore temperature stabilizes gradually with the extension of shut-in time. The wellbore temperature of the 4th, 5th, 7th, 11th, 12th, and 13th fracture sections decreased obviously under the influence of in situ fracturing fluid.
After the shut-in stage, the well is produced with a 5 mm nozzle, the average fluid rate is 50 t/d, and the average water cut is 17.9%. Figure 8 shows the wellbore temperature curves of the shut-in for 6 h and open production for 2 h, 4 h, and 6 h. It can be seen from the diagram that the wellbore temperature rises to the shut-in temperature due to the production pressure difference (Joule-Thompson effect) in the production of the horizontal well. In the 4th, 5th, 7th, 11th, 12th, and 13th stages, the wellbore temperature curve is concave, which indicates that fractured fluid production entry in each stage above.
The well trajectory, completion structure, geothermal gradient, reservoir, wellbore parameters, and fluid properties are input into the model, and the DTS data of 12 h production are selected for simulation. The DTS data and model  Figure 6: Wellbore temperature distribution after 6 hours production. 5 Geofluids calculation results are shown in Figure 9. From this data, we can see that the fitting temperature at the 4th stage fracture is lower than the measured temperature because the fracture is at the toe of the horizontal section, and there is still a section of the wellbore which has not been monitored. Based on the temperature fitting results, the wellbore production profile can be calculated as shown in Figure 10. Figure 10 shows that the water produced between the 7th and 11th stage fractures is more than that from other fractures.

Conclusion
A two-phase wellbore temperature prediction model for multistage fractured horizontal wells in tight reservoirs is      1) in the production process, the Joule-Thomson effect will cause the wellbore temperature rise. With the development of production, the wellbore temperature gradually rises; (2) due to the different Joule Thomson coefficients of oil and water, the temperature of fracturing fluid is lower than that of crude oil, so when the fracture produces water, the wellbore temperature will drop, and the more the water, the lower the temperature. At this time, the heat conduction is the main factor affecting the wellbore temperature; (3) according to the simulation results, the more water produced, the lower the temperature at the fracture, so the location of formation water entering the wellbore can be identified.

Data Availability
The data used in this article are all from the actual monitoring data of the oil field.

Conflicts of Interest
The authors declare that they have no conflicts of interest.