Introduction

China is the largest producer and consumer of coal in the world. Coal accounted for 56% of China’s total energy consumption in 2021. Although the proportion of coal in energy consumption is decreasing year by year, its status as the main energy resource will not change for a long time. China’s coal cities play a vital role in coal supply. They are numerous and widely distributed, but serious resource and environmental problems exist in these cities nowadays. Because of the non-renewability of coal resources, the advantages of energy resources of coal cities will be weakened gradually. At the same time, coal mining and rapid urbanization would result in resource degradation in terms of cultivated land, water, and other resources inevitably. On the other hand, various environmental problems in coal cities are becoming more serious: The land damaged by coal mining is increasing at the rate of 800 km2 per year, and this leads to serious damage to the ecological environment both on the surface and underground of mining areas, while the restoration speed is lagging behind. Air quality of these cities is poor, with PM2.5 and PM10 concentrations exceeding the standard. The comprehensive utilization rate of coal solid waste is insufficient, resulting in huge discharge of that. These problems have affected the sustainable development of coal cities and hindered the coordinated development of regions. In view of the serious resource and environmental problems in coal cities, the Chinese government has formulated a series of policies and regulations to promote the transformation and sustainable development of these cities. Moreover, lots of scholars have also carried out many researches on this issue.

RECC has become an important index to estimate the conditions of regional economic and social development and a criterion to measure regional sustainable development level. In 2017, the Chinese government issued Several Opinions on Establishing a Long-term Mechanism for the Monitoring and Early Warning of Resource and Environment carrying Capacity, which takes RECC as the evaluation standard for rational regional development. At present, the contradiction between social and economic development, environmental protection, and resource conservation is prominent in most coal cities. Therefore, analyzing the existing problems, finding the shortcomings that restrict economic and social development and making scientific prediction with the method of RECC is of great significance for coal cities to correctly understand the development status, rationally choose the transformation path and realize sustainable development.

In order to evaluate and simulate the RECC of coal city dynamically, this study chooses Huainan, a typical coal city in China as the case, and selects the factors with the characteristics of coal city to construct the SD model. Then we use the SD model to simulate the change of RECC in different scenarios. By comparing the results of different scenarios, the optimal path to improve the RECC is selected. The results can not only reflect the status of RECC in recent years, but also predict its change trend under different conditions dynamically. Meanwhile, comparing with traditional SD model, we make the simulation process more scientific and efficient by the methods of BP-DEMATEL mode and orthogonal test. The results of this study enrich the research methods of RECC and provide theoretical reference for sustainable development of coal cities.

Literature review

The study of carrying capacity has lasted for more than 100 years, and carrying capacity has been regarded as an important criterion to measure the harmony of man-land relationship. Among them, RECC integrates the concepts of resource carrying capacity and environmental carrying capacity, reflects the core view of sustainable development, and gradually becomes a new perspective of research on carrying capacity (Feng et al. 2018). On the one hand, scholars focus on different geographical units, and their research results reflect the RECC of regions at different scales: For example, taking cities as the research objects, Zhang et al. (2018) constructed a comprehensive evaluation index system from the aspects of water resources, land, air quality, energy, and solid waste discharge, etc., and took Tianjin as a case to evaluate the regional RECC of this city. Meanwhile, RECC in some special regions has also attracted the attention of scholars; Wang and Liu (2019) chose Tibet, an area with extremely fragile ecological environment, as the research object and found that the overall situation of RECC in this area is in jeopardy. As to the RECC of large areas, relevant studies mainly discuss the balance of various resources and environmental elements, and the differences in the spatial distribution of RECC. Shi and Sun (2017) analyzed the RECC of the economic zone on the west coast of Taiwan Strait, and the results showed that the land resources and water resources in this region were insufficient, while the atmospheric environment and aquatic environment were generally in good condition. Cheng et al. (2016) researched the RECC and social-economic development of 31 provinces in mainland China, and showed the spatial distribution and difference of resource and environmental pressure. On the other hand, the influence of RECC in the development of economy and society is also the focus of scholars. For example, in order to investigate the relationship between RECC and urban spatial development, Xie et al. (2020) explored the relationship between RECC and land space development zoning layout in Henan Province by three-dimensional magic cube evaluation model. RECC will affect the production layout of the industry inevitably. Xiong et al. (2022) studied the spatio-temporal coupling coordination relationship between animal husbandry and RECC of China, and found out the main driving factors. Moreover, the effect of RECC level on economic development has also triggered the thinking of scholars. Fu et al. (2020) studied the level and characteristics of each kind of carrying capacity in Haihe River Basin quantitatively, and conducted trade-off analysis on economic carrying capacity and RECC. At present, the research objects of RECC are more and more diversified, and abundant achievements of relevant research have been achieved. However, researches on coal cities, the regions with special resource endowment and prominent environmental problems, are still insufficient. Therefore, it is of great significance for the sustainable development of coal cities to study the changes of RECC, find out the main factors restricting sustainable development, and predict RECC level effectively.

