Introduction

In the mining of high-sulfur coal, the escape of a toxic and harmful H2S gas threatens the safety of health and life of coal miners1,2. It is reported that inhaling by human being of H2S gas at a concentration level 1 g/m3 can cause death within seconds3,4,5. More than 10 deaths due to poisoning by H2S gas have been reported in our country in the present century. With gradual exhaustion of earth's fossil resources of energy, the depth of coal mining is expected to increase, and consequently H2S is going to become a major concern of safety in coal production6,7,8. Therefore, understanding of adsorption characteristics of coal for H2S gas is of significance currently.

The origin of H2S gas in coal is a subject of research globally9,10,11. It is believed currently that the gas existing with coal has come from three processes: biochemical including biodegradation and microbial sulfate reduction (BSR); thermochemical, including thermochemical decomposition (TDS) and thermochemical sulfate reduction; and Magma. The toxic nature of H2S, limits experimental studies on it. The main factors influencing adsorption of H2S on coal are: pores, microscopic components, moisture, pressure, degree of coalification etc12. Based on identical experiments carried out on isothermal adsorption of H2S, CH4 and N2 on coal. He et al.13 reported that highest adsorption capacity of coal is for H2S (among the present three gases) and the lowest for N2. Liang et al.14 simulated the adsorption of H2S, CO2, CH4, and N2 gas molecules on the coal surface by quantum chemical methods, and reported that the adsorption capacity for H2S is lowest, and the presence of H2S in the coal seam enhances its ability to adsorb CH4. Xue et al.15 studied the interaction between functional groups present on coal and H2S molecules using molecular simulation, and found that between hydroxyl group and H2S the interaction is strongest. Xue et al.16 studied adsorption of H2S gas on different types of coal samples and used adsorption models suited to them. The results have shown that adsorption capacity of coal for H2S increases with the degree of coalification, and Langmuir model is the best fit. Many research groups globally, have studied in detail adsorption of CH4 and N2 on coal17,18,19,20,21,22, and therefore CH4 and N2 have been selected in the present work as controls to analyze the data of adsorption of H2S on coal. Monte Carlo method applied to understand adsorption of various gases on coal in the recent past has been used here for calculations23,24,25,26.

From the above research, we can find that the previous research is mainly based on experiments. The adsorption experiments only measure and analyze the adsorption phenomenon at a macro level, and cannot describe the microscopic process of adsorption. The computational methods simulating adsorption on coal are not disturbed by the external environment. The experimental research has laid undoubtedly some theoretical basis to discuss adsorption of H2S on coal but the adsorption characteristics of H2S are scantly analyzed from a microscopic point of view. The effect of water associated with coal on adsorption of H2S also has not been studied. The level of water content in coal is an important factor that affects the amount of H2S adsorbed. In the present paper, the adsorption characteristics of coal for H2S gas are studied from the perspective of macromolecular organic structure of coal, and the adsorption characteristics of CH4 and N2 are used as a control to analyze the difference in the adsorption capacity of coal for the present three single-component gases. This paper uses molecular simulation methods to study adsorption of H2S, CH4 and N2 (as a single-component gas) on coal, Dongqu No. 2, use of which eliminates the influence of different geological conditions on the inorganic contents of coal. The effect of different pressures (up to10MPa), temperatures (298, 318, 338, 358 and 378 K) and water contents (0, 1.18, 2.31, 3.42, and 4.51%) on the adsorption isotherm curve, isosteric heat of adsorption and energy of adsorption are reported. Thus, a theoretical basis is provided for control of H2S in coal seams.

Dongqu No. 2 coal model and simulation method

The molecular structure model of Dongqu No. 2 (Fig. 1) proposed by Li Yaogao27 for coal was adopted in the present paper. The aromatic skeleton of this model is mainly anthracene ring, and it contains phenolic hydroxyl, carboxyl, pyridine and pyrrole functionalities. Its molecular formula is C174H148O5N2.The molecular model constructed for coal has used the “Forcite” module to optimize its geometry and energy. The lowest energy of the molecular model is shown in Fig. 1. It uses the module Amorphous Cell to put thirteen molecules of coal in the box, and COMPASS force field is selected for geometric optimization of the constructed three-dimensional structure, annealing, and molecular dynamics28. As the constructed coal model has a periodic structure, the electrostatic interactions are all Ewald and van der Waals type and are based on atom. The molecular dynamics parameter settings are shown in Table 1. The final model is shown in Fig. 2.

Figure 1
figure 1

Molecular model of Dongqu No.2.

