NMR-Based Study of the Pore Types’ Contribution to the Elastic Response of the Reservoir Rock

Seismic data and nuclear magnetic resonance (NMR) data are two of the highly trustable kinds of information in hydrocarbon reservoir engineering. Reservoir fluids influence the elastic wave velocity and also determine the NMR response of the reservoir. The current study investigates different pore types, i.e., micro, meso, and macropores’ contribution to the elastic wave velocity using the laboratory NMR and elastic experiments on coal core samples under different fluid saturations. Once a meaningful relationship was observed in the lab, the idea was applied in the field scale and the NMR transverse relaxation time (T2) curves were synthesized artificially. This task was done by dividing the area under the T2 curve into eight porosity bins and estimating each bin’s value from the seismic attributes using neural networks (NN). Moreover, the functionality of two statistical ensembles, i.e., Bag and LSBoost, was investigated as an alternative tool to conventional estimation techniques of the petrophysical characteristics; and the results were compared with those from a deep learning network. Herein, NMR permeability was used as the estimation target and porosity was used as a benchmark to assess the reliability of the models. The final results indicated that by using the incremental porosity under the T2 curve, this curve could be synthesized using the seismic attributes. The results also proved the functionality of the selected statistical ensembles as reliable tools in the petrophysical characterization of the hydrocarbon reservoirs.