In the 1950s, J. W. Forrester (Meadows and Rome 1973) created SD, which was later used in the famous global model Limits to Growth. At present, SD model has been successfully applied in many fields due to its applicability to complex and nonlinear problems. In the field of economic development and public service research, SD model plays a good role in scientific prediction: Liu (2013) described the relationship between human capital and economic development based on SD, and simulated the development trend of the indicators of human capital and economic systems. Considering the dynamic and multidimensional characteristics of product service system, Lee et al. (2012) employed SD to construct a multi-dimensional system including dynamics and triple bottom line, then simulated the sustainability of product service of public bicycle system. SD model provides an ideal method for different industries to carry out output scale assessment, industrial structure analysis, and production system risk warning: Nicholson et al. (2018) applied SD to the research of animal husbandry and they built the SD model of Brazilian dairy supply chain. The simulation results illustrated the impact of increasing milk production on the country-level, and the difference of the impact caused by production improvement on small farms and large farms. Ebert et al. (2017) introduced the application of SD model in the field of electricity, such as the importance of resource diversification in the security of energy supply in Finland, China’s approach to reducing CO2 emissions and other cases. Combined with these application cases, they emphasized the value of SD model. El-Sefy et al. (2019) adopted SD to overcome the limitations of current risk assessment techniques. The SD model was used to simulate the thermal dynamic processes in the reactor core, the secondary coolant system, and the pressurized water reactor. Therefore, the systematic risk of nuclear power plant could be assessed dynamically. In addition, SD model can also conduct effective prediction and simulation in the research of environmental protection and public health: Chen et al. (2021) analyzed the evolution of power generation structure and power carbon emission in four development modes, and provided decision-making basis for realizing dual carbon goal of power system supply side. Lu et al. (2021) constructed the Susceptible-Exposed-4-infected-Removed-2 model based on SD, then they successfully predicted the development trend of COVID-19 epidemic and provided corresponding suggestions for epidemic prevention and control. However, there are few studies on the application of SD model in the research of RECC. Tan et al. (2017) constructed the SD model of “land urbanization-resource and environment carrying capacity” to simulate the change trend of urban RECC under different scenarios. Kuang et al. (2021) used SD model to explore the changes of urban RECC in different ecosystem management modes, providing a reference for the choice of economic and social development modes. These researches show that SD model has good applicability for solving various problems. However, on the one hand, SD model is rarely used in the study of RECC. On the other hand, there is some deficiency in simulation process of SD model such as subjectivity in control parameter selection and incompleteness in scheme design.

In view of the shortcomings of relevant researches, this study selects factors to construct SD model, then evaluates and simulates the change trend of RECC of a coal city. Furthermore, we improve SD model by BP-DEMATEL model and orthogonal experiment to make the design of simulation scheme more scientific, the efficiency of simulation experiment higher, and the simulation results more reference.

Study area

Huainan is located in the central and northern part of Anhui Province, on the bank of Huaihe River and in the hinterland of the Yangtze River Delta. The location of Huainan in China is shown in Fig. 1. The city is divided into two landforms by Huaihe River: the north of the river is flat, which is part of Huaibei Plain; South of this river is hilly landform. The city is a transitional region between subtropical monsoon climate and temperate monsoon climate, with four distinct seasons and suitable temperatures.

Fig. 1
figure 1

The location of Huainan city in China

The resource superiority of coal in Huainan is prominent: this city has an entire coal field with the largest reserves and the best quality in the east and south of China; meanwhile, Huainan is one of the regions with the richest coal resources in Anhui Province and even east China. According to the data of 2015 in General Plan of Mineral Resources of Huainan City (2016–2020), the city had 13.807 billion tons of coal reserves. The coal resources of Huainan are concentrated in distribution, complete in varieties, and good in quality. It enjoys the reputation of “green energy” because of the characteristics of low sulfur, low phosphorus, high calorific value, and high ash melting point. Coal mining in Huainan has lasted for a long time. Huainan mining area was formed in the 1930s. After long-term development, it has become a key national energy base and made great contributions to China’s economic development. However, the ecological environment of Huainan has been polluted and destructed seriously: Coal gangue discharge is huge, occupying a lot of farmlands. At present, the area of surface subsidence caused by coal mining has exceeded 300 km2 (Dong et al. 2015), which has become a major systemic ecological problem. Meanwhile, the air pollution in Huainan is serious, too. In recent years, the days with good air quality is mostly below 70%.