Table 1 Parameters of molecular dynamics.
Figure 2
figure 2

Model of coal structure.

Based on the coal structure model constructed (Fig. 2), the Sorption modules were used to calculate at fixed pressure (0.01, 2, 6, and 8 MPa) adsorption isotherms (298, 318, and 338 K). The Sorption Locator module was used to build coal structure models with different moisture content. Thereafter to simulate the gas adsorption Sorption module was used. The average loading (Eq. 1) is the amount adsorbed. Its unit is N/uc, and conversion formula for the unit is:

$${\text{uptake/(mmol/g}}) = \frac{{\text{average loading}}}{{\text{M}}} \times {10}^{{3}}$$
(1)

M is the relative molecular mass of the adsorbent (g/mol).

Results and analysis

Adsorption isotherm

The adsorption isotherms of coal molecules at temperatures 298, 318, and 338 K for H2S, CH4 and N2 are shown in Fig. 3. It reveals that pressure has a very large effect on the adsorption capacity of coal for the three gases. With the increase in pressure, the adsorption capacity of coal for the three gases first increases rapidly and then slowly. At different temperatures, the adsorption curves of the three gases show similar trend. The temperature affects only the quantity of gas adsorbed, and does not change the trend of its adsorption. Langmuir model (Eq. 2) is followed by adsorption of each gas (Fig. 3)

$$Q = \frac{abp}{{1 + bp}}$$
(2)
Figure 3
figure 3

Adsorption isotherms of H2S, CH4 and N2 at different temperatures.

Here Q: is adsorption capacity for gas (mmol/g); a, maximum adsorption capacity of coal sample (mmol/g); b, adsorption constant, (MPa−1); p, pressure of gas adsorbed, (MPa).

The fitting constants and correlation coefficients of three gases at different temperatures are shown in Table 2.

Table 2 Langmuir parameters of adsorbed gases at different temperatures.

Figure 3 shows that at some pressure, the adsorption capacity of coal for H2S, CH4 and N2 decreases with increase in temperature. It can be seen from the above figure, the influence of pressure in the range 0–2 MPa on the adsorption capacity of coal for H2S, CH4 and N2 is greater than influence of temperature on adsorption.

At a pressure of 10 MPa, average reduction rate of adsorption of H2S, CH4, and N2 on coal with rise in temperature is 13, 14, and 20%, respectively. The adsorption of N2 is most affected by temperature, followed by CH4 and H2S. This may be correlated to their critical temperatures which are 212.75, 111.65, and 77 K for H2S, CH4 and N2 respectively. The gas with high critical temperature liquefies easily and is adsorbed on coal matrix33. At a particular temperature, repulsion between molecules of H2S is least and capacity of coal for its adsorption is highest in comparison to those of two other gases investigated here.

In order to analyze the effect of temperature on the adsorption capacity of coal for the three gases, considered Fig. 3. In the initial stage of adsorption, the pressure (up to 2 MPa), shows a large effect on the adsorption capacity of the gases, but the effect of temperature on adsorption capacity of coal for the three of gases is not regular. Therefore, the relationship between adsorption capacity and temperature was analyzed at fixed pressures 2, 6 and 8 MPa (Fig. 4). As shown in Fig. 4, in the temperature range 298–378 K and pressure at 2 MPa, the adsorption capacity (mmol/g) of coal for H2S, CH4 and N2 drops by 1.55, 1.43 and 1.04 respectively. At 8 MPa, and in the same temperature range, the capacity (mmol/g) for H2S, CH4 and N2 drops by 1.30, 1.26 and 0.98 respectively. In the pressure range 2-8 M Pa, and at temperature 378 K, adsorption capacity of coal changes by 0.51 mmol/g for H2S; 0.48 mmol/g for CH4, and 0.38 mmol/g for N2. Thus, the temperature also has a high influence on the adsorption capacity of coal for the three gases at pressure beyond 2 MPa.

Figure 4
figure 4

Adsorption capacity of H2S, CH4 and N2: variation with temperature at different pressures.

Isometric heat of adsorption

The heat of adsorption indicates the strength of adsorption. In the adsorption process, gas molecules move towards the surface of coal, and the speed of their molecular motion is reduced greatly, and thus heat is released34,35. The relationship between heat of adsorption of H2S, CH4 and N2 with temperature is shown in Fig. 5. The heat decreases with increase in temperature. The average gradients of decrease for H2S, CH4 and N2 are 0.44/20 K, 0.27/20 K, 0.13/20 K, respectively. At 298 K, the heat of adsorption on coal for the three gases H2S, CH4 and N2 is highest, 36.49, 22.67, and 18.38 kJ/mol respectively. As all the heats are less than 42 kJ/mol, the adsorption of H2S, CH4 and N2 on coal is of physical type, which is consistent with the earlier results14. From the average gradient of the drop of adsorption heat for the three gases, it can be inferred that the adsorption heat of H2S decreases the most as the temperature rises. The amount of H2S adsorbed is least affected by temperature, thus its adsorption would release more heat than CH4 and N2, making adsorption more stable.

