Introduction

China is a country with large coal reserves and limited amounts of oil, which leads to the dominance of coal in providing energy for the country. Underground coal mines are operated widely in North China, while groundwater is often a precious drinking water source for local inhabitants as it tends to be a more reliable and economically viable resource than surface water, and more resilient to pollution. However, large-scale coal mining may alter groundwater flow-paths, and mixing of water from different aquifers can change its chemical composition over space and time (Qian et al. 2018; Xu et al. 2018; Younger and Wolkersdorfer 2004). This is especially the case as mining extends deeper and deeper. This will cause the groundwater flow conditions to inevitably change, which, in turn, will alter hydraulic connections among water-inrush aquifers, and will lead to an increased complexity of hydrogeological conditions in mining areas (Huang and Chen 2012; Ma et al. 2016; Mahato et al. 2018; Murkute 2014; Singh et al. 2016; Utom et al. 2013; Zhang et al. 2020). Thus, it is of great significance for the safety of coal mine and the protection and utilization of groundwater resources to fully grasp the changes of hydrogeological conditions of the main water-inrush aquifers under the effect of mining.

In recent years, the hydrogeochemical evolution of groundwater in coal-mining district has attracted wide attention in many parts of the world. Many methods, including multivariate statistical analysis, isotope analysis, laboratory column simulation, and hydrogeochemical modeling, have been employed to reveal the complexity of water–rock interaction processes and the hydrochemical evolution of groundwater along flow-paths (Adhikari and Mal 2019; André et al. 2005; Güler et al. 2012; Kanduč et al. 2014; Sharif et al. 2008; Voutsis et al. 2015). Investigators have also assessed comparable issues in coal-mining areas of China. Popular methods including groundwater ions, trace elements, and environmental isotopes have also been employed to interpret the origin and the flow properties of both shallow and deep groundwater in the North China coalfields (Guo and Wang 2004; Chen et al. 2011; Li and Wu 2017; Liu et al. 2019; Qiao et al. 2018; Qu et al. 2018; Sun et al. 2017). Previous studies of the main water-inrush aquifers in the Huaibei coalfield were mainly focused on the mine-safety issues associated with inrush events on underground coal mining, or have been simple groundwater chemistry assessments (Chen et al. 2016, 2017; Gui et al. 2017). However, few of these studies have provided insights into the hydrogeochemical processes that control the water chemistry evolution.

In the presented study, the Xutuan and Renlou coal mines, which form part of the Linhuan mining district in Anhui Province, China, were selected as a case study to analyze geochemical characteristics of the main water-inrush aquifers from a hydrogeological perspective. Hydro-geochemical correlation analysis, multivariate statistical analysis, and geochemical modeling were used to reveal the dominant hydrogeochemical processes that influence the groundwater chemistry change under the effect of mining. The results are to be used for promoting the protection and utilization of groundwater resources and for increasing the safety in local coal mines.

Study area

The study area is located in the southern part of Huaibei coalfield, North China (Fig. 1). The land surface is a relatively flat alluvial plain with elevations ranging from 20 to 50 m above sea level (asl). The region has a warm temperate semi-humid climate, with an average annual temperature of 14.4 °C. The average annual precipitation is 862.9 mm, with the majority (75%) falling from July to September, while the average annual evaporation ranges from 1800 to 1900 mm (Yin et al. 2011). The areas of Renlou coal mine and Xutuan coal mine are 42.07 km2 and 52.59 km2, respectively. Until recently, mining operations were mainly concentrated in coal seams 5, 7, and 8. The two coal mines utilize highly mechanized coal mining technology, and the total approved production capacity is 5.2 million tons per year.

Fig. 1
figure 1

Geographical location and sampling distribution of the study area

The study area is located in the eastern wing of the Tongting anticline. This feature is a monoclinic structure that strikes north–south and slopes eastward with a dip angle of about 15°. The full sedimentary sequence for the study area is shown in Fig. 2. The mining of coal resources in the study area is mainly concentrated in the Permian strata, including the Upper Permian and the Lower Permian. The thickness of the Lower Permian strata is 182–280 m, with an average of 236 m. It is composed of siltstone, sandstone, mudstone, and coal seams. The main mineable coal seams in this section are 51, 72, and 82, with an average thickness of 1.3 m, 2.81 m, and 2.02 m, respectively. The thickness of the Upper Permian strata is 610.6–740.75 m, with an average of 673.83 m. It is in integrated contact with the Lower Permian strata and consists of a thick set of variegated siltstone, mudstone, sandstone, and coal seams. 31 is the main coal seam in this group, with a thickness of 0.20–3.21 m.

Fig. 2
figure 2

Stratigraphic histogram of the study area