Data

The data are mainly from “China Urban Statistical Yearbook 2010–2020” (From the website of National Bureau of Statistics), “Environmental Status Bulletin of Anhui Province” (From the website of Department of Ecology and Environment of Anhui Province), “Statistical Yearbook 2010–2020 of Anhui” (From the website of Bureau of Statistics of Anhui Province), “Statistical Yearbook 2010–2020 of Huainan” (From the website of Bureau of Statistics of Huainan City), and National Economic and social development Bulletin of Huainan (From the website of Bureau of Statistics of Huainan City).

Methods

The technology roadmap is shown as Fig. 2. It illustrates the process that how we use SD model to predict and simulate the RECC of Huainan and the improvement we made to let the simulation more objective, efficient, and accurate.

Fig. 2
figure 2

The technology roadmap

BP-DEMATEL mode

In order to avoid the subjectivity of control parameters selection in the simulation process, we consider to select the control parameters according to the effect of factors on the system. DEMATEL (Decision Making Trial and Evaluation Laboratory) model establishes a direct influence matrix according to the relationship between factors in the system, and obtains the center degree and the cause degree of each factor. In this way, the importance of each factor as well as the interdependent and restrictive relationship between factors can be estimated, and the key influencing factors in the complex system can be identified (Khoshnava et al. 2018). However, the above analysis will be more difficult when there are too many factors in the system, and the interaction between them is more complex. Therefore, we combined the adaptability of BP neural network to analyze the internal law of the system and the relationship between factors (Zhao et al. 2020). BP-DEMATE model can conduct reverse transmission of error information from output layer to input layer, so as to strengthen the correlation between influencing factors and result factors. Considering the advantage of BP-DEMATEL model, we chose it to determine the driving force of each factor and find the factors with the greatest influence on the RECC system, thus providing a basis for the selection of control parameters in the simulation schemes. The specific steps are as follows:

  1. (1)

    Total weight vector

    $$\omega =mean\left(\left|W\right|\times \left|w\right|\right)=({\omega }_{1},{\omega }_{2},\dots {\omega }_{n})$$

    where \(\left|W\right|\) and \(\left|w\right|\) mean the absolute value of each factor in the matrix; The function \(mean\) means that when the number of rows of \(\left|W\right|\times \left|w\right|\) is more than 1, then take the mean of the product.

  2. (2)

    Direct correlation matrix (\(B\)), direct influence matrix (\(X\)), and full influence matrix (\(T\))

    $$B={({b}_{ij})}_{n\times n}=\left[\begin{array}{ccc}{b}_{11}& {b}_{12}\dots & {b}_{1n}\\ {b}_{\begin{array}{c}21\\ \vdots \end{array}}& {b}_{\begin{array}{c}22\\ \vdots \end{array}}\cdots & {b}_{\begin{array}{c}2n\\ \vdots \end{array}}\\ {b}_{n1}& {b}_{n2}\cdots & {b}_{nn}\end{array}\right]$$

    where \({b}_{ii}=0\), \({b}_{ij}=\frac{{\omega }_{i}}{{\omega }_{j}}\) (if \({\omega }_{j}=0 ,\) then\({b}_{ij}=0\)) which is the importance of \(i\) to \(j\).

    $$X={({x}_{ij})}_{n\times n}=\frac{B}{{max}_{1\le i\le n\sum_{j=1}^{n}{b}_{ij}}}$$
    $$T=X{(I-X)}^{-1}$$

    where \(I\) is the unit matrix and \({(I-X)}^{-1}\) is the inverse matrix of \(\left(I-X\right)\).

  3. (3)

    The influence degree (\({a}_{i}\)), the influenced degree (\({b}_{i}\)), the center degree (\({m}_{i}\)), and the cause degree (\({r}_{i}\))

    $$\begin{array}{l}a_i=\sum \limits_{j=1}^nt_{ij}\left(j=1,2,\dots n\right);\;b_i=\sum \limits_{i=1}^nt_{ij}\left(i=1,2,\dots n\right);\;m_i=a_i+b_i\left(i=1,2,\dots,n\right);\;\\r_i=a_i-b_i(i=1,2,\dots,n)\end{array}$$

    where \({m}_{i}\) means the effect of factor \(i\) in the whole system. The higher its value is, the more important the factor is. \({r}_{i}\) means the causal relationship between factor \(i\) and other factors. When \({r}_{i }>0\), it is named as the cause factor, indicating that the factor has a great influence on other factors. When \({r}_{i }<0\), it is named as the result factor, indicating that the factor is easily affected by other factors.

Orthogonal test

