{'fraction_non_alphanumeric': 0.03148417402975059, 'fraction_numerical': 0.02807292249189129, 'mean_word_length': 4.2335381913959615, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 2, 'https://': 0, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Research on adsorption characteristics of H2S, CH4, N2 in coal based on Monte Carlo method

In order to study the adsorption characteristics of H2S, CH4 and N2 by coal under different conditions, the new macromolecular structure model of Dongqu No. 2 was constructed, and the grand canonical Monte Carlo (GCMC) method was used to simulate the adsorption process of three types of gases in coal. The dependence of adsorption capacity of coal on its temperature, pressure and moisture content was analyzed. The results show that with the increase of pressure and temperature, adsorption isotherms of all the three gases follow Langmuir model. For pressure greater than 2 MPa, the influence of temperature on adsorption capacity was greater than that of pressure. With rise in temperature, the decrease in rate of H2S adsorption was least and drops in the heat of adsorption of H2S most. This indicates that the adsorption of H2S on coal is more stable than those of CH4 and N2. As the water content of coal increased, its adsorption capacity for the present three gases decreased linearly, and the capacity for H2S (1.77 mmol/g) changed the most. The reduction of free volume linearly and preferential occupation of adsorption sites by water molecules are the main reasons for the highest change in the adsorbed amount of H2S gas.

In the mining of high-sulfur coal, the escape of a toxic and harmful H 2 S gas threatens the safety of health and life of coal miners 1,2 . It is reported that inhaling by human being of H 2 S gas at a concentration level 1 g/m 3 can cause death within seconds [3][4][5] . More than 10 deaths due to poisoning by H 2 S 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 H 2 S is going to become a major concern of safety in coal production [6][7][8] . Therefore, understanding of adsorption characteristics of coal for H 2 S gas is of significance currently.
The origin of H 2 S gas in coal is a subject of research globally [9][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 H 2 S, limits experimental studies on it. The main factors influencing adsorption of H 2 S on coal are: pores, microscopic components, moisture, pressure, degree of coalification etc 12 . Based on identical experiments carried out on isothermal adsorption of H 2 S, CH 4 and N 2 on coal. He et al. 13 reported that highest adsorption capacity of coal is for H 2 S (among the present three gases) and the lowest for N 2 . Liang et al. 14 simulated the adsorption of H 2 S, CO 2 , CH 4 , and N 2 gas molecules on the coal surface by quantum chemical methods, and reported that the adsorption capacity for H 2 S is lowest, and the presence of H 2 S in the coal seam enhances its ability to adsorb CH 4 . Xue et al. 15 studied the interaction between functional groups present on coal and H 2 S molecules using molecular simulation, and found that between hydroxyl group and H 2 S the interaction is strongest. Xue et al. 16 studied adsorption of H 2 S gas on different types of coal samples and used adsorption models suited to them. The results have shown that adsorption capacity of coal for H 2 S increases with the degree of coalification, and Langmuir model is the best fit. Many research groups globally, have studied in detail adsorption of CH 4 and N 2 on coal [17][18][19][20][21][22] , and therefore CH 4 and N 2 have been selected in the present work as controls to analyze the data of adsorption of H 2 S on coal. Monte Carlo method applied to understand adsorption of various gases on coal in the recent past has been used here for calculations 23 www.nature.com/scientificreports/ 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 H 2 S on coal but the adsorption characteristics of H 2 S are scantly analyzed from a microscopic point of view. The effect of water associated with coal on adsorption of H 2 S also has not been studied. The level of water content in coal is an important factor that affects the amount of H 2 S adsorbed. In the present paper, the adsorption characteristics of coal for H 2 S gas are studied from the perspective of macromolecular organic structure of coal, and the adsorption characteristics of CH 4 and N 2 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 H 2 S, CH 4 and N 2 (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 H 2 S in coal seams.

Dongqu No. 2 coal model and simulation method
The molecular structure model of Dongqu No. 2 ( Fig. 1) proposed by Li Yaogao 27 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 C 174 H 148 O 5 N 2 .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 dynamics 28 . 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.
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: 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 H 2 S, CH 4 and N 2 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) 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. Figure 3 shows that at some pressure, the adsorption capacity of coal for H 2 S, CH 4 and N 2 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 H 2 S, CH 4 and N 2 is greater than influence of temperature on adsorption.
At a pressure of 10 MPa, average reduction rate of adsorption of H 2 S, CH 4 , and N 2 on coal with rise in temperature is 13, 14, and 20%, respectively. The adsorption of N 2 is most affected by temperature, followed by CH 4 and H 2 S. This may be correlated to their critical temperatures which are 212.75, 111.65, and 77 K for H 2 S, CH 4 and N 2 respectively. The gas with high critical temperature liquefies easily and is adsorbed on coal matrix 33 . At a particular temperature, repulsion between molecules of H 2 S 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 Van der Waals Atom based 30 Step size/fs 1 Canonical ensemble NPT 31 Steps total time/ps 1000    www.nature.com/scientificreports/ 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 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 released 34,35 . The relationship between heat of adsorption of H 2 S, CH 4 and N 2 with temperature is shown in Fig. 5   www.nature.com/scientificreports/ adsorption heat of H 2 S decreases the most as the temperature rises. The amount of H 2 S adsorbed is least affected by temperature, thus its adsorption would release more heat than CH 4 and N 2 , making adsorption more stable.
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 H 2 S, CH 4 , and N 2 on coal with pressure at 298 K, and in Fig. 6 also the variation of corresponding adsorption energy with pressure is shown. 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 H 2 S, CH 4 and N 2 adsorption on coal increases by 716.17, 345.59 and 227.08 kJ/mol, respectively. Adsorption of H 2 S on coal releases small electrostatic energy, while such energy released for CH 4 and N 2 is 0. This is because H 2 S and coal (due to functional groups) are polar, and force between them is directional. The CH 4 and N 2 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 H 2 S, CH 4 , and N 2 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 H 2 S is highest, followed by CH 4 and N 2 , indicating that the adsorption capacity of coal for H 2 S is highest. In the pressure range of 0-2 MPa, the adsorption energy of H 2 S increases significantly, (by 820.08 kJ/mol), indicating that the pressure has the maximum impact on adsorption of H 2 S at its low value.
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 H 2 S, CH 4 and N 2 has been calculated at 298 K and 8 MPa pressure respectively, using the following formula (Eq. 3) for water content calculation:  www.nature.com/scientificreports/ In the formula, M H2O is the molar mass of water (g/mol); M coal 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 H 2 S, CH 4 and N 2 decreases linearly with the increase in water content. Linear fitting is 99.61, 99.04 and 98.94%, respectively for H 2 S, CH 4 and N 2 . 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 H 2 S drops from 3.34 mmol/g at 0% water to 1.57 mmol/g at 4.51% of water. The adsorption capacity for CH 4 drops from 2.19 mmol/g at 0% water to 0.92 mmol/g at 4.51% water, and for N 2 the drop for the same water content range is from 1.90 to 0.79 mmol/g. The amount of H 2 S 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 H 2 S is least affected by moisture. Since positions for adsorption of H 2 S and water molecules in coal are the same, water replaces H 2 S 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 H 2 S on coal. For CH 4 and N 2 , as number of water molecules increases, they occupy free volume, which promotes the competitive adsorption of CH 4 and N 2 . Since the radius of the CH 4 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 CH 4 , but cannot enter in the space of adsorbed N 2 , which has a smaller radius than that of water molecule. Consequently, ∆Q (CH4) is greater than ∆Q (N2) .
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%, N 2 is adsorbed sporadically in the coal pores. The H 2 S forms more cluster structures in the pores of coal, compared to CH 4 , indicating high density of adsorption. The number of coal molecules adsorbing H 2 S, CH 4 , and N 2 are 90, 60, and 46, respectively. When the water content is 4.51%, N 2 is more dispersed in the coal pores, and H 2 S and CH 4 are scattered in the pores, indicating that density of adsorption is reduced. At this time, the number of coal molecules adsorbing H 2 S, CH 4 , and N 2 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 H 2 S > CH 4 > N 2 is always maintained.

Conclusions
Based on the results of Monte Carlo method applied to study the adsorption characteristics of H 2 S, CH 4 and N 2 in the organic structure of coal under different conditions, the following conclusions can be made: www.nature.com/scientificreports/ 1. The adsorption isotherms of H 2 S, CH 4 and N 2 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 N 2 , followed by CH 4