According to the lithology, thickness, water-containing media, and burial conditions of each stratum, the main water-inrush aquifers in the study area from bottom to top are discussed below.

The lowermost aquifer in the area is an Ordovician limestone aquifer, which consists of grey, dark grey dolomitic limestone, and limestone. (However, the burial depth of Ordovician limestone is far away from the coal seam floor, and in the absence of large faults and karst collapse columns, it has no direct impact on coal production.) Consequently, this aquifer will not be further discussed in this paper. The Carboniferous limestone aquifer of Taiyuan formation (referred to as Carboniferous aquifer) is composed of limestone, mudstone, siltstone, and thin coal seams, with a total thickness of about 130 m. There are 9–15 layers of limestone in this formation, and the thickness of limestone is 48–71 m, accounting for 48–60% of the total thickness. The normal thickness of the first limestone layer in this group is about 140 m away from the floor of 82 coal seam. According to the pumping and drainage tests in coal fields, the specific water yield is 0.1243–0.15582 L/(s m). Generally, there is no direct hydraulic connection with the mine. However, when the mining encounters the water channel such as collapse column or water-conducting faults, the limestone water will flow into the mine and form flood disaster.

The Permian coal-bearing sandstone aquifer (referred to as Permian aquifer) consists of sandstone, mudstone, siltstone, and coal seams. The groundwater in this formation mainly exists in the structural fractures of sandstone layer with static reserves, which is controlled by geological structure and has different water yield. According to the pumping and drainage tests in coal fields, the specific water yield is 0.0196 L/(s m), which belongs to weak water-rich aquifer. Under the effect of mining, it usually flows into the tunnel in the form of sprinkling water and dripping water, which does little harm to the safety of coal mining.

The Neogene fourth aquifer, which is referred to as the Neogene aquifer, consists of unconsolidated gravels, clayey gravels, sandy clays, and calcareous clays. The thickness of this aquifer varies greatly, but is generally 5–15 m. Due to the low permeability of the overlying aquiclude, the neogene aquifer has no direct hydraulic connection with atmospheric precipitation and surface water. According to the pumping and drainage tests in coal fields, the specific water yield of this aquifer is 0.000325–0.117L/(s m). Under the effect of mining, the aquifer can recharge the no. 31 coal seam along the mining-induced fissures, which is the main potential water hazard in shallow coal seam mining.

Influenced by mining activities in coal mining areas, mine inflows are usually a mixture of water from these three aquifers, often with different discharge end members and different mixing proportions. In view of these issues, this paper focuses on the study of the Neogene, Permian, and Carboniferous aquifers' hydraulic connections, and on the geochemical evolution of groundwater in these aquifers.

Materials and methods

In this study, 77 groundwater samples, comprised of groundwater from the Neogene, Permian, and Carboniferous aquifers, were obtained from the Xutuan and Renlou coal mines and were chemically analyzed for major ions and some trace constituents (Table 1). In this paper, the terms of NR, NX, PR, PX, CR, and CX represent the Neogene aquifer, the Permian aquifer, and the Carboniferous aquifer in the Renlou coal mine and the Xutuan coal mine, respectively. The water quality data for the period 1999–2015 come from the hydrological accounts of the Geological Survey Department of Xutuan and Renlou Coal Mines. These include 13 samples from the Neogene aquifer, 46 samples from the Permian aquifer, and 16 samples from the Carboniferous aquifer, respectively. These samples were chemically analyzed for major ions (including Na+ + K+, Ca2+, Mg2+, Cl, SO42−, and HCO3), pH, and total dissolved solids (TDS). Among them, the Neogene water samples were mainly from underground observation holes and water points, the Permian water samples were mainly from coal mine tunnels, and the Carboniferous water samples were mainly from underground pumping wells. In addition, five samples were collected and tested in June 2017. The locations of these samples are displayed in Fig. 1.

Table 1 Major ion concentrations (mg/L), TDS (mg/L), saturation index (SI), and Schoeller indices (CAI-I, CAI-II) of groundwater samples in the study area

All the samples were collected using polyolefin bottles. The containers were washed four or five times using the water to be sampled before the sample was taken. The bottles were sealed immediately and then transported to the laboratory for physicochemical analysis. The water samples were determined in the laboratory of National Coal Mine Flood Control Engineering Technology Research Center (Suzhou, China). Acid base titration was used to determine the concentration of HCO3. Na+, Ca2+, Mg2+, Cl, and SO42− were determined by ion chromatography (ICS-600-900). The pH and TDS values of water samples were determined by ST20 and ST20T-B handheld portable instruments.