In the condition that control parameters and their change ranges were determined, this study applied orthogonal test to plan the simulation scheme. This method can be used to obtain representative and reliable results quickly by conducting multi-factor and multi-level tests with as few times as possible, and get the optimal combination of each factor with different level. Moreover, we can further find the factors with the greatest effect on test results by analysis of variance. Therefore, based on the orthogonal test, we can comprehensively analyze the influence of different control parameters on RECC.

SD model

  1. (1)

    The system flow diagram

The regional RECC is an integrated system with complex internal relations due to the influence of many aspects. Considering the availability of data, the spatial boundary of SD model is set as Huainan City, and the main factors affecting the RECC are included in the boundary. In the SD model, the RECC system is divided into two subsystems of resource-environment and society-economy. These two subsystems include six secondary subsystems such as resource utilization and environmental pollution, environmental governance, and social security. We select 42 indicators to build the evaluation system of the RECC (Table 1). In the secondary subsystem of “Resource utilization and environmental pollution,” ten indicators are included, and they characterize the consumption intensity of different resources and the degree of environmental pollution. The eight indicators in the secondary subsystem of “Resource and environmental status” represent the resources endowment such as water, farmland, coal, and the environmental state such as subsidence area and green land. We choose the indicators which can reflect the pollutant control level and environmental protection spending to construct the secondary subsystem of “Environmental governance.” The secondary subsystems above form the “Resource-environment” subsystem. As for the subsystem of “Economy-society,” there are three secondary subsystems. In the secondary subsystem of “Population growth and industrial development,” the six indicators characterize the increasement of population, especially the proportion of urban population, and the industrial scale. Then we select six indicators in the secondary subsystem of “Economic and social development” to analyze the economic level and living standard of residents. Finally, five indicators such as employment rate, spending of education and scientific research, and medical conditions are used to build the secondary subsystem of “Social security.” These indicators are the main variables of the SD model. Then, by adding some necessary intermediate variables, the system flow diagram of SD model is drawn, as shown in Fig. 3. The time boundary of this model is 2010–2030, and the time step is set as 1 year. Among them, 2010–2019 is the modeling and verification stage, 2020–2030 is the prediction and simulation stage, and the base year is 2019.

Table 1 Evaluation indicator system of RECC
Fig. 3
figure 3

The system flow diagram of SD model

  1. (2)

    Equations of factors

According to the time series data and the logical relationship between factors, the equations are determined. Due to the limited space, the equations of some factors are listed below. Where, K represents the current time, J is the past time, DT is the time from J to K, which is called time step.

Level variable equation (L):

$$\mathrm{Total}\;\mathrm{energy}\;\mathrm{consumption}:K=\mathrm{Total}\;\mathrm{energy}\;\mathrm{consumption}\;J+DT\times\mathrm{Change}\;\mathrm{of}\;\mathrm{energy}\;\mathrm{consumption}$$
$$\mathrm{Population}:\;K=\mathrm{Population}\;J+DT\times\mathrm{Change}\;\mathrm{of}\;\mathrm{population}$$

Auxiliary variable equation (A):

