Paleoenvironment and organic matter enrichment of the Carboniferous volcanic-related source rocks in the Malang Sag, Santanghu Basin, NW China

Volcanic activity was quite frequent during the deposition of the Late Carboniferous Ha’erjiawu Formation in the Santanghu Basin. The petrology and organic and inorganic geochemical indicators were used to investigate hydrocarbon potential, paleoenvironmental conditions and organic matter enrichment of the mudstones. The results show that the oil generation capacity of the Ha’erjiawu Formation mudstones, which has abundant oil-prone organic matter (Type II kerogen with hydrogen index values mainly ranging from 250 to 550 mg HC/g TOC) in mature stage (Tmax values mainly ranging from 435 to 450 °C), is considerable. The Ha’erjiawu Formation was deposited in a dysoxic, freshwater-mildly brackish, and warm-humid environment. During its deposition, the Ha’erjiawu Formation received hydrothermal inputs. The volcanic hydrothermal activities played an important role in the organic matter enrichment. In addition, the total organic carbon (TOC) is significantly positively correlated with the felsic mineral content, but it is negatively correlated with the carbonate mineral content and C27/C29 ratios, indicating that terrigenous organic matter input also contributed to the primary productivity in the surface water. Therefore, the formation of the high-quality source rocks in the Ha’erjiawu Formation was jointly affected by the hydrothermal activity and the terrigenous organic matter input.


Introduction
High-quality source rocks are generally characterized by high organic matter abundance and stable distribution, and they are also the material basis for the formation of largeand medium-sized oilfields (Magoon and Dow 1991;Qin 2015;Xiao et al. 2015;Li et al. 2017;Ghassal et al. 2018;Zhang et al. 2018). The development of high-quality source rocks is controlled by a variety of factors. The preservation conditions that favor the formation of high-quality source rocks mainly include an anoxic water column caused by geographical isolation, variations in the paleowater depth, or biological activity (Demaison and Moore 1980;Katz 1990). However, the paleoproductivity model mainly includes that the enrichment of organic matter due to high primary productivity in the surface water. As long as the paleoproductivity is high, even if the sedimentary water column is oxic, high-quality source rocks will develop under these conditions (Meyers and Arnaboldi 2005). The paleoproductivity of water columns mainly involves the contribution of lower aquatic organisms, terrigenous organic matter and hydrothermal activity in the water column. However, volcanic hydrothermally influenced organic matter accumulation has been highlighted during recent years. The formation of organic-rich rocks associated with hydrothermal activity has been reported in non-marine basins in China, especially the Lucaogou Formation in Santanghu Basin (Zhang et al. 2018) and the Fengcheng and Lucaogou Formations in the Junggar Basin in northern and eastern parts of Xinjiang (Cao et al. 2015). Most scholars believe that volcanic eruption and volcanic ash promote algae/bacteria blooms, and volcanic eruption are accompanied by a large number of nutrient elements and the release of trace metals, which promote the primary productivity of the water column. This would cause organic matter enrichment in the sedimentary water column. Under the background of a volcanic eruption, the development of organic-rich mudstones can be divided into two stages: in the first stage, a large amount of volcanic matters falls into the water column in the early period of the volcanic eruption, resulting in the extinction of organisms. A large amount of hydrocarbon-generating parent material is rapidly accumulated and preserved, forming organic-rich mudstone, such as those in the Yincheng Formation in the Songliao Basin (Shan et al. 2013). The second stage is the late period of the volcanic eruption (the volcanic intermission), the volcanic ash in the atmosphere continues to fall into the water columns, resulting in a large bloom of algae and an increase in the primary productivity, such as in the Lucaogou Formation in the Santanghu Basin (Zhang et al. 2018) and the Fengcheng Formation and Lucaogou Formation in the Junggar Basin (Cao et al. 2015). The organic and inorganic geochemical characteristics of rocks can be used to evaluate the paleoproductivity of the water column (Ren et al. 2005;Kryc et al. 2003). The preservation conditions mainly include redox, acidity and salinity (Kendall et al. 2012). In addition, the lithology, mineral assemblage, and sedimentary facies indirectly reflect the preservation conditions of the organic matter (Zhang et al. 2018).
The commercial oil and gas obtained from many wells in the Ha'erjiawu Formation and its overlying strata (such as the Kalagang Formation) have been shown to be derived from the Ha'erjiawu Formation, the distribution range of which has an important effect on the hydrocarbon accumulation of Carboniferous volcanic rocks Huang et al. 2012). During the deposition of the Late Carboniferous Ha'erjiawu Formation, multi-period tectonic movements and volcanic filling occurred . In such a complex structural and sedimentary background, thicker source rocks with a maximum organic matter abundance (total organic carbon; TOC) of 33% (average of 9%) were deposited in the Ha'erjiawu Formation (Li et al. 2018). It is well known that the development of high-quality source rocks is controlled by the paleoenvironment, such as paleoclimate, paleowater depth, redox conditions and paleosalinity. Semi-deep water to deep water environments characterized by dysoxicanoxic, high salinity and warm-humid conditions are suitable for the development of organic-rich rocks (Zhang et al. 2018), whereas areas with strong tectonic movements and frequent volcanic activity are generally not suitable for the development of organic-rich rocks. Therefore, the factors controlling the high organic abundance of the source rocks in the Ha'erjiawu Formation still remain unclear. Moreover, there is a lack of detailed research on the relationship between their organic matter enrichment and sedimentary environment. Due to the limited drilling data, the sedimentary environment of the Ha'erjiawu Formation was mainly investigated from the geotectonic perspective. The results obtained from such studies are not always consistent. Wu et al. (2008) suggested that the Santanghu Basin was in an epicontinental sea-lagoon environment during the Late Carboniferous, while Wang et al. (2013a, b) suggested a lacustrine environment for the Santanghu Basin in the Late Carboniferous. In recent years, with the increasing amount of drilling data, Liu et al. (2011) determined the paleosalinity of the Ha'erjiawu Formation and reported that freshwaterbrackish conditions prevailed during the deposition of the Ha'erjiawu Formation in the Santanghu Basin. However, the variations in the redox conditions, the paleoproductivity, and their effects on the organic matter enrichment were not comprehensively analyzed. Based on the results of previous studies and the regional tectonic setting, in this study, the paleoenvironment of the Carboniferous Ha'erjiawu Formation was reconstructed using the petrology, organic and inorganic geochemical indicators, and the relationship between the trace element ratios and the organic matter contents. Finally, we determined the main factors controlling the organic matter enrichment, which improve our understanding of the distribution of the high-quality source rocks in the Ha'erjiawu Formation. These results can also expand the new areas of deep oil and gas exploration in the Santanghu Basin.