PCA is a multivariate statistical technique for data compression and for obtaining associations between variables (Hotelling 1933; Morales-Casique et al. 2016; Pandžić and Kisegi 1990). It is mainly used to study how to project the correlated high-dimensional data group into a lower dimensional space under the premise of losing little information, so as to reduce the data dimension and simplify the data structure (Güler et al. 2002; Sharma et al. 2015; Najar and Khan 2012; Zeinalzadeh and Rezaei 2017). In this study, PCA was used to extract information from the hydrochemical data from groundwater samples and transform related indexes into independent new indexes through linear combination and to reveal the potential hydrogeochemical processes through SPSS software.

PHREEQC (Version 2.0) is a powerful and widely applied program in modeling hydrogeochemical processes (Parkhurst and Appelo 1999). In this study, the program was applied to calculate the saturation index (SI) of 77 groundwater samples (Table 1), and also used to simulate hydrogeochemical processes that occurred along the flow path of the aquifer. Inverse modeling was introduced and used as a verification method to support the results obtained from the previous correlation analysis.

Results and discussion

General hydrochemical properties

Many factors, including hydrogeological environment, lithology, mineral composition, temperature, climate, the relationship between adjacent aquifers, mining, and other human activities, have been considered to affect the chemical compositions of groundwater (Qiao et al. 2019; Towfiqul Islam et al. 2017). The results of chemical compositions are presented in Table 1, which will help to explore the general hydrochemical properties of groundwater in the study area. The pH of all groundwater samples ranges from 6.81 to 9.99, with average values of 8.29 for Renlou Neogene aquifer (NR), 7.6 for Xutuan Neogene aquifer (NX), 8.41 for Renlou Permian aquifer (PR), 7.92 for Xutuan Permian aquifer (PX), 7.63 for Renlou Carboniferous aquifer (CR), and 7.27 for Xutuan Carboniferous aquifer (CX), which means that the groundwater was generally slightly-to-moderately alkaline in the study area. The TDS of groundwater in three main water-inrush aquifers of Xutuan coal mine ranged from 390 to 2389 mg/L, with an average value of 1292 mg/L. Meanwhile, the TDS of Renlou coal mine ranged from 765 to 3349 mg/L, with an average value of 2221 mg/L. Generally, the value of TDS increases along the groundwater flow path due to the progressive dissolution of minerals and water–rock interaction. Therefore, TDS can be used with locational data to deduce groundwater flow direction and origin (Gastmans et al. 2010). The TDS concentration of three aquifers in Renlou coal mine is higher than that in Xutuan coal mine, which reveals that the groundwater flow direction is from Xutuan coal mine to Renlou coal mine. In terms of depth, the TDS value of the Neogene aquifer in the two coal mines is lower than that of the Permian aquifer, suggesting that the Neogene aquifer will recharge the Permian aquifer through fractures. However, the relationship between the Permian aquifer and the Carboniferous aquifer is not significant, suggesting that there is no direct hydraulic connection between the two aquifers under normal conditions. For all groundwater samples, the major cations and anions showed broad ranges: Na+ from 130 to 1202 mg/L, Ca2+ from 1 to 396 mg/L, Mg2+ from 0.7 to 290 mg/L, Cl from 19 to 1096 mg/L, SO42− from 3 to 855 mg/L, and HCO3 from 26 to 1469 mg/L. According to the previous study (Chen et al. 2014), the hydrogen and oxygen stable isotopic data of the main aquifers in the study area are shown in Table 2. The values of δ18O and δ2H ranged from − 9.4 to − 6.9‰ and − 85.7 to − 52.2‰ in the Neogene aquifer, from − 10.2 to − 8.5‰ and − 87.4 to − 60.3‰ in the Permian aquifer, and from − 9.7 to − 6.4‰ and − 79.0 to − 51.1‰ in the Carboniferous aquifer, respectively.

Table 2 Stable hydrogen and oxygen isotopic compositions of aquifers in the study area (Chen et al. 2014)

The Piper tri-linear diagram (Piper 1944) is one of the most useful graphical representations in groundwater quality studies. A Piper tri-linear diagram of 77 groundwater samples in Xutuan coal mine and Renlou coal mine was plotted using different symbols for each aquifer (Fig. 3). “Na+ + K+” was recorded as Na+, because the concentration of K+ was low in two coal mines.

Fig. 3
figure 3

Piper tri-liner diagram of different aquifers in two coal mines. NR, NX, PR, PX, CR, and CX represent the Neogene aquifer, the Permian aquifer, and the Carboniferous aquifer in the Renlou coal mine and the Xutuan coal mine, respectively