$$\mathrm{Resource}\;\mathrm{and}\;\mathrm{environmental}\;\mathrm{carrying}\;\mathrm{capacity}=\mathrm{Resource}\;\mathrm{and}\;\mathrm{environment}\times0.5333+\mathrm{Society}\;\mathrm{and}\;\mathrm{economy}\times0.4665$$
$$\mathrm{Resource}\;\mathrm{and}\;\mathrm{environment}=\mathrm{Resource}\;\mathrm{utilization}\;\mathrm{and}\;\mathrm{environmental}\;\mathrm{pollution}\times0.1505+\mathrm{Resource}\;\mathrm{and}\;\mathrm{environment}\;\mathrm{status}\times0.2032+\mathrm{Environmental}\;\mathrm{governance}\times0.1796$$
$$\mathrm{Resource}\;\mathrm{utilization}\;\mathrm{and}\;\mathrm{environmental}\;\mathrm{pollution}=\frac{0.64}{\mathrm{Energy}}\mathrm{consumption}\;\mathrm{perunit}\;\mathrm{of}\;\mathrm{GDP}\times0.0098+\frac{737}{\mathrm{Electricity}}\mathrm{consumption}\;\mathrm{per}\;\mathrm{unit}\;\mathrm{of}\;\mathrm{GDP}\times0.0116+\frac{160}{\mathrm{Water}}\mathrm{consumption}\;\mathrm{per}\;\mathrm{unit}\;\mathrm{of}\;\mathrm{GDP}\times0.0093+\frac{67.5}{\mathrm{Regional}}\mathrm{traffic}\;\mathrm{noise}\;\mathrm{value}\times0.0075+\frac{0.7}{\mathrm{Industrial}}\mathrm{waste}\;\mathrm{water}\;\mathrm{discharge}\;\mathrm{intensity}\times0.0239+\frac{0.43}{\mathrm{Industrial}}\mathrm{waste}\;\mathrm{gas}\;\mathrm{emission}\;\mathrm{intensity}\times0.018+\frac{1.77}{\mathrm{Industrial}}\mathrm{dust}\;\mathrm{emission}\;\mathrm{intensity}\times0.0118+\frac{0.42}{\mathrm{Industrial}}\mathrm{solid}\;\mathrm{waste}\;\mathrm{discharge}\;\mathrm{intensity}\times0.0124+\frac{0.21}{\mathrm{Industrial}}\mathrm{COD}\;\mathrm{emission}\;\mathrm{intensity}\times0.0227+4.32/\mathrm{Industrial}\;{\mathrm{SO}}_2\;\mathrm{emission}\;\mathrm{intensity}\times0.0236$$
$$\begin{array}{l}\mathrm{Energy}\;\mathrm{consumption}\;\mathrm{per}\;\mathrm{unit}\;\mathrm{of}\;\mathrm{GDP}=\mathrm{Total}\;\mathrm{energy}\;\mathrm{consumption}/\mathrm{GDP}/10000\\\mathrm{Industrial}\;\mathrm{waste}\;\mathrm{water}\;\mathrm{discharge}\;\mathrm{intensity}=\mathrm{Industrial}\;\mathrm{waste}\;\mathrm{water}\;\mathrm{discharge}/\mathrm{Total}\;\mathrm{area}\;\mathrm{of}\;\mathrm{the}\;\mathrm{city}\end{array}$$
$$\begin{array}{l}\mathrm{Water}\;\mathrm{resource}\;\mathrm{per}\;\mathrm{capita}=\mathrm{Total}\;\mathrm{water}\;\mathrm{resources}\times10000/\mathrm{population}\\\mathrm{Reserve}-\mathrm{production}\;\mathrm{ratio}\;\mathrm{of}\;\mathrm{coalre}\;\mathrm{sources}=\mathrm{Built}-\mathrm{uparea}/\mathrm{Total}\;\mathrm{area}\;\mathrm{of}\;\mathrm{the}\;\mathrm{city}\end{array}$$
$$\begin{array}{l}\mathrm{Proportion}\;\mathrm{of}\;\mathrm{built}-\mathrm{up}\;\mathrm{area}=\mathrm{Built}-\mathrm{up}\;\mathrm{area}/\mathrm{Total}\;\mathrm{area}\;\mathrm{of}\;\mathrm{the}\;\mathrm{city}\\\mathrm{Proportion}\;\mathrm{of}\;\mathrm{out}\;\mathrm{put}\;\mathrm{value}\;\mathrm{of}\;\mathrm{secondary}\;\mathrm{industry}=\mathrm{Output}\;\mathrm{value}\;\mathrm{of}\;\mathrm{secondary}\;\mathrm{industry}/\mathrm{GDP}\times100\end{array}$$
$$\begin{array}{l}\mathrm{Urbanization}\;\mathrm{rate}=\mathrm{Urban}\;\mathrm{population}/\mathrm{Population}\times100\\\mathrm{Urban}\;\mathrm{road}\;\mathrm{area}\;\mathrm{per}\;\mathrm{capita}=\mathrm{Fixed}\;\mathrm{asset}\;\mathrm{investment}\;\mathrm{per}\;\mathrm{capita}\times4.22+3.451\end{array}$$
$$\begin{array}{l}\mathrm{Change}\;\mathrm{rate}\;\mathrm{of}\;\mathrm{population}=\mathrm{WITH}\;\mathrm{LOOKUP}\\(\lbrack(0,0)-3000,10)\rbrack,(2010,0.000837),(2011,0.004239),(2012,0.006688),(2013,0.002805),(2014,0.010336),(2015,0.007257),(2016,0.00897),(2017,0.000717),(2018,0.000143),(2019,0.0005),(2020,0.0004),(2030,0.00011))\end{array}$$
$$\begin{array}{l}\mathrm{Change}\;\mathrm{rate}\;\mathrm{of}\;\mathrm{GDP}\;=\;\mathrm{WITH}\;\mathrm{LOOKUP}\\(\lbrack(0,-0.03)-(3000,10)\rbrack,(2010,0.1402),(2011,0.09402),(2012,0.05346),(2013,-0.0233),(2014,-0.01275),(2015,0.06965),(2016,0.09994),(2017,0.06899),(2018,0.143703),(2019,0.07044),(2020,0.075),(2030,0.075))\end{array}$$
$$\begin{array}{l}\mathrm{Change}\;\mathrm{rate}\;\mathrm{of}\;\mathrm{output}\;\mathrm{value}\;\mathrm{of}\;\mathrm{tertiary}\;\mathrm{industry}=\mathrm{WITH}\;\mathrm{LOOKUP}\\(\lbrack(0,0)-(3000,10)\rbrack,(2010,0.14471),(2011,0.139961),(2012,0.110662),(2013,0.140819),(2014,0.091689),(2015,0.097013),(2016,0.119063),(2017,0.104635),(2018,0.321741),(2019,0.14114),(2020,0.1411),(2030,0.16))\end{array}$$