Figure 5
figure 5

Adsorption heat of H2S, CH4 and N2: Variation with temperature.

Adsorption energy

The adsorption energy referred in this paper includes van der Waals, electrostatic, and intramolecular energies. The intramolecular energy is too small and has been ignored. The van der Waals and electrostatic energy obtained by the simulation are both negative. The numerical value is considered when analyzing the energy strength, thus the absolute value is taken for analysis. Table 3 shows the variation of van der Waals energy and electrostatic energy of adsorption of H2S, CH4, and N2 on coal with pressure at 298 K, and in Fig. 6 also the variation of corresponding adsorption energy with pressure is shown.

Table 3 Van der Waals and electrostatic energy of adsorption of each gas at different pressure.
Figure 6
figure 6

Adsorption energy of H2S, CH4 and N2: variation with pressure.

It can be seen from Table 3 that with the increase of pressure, van der Waals energy undergoes significant change. When, the pressure increases from 0 to 10 MPa, the van der Waals energy of H2S, CH4 and N2 adsorption on coal increases by 716.17, 345.59 and 227.08 kJ/mol, respectively. Adsorption of H2S on coal releases small electrostatic energy, while such energy released for CH4 and N2 is 0. This is because H2S and coal (due to functional groups) are polar, and force between them is directional. The CH4 and N2 are non-polar molecules, and the force between them and coal depends on dispersion and inducing.

The fitting constants and correlation coefficients of three gases at different pressures are shown in Table 4. It can be seen from Fig. 6 that as the pressure increases the adsorption energy of H2S, CH4, and N2 first increases rapidly, and then tends to flatten. They all follow the Langmuir adsorption model. When the pressure is 0–2 MPa, the adsorption energy shows a rapid growth and is affected most by the pressure. In the pressure range from 2 to 8 MPa, the energy increases slowly. In slow growth stage, the pressure has little effect on the adsorption energy. This is because the pores on the surface of coal matrix are covered by a large amount of gas, and the gas molecules compete with each other for the remaining vacancies, so that the adsorption capacity increases slowly with the pressure, resulting in slow increases in the adsorption energy. At 8–10 MPa pressure, the adsorption tends to get saturated, i.e. equilibrium stage for adsorption is reached, and the pressure has almost no further effect on the adsorption energy. In this pressure range, the adsorption energy of H2S is highest, followed by CH4 and N2, indicating that the adsorption capacity of coal for H2S is highest. In the pressure range of 0–2 MPa, the adsorption energy of H2S increases significantly, (by 820.08 kJ/mol), indicating that the pressure has the maximum impact on adsorption of H2S at its low value.

Table 4 Langmuir parameter of adsorption energy at 298 K.

Effect of water content of coal

The capacity of coal structure model with moisture content of 0, 0.50, 1.18, 2.31, 3.42 and 4.51% for adsorption of H2S, CH4 and N2 has been calculated at 298 K and 8 MPa pressure respectively, using the following formula (Eq. 3) for water content calculation:

$$W = \frac{{M_{{H_{2} O}} }}{{M{}_{{{\text{coal}}}} + M_{{H_{2} O}} }} \times 100\%$$
(3)

In the formula, MH2Ois the molar mass of water (g/mol); Mcoal is the molar mass of theoretical coal molecule (g/mol).