As shown in Fig. 3a, there are obvious differences between the Neogene aquifer samples from the Xutuan and Renlou coal mines. Compared with the Neogene aquifer in Renlou coal mine, the concentration of Cl in Xutuan coal mine is lower. The main hydrochemical types of Xutuan and Renlou coal mines are HCO3–Cl·Na, Cl–HCO3·Na, Cl–HCO3·Na–Ca, and Cl·Na, Cl·Na–Ca, respectively. For Permian aquifer samples in Fig. 3b, Na+ is the main cation in two coal mines, but for anions, the Cl concentration of some groundwater samples in Xutuan coal mine is lower than that in Renlou coal mine, while the HCO3 concentration is higher. The distribution of groundwater samples in two coal mines overlaps partially. The main hydrochemical types in Xutuan and Renlou coal mine are HCO3·Na, HCO3–Cl·Na, Cl–HCO3·Na, and Cl·Na, respectively. Carboniferous aquifer groundwater samples are shown in Fig. 3c, and compared with the other two aquifers, Ca2+, Mg2+, and SO42− concentrations in Carboniferous aquifer groundwater samples are higher. The main hydrochemical types are Cl·Na–Ca, Cl–SO4·Ca, and Cl–SO4·Ca–Mg. Three samples show the hydrochemical type of HCO3–Cl·Na and Cl–HCO3·Na. These samples were all from the underground tunnel drainage holes, and may have mixed with the Permian aquifer.

The possible hydraulic connection can be revealed by comparing the hydrochemical types of aquifers at different depths. The concentrations of Na+ and HCO3in groundwater of the two coal mines increased significantly from the Neogene aquifer to the Permian aquifer, and the hydrochemical types changed from Cl·Na–Ca to Cl·Na and Cl–HCO3·Na. The similarity in the hydrochemical types of the Neogene aquifer and the Carboniferous aquifer is mainly due to the fact that the shallow outcrops of the Carboniferous aquifers in the southwestern part of the study area have a hydraulic connection with the Neogene aquifers through fissures. The dissolution of carbonate minerals along the groundwater flow path is an important reason for the higher concentration of Ca2+ and Mg2+ in the Carboniferous aquifer.

Through the analysis of the chemical composition of three aquifers in Xutuan and Renlou coal mines, it can be seen that there are obvious differences between the Neogene aquifer and the Permian aquifer, while the chemical composition of groundwater in the Carboniferous aquifer differs slightly from the other aquifers. At the same time, due to the influence of coal mining, some water samples of different aquifers have a chemical composition that is derived from a mixture of groundwater from different aquifers. Moreover, Cl is considered as a kind of conservative ion which is not absorbed by plants and bacteria, and not absorbed by soil surface particles, with high solubility and not easy to precipitate, and it is generally positively correlated with TDS, and its concentration increases with the TDS (Duan et al. 2019). Therefore, the analysis of the difference of Cl concentration between the two coal mines can be used to explore the groundwater flow direction in different aquifers.

According to Fig. 3, the Cl concentration of the Neogene aquifer and the Permian aquifer of Renlou coal mine is higher than that of Xutuan coal mine, indicating that the groundwater flow direction of Neogene aquifer may be from Xutuan coal mine to Renlou coal mine. Furthermore, compared with PX, the PR has obvious Cl enrichment, which may be caused by the following two reasons: one is that PX recharges PR through interlayer leakage, and the other is that NR receives interlayer supply from NX, and then recharges PR through bedrock fracture under the effect of mining. The results of the pumping test of the faults in the coal mine (q = 0.0033–0.0095L/s m, K = 0.0059–0.0121 m/day) show the faults in the study area with very weak water yield, poor water conductivity, or no water conductivity. It can be concluded that the high concentration of Cl in PR is due to the second reason.

Multivariate statistical analysis

SPSS software was used to standardize the analytical results of the 77 water samples, obtain the correlation coefficient matrix between each ion (Table 3), then calculate the eigenvalues and corresponding standard orthogonal eigenvectors, and finally calculate the principal component contribution rate and cumulative contribution rate (Table 4). As shown in Table 3, the correlation coefficient between Na+ and Cl is only 0.374, while that between Na+ and HCO3 is 0.665, which suggesting that the hydrochemical properties of groundwater are mainly controlled by ion exchange rather than the dissolution of halite and albite. The correlation coefficients of SO42− with Ca2+ and Mg2+ are 0.701 and 0.728, respectively, suggesting that the chemical composition of the groundwater is likely to depend on the dissolution of sulfate and carbonate minerals.

Table 3 Correlation matrix of ions in all samples
Table 4 Eigenvalues, contribution rate, and cumulative contribution rate of each principal component