Rate variable equation (R):

$$\begin{array}{l}\mathrm{Change}\;\mathrm{of}\;\mathrm{energy}\;\mathrm{consumption}=\mathrm{Total}\;\mathrm{energy}\;\mathrm{consumption}\times\mathrm{Change}\;\mathrm{rate}\;\mathrm{of}\;\mathrm{energy}\;\mathrm{consumption}\\\mathrm{Change}\;\mathrm{of}\;\mathrm{population}=\mathrm{Population}\times\mathrm{Change}\;\mathrm{rate}\;\mathrm{of}\;\mathrm{population}\end{array}$$

Constant equation (C):

$$\mathrm{Total}\;\mathrm{area}\;\mathrm{of}\;\mathrm{the}\;\mathrm{city}=5571$$
  1. (3)

    Model test

The SD model needs to be tested to ensure the validity of prediction and simulation results. Two kinds of test are adopted in this study. One is to set rate variables to 0 one by one and judge whether the model structure is reasonable by the extreme situation of the rate equation. The second is to evaluate whether the behavior of the SD model is consistent with the actual situation by the error between simulation value and real value of the main variables.

  1. (4)

    Dynamic simulation

According to the analysis results of BP-DEMATEL model (Appendix Table 7), we select the control parameters: In the order of values of ri from largest to smallest, the top 7 indicators are: I4, I28, I6, I10, I22, I33, I25. Therefore, we choose the control parameters based on those indicators. The industrial waste gas emission intensity and industrial SO2 emission intensity of Huainan are mainly related to the output value of secondary production and raw coal output, so output value of secondary industry and coal production are regarded as the control parameters. The urbanization rate and employment rate are the ratio of the urban population and the employed number to the population respectively, so they can be controlled by the urban population and the number of employed persons. Harmless treatment rate of household garbage and proportion of environmental protection spending depend largely on the spending on environmental protection, so total spending on environmental protection is set as a control parameter. Besides, GDP is set as one of the control parameters as it is correlated with many variables in the system, and it has a large impact on the level of RECC. Finally, we got seven control parameters which are shown in Table 2.

The change range of these parameters is set according to the regulation target and the regional development status. For example, as Huainan is the main coal energy base in East China, its coal supply should maintain a stable status in the medium and long term. Therefore, referring to the average coal production of the city from 2010 to 2019, the change range of coal production is designed as three modes of slow growth, medium growth, and rapid growth. The change range of urban population and GDP is set according to “14th Five-year Plan and the long-term goal of 2035 of Anhui Province”, and the growth rate of these two variables in recent years. The control parameters and their change range are shown in Table 2.

Designing simulation scheme: Since there are seven control parameters in Table 2, and each parameter has three levels of change range, so three-level orthogonal table L18(37) is used to design the simulation scheme. Table 3 shows the specific simulation scheme based on orthogonal table L18(37).

Table 2 The change range of control parameters
Table 3 The simulation scheme based on orthogonal table L18(37)

Results

Mode test

The test results of the extreme situation of the rate equations are shown in Fig. 4. In each scheme, the RECC had not been negative values, and the fluctuation range was small, so the model structure could be considered as suitable.

Fig. 4
figure 4

Mode test results of the extreme situation

In the test of extreme situation, schemes were designed as follows: Scheme 1—Change of output value of secondary industry is 0; Scheme 2—Change of output value of tertiary industry is 0; Scheme 3—Change of R&D spending is 0; Scheme 4—Change of energy consumption is 0; Scheme 5—Change of population is 0; Scheme 6—Change of GDP is 0; Current—The initially set of the SD system.

Due to the limited space of this paper, only the historical data test results of some core variables are shown here. It could be known from Fig. 5 that the absolute values of error between the simulation value and the real value of the main variables were all within 10%. Therefore, we thought that the simulation results were basically consistent with the actual situation and the model could be used for simulation.

Fig. 5
figure 5

The error between the simulation value and the real value

Temporal variation of RECC