Geological setting
The Santanghu Basin is located in the northeastern part of Xinjiang. Tectonically, it belongs to the suture zone of the Siberian Plate and the Kazakhstan Plate. The basin is rich in oil and gas resources and contains various reservoir types (Zhao et al. 2003). During the Middle Devonian-Late Devonian, the northward subduction of the Kalamaili oceanic crust of the Junggar Ocean formed a ditch-arc-basin system with active continental margins in the Santanghu area (Hu et al. 2020). The main body of the Santanghu area was an island arc environment. In the Late Devonian-Carboniferous, because of the subduction of the Kalamaili oceanic crust, the Junggar Block collided with Karamali on the southern edge of the Siberia Plate, and the oceanic crust disappeared, forming a residual basin with a small amount of seawater in the Santanghu area. A set of volcanic lava, volcanic clastic rocks and normal clastic rocks were deposited in this area. After this, due to the collisional orogeny, the seawater gradually retreated from the Santanghu area (Hu 1997;Wu 1 3 et al. 2008). In addition, Lin et al. (1997) suggested that in the late Carboniferous, the Santanghu area had an island arc environment in the post-plate collision stage, and there were large-scale volcanic eruptions and magma intrusions. Furthermore, the area of the Junggar Ocean decreased, and the residual seawater only existed in the southern part of the Santanghu area. Therefore, the Ha'erjiawu Formation may have residual seawaters between the closing of the ocean basin in the Early Carboniferous and a post-collisional, intracontinental, extensional setting in the Early Permian (Fig. 1). The basin can be divided into three first-order structural units: the northern uplift belt, the central depression and the southern thrust belt. The central depression belt can be divided into four bulges and five sags. The Malang sag is the main research area of this study (Fig. 2a). The basin experienced many tectonic movements, and the internal faults in the depressions are very well developed (Zhao et al. 2003). The main faults are northwest-southeast trending, and the secondary faults are northeast-southwest trending. Seven tertiary structures are present in the study area: The Mabei structure, the Niujuanhu structure, the Niudong structure, the Mazhong structure, the Madong structure, the Heidun structure and the Chaha structure (Sun et al. 2001;Lu et al. 2012) (Fig. 2b).
From bottom to top, the Carboniferous strata in the Malang Sag includes the Lower Carboniferous Jiangbastao Formation (C 2 j), the Upper Carboniferous Batamayi Neishan Formation (C 2 b), the Ha'erjiawu Formation (C 2 h) and Kalagang Formation (C 2 k) (Fig. 2c). The Jiangbastao Formation is a set of marine sediments. Its lithology is characterized by gray-black mudstone and gray sandstone. The Batamayi Neishan Formation is dominated by intermediated-mafic volcanic rocks (Hu 1997). During the deposition of the Ha'erjiawu Formation, the basin was in a compressional environment and experienced frequent volcanic activity. A set of volcanic rocks intercalated with mudstones, oil shales and tuff mudstones were developed in the basin during the intermission of volcanic eruption. The Kalagang Formation contains intermediate-mafic volcanic rocks intercalated with thin layers of volcanic clastic rocks and clastic rocks (Liu et al. 2009

Analytical methods
The above samples were subjected to the whole-rock X-ray diffraction (XRD) (29), scanning electron microscopy with energy-dispersive X-ray spectroscopy ( The structural unit of the Malang Sag M a l a n g S a g T i a o h u S a g S hi to um ei U pl ift F a n g l i a n g U p l i f t H a n s h u iq u a n S a g Naomaohu Sag

X-ray diffraction (XRD)
XRD was applied to determine the mineral composition of the samples. The powder samples (≤ 200 mesh) were analyzed by a Bruker D2 PHASER X-ray diffractometer with Cu-Kα radiation. The testing standard was based on SY/T 5163-2010. The analytical conditions for the XRD were as follows: Cu-Kα radiation, tube voltage with 30 kV, tube current with 10 mA, 0.6 mm emission slit and 8 mm receiving slit, whole-rock random-powder patterns recorded from 4.5° to 50° 2θ. The experiment is conducted at the State Key Laboratory of Petroleum Resource and Prospecting, China University of Petroleum (Beijing).

Microscopic observation
The thin sections observation was carried out on a Leica DM4500P microscope. The SEM observation could recognize minor minerals by electron spectroscopy. In this study, a scanning electron microscope (FEI Quanta 200 F) equipped with an energy-dispersive X-ray spectrometer was used to identify the occurrence of minor minerals in the samples. The testing conditions were as follows: resolution < 1.2 nm, beam voltage 200 V-30 kV, and high vacuum scanning mode. SEM-EDS was conducted at the State Key Laboratory of Oil and Gas Resource and Exploration-Laboratory Completion of Energy Materials Microstructure, China University of Petroleum (Beijing).

Trace elements analysis
As for the trace elements analysis, the powder samples were acid-digested following a two-step digestion (HNO 3 -HNO 3 : HF: HClO 4 ) method to retain volatile elements in solution. Then, the trace element contents were analyzed by inductively coupled plasma mass spectrometer (ICP-MS) with

Total organic carbon and Rock-Eval pyrolysis
As for the analysis of TOC, the powder samples (< 80 mush) were dealt with diluted HCl to remove the inorganic carbon following Chinese national standard (GB/T 19145-2003). Then, drying samples were analyzed by a LECO CS-230 elemental analyzer. Rock-Eval Pyrolysis was performed on a Rock-Eval OGE-II analyzer. The powder samples were heated at a programmed rate to obtain S 1 (free hydrocarbon), S 2 (pyrolysis hydrocarbon) and T max (the peak temperature of S 2 ). The experiments are also conducted at State Key Laboratory of Petroleum Resource and Prospecting, China University of Petroleum (Beijing).

Organic geochemistry (biomarker analysis)
The powder samples were extracted with dichloromethane and methanol (97:3, v/v) for 72 h, and then extracted organic matter (EOM) was separated into saturated hydrocarbons, aromatic hydrocarbons, non-hydrocarbon and asphaltene by column chromatography method, and the saturated hydrocarbon was analyzed on GC-MS. GC-MS analysis was performed on an Agilent 7890-5975c gas chromatographmass spectrometer with an HP-5MS elastic silica capillary column (60 m × 0.25 mm × 0.25 μm). The gas was boosted at a rate of 1 mL/min. The testing standard was based on GB/T 18606-2001. The experiment is also finished in the State Key Laboratory of Petroleum Resource and Prospecting, China University of Petroleum (Beijing).

Mineralogy and lithology
According to the core observations and thin section identification of the organic-rich rocks in the Carboniferous Ha'erjiawu Formation. The organic-rich rocks are mainly dark gray-black with a small number of animal and plant fossils, partially developed horizontal bedding and thin tuff layers ( Fig. 3a, b, c, d). Laminated structure, volcanic materials and fractures were observed under a polarized light microscope (Fig. 3e, f). In addition, the scanning electron microscopy (SEM) observations revealed pyrite framboids of various sizes and various forms of organic matter (Fig. 3g, h, i), indicating that the organic-rich rocks of the Ha'erjiawu Formation were deposited in a complex and variable sedimentary environment.  The X-ray diffraction (XRD) results are presented in Table 1. The organic-rich rocks of the Ha'erjiawu Formation mainly include clay minerals (avg. 29.5%), quartz (avg. 36.7%), feldspar (avg. 23.6%), carbonate (5%) and pyrite (2.9%), and the average content of analcime and laumontite < 2%. The mineralogy-based classification method can be used to effectively discriminate between organic-rich rock types. Based on the XRD data, the ternary mineral diagram classification method proposed by Gamero-Diaz et al. (2013) was used to classify the shale mineral facies. As shown in Fig. 4, the samples mainly plot within five regions, indicating that the organic-rich rocks of the Ha'erjiawu Formation in different wells vary significantly. These sub-classes include silica-dominated mudstone, clay-rich siliceous mudstone, carbonate-rich siliceous mudstone, silica-rich argillaceous mudstone and argillaceous/siliceous mudstone, suggesting that the organic-rich rocks of the Ha'erjiawu Formation are dominated by terrigenous clastic minerals with low carbonate content.

Trace elements
The composition of trace elements in sedimentary rocks is sensitive to hydrologic changes of environment and can

TOC content and Rock-Eval pyrolysis
The total organic carbon (TOC) and Rock-Eval pyrolysis parameters are important indicators for evaluating the abundance of organic matter in source rocks (Peters 1986). The results of total organic carbon and rock pyrolysis of the samples are shown in Table 3

Table 2
The trace elements contents (ppm) and element ratios of the samples 33.62%, with an average of 9.42%, reflecting high organic abundance. S 1 (free hydrocarbons) values range from 0.35 to 16.2 mg HC/g rock, with an average of 3.41 mg HC/g rock, S 2 (pyrolysis hydrocarbon) and hydrocarbon generation potential (S 1 + S 2 ) between 1.5 and 158.6 mg HC/g rock and 1.9-161.10 mg HC/g rock with an average of 27.93 mg HC/g rock and 31.38 mg HC/g rock. Based on the terminology of Peters (1986), the mudstone of the Ha'erjiawu Formation holds good source rock potential (Fig. 6a). The hydrogen index (HI) values are between 32.92 and 737.83 mg HC/g TOC, and the average is 282.21 mg HC/g TOC. This reflects that the source rocks of the Ha'erjiawu Formation have great hydrocarbon generation potential. The T max values are an index for evaluating the maturity of source rocks and mainly vary from 435 to 486 °C, with an average of 447 °C. S 1 / TOC values vary between 8.22 and 228.35 mg HC/g TOC, with an average of 40.52 mg HC/g TOC, reflecting that all source rock samples are generally mature with abundant oil content. The cross plot of HI versus T max shows that most of sample points plotted within the kerogen regions of types II 1 and II 2 (Fig. 6b).

n-Alkanes and isoprenoids
The distribution pattern of the n-alkanes in the source rocks of the Ha'erjiawu Formation is predominantly bimodal, and the main carbon peaks are at nC 19 -nC 23 and nC 30 -nC 33 (Fig. 7a). These results are consistent with a mixed source of higher plants and lower aquatic plants (Collister et al. 2007). The acyclic isoprenoids pristane (Pr) and phytane (Ph) were detected in all of the samples (Fig. 7a, Table 4). Pr/Ph ratios of < 1.0 indicate anoxic conditions during early diagenesis, values between 1.0 and 3.0 suggest dysoxic environments, and ratios higher than 3.0 reflect oxic conditions (Didyk et al. 1978;Goossens et al. 1984). However, the Pr/Ph ratio is also affected by maturation (Tissot and Welte 1980). The influence of the different rank on Pr/Ph ratios in the rocks in this study can be ruled out, since no depth-related increase in T max values was observed (Table 3). In the study, the Pr/ Ph values mainly range from 1.24 to 2.68, with an average of 1.81 (Table 4). Pr/n-C 17 values vary from 0.12 to 1.03, with the average of 0.44, Ph/n-C 18 values range from 0.08 to 0.47, with an average of 0.22 (Table 4).

Steroids and hopanoids
Based on the monitoring mass chromatograms (m/z 217), the distribution of the steranes in all of the samples has similar characteristics. The relative proportions of the C 29 steranes are highest (21-54%), followed by the C 28 (22-40%), and the C 27 steranes (17-37%; Fig. 7c; Table 4).
C 28 sterols were used as markers for diatomaceous organic matter in Cenozoic sediments (Mackenzie et al. 1982). However, C 28 sterols have been commonly found in green algae and higher plants (Volkman and Maxwell 1986), and the pronounced increase in the C 28 sterane content in pre-Cenozoic strata is ascribed to the elevated abundance of diatom and green algae (Jia et al. 2012). C 27 steranes are typical in zooplankton and red algae, and C 29 steranes occur in higher plants and some strains of brown and green algae (Huang and Meinschein 1979). As shown in Table 4, the relative proportions of C 28 steranes of some samples are higher than those of C 28 steranes, C 28 /C 27 ratios range from 0.63 to 2.35, with an average of 1.12. C 29 /C 27 ratios range from 0.92 to 2.52, with the average of 1.82, and most of which > 1.5. The predominance of C 29 steranes in the Ha'erjiawu Formation shale, which was probably derived from sitosterol or stigmasterol (Gomes et al. 2007), is consistent with the dominant origin of organic matter from land higher plants (Canuel et al. 1997). The maturity of the source rocks can be indirectly determined by the 20S/(20S + 20R) isomerization ratio of C 29 steranes and aββ/(ααα + αββ) isomerization ratio of C 29 steranes. As shown in Table 4, the average 20S/ (20S + 20R) isomerization ratio of C 29 steranes is 0.42. The average aββ/(ααα + αββ) isomerization ratio of C 29 steranes was 0.38.
Tricyclic terpanes are derived from bacteria or algae (Simoneit et al. 1990;Peters and Moldowan 1993), which generally have low to moderate contents in the extractable organic matter. As shown in Table 4, tri-/pentacyclic ratios are 0.07-0.52, with an average of 0.18. Generally, in the larger abundance of tricyclic terpanes relative to pentacyclic terpanes (such as hopanes) is related to increasing salinity in water columns (Mello et al. 1988). High contents of gammacerane are generally associated with organic matter deposition in a brackish-saline environment with obvious water stratification (Peters and Moldowan 1993; Schoell   Table 4 and Fig. 7b, the gammacerane indexes vary between 0.01 and 0.35, with an average of 0.08. There is a slightly positive correlation between gammacerane index and the tricyclic terpanes/pentacyclic terpanes ratio (Fig. 8).

Thermal maturity and organic matter source
The vitrinite reflectance (R o ) values mainly range from 0.63 to 0.90%, indicating that the organic matter is mature (Table 3). T max measured values (420-480 °C, average of 449 °C) also support oil window maturity, but a small    (Zhang et al. 2006a). Furthermore, the oil window maturity is confirmed by the C 29 ααα 20S/(20S +20R) and C 29 αββ/(αββ +ααα) sterane values, most of which fall within the maturity zone (Fig. 9). In summary, the data indicate that the Ha'erjiawu Formation has reached the mature stage, consistent with the data provided by Wang et al. (2013a, b). The Pr/n-C 17 and Ph/n-C 18 ratios also indicate mixed organic matter deposited in a dysoxic environment (Fig. 12b). The distribution pattern of the carbon numbers for ααα 20R steranes (C 29 > C 27 > C 28 ) indicates a mixed contribution of plankton/algal and terrigenous organic matter. The result is supported by the C 27 -C 28 -C 29 regular sterane ternary plot (Fig. 10), and the high C 28 /C 27 regular sterane ratios of some samples indicate diatoms and dinoflagellates mainly contribute to the C 28 sterane. This is consistent with the interpretation on high content of C 28 steranes from the tuffaceous mudstone of the Permian source rocks in the Junggar Basin (Liu et al. 2017).

Paleoenvironmental conditions
Redox conditions of a water column are important indicators for investigating sedimentary environments. Previous studies have shown that some geochemical indicators, such as V/Cr, Ni/Co, V/(V + Ni), and Pr/Ph, are useful indicators of the water redox conditions (Hatch and Leventhal 1992;Jones and Manning 1994;Song et al. 2017). Jones and Manning (1994) suggested that V/Cr ratios of < 2, 2-4.25, and > 4.25 correspond to oxic, dysoxic, and suboxic to anoxic conditions, respectively. They also suggested that Ni/Co ratios of < 5, 5-7, and > 7 correspond to oxic, dysoxic, and anoxic conditions, respectively. According to Hatch and Leventhal (1992), V/(V + Ni) ratios of 0.46-0.60 reflect dysoxic conditions, ratios of 0.54-0.82 reflect anoxic conditions, and ratios of > 0.84 represent euxinic conditions. The source rock samples analyzed in this study have V/Cr ratios ranging from 0.78 to 18.5, with an average of 9.23, and V/(V + Ni) ratios ranging from 0.69 to 0.95, with an average of 0.88 (Table 2, Fig. 11a), which consistently suggests dysoxicanoxic sedimentary environments for the Ha'erjiawu Formation. The Pr/Ph ratios range from 1.2 to 2.7, with an average of 1.8. More than 58% of the samples have Pr/Ph ratios of 1-2 (Fig. 12a), suggesting dysoxic conditions. In addition, the Pr/nC 17 versus Ph/nC 18 plot further suggests a mixed organic matter source and weak oxidizing conditions (Fig. 12b). However, the Ni/Co ratios are < 5.0, with an average of 2.04 (Fig. 11b), suggesting an oxic depositional environment, which is contrary to the development of the thick, high rganic matter abundance dark mudstone and pyrite framboids in the Ha'erjiawu Formation (Fig. 3g-h). It is generally believed that in the anoxic-euxinic environment, the growth rate of pyrite framboids is slower that of pyrite in a dysoxic-oxic conditions (Wang et al. 2013a). Due to the influence of a reducing environment and hydrodynamic conditions, authigenic pyrite has a large average diameter with a wide range of variations (Gallego-Torres et al. 2015;Wilkin et al. 1996). As shown in Fig. 3, the Ha'erjiawu Formation includes large-scale pyrite framboids (> 20 μm, Fig. 3g). In addition, we also found small-scale pyrite framboids (< 10 μm, Fig. 3h), which are associated with organic matter. This also indirectly indicates that the water column was not always anoxic-euxinic conditions during the deposition of the Ha'erjiawu Formation. Thus, the water column may have had low oxygen content and varying redox conditions. In general, the Ni/Co ratio is susceptible to diagenesis and should not be used as a reliable indicator (Zhang et al. 2018). Therefore, when using element geochemical indicators to determine the redox conditions, the applicability and influencing factors should be considered and should be combined with the organic geochemistry, petrology and mineralogy to comprehensively determine the redox conditions of the water column. In addition, during the deposition of the Ha'erjiawu Formation, the inorganic geochemical indexes (V/Cr and V/(V + Ni)) indicate dysoxic-anoxic conditions, whereas organic geochemical indicators, petrology, and mineralogy indicate dysoxic environments. These contradictions may be related to the volcanic eruption and hydrothermal activity, which lead to the enrichment of certain incompatible elements near volcanic edifice and also caused the high V/(V + Ni) ratios (Jin and Zhai 2003;Jin et al. 2006). During the volcanic intermission, volcanic ash and hydrothermal fluids can stimulate algal/bacterial growth by releasing nutrients and transition metals to into waters, which can consume a lot of oxygen in the water, causing intermittent anoxic conditions (Wang et al. 2013b). This is also conductive to the preservation of organic matter. However, during the volcanic eruption, magma and pyroclastic rocks frequently fall into the water column around the volcanic edifice. As a result, the water column is frequently disturbed, and the redox conditions may be dysoxic-oxic (Wang et al. 2013b). Moreover, the water column far away from the volcanic edifice may be dysoxic-anoxic. Therefore, the redox conditions of the Ha'erjiawu Formation are very complicated and were significantly influenced by the volcanic and hydrothermal activity. All of the above indicators suggest episodic transitions between dysoxic and anoxic depositional environments, but a predominantly dysoxic environment. The salinity of the water column in a lacustrine basin has an important effect on the biological processes and mineral formation. The water salinity can be characterized by the B content and other geochemical indicators, such as Sr/ Ba, Rb/K and B/Ga ratios (Campbell 1965;Banerjee and Goodarzi 1990;Ye et al. 2016;Li and Chen 2003). Although there is still a controversy concerning the source of the B in sedimentary rocks, most scholars suggest that the B content has a good positive correlation with the sedimentary water salinity. Banerjee and Goodarzi (1990) believed that B contents of < 50 ppm reflect freshwater, values of 50-110 ppm reflect mildly brackish water, and values of > 110 ppm correspond to brackish-saline environment. Previous studies have shown that the mudstone has a high B content, and the illite has a strong B adsorption capacity element compared with those of other clay minerals. Thus, the boron content should be combined with clay mineral analysis to objectively determine the sedimentary environment. Walker et al. (1963) Pr/Ph ratio Anoxic Dysoxic Oxic Gammacerane index proposed the conversion 8.5% of the K content of the illite into the adjusted boron mass fraction of the illite and that the B content of illite is related to the K mass fraction. In order to allow for comparative analysis under the same conditions, it is necessary to calculate the B mass fraction equivalent to 5% K 2 O, which is called the equivalent boron mass fraction. According to the theoretical conversion curve published by Walker et al. (1963), the equivalent B contents were obtained using the graphical method (Fig. 13a). Equivalent B contents of > 300 ppm, 200-300 ppm and < 200 ppm represent brackish-saline, mildly brackish, and freshwater environment, respectively (Walker et al. 1963;Liu et al. 2011). The analysis results of the samples show that (part of the data is from Liu et al. 2011) the equivalent B content of the source rocks of the Ha'erjiawu Formation ranges from 7 ppm to 310 ppm, with most being 300 ppm, reflecting freshwatermildly brackish sedimentary environment (Fig. 13a). The B/Ga ratio can also be used to determine the salinity of the water column. Generally speaking, B/Ga ratios of > 4, 2.5-4.0, < 2.5 represent brackish-saline, mildly brackish and freshwater environments, respectively (Campbell 1965). The Sr/Ba ratio also increases with increasing salinity. In general, for the clays or mudstones, the Sr/Ba ratios of freshwater sediments are < 1, and the Sr/Ba ratios of seawater or saline water are > 1. In addition, the Sr/Ba ratio sharply increases in the transitional environment between freshwater and marine. The gammacerane index and the tricyclic terpane index (Tri-/pentacyclic ratio) of biomarker compounds can also reflect the salinity of the water column (Fig. 8). It is generally believed that gammacerane indexes of 0.08-0.3 correspond to freshwater-mildly brackish environments (Zhang et al. 2000;Zou et al. 2009;Song et al. 2017). The analysis results show (Fig. 13b, c, and Table 5) that the B, B/Ga, Sr/Ba and gammacerane indexes (salinity indicators) are 1.57-99.83 with an average of 30.98; 0.06-3.01 with an average of 0.93; 0.12-10.11 with an average of 3.1; and 0.01-0.35 with an average of 0.08, respectively. All the above four salinity indicators consistently suggest that the Ha'erjiawu Formation was deposited in a freshwater-mildly brackish environment, with local areas brackish-saline water. In addition, the plot of gammacerane index versus Tri-/pentacyclic ratio supports this view (Fig. 8). The main reason for this environment is that the Ha'erjiawu Formation was deposited between the closing of the ocean basin in the Early Carboniferous and the intracontinental extensional tectonics of the post-collision environment in the Early Permian. There may have been residual intercontinental seas locally (Lin et al. 1997;Wu et al. 2008), in which the salinity of the water column is high.
In general, the salinity of the water column is closely related to the evaporation in arid or semiarid climates. Under warm and humid climatic settings, strong rainfall and provenance supply lead to a low salinity water column. Evaporation in an arid or semiarid climate causes the salinity to increase sharply (Zhang et al. 2018). Previous studies have shown that the Sr/Cu and Rb/Sr ratios can be used to  (Fan et al. 2012). Generally, Sr/Cu ratios of 1-5 indicate warm and humid climatic conditions, whereas ratios of > 5 correspond to arid climatic conditions. The high Rb/Sr ratios usually represent warm and humid climatic conditions. In this study, the climatic indicators show that most of the samples have Sr/Cu ratios of < 5, and the Rb/Sr ratios vary between 0.02 and 0.98, with an average of 0.2. The Ha'erjiawu Formation was mainly deposited in a warm and humid climate, and there may have been intermittent arid climatic conditions (Fig. 13d). In addition, the fish fossils found in the Carboniferous source rocks also support these paleoclimate conditions (Fig. 2d), and these fossils are similar to palaeonisciformes found in the Permian Lucaogou Formation organic-rich rocks in Santanghu Basin. Furthermore, recent work by Liu et al. (2015) and Zhang et al. (2018) have demonstrated that the Lucaogou Formation was deposited in a warm and humid climatic setting through paleobotany and palaeonisciformes studies. Based on the above analysis, the organic-rich mudstone of the Late Carboniferous Ha'erjiawu Formation in the Santanghu Basin was deposited in a warm and humid, freshwatermildly brackish water environment. The redox conditions of the Ha'erjiawu Formation were very complicated and were significantly influenced by volcanic and hydrothermal activity. This suggests an episodic transition between dysoxic and anoxic depositional environments, with a predominantly dysoxic environment.

Controls on organic matter enrichment
Organic matter enrichment is a complicated, nonlinear geological process controlled by the interaction of multiple factors (Liu et al. 2017;Zhang et al. 2018). In general, anoxiceuxinic and brackish-saline water columns are conducive to the enrichment and preservation of organic matter, and source rocks formed in these environments have high organic matter abundances. The above discussion has demonstrated that the Ha'erjiawu Formation was deposited in a dysoxic, freshwater-mildly brackish environment. Moreover, frequent volcanic activity resulted in the frequent disturbance of the water column near the volcanic edifice. However, in such a sedimentary environment, the Ha'erjiawu Formation shales still developed source rocks with high TOC contents and a high hydrocarbon generation potential (S 1 + S 2 ). The authors believe that the high organic matter abundance of the Ha'erjiawu Formation shales may be related to volcanic hydrothermal activity and terrestrial organic matter inputs, which collectively contributed to high paleoproductivity in the surface water.

Hydrothermal activities
During the deposition of the Ha'erjiawu Formation in the Malang Sag, volcanic eruptions were frequent, and volcanic rocks are widely distributed. The formation is dominated by volcanic rocks interbedded with organic-rich rocks. The thermal driving force was caused by the volcanic eruptions, and the deposition of volcanic ash forms an active heat flux circulatory system. As a result, the sedimentary water column was non-hydrostatic, non-reducing and had almost no water stratification (Shan et al. 2013;Jin 1998;Jin et al. 1999Jin et al. , 2006. This is consistent with the analysis of the trace element concentrations and biomarker compounds. The hydrothermal activity generated by the volcanic eruption resulted in some of the transition metals being anomalously enriched (Table 6), such as V, Ni, Cu, and Zn. The transition metal contents of the source rocks are similar to those of volcanic rocks, and the contents of some of the samples are even significantly higher than those of volcanic rocks. This indicates that the transition metals in the volcanic rocks were extracted from the surrounding source rocks, and the migration of the transition metals is significant. The transition metals have an important role in promoting algae/ bacteria blooms (Jin et al. 2006;Wang et al. 2013b). Therefore, the enrichment of these metals reflects hydrothermal inputs during the deposition of the Ha'erjiawu Formation. In addition, in the ternary diagrams of Ni versus Co versus Zn (Fig. 14), all the samples fall in the hydrothermal sediment zone, which also indicates that the Ha'erjiawu Formation was deposited in a hydrothermal environment. Hydrothermal activity is usually closely linked to life activities and microorganism bloom (Zhang et al. 2006b;Wang et al. 2013b;Westall et al. 2015). Hydrothermal activity also provides a large amount of minerals and nutrients to the water column, which promotes the enrichment of organisms and increases the organic matter content of the water column (Jin et al. 2006;Callac et al. 2013;Wang et al. 2013b). Previous studies have demonstrated that the Cr/Zr ratio and transition metals concentrations (Zn, Cu, and so on) are useful indicators of the intensity of the hydrothermal input (Marchig et al. 1982;Pujol et al. 2006). As shown in Fig. 15, the slightly positive correlations between TOC content and the Cr/Zr ratio or the Zn content indicate that hydrothermal activity contributed to organic matter enrichment during deposition of the Ha'erjiawu Formation. The above ambiguity correlations suggest the contribution of the hydrothermal input to the organic matter enrichment may have been affected by other factors, such as the terrigenous nutrient supply. Interestingly, the formation of organic-rich rocks associated with hydrothermal activity has been reported in non-marine basins in China, including the Lucaogou Formation in the Santanghu Basin (Zhang et al. 2018) and the Fengcheng and Lucaogou Formations in the Junggar Basin (Cao et al. 2015). Therefore, as a nutrient source, hydrothermal activities strongly controlled the development of aquatic organisms. Moreover, in the area far away from the volcanic edifice, life activities and microorganism blooms may have consumed a lot of oxygen in the water column, causing intermittent anoxic conditions, which was also beneficial to the preservation of organic matter. These processes collectively contributed to the formation of organic-rich rocks.

Terrigenous organic matter input
The analysis results of the Ha'erjiawu Formation shales show that the TOC content is positively correlated with the siliceous mineral content, but it is negatively correlated with the carbonate mineral content (Fig. 16a, b). The silicate mineral content and the carbonate content usually reflect the terrigenous input from a river system and carbonate production in lacustrine basins, respectively (Zhang et al. 2018). The  . 15 Plot of a TOC versus Zn content and b TOC versus Cr/Zr ratio positive correlation between the siliceous mineral content and the total organic carbon (TOC) content indicates that the terrigenous input promoted the organic matter enrichment. The major reason for this is that the nutrient input increased with increasing siliceous mineral content. Adequate nutrients supply can promote the reproduction of organisms in lakes. In addition, the terrigenous input brings abundant land plant organic matter and nutrients supply, which collectively increases the productivity in the water column and facilitating the enrichment of organic matter (Littke et al. 1991). In contrast, the negative correlation between the carbonate mineral content and TOC content indicates that the carbonate constituents had a significant dilution effect on the organic matter enrichment during the deposition of the Ha'erjiawu Formation.
The contents of the C 27 regular steranes and the C 29 regular steranes reflect the source of the organic matter. A higher C 27 regular sterane content often represents the significant contribution of plankton or algae in the water column, while a higher C 29 regular sterane content reflects the higher input of land plant organic matter (Ding et al. 2015;Song et al. 2017). In this study, the ratio of the C 27 regular steranes to the C 29 regular steranes ( (C 27 )/ (C 29 )) reflects the supply intensity of the terrigenous organic matter. The higher values correspond to a lower input of terrigenous organic matter. The relationship between (C 27 )/ (C 29 ) and (TOC) is illustrated in Fig. 16c, and the results show a weakly negative correlation. The (TOC) of the source rocks decreases with increasing of (C 27 )/ (C 29 ). The input of terrigenous organic matter has a certain control on the formation of high-quality source rocks.

Unconventional hydrocarbon potential
Using TOC and Rock-Eval data shows that the Ha'erjiawu Formation organic-rich rocks have a good to very good potential to generate conventional oil (Table 3, Fig. 6). Many wells in the overlying strata have obtained commercial oil production (such as the Carboniferous Kalagang Formation and the upper member of the Ha'erjiawu Formation), which have been shown to be derived from the Ha'erjiawu Formation Huang et al. 2012). Furthermore, according to organic geochemical and mineralogical data, we investigated whether the organic-rich rocks of the Ha'erjiawu Formation also have a good potential for shale oil exploration. Jarvie (2012) proposed using an oil saturation index OSI (S 1 /TOC × 100) to evaluate shale oil potential. When the OSI is > 100 mg HC/g TOC, there is an oil crossover phenomenon, which suggests that the shale oil is movable. It is generally recognized that OSI values of 75-100 mg HC/g TOC represent a potential shale oil target with abundant absorbed hydrocarbons. In this study, the OSI values of the Ha'erjiawu Formation vary from 8.22 to 228.35 mg HC/g TOC, with an average of 43.25 mg HC/g TOC. The OSI values of most of the organic-rich rock samples are < 100 mg HC/g TOC, with only five samples having values higher than 75 mg HC/g TOC (Fig. 17). These results indicate that the Ha'erjiawu Formation has a poor shale oil potential. The major reason for this may be that the high TOC and clay mineral contents of the Ha'erjiawu Formation lead to a strong adsorption capacity of hydrocarbon fluids, which is not conducive to the shale fracking of and the outflow of hydrocarbon fluids. Therefore, the organic-rich rocks of Ha'erjiawu Formation are good potential hydrocarbongenerating source rocks, but they are not suitable for shale oil exploration and development.

Conclusions
Using the petrology (pyrite size, carbonate and siliceous content), organic and inorganic geochemical indicators (Pr/ Ph, gammacerane, V/Cr, V/(V + Ni) and Sr/Ba, Rb/K, B/ Ga, and B content) reconstruct the paleoenvironment of the Ha'erjiawu Formation in the Santanghu Basin. Furthermore, we discuss the main influence factors of organic matter enrichment in the high-quality source rocks of the Ha'erjiawu Formation. The main conclusions are as follows: 1. The high organic matter abundance source rocks of the Ha'erjiawu Formation were deposited in freshwatermildly brackish and warm-humid environments. The Ha'erjiawu Formation received hydrothermal input during the sedimentary process, which resulted in complex redox conditions. The Ha'erjiawu Formation also experienced episodic transitions between dysoxic and anoxic depositional environments, but predominantly had a dysoxic environment. 2. Under the background of volcanic eruptions, the primary productivity in the surface water contributed to the organic matter enrichment of the Ha'erjiawu Formation. The terrigenous organic matter input and hydrothermal activity were conductive to improving the paleoproductivity, with transient anoxic conditions during volcanic intermission, which promoted organic matter accumulation. 3. According to organic matter abundance, organic matter type and maturity, the source rocks of Ha'erjiawu Formation have good to very good hydrocarbon generation potential. The OSI values of the Ha'erjiawu Formation shale are low, indicating that it contains a large amount of non-movable oil. These results indicate that the Ha'erjiawu Formation is not suitable for shale oil exploration and development.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creat iveco mmons .org/licen ses/by/4.0/.