Pressure and temperature gradient model in injection and production well
Pressure drop in injection and production wells is modeled using the Beggs–Brill method, while the temperature gradient is modeled using mass and heat transfer equation. Injection inlet conditions for modeling are taken based on real natural gas field conditions in the Cooperstown gas field, USA.
Pressure and temperature gradients models in injection and production wells for each 50 m depth are validated using PIPESIM software. Model validation is performed by varying the inlet mass flow rate of CO2 injection, injection pressure and steam quality in some ranges of operating conditions and comparing the outlet of model and PIPESIM. Mean deviation of the pressure and temperature gradient model in injection well is 3.03642% and 1.76961%, respectively, while in production well, mean deviation is 0.80225% for pressure and 1.38729% for temperature. Pressure and temperature gradients models and PIPESIM simulation results in injection and production wells are shown in Figs. 1 and 2.
Pressure and temperature gradient model in reservoir
The pressure and temperature gradients in the reservoir are modeled using the Darcy equation and mass and heat transfer equations. The reservoir characteristics used as input for the Darcy equation are shown in Table 3.
Table 3 Input parameters for pressure and temperature gradient modeling The fluid properties are estimated using Peng–Robinson vapor–liquid equilibrium under HYSYS commercial software. The inlet of reservoir model is the outlet of injection well model, and the outlet of reservoir model is the inlet of production well model. The outlet of production well will be represented as produced gas associated with CO2 at surface facilities. Furthermore, the CO2 will be recovered and recycled to the injection well. Mean deviation of model and COMSOL Multiphysics simulation results is 0.2003% for pressure and 0.0002% for temperature. The pressure and temperature gradient of the model and COMSOL simulation is shown in Fig. 3 (Table 4).
Table 4 Input parameters for reservoir model Natural gas production rate and profit of CO2 EGR
The stored natural gas volume in the reservoir or original gas in place (OGIP) is estimated using Eq. 4, OGIP obtained using the parameters according to the initial condition of the reservoir which is 5757.919 m3 or 0.2 MMCF natural gas. By using Eq. 3, the value of gas recovery is 90.909% of OGIP; hence, the cumulative production is equal to 5234.472 m3 or 0.185 MMCF natural gas.
The presence of CO2 injection with normal operating conditions can provide natural gas production rate of about 40.798 m3/day, where the natural gas fraction consists of 68.29% CH4 and 31.71% gas condensate. Hence, the production rate of CH4 and condensate gas are 27.861 m3/day and 12.937 m3/day, respectively, or 0.985 MMBtu/day and 76.082 bbl/day. These production rates yield the CO2 EGR of about 4454.189 USD/day. Total injection time in this model is 128 days.
CO2 EGR costs according to NP parameters and Eqs. 9–13, the CO2 purchase cost is 408.789 USD/day, recycling cost to recover CO2 is 99.188 USD/day, and pumping cost is 221.367 USD/day. The calculation of profit can be determined using the revenue and costs. Details of profit are shown in Table 5.
Table 5 Profit detail calculation of CO2 EGR and carbon sequestration Sensitivity analysis
Sensitivity analysis is used to determine the effect of variation on the operation condition parameter (pressure, temperature and mass flow rate of CO2 injection) to the profit value. Figure 4 shows the curve of sensitivity analysis of CO2 injection pressure related to profit. The increase in CO2 injection mass flow rate with constant temperature and pressure will increase EGR and carbon sequestration CO2 profits proportionally. This is because the greater CO2 injected into the reservoir will increase the produced natural gas even though the purchase cost, recycling and pumping cost will also increase.
Sensitivity analysis for changes in CO2 injection pressure with constant mass flow rate and CO2 injection temperature is shown in Fig. 5. The curve shows that the increase in value of CO2 injection pressure will reduce the profit. It is because the increase in injection pressure will actually reduce the production of natural gas while pump operational costs increase.
While sensitivity analysis of changes in CO2 injection temperature with constant mass flow rate and pressure will increase profit as shown in Fig. 6, increasing the injection temperature will increase the natural gas produced and also decrease the pump operational cost.
From the sensitivity results, it can be concluded that a high mass flow rate and temperature will increase profit. In order to obtain a high mass flow rate, it is required high CO2 injection pressure. Meanwhile, high injection pressure will reduce profits due to lower natural gas production rate and also increase the cost of pump during operation. Hence, it is necessary to determine the combination of operation condition parameter (mass flow rate, temperature and pressure of CO2 injection) to obtain optimum profit.
Optimization of operating conditions of CO2 EGR and CS
As mentioned before, optimization objective function is to find the maximum profit by adjusting the optimum operating condition or optimization variable of EGR and CS processes which are pressure, temperature and mass flow rate of CO2 injection. Profit is the amount of revenue or income subtracted from operating costs for EGR CO2 injection and CS which includes the cost of procuring and separating CO2 and pump operating costs. The constraints used in this optimization are production well head pressure more than 7.38 MPa, CO2 injection temperature range between 30 and 40 °C and CO2 injection mass flow rate range between 0.3044 and 0.625 kg/s. The optimization technique in this study uses stochastic algorithms optimization technique due to their capability to find the global optimum. The stochastic algorithms optimization technique used in this research consists of Killer Whale Algorithm (KWA), duelist algorithm (DA), genetic algorithm (GA), Rain Water Algorithm (RWA) and particle swarm optimization (PSO). The results of the optimization and the best results of each optimization techniques are shown in Table 6. The mass flow rate will be the same value at all places; however, pressure and temperature decrease due to thermal and hydraulic loses as shown in Figs. 8, 9 and 10.
Table 6 Optimum variable resulted from optimization There are three optimization techniques that produced the same optimum variable, i.e., KWA, DA and RWA. The details of income, CO2 procurement costs, CO2 separation costs, pump operational costs and net profit on each optimization techniques are tabulated in Table 7.
Table 7 Profit detail calculation after optimization Table 6 shows the profit of each optimization techniques having three different values. The best optimization results were provided by KWA, DA and RWA that produce the same objective function value and same optimum optimization variables. These techniques generate profits of 12,334.7 USD/day or profit increase of 276.9%. compared to before optimization profit of 4453.9 USD/day. Meanwhile, GA and PSO optimization produces a lower profit value with an increase of 266.1% for GA and 266.5% for PSO.
The typical iterations of objective function during optimization for KWA, DA and RWA optimization algorithms are shown in Fig. 7. The objective function has low value at the early of iteration and increases over the iterations and reached global optimum at about 20th iteration.
Comparing before (Figs. 1, 2, 3) and after (Figs. 8, 9, 10) optimization by using the same model and optimized variables according to Table 6 (mass balances), the graphical presentation to prove effectiveness of optimization method in searching best pressure and temperature variables of CO2 EGR and carbon sequestration are shown in Figs. 8,9 and 10. BY similar simulation way before and after optimization, CO2 is injected into injection well using optimized mass flow rate, pressure and temperature variables (refer to Table 6).
Comparison of Figs. 1 and 8 shows the degradation of temperature and pressure with slight difference. However, in injection wells, the temperature of CO2 is higher than the temperature of the rock outside the tubing, hence the CO2 temperature decreased along 100 m of injection well and it heats up again after temperature equilibrium. Meanwhile, the pressure on CO2 increases continuously due to the gravitational force. In addition, the influence of temperature on supercritical CO2 pressure has no significant effect. Gravitational force and pressure drop are influenced by the density of CO2. Therefore, the injection well model using Beggs–Brill method can capture the nonlinearity of injection well tube and rock.
Figures 9a and 3a show that the degradation of pressure is slightly different due to the pressure difference before and after optimization quite similar. Meanwhile, in Figs. 9b and 3b, the inlet temperature of reservoir as a representation of outlet temperature of injection well is different. Hence, the nonlinearity effect due to range of temperature is a main cause. It can be concluded that the reservoir model using Darcy and mass energy balances method can capture the nonlinearity of reservoir rock accurately.
The natural gas conditions in production well before and after optimization are similar operating conditions (Figs. 2, 10). The pressure and temperature will decrease with the increase in distance from the reservoir. Production well outlet pressure after optimization will decrease due to lower reservoir pressure.