Figure 6 shows the evaluation and prediction results of RECC in the current scenario. The RECC showed an overall upward trend from 2010 to 2019. The RECC of the resource-environment subsystem fluctuated slightly from 2010 to 2019, with the values between 0.074 and 0.087. The RECC of the society-economy subsystem showed an upward trend from 2010 to 2019 with a slight decline in 2015, which was related to the decrease of GDP in that year. The RECC of this subsystem was improved from 0.05 to 0.068 in those years. The prediction results of the model showed that the RECC of the whole system and the two subsystems would continue to improve from 2020 to 2030. Specifically, the whole RECC may increase by 27.24%, while the RECC of the resource-environment subsystem and the society-economy subsystem would improve by 11.1% and 52.2%, respectively.

Fig. 6
figure 6

Temporal variation of RECC in the current scenario

Simulation of RECC

As shown in Table 4 and Fig. 7, the RECC of each simulation scenario showed a continuous upward trend from 2020 to 2030, but not all scenarios realized an improvement in RECC compared with the current scenario. The RECC of 2030 in the current scenario is 0.1023, and the tests whose simulation values are higher than that include tests 7, 8, 9, 11, 12, and 16. The growth rate of the RECC from 2020 to 2030 could be compared by analyzing the results of these six tests. It can be seen that the RECC of 2030 and its growth range are the highest in test 12, which is 0.1056 and 30.05% respectively. Therefore, test 12 could be considered as the optimal scheme.

Table 4 The simulation results of RECC in each scenario
Fig. 7
figure 7

Comparison of the simulation results of RECC in each scenario

Table 5 and Fig. 8 indicates that the RECC of resource-environment subsystem would keep increasing in all simulation scenarios. Compared with the RECC of 2030 (0.0997) in the current scenario, the scenarios in which the RECC did not improve included: test 1, 2, 3, 4, 5, 13, 15, and 18. Among the other ten tests, the top 3 ones in terms of the growth rate of RECC were test 12 (12.16%), test 11 (12.1%), and test 9 (11.82%). The simulation results of the secondary subsystems in these three tests showed that the RECC of environmental governance was the highest, which meant that improving the level of environmental governance would play a leading role in promoting the RECC of the resource-environment subsystem.

Table 5 The simulation results of RECC of resource-environment subsystem in each scenario
Fig. 8
figure 8

Comparison of the simulation results of RECC of resource-environment subsystem in each scenario

According to Table 6 and Fig. 9, in 78% of the simulation scenarios, the RECC of the society-economy subsystem was lower than that in the current scenario. There were only four scenarios in which the RECC was increased, i.e., test 8, 11, 12, and 16. The growth rate of these scenarios was 57.21%, 54.49%, 57.35%, and 54.51%, respectively. Compared with the RECC of 2020, the RECC of 2030 and its increase rate in test 12 were the highest. We could get the conclusion by comparing the simulation results of the secondary subsystems in the above four tests that the RECC of social security is the highest. This showed that, in these scenarios, the RECC of the society-economy system was promoted mainly by improving the level of social security.

Table 6 The simulation results of RECC of society-economy subsystem in each scenario
Fig. 9
figure 9

Comparison of the simulation results of RECC of society-economy subsystem in each scenario

On the whole, the increase rate of RECC of the society-economy subsystem was much higher than that of the resource-environment subsystem. The results indicated that Huainan should pay more attention to the development of the society and economy. It should speed up the economic transformation, improve the construction of urban facilities, and promote the level of social security.

The effect of control parameters

Based on the simulation results of those 18 tests, statistical analysis was made to identify the parameters with significant influence on the results. The results of variance analysis showed that the P values of parameters F, D, C, and B were less than 0.05, while parameters A, E, and G were not significant. It showed that the key factors for the simulation of RECC included GDP, output value of secondary production, total spending on environmental protection, and coal production.

Conclusion

This study selected relevant factors and constructed a dynamic analysis model of RECC of the coal city Huainan based on SD. According to the relationship between factors, the system flow diagram was drawn and the equation of each factor was determined. When the mode tests were done, we chose seven control parameters by BP-DEMATEL model. Then 18 simulation scenarios of RECC were designed by orthogonal test. Results showed that the RECC of Huainan was on the rise from 2019 to 2030 on the whole. By comparing the results of each simulation scenario, it could be known that the RECC of 2030 and its increase rate compared with 2020 were the highest in test 12. It was worth noting that the growth rate of RECC of society-economy subsystem was much more than that of resource-environment subsystem. Furthermore, we found the factors with significant influence on the simulation results of RECC by analysis of variance. Those factors included GDP, output value of secondary production, total spending on environmental protection, and coal production.