The selection of principal components is based on Kaiser criterion (Cloutier et al. 2008), and the first two principal components (PCs) with cumulative contribution rate of 82.108% are selected. To minimize the number of variables with the highest load for each principal component and simplify the interpretation of the principal component, the maximum variance rotation method is used to rotate the first two principal component axes appropriately (Table 5). The load values of principal component 1 (PC 1) and principal component 2 (PC 2) are plotted in Fig. 4, and the contribution rate of PC 1 reaches 54.807%, which contains the main ions (Ca2+, Mg2+, and SO42−) of the Carboniferous aquifer. The PC 2 explains the variance of 27.300%, with high values of Na+ and HCO3, which represents the main ions in the Permian aquifer. Figure 5 shows the distribution of groundwater samples from three aquifers in two coal mines on the PC 1 and PC 2 axes. Meanwhile, groundwater samples from the same aquifer are divided into time periods by the depth of color (except NX and CX, because of the short time span and small quantity). The lighter points represent the earlier water samples in time. On the whole, the groundwater samples of the Neogene and Carboniferous aquifers are distributed on the axis of PC 1, while those of Permian aquifer are mainly distributed on the axis of PC 2. The values of the three aquifers in Xutuan coal mine are mostly negative, while those in Renlou coal mine are mostly positive, which suggests that the intensity of water–rock interaction in Renlou coal mine is stronger than that in Xutuan coal mine. For the Neogene aquifer samples, the two mines show negative values on the axis of PC 2. On the contrary, the samples from Xutuan coal mine are relatively concentrated on the axis of PC 1, while those from Renlou coal mine gradually shift to the right with the development of time, suggesting that the hydrochemical environment of NR is greatly affected by mining, while the NX is relatively stable.

Table 5 Variable load value of principal component, values above 0.80 are shown in bold
Fig. 4
figure 4

Load graph of conventional ions in the study area

Fig. 5
figure 5

Scatterplot of principal components values of groundwater samples in the study area. Different color depth is used to express the time sequence, and the lighter color means earlier time

For the Permian aquifer groundwater samples, the two coal mines are mainly distributed in the second and third quadrants. It can be clearly seen that with the progress of time, the hydrochemical environment of Permian aquifer in two mines has changed greatly, mainly because the original closed environment of the coal-bearing strata was broken with the advancement of mining. For the Carboniferous aquifer groundwater samples, most of the samples in the two coal mines show negative values on the axis of PC 2. In addition, the groundwater samples in Renlou coal mine show positive values and relatively concentrated on the axis of PC 1, while the groundwater samples in Xutuan coal mine show negative values. The distribution of groundwater samples is relatively concentrated, and the variation range with time is narrow, suggesting that mining has a little impact on the hydrochemical environment of the Carboniferous aquifer.

Hydrogeochemical processes

The reactants in the aquifer matrix that have the potential to influence groundwater quality in the study area are calcite, dolomite, gypsum, and some clay minerals (kaolinite, illite, and montmorillonite). The saturation index (SI) value of gypsum in two coal mines is less than 0, indicating that the groundwater could feasibly dissolve gypsum (Table 1). The SI values of calcite and dolomite ranged from − 0.37 to 1.35 and − 1.08 to 2.53 in NR, from − 1.67 to 0.8 and − 2.31 to 1.7 in NX, from − 0.52 to 1.19 and 0.47–2.44 in PR, from − 1.13 to 1.61 and − 2.33 to 2.48 in PX, from 0.23 to 1.15 and 0.38 to 2.2 in CR, and from − 1.69 to − 0.98 and − 2.23 to − 1.86 in CX, respectively, and were not correlated with TDS (Fig. 6). Meanwhile, the SIGypsum in three aquifers of two coal mines is not correlated with TDS, and Fig. 7 shows that the correlation coefficients (R2) between Ca2+ and SIGypsum, SO42− and SIGypsum are 0.85 and 0.76. This means that gypsum can continue to dissolve along the flow path, but the calcium produced by dissolution is not the main reason for the precipitation of calcite and dolomite in groundwater. There are other sources of calcium, which may be a reverse ion-exchange process. Moreover, the concentrations of Ca2+, Mg2+, and HCO3 were not correlated with SICalcite (Fig. 8a) and SIDolomite (Fig. 8b), indicating that the calcite and dolomite stopped dissolving along the flow path.

Fig. 6
figure 6

TDS and saturation index for a: NR, NX, CR, and CX, and b PR and PX. NR, NX, PR, PX, CR, and CX represent the Neogene aquifer, the Permian aquifer, and the Carboniferous aquifer in the Renlou coal mine and the Xutuan coal mine, respectively

Fig. 7
figure 7

Relation diagram of SIGypsum and ion concentration. NR, NX, PR, PX, CR, and CX represent the Neogene aquifer, the Permian aquifer, and the Carboniferous aquifer in the Renlou coal mine and the Xutuan coal mine, respectively

Fig. 8
figure 8