Introduction
Nuclear magnetic resonance as a characterization technique of rock media is one of the best techniques to evaluate the presence, quality, and specifications of the fluids in different geological settings. While the conventional logging methods [1][2][3] strongly suffer from the interferences of the inevitable lithological variations, NMR logging simply acts based on the fluids within the pores. This property brings many superiorities to NMR when compared to other logging techniques which are deeply discussed in the published [4][5][6][7][8][9][10][11]. Moreover, despite the complexity of multiple-porosity systems, NMR has shown the capability of producing high-resolution information in these media. On the other hand, nowadays petroleum exploration industry relies on the reflection seismic surveying data as the only tool that could provide the required information of the very deep subsurface formations with a reliable degree of accuracy [12][13][14][15]. From such a point of view, NMR data and seismic data, are considered two of the most precise techniques of exploring hydrocarbon-bearing formations [16,17]. Nevertheless, both these techniques come up with high technical requirements and the subsequent costs are their primary bottleneck. Hence, once these two kinds of data are recorded, researchers and engineers implement various approached to obtain the most possible amount of information hidden within them. Herein, a notable research direction has been employing artificial intelligence techniques to obtain various information on reservoir properties from either kind of the above-mentioned data. These studies have investigated obtaining permeability and porosity from NMR and conventional logs [8,10,[18][19][20][21] or estimating petrophysical characteristics from the combination of seismic attributes and well-log data [22][23][24][25]. Meanwhile, novel types of neural networks and deep learning have been introduced for feature engineering of geological data [26][27][28][29].
Considering that the seismic data are recorded in almost all hydrocarbon explorations projects, this research investigates the feasibility of employing seismic data for estimating the NMR bin porosities and then synthesizing NMR T 2 relaxation curves. A bin refers to a subsection of the area under the T 2 curve whilst the entire area represents the overall porosity of the sample. This porosity could also be estimated from the elastic response of the sample in the lab or the equivalent seismic response in the field-scale. Considering that NMR enables us to distinguish between various pore types, i.e., micro, meso, and macropores, in the present study, we carried out elastic and NMR measurements on the same samples in the lab and investigated the contribution of each pore type to the velocity of the compressional wave. We also observed how the fluid saturation affects the elastic and NMR response of an individual core sample and determined the relationship between the changes of the T 2 curve and compressional P-wave velocity under decreasing water saturation. Based on these observations, we then used the intelligent networks to estimate the incremental NMR porosity values from seismic attributes and synthesized the NMR curves in the field scale. To the authors' best knowledge, neither the relationship between the elastic and NMR response under the effect of fluid saturation nor the introduced method of synthesizing the NMR T 2 curves have not been reported in the existing literature. In the next step, we explored the functionality of statistical ensembles for determining the petrophysical properties of the reservoir and compared their performance with that of the deep learning neural networks. We focused on Bag and LSBoost ensembles. We believe they are also a suitable tool for petrophysical estimations and are equally efficient and in handy as neural networks. The performance of these two ensembles was assessed by estimating NMR permeability values. Throughout the modeling procedure, porosity was adopted as a benchmark to confirm reliability. The studied statistical ensembles proved to be of similar strength as the deep learning network.
Reservoir fluids are the shared link between the elastic and NMR responses of the reservoir rock. Fluid properties such as type, saturation, and density considerably affect both these properties. The existing studies have already proved that the pore fluids have a significant effect on the acoustic impedance and the Poisson's ratio which is directly correlated with seismic amplitudes [30]. These studies have also verified that the permeability of the reservoir is directly related to its seismic response. A comprehensive discussion on how permeability affects the seismic response and also using seismic attribute analysis for mapping lateral permeability variations of the reservoir can be found in [31,32]. Meanwhile, many studies have determined the relationship between the elastic properties, confining pressure, saturation, and microstructure of the coal and non-coal rocks [33][34][35][36][37][38][39][40]. Even though all these studies highlight that the fluids impact the acoustic and NMR measurements, no study has deeply investigated the relationship between these two different impacts in the laboratory. Meanwhile, even though many researchers have tried to predict various NMR logs from the well-logging data, no study has used the seismic data to estimate the incremental porosity under the T 2 curve and synthesize artificial T 2 distribution curves.

Core Samples
The studied reservoir was the Qinnan coal reservoir located at the southern Qinshui Basin in northern China. The methane-bearing formations of this reservoir are of Carboniferous and Permian ages. The structure of the coal seam in the study area is simple and the coal seam thickness is rather stable with a high gas content. Figure 1 represents the locations of the wells in the studied field.
Energies 2021, 14,1513 3 of 27 two different impacts in the laboratory. Meanwhile, even though many researchers have tried to predict various NMR logs from the well-logging data, no study has used the seismic data to estimate the incremental porosity under the T2 curve and synthesize artificial T2 distribution curves.

Core Samples
The studied reservoir was the Qinnan coal reservoir located at the southern Qinshui Basin in northern China. The methane-bearing formations of this reservoir are of Carboniferous and Permian ages. The structure of the coal seam in the study area is simple and the coal seam thickness is rather stable with a high gas content. Figure 1 represents the locations of the wells in the studied field.

Relationship between the Elastic and NMR Responses
Two core samples extracted from the study area were prepared in the laboratory and the elastic wave velocity and NMR T2 relaxation curves were measured at different degrees of water saturation. First of all, the samples were dried in the oven for 72 h at 80 °C, and then saturated in a vacuum saturation tank. After the full saturation of the samples was achieved, the compressional wave velocity (Vp), as well as the NMR transverse relaxation (T2) curves, were measured. Next, it was time to desaturate the samples and conducts these two tests again. The desaturation was conducted using centrifuging technique. The measurements were conducted on the samples at three different states, i.e., fully saturated, partially saturated, and irreducible saturation states. For getting the partially saturated state, the two samples were centrifuged at 2000 rpm (revolution per minute) for 45 min, and then the measurements were conducted. Considering that the NMR machine applies a rather high temperature on the samples, we first conducted the elastic experiments and then carried out the NMR tests. After the first set of measurements, the samples were not put back into the centrifuge machine as it was not certain how was the fluid situation inside the pore space after all the procedures applied to the samples. Therefore, the samples were moved back to the saturation tank and were pressurized for two days. Then, the second round of centrifugation was carried out which lasted for 90 min under

Relationship between the Elastic and NMR Responses
Two core samples extracted from the study area were prepared in the laboratory and the elastic wave velocity and NMR T 2 relaxation curves were measured at different degrees of water saturation. First of all, the samples were dried in the oven for 72 h at 80 • C, and then saturated in a vacuum saturation tank. After the full saturation of the samples was achieved, the compressional wave velocity (Vp), as well as the NMR transverse relaxation (T 2 ) curves, were measured. Next, it was time to desaturate the samples and conducts these two tests again. The desaturation was conducted using centrifuging technique. The measurements were conducted on the samples at three different states, i.e., fully saturated, partially saturated, and irreducible saturation states. For getting the partially saturated state, the two samples were centrifuged at 2000 rpm (revolution per minute) for 45 min, and then the measurements were conducted. Considering that the NMR machine applies a rather high temperature on the samples, we first conducted the elastic experiments and then carried out the NMR tests. After the first set of measurements, the samples were not put back into the centrifuge machine as it was not certain how was the fluid situation inside the pore space after all the procedures applied to the samples. Therefore, the samples were moved back to the saturation tank and were pressurized for two days. Then, the second round of centrifugation was carried out which lasted for 90 min under 3000 rpm. To prevent the breaking of coal samples' weak skeleton under the centrifuge force, a low Energies 2021, 14, 1513 4 of 26 revolution speed was applied and the experiment time was increased in order to get to the irreducible fluid saturation. After 1.5 h at this stage, no significant change was observed in the samples' weight and NMR relaxation curves. This implied that the water in the meso and macropores had been removed from the pore space. Finally, the third set of measurements was conducted. It is worth noting that the elastic wave velocity and T 2 relaxation curves were obtained respectively under the room temperature (24-25 • C) and 32 • C. The relaxation phenomenon was monitored using the CPMG (Carr Purcell Meiboom Gill) pulse sequence where the waiting time was 10 s, inter-echo spacing time was 0.3 ms, the number of scans was 64, and the number of peaks was set to 10,000 on the NMR machine. The results of these experiments are shown in Figure 2. It is worth noting that in this figure, the number of points on the relaxation curve is 100. The inversion algorithm for transforming the free induction decay (FID) to the T 2 relaxation curve was the simultaneous iterative reconstruction technique (SIRT). 3000 rpm. To prevent the breaking of coal samples' weak skeleton under the centrifuge force, a low revolution speed was applied and the experiment time was increased in order to get to the irreducible fluid saturation. After 1.5 h at this stage, no significant change was observed in the samples' weight and NMR relaxation curves. This implied that the water in the meso and macropores had been removed from the pore space. Finally, the third set of measurements was conducted. It is worth noting that the elastic wave velocity and T2 relaxation curves were obtained respectively under the room temperature (24-25 °C) and 32 °C. The relaxation phenomenon was monitored using the CPMG (Carr Purcell Meiboom Gill) pulse sequence where the waiting time was 10 s, inter-echo spacing time was 0.3 ms, the number of scans was 64, and the number of peaks was set to 10,000 on the NMR machine. The results of these experiments are shown in Figure 2. It is worth noting that in this figure, the number of points on the relaxation curve is 100. The inversion algorithm for transforming the free induction decay (FID) to the T2 relaxation curve was the simultaneous iterative reconstruction technique (SIRT). While inverting the FID data, the matrix-vector form of the ill-posed inverse Laplace transform problem could be written as: M = Ea where M is the measured decay amplitude of size m × 1, E indicates the kernel matrix with the size of m × n, and a is the T2 spectrum with the size of n × 1. m and n are the numbers of echo trains and predefined T2 value, respectively. SIRT algorithm is an optimization technique and functions on the premise of algebraic reconstruction. It begins with a simple back-projection, after which the reconstruction is improved iteratively starting from the layergram [41]. The matrix-vector form of the update equation is derived by: While inverting the FID data, the matrix-vector form of the ill-posed inverse Laplace transform problem could be written as: where M is the measured decay amplitude of size m × 1, E indicates the kernel matrix with the size of m × n, and a is the T 2 spectrum with the size of n × 1. m and n are the numbers of echo trains and predefined T 2 value, respectively. SIRT algorithm is an optimization technique and functions on the premise of algebraic reconstruction. It begins with a simple back-projection, after which the reconstruction is improved iteratively starting from the layergram [41]. The matrix-vector form of the update equation is derived by: where t represents the steps, E q is the compressed kernel matrix, and C and R are diagonal matrices that contain the inverse of the sum of the columns and rows of the system matrix represented by: More details on this subject could be found in (Ge. et al., 2017) [42].
The area under the NMR curve was divided into six subsections called 'bins'. The idea is obtained from the Schlumberger CMR tool which divided the T 2 curve into eight bins called CBP (CMR Bin Porosity) and reports the porosity of each bin separately. Bin porosity is equal to the area under one piece of the relaxation curve. The bin porosity of the two samples and the elastic velocities were measured as provided in Table 1. Considering that relaxation occurs faster in smaller pores, they appear at short T 2 times. Hence, the peaks from smaller to larger times respectively represent smaller to larger pores. A peak represents a group of pores with similar sizes. On our test results, we observed three peaks indicating the presence of micropores (x < 2 nm), mesopores (2 < x < 50 nm), and macropores (x > 50 nm) where x indicates the pore size. It is worth mentioning that the microfractures were classified as macropores as well. We observed that the peak of micropores was located in bin 2. Likewise, the peaks of mesopores and macropores respectively appeared in bins 3-4 and bin 5. Therefore, we classified the pore space into three sections of the micropores, mesopores and macropores as shown in Figure 2. Then we analyzed the contribution of each bin and each pore type to the elastic wave velocity as shown in Figure 3    Analyzing the contribution of each pore type (micro, meso, and macropores) to the decrease of elastic Pwave velocity for Sample QSB A1 and Sample QSB A2. The three data points on each graph represent the three saturation states, from left to right: full saturation, partial saturation, and irreducible saturation, respectively; (c) The green and red colors indicate the corresponding data points of the two samples. For each sample, there are three curves, which show the changes of microporosity (black dashed line), mesoporosity (dark red long-dashed line), and macroporosity (blue dotted line) of that sample at three saturation states, from left to right: full saturation, partial saturation, and irreducible saturation, respectively. The porosity value for each pore type at each saturation state was calculated by summing the values of bins 1-2 (for microporosity), bins 3-4 (for mesoporosity), and bins 5-6 (for macroporosity).
When centrifuging the samples, the fluid in the larger pores escapes the sample first. This is highlighted by the disappearance of the corresponding peak on the T2 curve as we observed in the tests as well. When the fluid runs out and larger pores get filled with air, the acoustic velocity drastically decreases. Such a decrease can be seen in Figure 3 (bottom). This phenomenon followed the same trend in each pore type (micro, meso, and macropores) on both samples. Moreover, the rate of decrease (slope of the curve) was the fastest for micropores, then for mesopores, and the slowest for micropores. This is again because of the influence of the pore size on the fluid's capability to move These observations are in agreement with our fundamental understanding of the NMR and waves' traveling phenomena within the porous media and verify the reliability of the results. Figure 4 illustrates the two adopted samples and also indicates the various pore types observed in the scanning electron microscopy (SEM) images of the samples. As can be seen, pores of different sizes existed inside the samples and the range of the pore size distribution was rather wide. Meanwhile, the existing pores appeared as pore-clusters with different sizes or as independent pores being dispersed at different locations. Analyzing the contribution of each pore type (micro, meso, and macropores) to the decrease of elastic P-wave velocity for Sample QSB A1 and Sample QSB A2. The three data points on each graph represent the three saturation states, from left to right: full saturation, partial saturation, and irreducible saturation, respectively; (c) The green and red colors indicate the corresponding data points of the two samples. For each sample, there are three curves, which show the changes of microporosity (black dashed line), mesoporosity (dark red long-dashed line), and macroporosity (blue dotted line) of that sample at three saturation states, from left to right: full saturation, partial saturation, and irreducible saturation, respectively. The porosity value for each pore type at each saturation state was calculated by summing the values of bins 1-2 (for microporosity), bins 3-4 (for mesoporosity), and bins 5-6 (for macroporosity).
When centrifuging the samples, the fluid in the larger pores escapes the sample first. This is highlighted by the disappearance of the corresponding peak on the T 2 curve as we observed in the tests as well. When the fluid runs out and larger pores get filled with air, the acoustic velocity drastically decreases. Such a decrease can be seen in Figure 3 (bottom). This phenomenon followed the same trend in each pore type (micro, meso, and macropores) on both samples. Moreover, the rate of decrease (slope of the curve) was the fastest for micropores, then for mesopores, and the slowest for micropores. This is again because of the influence of the pore size on the fluid's capability to move These observations are in agreement with our fundamental understanding of the NMR and waves' traveling phenomena within the porous media and verify the reliability of the results. Figure 4 illustrates the two adopted samples and also indicates the various pore types observed in the scanning electron microscopy (SEM) images of the samples. As can be seen, pores of different sizes existed inside the samples and the range of the pore size distribution was rather wide. Meanwhile, the existing pores appeared as pore-clusters with different sizes or as independent pores being dispersed at different locations. Various pore types, i.e., micro, meso, and macropores inside the Sample QSB A1 and Sample QSB A2, respectively, under the scanning electron microscope. These SEM images only represent the qualitative situation of the internal pore space of the samples and the real bulk porosity was quantitatively measured by the NMR machine. Figure 5 shows the relationship between the changes in the elastic and NMR responses of the two coal core samples for the cumulative amount of area under the T2 curve. As follows from this figure, the decreasing saturation causes a decrease in both responses of the core samples. This decrease is fast in higher saturation values (from full to partial saturation) and slows down in the lower saturation values (from partial saturation to irreducible saturation state). This is because, in higher saturations, the fluids considerably stimulate the compressional wave [43][44][45]. Moreover, since the combined amount of meso and macropores were larger for Sample QSB A1 than the Sample QSB A2 (79.02% vs. 50.4%), the decrease was faster in this sample. Figure 5. The relationship between the changes in the elastic and NMR responses of the two coal core samples in the laboratory. Three data points from left to right respectively indicate the fully saturated, partially saturated, and irreducible saturation states. Figure 6 represents the relationship between water saturation with the area under the T2 curve and P-wave velocity. As expected, and described above, the area under the T2 curve and P-wave velocity should decrease with the decreasing fluid saturation. We also compared our results with observations of other researchers in the literature [33,43] and found an acceptable agreement. Various pore types, i.e., micro, meso, and macropores inside the Sample QSB A1 and Sample QSB A2, respectively, under the scanning electron microscope. These SEM images only represent the qualitative situation of the internal pore space of the samples and the real bulk porosity was quantitatively measured by the NMR machine. Figure 5 shows the relationship between the changes in the elastic and NMR responses of the two coal core samples for the cumulative amount of area under the T 2 curve. As follows from this figure, the decreasing saturation causes a decrease in both responses of the core samples. This decrease is fast in higher saturation values (from full to partial saturation) and slows down in the lower saturation values (from partial saturation to irreducible saturation state). This is because, in higher saturations, the fluids considerably stimulate the compressional wave [43][44][45]. Moreover, since the combined amount of meso and macropores were larger for Sample QSB A1 than the Sample QSB A2 (79.02% vs. 50.4%), the decrease was faster in this sample. Various pore types, i.e., micro, meso, and macropores inside the Sample QSB A1 and Sample QSB A2, respectively, under the scanning electron microscope. These SEM images only represent the qualitative situation of the internal pore space of the samples and the real bulk porosity was quantitatively measured by the NMR machine. Figure 5 shows the relationship between the changes in the elastic and NMR responses of the two coal core samples for the cumulative amount of area under the T2 curve. As follows from this figure, the decreasing saturation causes a decrease in both responses of the core samples. This decrease is fast in higher saturation values (from full to partial saturation) and slows down in the lower saturation values (from partial saturation to irreducible saturation state). This is because, in higher saturations, the fluids considerably stimulate the compressional wave [43][44][45]. Moreover, since the combined amount of meso and macropores were larger for Sample QSB A1 than the Sample QSB A2 (79.02% vs. 50.4%), the decrease was faster in this sample. Figure 5. The relationship between the changes in the elastic and NMR responses of the two coal core samples in the laboratory. Three data points from left to right respectively indicate the fully saturated, partially saturated, and irreducible saturation states. Figure 6 represents the relationship between water saturation with the area under the T2 curve and P-wave velocity. As expected, and described above, the area under the T2 curve and P-wave velocity should decrease with the decreasing fluid saturation. We also compared our results with observations of other researchers in the literature [33,43] and found an acceptable agreement.

Area under T 2 curve (signal strength)
Sample QSB A1 Sample QSB A2 Figure 5. The relationship between the changes in the elastic and NMR responses of the two coal core samples in the laboratory. Three data points from left to right respectively indicate the fully saturated, partially saturated, and irreducible saturation states. Figure 6 represents the relationship between water saturation with the area under the T 2 curve and P-wave velocity. As expected, and described above, the area under the T 2 curve and P-wave velocity should decrease with the decreasing fluid saturation. We also compared our results with observations of other researchers in the literature [33,43] and found an acceptable agreement. (c) (d) Figure 6. The relationship between water saturation and area under T2 curve (a), and P-wave velocity (b). Our results were compared with the existing literature: (c) after [33] and (d) after [43].
In our tests, the cut-off values for micro, meso, and macropores were respectively 1, 10, and 100 ms. Finally, we could calculate the contribution of each pore type to the elastic wave velocity using the following relationships. These relationships are for full saturation status. In well logging practices, Wyllie's time equation is generally used to define the relationship between the porosity and sonic transit time as [46][47][48][49]: where ∆ , ∆ , and ∆ , all in (μs/ft) respectively indicate is the transit time of elastic wave in the rock sample, the transit time of the matrix, and the transit time of the fluid. Moreover, is the porosity derived from sonic measurements. Since the porosity of each pore type could be calculated as: 50% 100% P-wave velocity (m/s) Water saturation Figure 6. The relationship between water saturation and area under T 2 curve (a), and P-wave velocity (b). Our results were compared with the existing literature: (c) after [33] and (d) after [43].
In our tests, the cut-off values for micro, meso, and macropores were respectively 1, 10, and 100 ms. Finally, we could calculate the contribution of each pore type to the elastic wave velocity using the following relationships. These relationships are for full saturation status. In well logging practices, Wyllie's time equation is generally used to define the relationship between the porosity and sonic transit time as [46][47][48][49]: where ∆t, ∆t ma , and ∆t f , all in (µs/ft) respectively indicate is the transit time of elastic wave in the rock sample, the transit time of the matrix, and the transit time of the fluid. Moreover, φ s is the porosity derived from sonic measurements. Since the porosity of each pore type could be calculated as: Energies 2021, 14, 1513 9 of 26 By using the above-described incremental area under the T 2 curve., we could finally determine the contribution of each pore type to the elastic wave's transit time as: According to the NMR results, micro, meso, and macropores respectively contributed to 21%, 48.5%, and 30.5% of the total porosity of the Sample QSB A1 and to the 49.6%, 26.2%, 24.1% of the total porosity of the Sample QSB A2, respectively. The overall porosities of these two samples were respectively 4.3% and 5.6%. This implies that the micro, meso, and macro porosities of the samples were respectively 0.9%, 2.09%, 1.31% for Sample QSB A1 and 2.78%, 1.47%, and 1.35% for Sample QSB A2. Considering that different pore types occupied dissimilar portions of the pore space in the two samples, their impact on the elastic wave velocity was also different. The length of the samples was 5 cm, so the overall transit times in the two samples were respectively 17.8 µs and 18.3 µs, for which respectively 0.76 µs and 1.03 µs referred to the pore space. Herein, contributions of the mico, meso, and macropores to the transit time of the elastic wave in Sample QSB A1 were respectively 0.16, 0.37, 0.23 µs, and in Sample QSB A2 were respectively 0.51, 0.27, 0.25 µs. It is worth noting that these values represent the average value as the wave propagation inside the pore space happens simultaneously in all pore types.

Seismic and NMR Data from the Field
After the impact of the fluid saturation, as well as the contribution of micro, meso, and macropores to the overall transit time of the elastic wave, were determined, the idea was used to estimate NMR bin porosities from the seismic attributes and synthesize artificial T 2 relaxation curves. This stage of the study started by selecting the NMR well-logging data and the seismic data cube. The data was preprocessed and the seismic attributes at the well locations were extracted. These attributes were calculated as described in Table 2. Table 2. A brief explanation of the most important seismic attributes employed in the current study [50].

Instantaneous Frequency
Instantaneous frequency is the time derivative of the phase. This attribute should not be confused with the frequency of the wavelet. It is often used to estimate seismic attenuation. Oil and gas reservoirs usually cause drop-off of high-frequency components. It helps to measure cyclicity of geological intervals and can be useful for cross-correlation across faults. It could also identify contacts between gas and water or gas and oil. Instantaneous frequency tends to be unstable in the presence of noise and is sometimes difficult to interpret. This attribute is calculated as: ω = δθ δt

Instantaneous Phase
The attribute is calculated on a sample by sample basis without regard of the waveform. The attribute provides an amplitude independent display. It is commonly used to find continuity of weak events and to distinguish small faults and dipping events.
Instantaneous phase is calculated as:

Frequency Filter
The frequency-filter attribute is useful for enhancing particular seismic events or to reduce unwanted noise in the data. This can improve the accuracy of interpretation.

Apparent Polarity
The polarity of the instantaneous phase, calculated at the local amplitude extreme. The apparent polarity reveals the sign of the reflection coefficient and therefore indicates features that would change it, e.g., unconformities. It is useful for checking the lateral variation of polarity along a reflection layer. On a noisy seismic section, event continuity can be clearer on the apparent polarity than the original seismic section. This attribute reveals reflection details without the waveform effects and can help detect thick beds when the data is of good quality (less noise).

Amplitude Envelope
The total instantaneous energy of the analytic signal (the complex trace), independent of phase, calculated as: f 2 + g 2 where f and g are the "real" and "imaginary" components of the seismic trace. So, if f is the real part, which are just the original seismic trace samples, g will be the samples from the Hilbert transform (also called quadrature amplitude) of the seismic trace.

Relative Acoustic Impedance
Relative acoustic impedance is a running sum of regularly sampled amplitude values. This attribute is calculated by integrating the seismic trace and passing the result through a high-pass Butterworth filter with a hard-coded cut-off at (10*sample rate) Hz.

Reflection Intensity
Reflection Intensity is the average amplitude over a specified window (9 samples in the present study) multiplied with the sample interval. Reflection Intensity is useful for the delineation of amplitude features while retaining the frequency appearance of the original seismic data.

RMS Amplitude
RMS amplitude is the square root of the sum of the squared amplitudes divided by the number of live samples as shown in the following formula:

Second Derivative
The second time derivative of the input seismic volume. The combination of the original amplitude, first derivative, and second derivative allows you to express seismic interpretation in relationship to maximum, minimums, greatest descents, and descent polarity. The second derivative can be used to help guide the pick by providing continuity in areas of where reflections are poorly resolved on the raw amplitude. Lateral amplitude variations are visibly diminished, which will make auto-tracking regional events more difficult.
The intelligent models learned to predict CMR bin porosities from the seismic attributes. In the study area, the NMR data was presented by eight bin values, namely CBP1-CBP8. The three most significant components of a seismic trace include its amplitude, frequency, and phase. Therefore, in order to have robust models, the input attributes of the neural network models should include a representative of every property (Figure 7). Eventually, five attributes from among more than 13 seismic attributes including seismic inversion results, integrate of the amplitude values, two-way-time (TWT), derivative instantaneous amplitude, squared inversion, amplitude weighted cosine phase, frequency filter, cosine instantaneous phase, instantaneous frequency, amplitude weighted phase, integrated absolute amplitude, and inverted inversion (inversion −1 ) etc. were selected as the input elements of the modeling task. These attributes were chosen based on the researchers' knowledge of the study area and also the analysis of cross-correlation values. Alongside the seismic section, Figure 8 illustrates four examples of these attributes at the location of one studied well. Table 3 shows the linear relationship of the inputs and targets of our modeling process that were CBPs and each of the input attributes. It is worth mentioning that for successful modeling using the intelligent estimators, there should be a meaningful relationship between the input and target values, implying that irregular distributions of data on a crossplot would not lead to reliable results. The stronger this relationship is, the better the modeling results would be. While the liner relationship is the simplest form, the neural networks use high-order polynomial relationships, for which the cross-correlation values are much larger than the linear manner.

Estimating NMR CBPs from Seismic Attributes
After providing the input seismic attributes and CMR data, the next step was defining the intelligent models. Herein, we used neural networks and fuzzy logic models. In order to have a more reliable estimation, several different neural network algorithms were adopted and the best-performing one was selected as the final estimator. This model produced the smallest error and the best correlation. The input arguments of the constructed models were seismic attributes and the outputs were CBP values of the T 2 curves. Herein, the backpropagation neural networks (BP-NN) were adopted. BP-NN is a type of supervisedtraining network. We made use of feedforward BP-NN with 20 or 40 neurons in their hidden layers. The tangent sigmoid (TANSIG) function was used to introduce nonlinearity to the system. These backpropagation neural networks were trained respectively by Levenberg-Marquardt (LM), resilient back-propagation (RP), one step secant (OSS), scaled conjugate gradient (SCG), Conjugate Gradient with Powell/Beale Restarts (CGB), and back-propagation with adaptive learning rate (GDA). Finally, the network with the best performance was selected as the final intelligent model for estimating each CBP value. The performance was determined using the mean square error (MSE) and the determination coefficient (R 2 ). Table 4 represents the number of data points used either for constructing or for testing the accuracy of the final estimators. This means that we selected about 80% of our data for making the models and used the other 20%, which was unforeseen by the models during their construction, to test the models' accuracy and prove their reliability. It is worth mentioning that for each of the employed algorithms, an adequately large number of models were developed. Since fuzzy logic and ANFIS (hybrid neuro-fuzzy) models did not perform as well as neural networks, the results are not represented.
utes. In the study area, the NMR data was presented by eight bin values, namely CBP1-CBP8. The three most significant components of a seismic trace include its amplitude, frequency, and phase. Therefore, in order to have robust models, the input attributes of the neural network models should include a representative of every property (Figure 7). Eventually, five attributes from among more than 13 seismic attributes including seismic inversion results, integrate of the amplitude values, two-way-time (TWT), derivative instantaneous amplitude, squared inversion, amplitude weighted cosine phase, frequency filter, cosine instantaneous phase, instantaneous frequency, amplitude weighted phase, integrated absolute amplitude, and inverted inversion (inversion −1 ) etc. were selected as the input elements of the modeling task. These attributes were chosen based on the researchers' knowledge of the study area and also the analysis of cross-correlation values. Alongside the seismic section, Figure 8 illustrates four examples of these attributes at the location of one studied well. Table 3 shows the linear relationship of the inputs and targets of our modeling process that were CBPs and each of the input attributes. It is worth mentioning that for successful modeling using the intelligent estimators, there should be a meaningful relationship between the input and target values, implying that irregular distributions of data on a crossplot would not lead to reliable results. The stronger this relationship is, the better the modeling results would be. While the liner relationship is the simplest form, the neural networks use high-order polynomial relationships, for which the cross-correlation values are much larger than the linear manner.     As mentioned earlier, the ANN models varied in the number of their internal neurons and their training algorithms. Each ANN model was retrained for 400 times and the optimal model was selected. The iteration at which the optimal was achieved is outlined in Table 4. Additionally, to guarantee the comprehensiveness of the developed estimators, the training and test data sets were chosen in a way that would track the trend of geological variations reflected in the NMR T 2 relaxation curves. Concerning the neural network modeling tasks, the training algorithm is the most crucial factor that would influence the quality of the prediction task. On account of this fact, in this research, we used six independent training algorithms and observed their estimation capability. This comparison      According to the obtained results, among the adopted techniques, the Levenberg-Marquardt training algorithm was selected as the best performing model for estimating all CBP values. While for NN models, the training algorithm is the most influencing factor on the quality of the output results, for the fuzzy and neuro-fuzzy models, clustering radius is the most important factor. However, neither fuzzy nor neuro-fuzzy models did not lead to acceptable results. It is worth mentioning that in our study most neural networks came to relatively acceptable results. However, Table 4 only presents the performance of the best models rather than all developed models. After all, CBP2 and CBP3 were predicted weaker than the others. These two bins fall in the category of micropores and the reason for their lower prediction would be the complexity of the magnetization relaxation in smaller pores. Nevertheless, all other bin values were estimated with an accuracy of more than 93%. We believe the most important reason for such a good performance is that the input data comprehensively encompassed different petrophysical features of the geological formations. The cross-correlations of the predicted and measured CBP values are illustrated in Figure 9. the best models rather than all developed models. After all, CBP2 and CBP3 were predicted weaker than the others. These two bins fall in the category of micropores and the reason for their lower prediction would be the complexity of the magnetization relaxation in smaller pores. Nevertheless, all other bin values were estimated with an accuracy of more than 93%. We believe the most important reason for such a good performance is that the input data comprehensively encompassed different petrophysical features of the geological formations. The cross-correlations of the predicted and measured CBP values are illustrated in Figure 9. Finally, the T2 relaxation curves could be synthesized. Figure 10 depicts the comparison between the measured and predicted T2 curves at ten different depths of the test well. These ten points serve as an example and, based on the established models, the simulation process would be done in any desired section of the well or the area surrounding the well as far as no considerable changes happen in the geological conditions of the objective area compared to the well locations where the models were developed. As can be seen from this figure, models performed satisfyingly in estimating T2 relaxation curves and successfully draw out the general trend of relaxation variations that can be very useful in case of the quick, inexpensive, and in handy evaluation of the geological formations. Finally, the T 2 relaxation curves could be synthesized. Figure 10 depicts the comparison between the measured and predicted T 2 curves at ten different depths of the test well. These ten points serve as an example and, based on the established models, the simulation process would be done in any desired section of the well or the area surrounding the well as far as no considerable changes happen in the geological conditions of the objective area compared to the well locations where the models were developed. As can be seen from this figure, models performed satisfyingly in estimating T 2 relaxation curves and successfully draw out the general trend of relaxation variations that can be very useful in case of the quick, inexpensive, and in handy evaluation of the geological formations.
After we predicted NMR T 2 curves in the location of the studied wells, and since the models proved to be trustworthy, we tried to upscale our prediction model and estimate the T 2 curves for areas around one of the wells in the studied coal formation. Figure 11 illustrates the 3D structure of this formation in the entire coalbed methane field. Figure 12 shows the predicted curves at the corresponding depths of the coal formation, and also illustrates the location of the simulation area and the position of the well around which the models were upscaled. Figure 13 represents the results of the upscaling procedure and shows the simulated NMR T 2 transverse relaxation curves at various depths. These ten points serve as an example and, based on the established models, the simulation process would be done in any desired section of the well or the area surrounding the well as far as no considerable changes happen in the geological conditions of the objective area compared to the well locations where the models were developed. As can be seen from this figure, models performed satisfyingly in estimating T2 relaxation curves and successfully draw out the general trend of relaxation variations that can be very useful in case of the quick, inexpensive, and in handy evaluation of the geological formations. (i) (j) Figure 10. (a-j) Measured and predicted T2 relaxation curves at ten example points of one studied well. Such relaxation curves could be synthesized for every desired part of the reservoir using the established models and the introduced method.
After we predicted NMR T2 curves in the location of the studied wells, and since the models proved to be trustworthy, we tried to upscale our prediction model and estimate the T2 curves for areas around one of the wells in the studied coal formation. Figure 11 illustrates the 3D structure of this formation in the entire coalbed methane field. Figure 12 shows the predicted curves at the corresponding depths of the coal formation, and also illustrates the location of the simulation area and the position of the well around which the models were upscaled. Figure 13 represents the results of the upscaling procedure and shows the simulated NMR T2 transverse relaxation curves at various depths.  Figure 10. (a-j) Measured and predicted T 2 relaxation curves at ten example points of one studied well. Such relaxation curves could be synthesized for every desired part of the reservoir using the established models and the introduced method. models proved to be trustworthy, we tried to upscale our prediction model and estimate the T2 curves for areas around one of the wells in the studied coal formation. Figure 11 illustrates the 3D structure of this formation in the entire coalbed methane field. Figure 12 shows the predicted curves at the corresponding depths of the coal formation, and also illustrates the location of the simulation area and the position of the well around which the models were upscaled. Figure 13 represents the results of the upscaling procedure and shows the simulated NMR T2 transverse relaxation curves at various depths.

Bag and LSBoost Ensembles
The present study examined the performance of the statistical Bag and Least Square Boosting (LSBoost) ensembles in predicting the petrophysical properties of the reservoir and compared their performance with those of deep learning regression networks. Statistical ensembles are user-friendly and in handy which could be of great applications in the assessment of the reservoir layers. They also require less memory than intelligent techniques when analyzing large-sized field data.
Statistical supervised learning splits into two broad categories namely classification, and regression [51]. The regression technique is used when the problem involves modeling and analyzing the relationship between a dependent and one or more independent variables. Within the regression category, ensemble learning is a framework of combining multiple weak learning algorithms to produce a strong learning algorithm [52]. The present research utilized regression ensembles, as the statistical supervised learning machines, to obtain permeability and porosity information from 3D seismic attributes. The ensemble algorithms used herein were regression Bag and Least Square Boosting (LSBoost) that were implemented in the MATLAB environment. Bagging and boosting algorithms both learn from weak learners, but Bagging trains weak learners in parallel while boosting trains them in a sequential manner (Figure 14) [53]. The ensembles in this research included decision trees as their weak learners to predict responses to the input data. The selection of the number of trees inside each type of ensemble algorithms was based on the performance analyses of 200 various ensembles. This means that by changing the number of trees in the range of , numerous Bag and LSBoost ensembles were created and their performance in predicting the new data was observed. The purpose of this step was to obtain the optimal number of weak learners (Figure 15). At the next step, the most reliable ensemble was selected as the optimal model for further usage and predicting permeability or porosity. The method which was used for evaluating this final ensemble's quality was using an independent test data set (30% of the available well data). It is worth mentioning that Bagging is oriented towards decreasing variance and boosting is oriented towards decreasing bias, and LSBoost is faster in training. created and their performance in predicting the new data was observed. The purpose of this step was to obtain the optimal number of weak learners (Figure 15). At the next step, the most reliable ensemble was selected as the optimal model for further usage and predicting permeability or porosity. The method which was used for evaluating this final ensemble's quality was using an independent test data set (30% of the available well data). It is worth mentioning that Bagging is oriented towards decreasing variance and boosting is oriented towards decreasing bias, and LSBoost is faster in training.

Deep Learning and Deep Belief Network
Deep learning is rather the latest achievement of artificial intelligence and machine learning that has captured the imagination of countless scientists and researchers. Deep learning refers to the in-depth feature engineering through successive layers of neural networks for increasingly meaningful representations of the data [54]. Deep herein doesn't mean any kind of deeper understanding of the data, but it rather means the larger number of the functioning layers. A deep learning network consists of an input layer, several hidden layers, and an output layer. Deep architectures would be constructed by stacking autoencoders or by using deep belief networks (DBNs) [55]. DBN is the most effective technique among all deep learning models and is the technique of stacking many individual unsupervised networks that use each network's hidden layer as the input for the next layer. The DBN implemented in the present study stacked restricted Boltzmann machines (RBM) in the hidden layers. The deep hierarchy of a DBF transforms the input features into nonlinear higher-level abstractions to extract more significant patterns and follow the trends in the input space [56]. These layers are first trained in an unsupervised manner. The structure of our adopted DBN consisted of four hidden layers with the sizes of 200, 100, 50, and 25 nodes, with eight input neurons (seismic attributes) and one output neuron (permeability or porosity). The RBMs were trained with a sigmoid activation function. They would also be trained using rectified linear activation units (ReLU). It is worth noting that in a deep learning network, it is also feasible to keep the size of all hidden layers the same. However, this approach was not implemented in this study. An RBM consists of a visible and a hidden layer where the hidden units are not connected to each other but have undirected, symmetrical connections to the visible units [56]. In other words, every node in the visible layer is connected to every node in the hidden layer, but no nodes in the same group are connected as depicted in Figure 16. The details on RBM could be found in [57,58].

Deep Learning and Deep Belief Network
Deep learning is rather the latest achievement of artificial intelligence and machine learning that has captured the imagination of countless scientists and researchers. Deep learning refers to the in-depth feature engineering through successive layers of neural networks for increasingly meaningful representations of the data [54]. Deep herein doesn't mean any kind of deeper understanding of the data, but it rather means the larger number of the functioning layers. A deep learning network consists of an input layer, several hidden layers, and an output layer. Deep architectures would be constructed by stacking autoencoders or by using deep belief networks (DBNs) [55]. DBN is the most effective technique among all deep learning models and is the technique of stacking many individual unsupervised networks that use each network's hidden layer as the input for the next layer. The DBN implemented in the present study stacked restricted Boltzmann machines (RBM) in the hidden layers. The deep hierarchy of a DBF transforms the input features into nonlinear higher-level abstractions to extract more significant patterns and follow the trends in the input space [56]. These layers are first trained in an unsupervised manner. The structure of our adopted DBN consisted of four hidden layers with the sizes of 200, 100, 50, and 25 nodes, with eight input neurons (seismic attributes) and one output neuron (permeability or porosity). The RBMs were trained with a sigmoid activation function. They would also be trained using rectified linear activation units (ReLU). It is worth noting that in a deep learning network, it is also feasible to keep the size of all hidden layers the same. However, this approach was not implemented in this study. An RBM consists of a visible and a hidden layer where the hidden units are not connected to each other but have undirected, symmetrical connections to the visible units [56]. In other words, every node in the visible layer is connected to every node in the hidden layer, but no nodes in the  Figure 16. The details on RBM could be found in [57,58].
of 200, 100, 50, and 25 nodes, with eight input neurons (seismic attributes) and one output neuron (permeability or porosity). The RBMs were trained with a sigmoid activation function. They would also be trained using rectified linear activation units (ReLU). It is worth noting that in a deep learning network, it is also feasible to keep the size of all hidden layers the same. However, this approach was not implemented in this study. An RBM consists of a visible and a hidden layer where the hidden units are not connected to each other but have undirected, symmetrical connections to the visible units [56]. In other words, every node in the visible layer is connected to every node in the hidden layer, but no nodes in the same group are connected as depicted in Figure 16. The details on RBM could be found in [57,58]. If the sigmoid activation function is: If the sigmoid activation function is: Then, the output of the neuron will be: where w ij is the weight value that the j th hidden layer assigns to the i th input value [56]. The selected attributes for developing the statistical and artificial neural network (ANN) models of the reservoir are represented in Table 9, and the seismic cube from which the attributes were extracted is shown in Figure 17. This table also shows the dependence of each target parameter, namely porosity and permeability, on each of the input parameters. For this reservoir, the permeability and porosity models were developed respectively using 231, and 355 data points. Both these parameters were estimated using 8 input attributes. Herein, approximately 70% of the entire data set was employed to train the models. The rest of the available data was used to assess and test the robustness of the models when feeding them with unforeseen data. Respectively 46 and 60 data pairs were implemented in this step to evaluate the built permeability and porosity models of the coal reservoir. The data were randomly selected from varying depths of the reservoir to guarantee the inclusiveness of the models. The portion of the data used for constructing statistical models is provided in Table 10. Table 11 represents the performance of the three final models in predicting permeability and porosity values. Figures 18 and 19 graphically illustrate the agreement of the synthesized permeability and porosity curves with the measured log data. As can be seen, permeability and porosity were all estimated with an accuracy of more than 96%. The obtained results of this section confirmed that the statistical ensembles could perform as strong as neural networks in modeling the petrophysical properties of the reservoirs and could be considered as a reliable tool. The authors believe that such tools further facilitate manipulation of the large-sized seismic and well logging data that usually demand a big size of computer memory for their processing and interpretations. It is worth noting that while there has been a great deal of hype surrounding neural networks (NN) and making them seem magical, these networks are just nonlinear statistical models [59][60][61][62][63] In early NN models, the neuron fired when the total signal passed to it exceeded a certain threshold. This threshold value determined if the neuron would be activated inside the model or not. This principle corresponded to the use of a step function as the activation function of the neuron. Nevertheless, later NN models were recognized as a useful tool for nonlinear statistical modeling, and for this purpose, the step function which was not smooth enough for optimization was replaced by a smoother sigmoid function [59].
As mentioned earlier, throughout the modeling procedure, porosity was used as the benchmark to guarantee the reliability of the models. Figure 20 represents the 3D porosity cube around one of the subject wells estimated using the statistical Bag ensemble which was evaluated using the original seismic attributes. The agreement of the measured data and the Bag-predicted porosity cube verified the performance of the statistical methods.         (a) (b) Figure 19. Measured (black), Bag-predicted (blue), LSBoost-predicted (red), and deep learningpredicted (green) curves of permeability (a) and porosity (b) in the unconventional coal reservoir.
The stepped representation provides the comparison among the average permeability at different sections of the well, i.e., low permeable and highly permeable sections.
As mentioned earlier, throughout the modeling procedure, porosity was used as the benchmark to guarantee the reliability of the models. Figure 20 represents the 3D porosity cube around one of the subject wells estimated using the statistical Bag ensemble which Figure 19. Measured (black), Bag-predicted (blue), LSBoost-predicted (red), and deep learningpredicted (green) curves of permeability (a) and porosity (b) in the unconventional coal reservoir. The stepped representation provides the comparison among the average permeability at different sections of the well, i.e., low permeable and highly permeable sections.

Limitations of the Present Study
The most notable limitation of the present study was applying the research idea merely to coal samples. Nevertheless, other kinds of conventional and unconventional reservoir rocks should also be studied to characterize the detailed contribution of the pore types to the elastic wave velocity. Moreover, a higher number of core samples and a higher number of saturation states would also increase the accuracy of the obtained results. Meanwhile, the present study only investigated two kinds of statistical algorithms and the others are yet to be studied.

Conclusions
In the present study, the contribution of different pore types to the elastic P-wave's velocity was characterized. These results were used to determine the relationship between the bin porosities of the NMR test and the elastic wave velocity under the effect of water saturation. Accordingly, the seismic attributes were successfully used to produce artificial NMT T2 curves with acceptable accuracy. Moreover, the statistical ensembles were investigated as an alternative tool for the estimation of petrophysical properties and proved as good as the deep learning approach. After all, the research came to the following conclusions:

•
Both statistical ensembles and intelligent techniques proved efficient in the case of this research study.

•
The performance of the soft-computing techniques strongly depends on the quality and type of input data. Such a conclusion highlights the importance of choosing the best input data when using these techniques.

•
When using soft-computing procedures for reservoir characterization, more sensitivity should be shown to unconventional reservoirs according to their more complicated petrophysical properties. However, Geological complexity does not necessarily act as an obstacle to weaken the functionality of these algorithms.

•
The seismic wave is composed of three main components which are phase, frequency, and amplitude. Therefore, in any study involving the seismic attributes, it is better to consider the attributes in such a way that one representative of each class is

Limitations of the Present Study
The most notable limitation of the present study was applying the research idea merely to coal samples. Nevertheless, other kinds of conventional and unconventional reservoir rocks should also be studied to characterize the detailed contribution of the pore types to the elastic wave velocity. Moreover, a higher number of core samples and a higher number of saturation states would also increase the accuracy of the obtained results. Meanwhile, the present study only investigated two kinds of statistical algorithms and the others are yet to be studied.

Conclusions
In the present study, the contribution of different pore types to the elastic P-wave's velocity was characterized. These results were used to determine the relationship between the bin porosities of the NMR test and the elastic wave velocity under the effect of water saturation. Accordingly, the seismic attributes were successfully used to produce artificial NMT T 2 curves with acceptable accuracy. Moreover, the statistical ensembles were investigated as an alternative tool for the estimation of petrophysical properties and proved as good as the deep learning approach. After all, the research came to the following conclusions:

•
Both statistical ensembles and intelligent techniques proved efficient in the case of this research study.

•
The performance of the soft-computing techniques strongly depends on the quality and type of input data. Such a conclusion highlights the importance of choosing the best input data when using these techniques. • When using soft-computing procedures for reservoir characterization, more sensitivity should be shown to unconventional reservoirs according to their more complicated petrophysical properties. However, Geological complexity does not necessarily act as an obstacle to weaken the functionality of these algorithms.

•
The seismic wave is composed of three main components which are phase, frequency, and amplitude. Therefore, in any study involving the seismic attributes, it is better to consider the attributes in such a way that one representative of each class is included inside the attribute category. This approach could help to obtain reliable results.

•
When making the final decision as to select a model for upscaling purposes, comprehensive consideration of its features and variables including error range, correlation, availability of the inputs, and the requisite amount of the training data and memory is required.
Finally, the authors believe that the ideas introduced in the present study provide new insights for a deeper understanding of the hydrocarbon reservoirs and facilitate comprehending the reciprocal interactions of seismic and magnetic resonance phenomenon within the porous media of the reservoir rock. These ideas are more highlighted in complex pore systems as carbonate reservoirs, which could be suggested as the topic of a future study. Moreover, despite all the advancements, deep learning in the service of petrophysical modeling is still at the be beginning of the way and has got its particular challenges that need to be solved.  Data Availability Statement: Data is included in the paper.

Conflicts of Interest:
The authors declare no conflict of interest.

E q
Compressed kernel matrix C Diagonal matrix that contains the inverse of the sum of the columns R Diagonal matrix that contains the inverse of the sum of the rows T 2 NMR transverse relaxation time