In the optimal scenario, i.e., test 12, the change range of GDP is the largest, the growth of output value of secondary production maintains the lowest speed, the coal production is in a fast growth mode, the growth rate of total spending on environmental protection reaches the highest value, the increasement of urban population is at the lowest level, and the number of employed persons increased at a moderate speed. According to the change range of each control parameter in test 12, it can be known that this scenario achieves the coordinated development of economy and environmental protection by promoting high-quality and rapid economic growth, controlling the development of secondary industry and urbanization, maintaining the advantage of coal resources, increasing investment in environmental protection, and improving environmental governance. It is worth mentioning that this scenario is in accord with the concept of development of Huainan which is “based on coal, extending coal, not only coal, beyond coal.”

Therefore, it can be concluded that the future development mode of Huainan is improving the carrying capacity of the society-economy system significantly, consolidating the dominant position of the coal industry, optimizing the industrial structure, and promoting high-quality and rapid growth of economy. At the same time, Huainan has to increase input in environmental protection, improve the quality of urbanization development, and achieve coordinated development between economy, society, ecology and environment. Therefore, Huainan should use its advantages and characteristics to develop the coal–electricity–chemical–gas industry chain, realize the deep processing of coal, and increase the economic value of mineral products. In addition, coal mining, transportation machinery manufacturing, and related service industries should also be strengthened. At the same time, this city should take the chance of transformation, establish the substitute and alternative industries actively, increase the proportion of the tertiary industry, and reduce the cost and risk of transformation. In the aspect of mineral resources exploitation and utilization, it should strengthen the exploration of coal resources, develop deep mining, increase the amount of resources, and extend the service period of existing mines. Huainan has to promote the merger, reorganization, and intensive operation of mining enterprises based on the intensity of mining and economies of scale. At the same time, it should exploit various energy sources, such as clean and safe coalbed methane, or build wind power station according to geographical environmental characteristics, and use coal mining subsidence areas to build floating surface photovoltaic power stations. Now the destruction of ecological environment in mining area is the main environmental problem in coal city, it is especially necessary to pay attention to the protection and restoration of ecological environment in mining area. Huainan should increase investment in environmental protection and adopt new technologies to reduce pollution in coal mining and processing. At the same time, the monitoring and early warning system should be established to reflect the status and change trend of ecological environment timely and accurately, so as to provide the basis for the prevention and control of ecological and environmental risks. In terms of social development, Huainan should plan the urban space layout reasonably and promote the construction of new urbanization. It has to provide more jobs and policies to support entrepreneurship, and carry out vocational skills training. At the same time, it should increase investment in scientific research and education, so as to enhance the capacity of collaborative innovation development with the help of universities, science and technology parks, and other institutions, and increase the proportion of high-tech industries.

Discussion

At present, the frequently used forecasting methods include regression model, grey model, ARIMA model, and neural network model. However, these methods are basically for single value prediction; they cannot reflect the relationship between factors and the influence of factors on the whole system. RECC is a complex system; the relationship between its factors may be nonlinear and high-order, so it should be regarded as an overall feedback system. SD model combines structural model and mathematical model, which can not only reflect the causal relationship and feedback path between factors, but also simulate the development trend of RECC through simulation.

This study applied SD model to analyze the feedback within the system and among the factors, and the development trend of the RECC of Huainan was dynamically simulated in different scenarios, which increased the practical application value of the study. In addition, we also optimized the SD model in two ways: Firstly, BP-DEMATL model was combined to overcome the subjectivity of the selection of control parameters. Secondly, the simulation scheme was designed based on orthogonal test. By multi-factor and multi-level simulation tests, the representative and high reliability results could be quickly obtained, so as to make the simulation scheme more scientific, the simulation process more efficient, and the simulation results more reliable. However, similar to other prediction models, SD model also forecasts and simulates the future situation based on historical data, and there would be deviation between the results and the real situation inevitably. Moreover, SD model is a dynamic simulation method of single element coupling, which is difficult to realize the adaptive process of the system.

In terms of relevant literature, Sun et al. (2021), Zhang et al. (2019), and Li et al. (2020) used different methods to study the situation of the development of ecological environment and economic society of Huainan in recent years. The results of these studies show that the overall development level of Huainan in recent years is improving. Using SD model, You (2018) concluded that by 2025, the comprehensive development level of economy and ecology of Huainan would be on the rise in all simulation scenarios. These results are consistent with the conclusions of this study.

By improving the simulation process of SD model, this study overcomes the subjectivity of the selection of control parameters and increases the efficiency of simulation and the accuracy of simulation results. The results enrich the research methods of RECC, and also provide a theoretical reference for the selection of sustainable development mode of coal cities. Due to the numerous influence factors in the system of RECC and the limited data sources, the factors involved in this study may not be comprehensive enough. We can obtain relevant data from more sources and try to build a more comprehensive factor set in the future. Besides, because of the complexity and variability of the system, some factors and equations could be further adjusted to reflect the reality more objectively and predict the development trend more accurately.