The MDH method is a technique for calculating the average pressure in a reservoir from a pressure buildup test. A pressure buildup test is a procedure where a well is shut-in after producing at a constant rate, and the pressure change is measured over time. The MDH method uses a plot of pressure vs. logarithm of shut-in time to extrapolate the pressure at infinite time, which is called the extrapolated pressure. This pressure is then corrected by a factor that depends on the shape and size of the reservoir, the location of the well, and the fluid properties. The corrected pressure is the estimate of the average reservoir pressure.
The MDH method is based on some assumptions, such as the reservoir being bounded by closed boundaries, the flow being pseudosteady state before shut-in, and the fluid being slightly compressible. The MDH method is useful for short tests, but it requires accurate information about the reservoir geometry and the fluid properties. The MDH method is also sensitive to noise and fluctuations in the pressure data.
Basic Theory:
The MDH method is based on the principle of material balance, which equates the cumulative production from a reservoir to the cumulative change in reservoir volume. The average reservoir pressure () can be estimated by rearranging the material balance equation and solving for pressure.
Material Balance Equation:
Where:
- is the average reservoir pressure
- is the initial reservoir pressure
- is the formation volume factor
- is the change in reservoir volume
- is the porosity
- is the time period
Procedures:
- Data Collection:
- Initial reservoir pressure ()
- Formation volume factor ()
- Change in reservoir volume ()
- Porosity ()
- Time period ()
- Excel Formulas:
- Calculate using the MDH formula.
- Set up an Excel table with the collected data and the calculated average reservoir pressure.
- Scenario:
- Consider a reservoir with an initial pressure of 5000 psi ().
- The formation volume factor is 1.2 ().
- The change in reservoir volume is 50,000 bbl ().
- Porosity is 0.15 ().
- The time period is 2 years ().
Excel Calculation:
Data | Value |
---|---|
Initial Reservoir Pressure () | 5000 |
Formation Volume Factor () | 1.2 |
Change in Reservoir Volume () | 50000 |
Porosity () | 0.15 |
Time Period () | 2 |
Excel Formula:
Result:
MATLAB Comparison:
For MATLAB, the calculation can be implemented using a similar formula. Below is a simple MATLAB script for the scenario:
% MATLAB Script
P_i = 5000;
B = 1.2;
Delta_V = 50000;
phi = 0.15;
Delta_t = 2;
P_avg_MATLAB = P_i - (B * Delta_V) / (phi * Delta_t);
disp(['Average Reservoir Pressure (MATLAB): ', num2str(P_avg_MATLAB), ' psi']);