Relation diagram of a SICalcite, b SIDolomite, and ion concentration. NR, NX, PR, PX, CR, and CX represent the Neogene aquifer, the Permian aquifer, and the Carboniferous aquifer in the Renlou coal mine and the Xutuan coal mine, respectively

If Na+ and Cl were only come from the dissolution of halite, the molar ratio of Na+/Cl should be 1 (Edmunds et al. 2002). Figure 9 shows that all samples from the Xutuan coal mine are below the 1:1 line, and the Permian samples from the Renlou coal mine are also below the 1:1 line. Nevertheless, the Neogene and Carboniferous samples from the Renlou coal mine are all above the 1:1 line except for 6 samples that are distributed below the 1:1 line. The distribution characteristics of Na+ and Cl suggest that ion exchange is the main water–rock interaction process in the three aquifers of Xutuan coal mine and Permian aquifer of Renlou coal mine, while there may be reverse ion exchange (Ettazarini 2005; Rajmohan and Elango 2004) in the Neogene and Carboniferous aquifers of Renlou coal mine, i.e., the concentrations of Ca2+ and Mg2+ increases.

Fig. 9
figure 9

Na+ and Cl concentration

As shown in Fig. 10, the groundwater samples in the upper left quadrant include most from the Carboniferous aquifer and some from the Neogene aquifer, and the Permian groundwater samples are mainly concentrated in the lower right quadrant. This further supports the view that ion exchange is the dominant hydrochemical process in the Permian aquifer (Garcia et al. 2001). Compared with SO42− and HCO3, Ca2+ and Mg2+ in Permian aquifer from two coal mines are insufficient (Fig. 11). Meanwhile, due to the likelihood that the dissolution rate of calcite is faster than that of dolomite, it is presumed that Ca2+ is the main cation participating in ion exchange (Eq. (1)). Schoeller (1965) suggested that by studying the chloro-alkali indices (Eqs. (2), (3)), the ion exchange between groundwater and the host environment during the occurrence or migration can be understood; when the indices are negative, which means that Ca2+ and/or Mg2+ have been removed from the solution and Na+ and/or K+ have replaced them. Whereas, positive values indicate that reverse reactions take place. After calculation of both samples in two coal mines using Schoeller indices, the values of CAI-I and CAI-II indicate the same results as previously stated (Table 1):

$${\text{2Na}}^{ + } \left( {{\text{rock}}} \right) \, + {\text{ Ca}}^{{{2} + }} \left( {{\text{water}}} \right) \, = {\text{ Ca}}^{{{2} + }} \left( {{\text{rock}}} \right) \, + {\text{ 2Na}}^{ + } \left( {{\text{water}}} \right)$$
(1)
$${\text{CAI-I}}\, = \, \left[ {{\text{Cl}}^{ - } - \left( {{\text{Na}}^{ + } + {\text{Cl}}^{ - } } \right)} \right] \, /{\text{ Cl}}^{ - }$$
(2)
$${\text{CAI-II}}\, = \, \left[ {{\text{Cl}}^{ - } - \left( {{\text{Na}}^{ + } + {\text{Cl}}^{ - } } \right)} \right] \, / \, \left( {{\text{HCO}}_{{3}}^{ - } + {\text{SO}}_{{4}}^{{{2} - }} + {\text{CO}}_{{3}}^{{{2} - }} + {\text{NO}}_{{3}}^{ - } } \right).$$
(3)
Fig. 10
figure 10

Na+–Cl and Ca2+ + Mg2+–SO42−–HCO3 concentration

Fig. 11
figure 11

Ca2+ + Mg2+ and SO42− + HCO3 concentration

If Ca2+ and SO42− were derived solely from dissolution of gypsum, the molar ratio of [Ca2+]/[SO42−] would be 1 according to Eq. (4). As shown in Fig. 12, the Neogene groundwater samples are distributed on both sides of the 1:1 line, the Permian groundwater samples are mostly on the upper part of the 1:1 line, showing the characteristics of low Ca2+ concentration, while the Carboniferous water samples are mostly on the lower part of the line, suggesting that ion exchange was the dominant process in the Xutuan coal mine and PR, and there may be reverse ion exchange in NR and CR:

$${\text{CaSO}}_{{4}} \cdot{\text{2H}}_{{2}} {\text{O }} = {\text{ Ca}}^{{{2} + }} + {\text{ SO}}_{{4}}^{{{2} - }} + {\text{ 2H}}_{{2}} {\text{O}}{.}$$
(4)
Fig. 12
figure 12

Ca2+ and SO42− concentration