When analyzing the influence of water content on gas adsorption capacity, the number of water molecules added to the simulated coal is 0, 9, 20, 40, 60 and 80. The relationship between the adsorption capacity of coal for the three gases and the moisture content is shown in Fig. 7. It can be seen from the Figure that the adsorption capacity of coal for the three gases decreases with increase in its moisture content. After linear curve fitting, it was found that within the given water content range, the adsorption capacity of coal for H2S, CH4 and N2 decreases linearly with the increase in water content. Linear fitting is 99.61, 99.04 and 98.94%, respectively for H2S, CH4 and N2. It is calculated that, 26.61% of free volume of coal structure model is without water, 25.87% with 9 water molecules, 25.29% with 20 water molecules, 24.14% with 40 water molecules, 22.79% with 60 water molecules and 21.56% with 80 water molecules. The increase in the number of water molecules is accompanied by decrease of free volume in coal, which is the main reason for the decrease in adsorption of gas. In the range of water content 0–4.51%, the adsorption capacity of coal for H2S drops from 3.34 mmol/g at 0% water to 1.57 mmol/g at 4.51% of water. The adsorption capacity for CH4 drops from 2.19 mmol/g at 0% water to 0.92 mmol/g at 4.51% water, and for N2 the drop for the same water content range is from 1.90 to 0.79 mmol/g. The amount of H2S adsorbed is reduced the most. Figure 8 reflects the relationship between the free volume of coal and the moisture content after adsorption of gas. It can be seen from Fig. 8 that the free volume of the coal after adsorption of H2S is least affected by moisture. Since positions for adsorption of H2S and water molecules in coal are the same, water replaces H2S from positions of its adsorption. Therefore, the reduction of free volume and the preemption of adsorption sites by water molecules are the main factors causing reduction in adsorption of H2S on coal. For CH4 and N2, as number of water molecules increases, they occupy free volume, which promotes the competitive adsorption of CH4 and N2. Since the radius of the CH4 molecule is larger than that of water, the coal shows a high adsorption capacity for water due to its molecular structure and water occupies the space meant for adsorption of CH4, but cannot enter in the space of adsorbed N2, which has a smaller radius than that of water molecule. Consequently, ∆Q (CH4) is greater than ∆Q (N2).

Figure 7
figure 7

Adsorption of H2S, CH4 and N2: correlation with water present in coal.

Figure 8
figure 8

Free volume in coal of varying moisture content after adsorbing gas.

In order to intuitively understand the influence of moisture in coal on its adsorption capacity for the present three gases, Fig. 9 shows the density distribution of the three gases when the pressure is 8 MPa and the water content is 1.18 or 4.51%. When the water content is 1.18%, N2 is adsorbed sporadically in the coal pores. The H2S forms more cluster structures in the pores of coal, compared to CH4, indicating high density of adsorption. The number of coal molecules adsorbing H2S, CH4, and N2 are 90, 60, and 46, respectively. When the water content is 4.51%, N2 is more dispersed in the coal pores, and H2S and CH4 are scattered in the pores, indicating that density of adsorption is reduced. At this time, the number of coal molecules adsorbing H2S, CH4, and N2 are 57, 32, and 27, respectively. It can be concluded that as the water content increases, the adsorption density of the three types of gases decreases. The relationship of adsorption capacity H2S > CH4 > N2 is always maintained.

Figure 9
figure 9

Density distribution of the gases, when content of water in coal is 1.18 or 4.51%. (a) N2,1.18%, (b) CH41.18%, (c) H2S, 1.18%, (d) N2, 4.51%, (e) CH4, 4.51%, (f) H2S, 4.51%.

Conclusions

Based on the results of Monte Carlo method applied to study the adsorption characteristics of H2S, CH4 and N2 in the organic structure of coal under different conditions, the following conclusions can be made:

  1. 1.

    The adsorption isotherms of H2S, CH4 and N2 follow Langmuir model. If pressure is in the range  0-2 MPa, the adsorption capacity of coal for the three gases is more influenced by pressure than temperature. Beyond 2 MPa, the temperature exerts greater influence on the adsorption capacity of coal for these gases than the pressure. When the pressure is the same, the adsorption capacity of coal for the three gases decreases with increase in temperature. The influence of temperature on the adsorption capacity of coal is maximum for N2, followed by CH4 and H2S.

  2. 2.

    The heat of adsorption of the three gases decreases with the increase in temperature, and for H2S it drops the most. The amount of H2S adsorbed changes the least with the increase in temperature, indicating that the H2S adsorbed coal is stable. At 298 K, the heat of adsorption of H2S, CH4, and N2 respectively are 36.49, 22.67 and 18.38 kJ/mol.

  3. 3.

    In the pressure range ~ 0–10 MPa, the adsorption energy of H2S is followed by that of CH4 and N2. The low pressure has the greatest impact on the adsorption energy of H2S.

  4. 4.

    At a fixed pressure and temperature, as the number of H2O molecules increases, the free volume in the coal decreases proportionately and linearly. The adsorption capacity of coal for the three gases also decreases linearly. The change in the amount of H2S adsorbed is 1.77 mmol/g. The linear decrease in the free volume and preferential occupation of adsorption sites by water molecules are the main reasons for the largest change in the amount of H2S gas adsorbed.