According to Eq. (5), if Ca2+ and HCO3 in groundwater hydrogeochemistry are only obtained from calcite dissolution, the molar ratio of [HCO3]/[Ca2+] should be 2. By contrast, if the dissolution of dolomite was the main source of Ca2+ and HCO3 in groundwater, the molar ratio of [HCO3]/[Ca2+] should be 4 according to Eq. (6) (Edmunds et al. 1982). As shown in Fig. 13, the distribution of groundwater samples can be divided into three areas: under the 1:2 line, between the 1:2 and 1:4 line, and above the 1:4 line. The samples from PR and PX were all distributed above the 1:4 line, which suggests that strong ion exchange exists in the Permian aquifer. The middle part is the transition zone, which represents the dissolution of dolomite and calcite. The zone under the 1:2 line, represents the surplus of Ca2+, includes most of the groundwater samples from the NR and the CR. According to the distribution characteristics of Ca2+ and HCO3, the correlation between Ca2+ and HCO3 in groundwater samples of the Renlou and Xutuan coal mines is not obvious, and the values of SICalcite and SIDolomite are mostly greater than 0, suggesting that the dissolution of calcite and dolomite is not the most important source of Ca2+. As shown in Fig. 14, the dissolution rate of calcite is faster than that of dolomite. This means that dolomite can dissolve under some conditions. However, most of the water samples from NR and CR plot below the 1:2 line, suggesting that Ca2+ and Mg2+ will inevitably have other sources, such as reverse ion exchange:

$${\text{CaCO}}_{{3}} + {\text{ CO}}_{{2}} \left( {\text{g}} \right) \, + {\text{ H}}_{{2}} {\text{O }} = {\text{ Ca}}^{{{2} + }} + {\text{ 2HCO}}_{{3}}^{ - }$$
(5)
$${\text{CaMg }}\left( {{\text{CO}}_{{3}} } \right)_{{2}} + {\text{ 2CO}}_{{2}} + {\text{2H}}_{{2}} {\text{O }} = {\text{ Ca}}^{{{2} + }} + {\text{ Mg}}^{{{2} + }} + {\text{ 4HCO}}_{{3}}^{ - } .$$
(6)
Fig. 13
figure 13

Ca2+ and HCO3 concentration

Fig. 14
figure 14

Ca2+ + Mg2+ and HCO3 concentration

Conceptual model

As far as Huaibei coalfield is concerned, the Permian aquifer has been the main source of water-inrush since coal production commenced. To ensure mining safety from inrush events, coal mines usually pump the groundwater from the Permian aquifer continuously. The Neogene aquifer is located above the Permian aquifer, which is an important recharge source for shallow coal seam mining. Due to the existence of the third aquiclude, there is no direct connection between the Neogene aquifer and the atmospheric precipitation, and recharge to this aquifer is mainly supplied by the regional groundwater throughflow. A large area of coal mine drainage will lead to the decline of the water level of the Neogene aquifer (Fig. 15, water-table data were collected on December 31st of every year). It can be clearly seen that the water level of the Neogene aquifer gradually decreases with the year. NX and NR decreased from − 37.5 m and − 47.5 m in 2004 to − 78.3 m and − 99.5 m above sea level in 2017, respectively. Meanwhile, the water-level difference between NX and NR is basically maintained at 15 m, which provides hydrodynamic conditions for NX to replenish NR. The evolutionary mechanism of groundwater quality and flow can be described by the conceptual model in Fig. 16.

Fig. 15
figure 15

Variation of water-level elevation of the Neogene aquifer with time in the study area. NR and NX represent the Neogene aquifer in the Renlou coal mine and the Xutuan coal mine, respectively

Fig. 16
figure 16

Conceptual model of the study area

The Neogene aquifer is an unconsolidated and confined aquifer, and the continuous water-level drop leads to the compaction of aquifer sediments, which may cause a change of hydrogeochemical environment. The change of NX hydrochemical type from Cl–HCO3·Na–Ca to Cl–HCO3·Na along the groundwater flow path is mainly due to cation exchange. By contrast, when the Neogene aquifer groundwater reaches the Renlou coal mine, reverse ion exchange occurs, resulting in the increase of Ca2+ concentration. Through rock fractures, this kind of groundwater with high Ca2+ concentration recharges the Permian aquifer and allows ion exchange between Na+ and Ca2+ to occur. Furthermore, mining may produce more fractures, which increases the hydraulic connection between the two aquifers. Moreover, compared with the Xutuan coal mine, the Renlou coal mine has a longer production time and a greater impact on the hydrogeochemical environment of the aquifer. All these reasons will make the ion exchange of PR more intense than that of PX.

The Carboniferous aquifer has a hydraulic connection with the Neogene aquifer in the shallow area, and the concentrations of Cl, SO42−, Ca2+, and Mg2+ increase in the direction of groundwater flow. In the absence of water-conducting faults or collapse columns, the influence of mining on the hydrogeochemical environment of Carboniferous aquifer is not significant.

Inverse modeling with PHREEQC

Inverse modeling was used in this study to support the conceptual model that was outlined above. The inverse model was developed using the geochemical software package PHREEQC (Parkhurst and Appelo 1999), assuming that the reaction phases mainly include: CaX2, NaX, MgX2, CO2 (g), calcite, dolomite, gypsum, and halite. Meanwhile, it was mentioned that the groundwater in the Permian aquifer is dominated by static reserves, so the reaction path chooses the Neogene and Carboniferous aquifers, which are line 1 and line 2, respectively (Fig. 1).

Line 1 (Neogene aquifer)

Two water samples (no. 13 and no. 5 in Table 1, and the location is shown in Fig. 1) on the groundwater flow path were selected as the starting point and the end point. After calculation, PHREEQC found two different potential models that can be adapted to model the process and the results are shown in Table 6. In model A, calcite dissolves and releases calcium, but the amount is much smaller than CaX2. Meanwhile, in model B, dolomite dissolves and releases calcium, while calcite precipitates and adsorbs calcium, and the molar transfer of CaX2 is about 4.1 × 10–3 mol/L. It can be confirmed that the calcium produced by the dissolution of gypsum is not the direct cause of the precipitation of calcite and dolomite. It is worth noting that the gypsum continued to dissolve and transferred a total of about 1.1 × 10–3 mol/L, which would cause the SO42− concentration in Renlou water samples to be generally higher than Xutuan. The ion-exchange process evolving with calcium and sodium in two models illustrates that sodium is being adsorbed with negative values, while CaX2 is dissolving to release calcium ions, which confirms the existence of the reverse ion-exchange process. In addition, the halite in both models has a relatively large amount of dissolution, indicating that Cl continues to accumulate along the groundwater flow path.

Table 6 Calculated results of inverse modeling on line 1 (units in mol/L)

Line 2 (Carboniferous aquifer)

The water chemistry of the two points (no. 77 and no. 70 in Table 1, and the location is shown in Fig. 1) was assigned in the inverse modeling and the results can be found in Table 7. It can be clearly seen that calcite has precipitated, but the dissolution of dolomite and gypsum produces a large amount of calcium, and CaX2 also releases calcium with a positive value, resulting in high concentrations of Ca2+ and SO42− in CR. The results of the ion-exchange process in the reverse model are similar to those of the Neogene aquifer, which also indicates the existence of reverse ion exchange.

Table 7 Calculated results of inverse modeling on line 2 (units in mol/L)

Conclusions

This study investigated the hydrogeochemical evolution and migration chemical constituents in the main aquifers at Xutuan and Renlou coal mines in the Anhui Province of China. This was done by means of multivariate statistics, chemical analysis, and inverse modeling. The following conclusions can be summarized from the results of these investigations.

  1. 1.

    The chemical compositions of the three main aquifers in Xutuan and Renlou coal mines were determined using a Piper diagram. These were found to be: Cl–HCO3·Na, Cl–HCO3·Na–Ca, Cl·Na, and Cl·Na–Ca in the Neogene aquifer, HCO3·Na, HCO3–Cl·Na, Cl–HCO3·Na, and Cl·Na in the Permian aquifer, and Cl·Na–Ca, Cl–SO4·Ca, and Cl–SO4·Ca–Mg in the Carboniferous aquifer. The concentrations of ions in groundwater of the three main aquifers are not only influenced by the dissolution and precipitation of related minerals, but also by the groundwater flow path and the effects of mining on changing the level of interaction between the aquifers.

  2. 2.

    The results of PCA show that the dominant water–rock processes of three aquifers in two coal mines are likely to be the dissolution of dolomite, calcite, and gypsum, cation exchange, and desulfurization. The PC 1 axis contains groundwater samples from Neogene and Carboniferous aquifers, while the samples from Permian aquifer are mainly distributed on the axis of PC 2. Meanwhile, the distribution of groundwater samples indicates that the intensity of water–rock interaction in Renlou coal mine is stronger than that in Xutuan coal mine.

  3. 3.

    Through the ion analysis of groundwater samples, it is concluded that the ion exchange is the dominant water–rock process in NX, PX, CX, and PR, while that of NR and CR is the dominated by reverse ion exchange. Large-scale coal mining will lead to the decline of groundwater level and the destruction of rock strata, and potentially causing a change in hydrogeochemistry. The groundwater flow path and water–rock interactions lead to the difference of ion concentration in groundwater, which provides suitable conditions for ion exchange to take place.

  4. 4.

    The inverse modeling of Neogene and Carboniferous aquifer lines by PHREEQC successfully verified the previous results. In addition to the Ca2+ produced by the dissolution of gypsum and carbonate, there is also reverse ion exchange in the aquifer to release Ca2+.