Method and system for predicting and analyzing carbon emission of traffic engineering construction project and medium
Through the BP neural network and IPSO algorithm combined with gray correlation analysis method, a carbon emission prediction model for transportation engineering construction projects was constructed, which solved the carbon emission prediction problem during the highway construction period, improved the prediction accuracy and stability, and made carbon emissions Management provides effective tools.
Patent Information
- Application Number
- CN202411060206.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-11-29
AI Technical Summary
The lack of effective methods to predict carbon emissions during the construction period of highways makes it difficult to control carbon emissions in the transportation industry, and the existing technology cannot accurately predict carbon emissions in transportation engineering construction projects.
Using a carbon emission prediction model based on BP neural network algorithm and IPSO algorithm, the characteristic parameters are screened through gray correlation analysis, and the sample data set is constructed, and the training set and verification set are used to improve and adaptive evaluation are achieved to realize the transportation engineering construction project Carbon emission forecast.
It improves the accuracy and stability of the carbon emission forecast model, provides scientific and practical carbon emission management tools, and effectively responds to the carbon emission management needs of transportation engineering construction projects.
Smart Images

Figure CN119047620A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of carbon emission estimation and prediction, and in particular to a carbon emission prediction and analysis method, system and medium for a transportation engineering construction project. Background Art
[0002] Since humans entered the industrial age, a large amount of fossil energy and natural resources have been used in social production activities. While the economy is booming, it has also led to rising global temperatures, accompanied by a series of frequent natural disasters. The rapid accumulation of carbon dioxide emissions is generally regarded as the main driver of global warming. Carbon emissions from the transportation industry account for about 23% of the world's total carbon emissions, and the proportion of carbon emissions in the industry is still on the rise. As a pillar industry of the national economy, the transportation industry is the third largest source of carbon emissions after industry and construction, and my country's transportation carbon emissions are characterized by high energy consumption, high pollution and low efficiency. Road infrastructure is an important part of transportation. A large amount of carbon emissions will be generated in each stage of the road life cycle construction, operation and demolition. Among them, the use of materials and mechanical fuel consumption during the road construction period are the main sources of carbon emissions.
[0003] my country's transportation infrastructure is huge and developing rapidly. Effective control and neutralization of carbon emissions from transportation infrastructure will be an urgent issue to be addressed in the future. Currently, there is a lack of methods to predict carbon emissions during the construction period of highways based on existing characteristic parameters during the design period of highways. Summary of the invention
[0004] The present invention provides a method, system and medium for predicting and analyzing carbon emissions of transportation engineering construction projects, which can effectively solve the problems in the background technology.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is:
[0006] A method for predicting and analyzing carbon emissions from a transportation engineering construction project, the method comprising:
[0007] Based on the existing transportation engineering construction projects in the transportation engineering carbon emission calculation and analysis software CEA-TC1.0, basic sample data is obtained;
[0008] Analyze several types of unit projects in the transportation engineering construction project and screen characteristic parameters;
[0009] Analyzing the characteristic parameters obtained by screening through grey relational analysis, extracting a number of the characteristic parameters, and constructing a sample data set according to the extracted characteristic parameters and the basic sample data;
[0010] Dividing the sample data set into a training set and a validation set;
[0011] Constructing a carbon emission prediction model for a transportation engineering construction project based on a BP neural network algorithm, and improving the carbon emission prediction model for a transportation engineering construction project using the training set through an IPSO algorithm;
[0012] Conducting adaptability evaluation on the carbon emission prediction model for the transportation engineering construction project through the validation set;
[0013] The carbon emission prediction model for transportation engineering construction projects after adaptability evaluation is used to predict and analyze the carbon emission of transportation engineering construction projects.
[0014] Furthermore, the obtaining of basic sample data includes obtaining characteristic parameters and carbon emission data of existing transportation engineering construction projects in the transportation engineering carbon emission calculation and analysis software CEA-TC1.0.
[0015] Furthermore, the characteristic parameter screening includes analyzing the parameters and parameter availability that can characterize the carbon emissions in several types of unit projects in the transportation engineering construction project, and preliminarily screening several characteristic parameters of carbon emissions during the transportation engineering construction period.
[0016] Furthermore, the characteristic parameters obtained by screening are analyzed by grey relational analysis, a number of the characteristic parameters are extracted, and a sample data set is constructed according to the extracted characteristic parameters and the basic sample data, including:
[0017] The grey correlation analysis method is used to calculate the correlation of the characteristic parameters obtained by preliminary screening to obtain the correlation calculation result;
[0018] Sorting the correlation degree calculation results and extracting the characteristic parameters;
[0019] Based on the extracted characteristic parameters, characteristic parameter values and carbon emission values of existing projects in the basic sample data are captured and sorted out to obtain the sample data set.
[0020] Furthermore, the sample data set is divided into a training set and a validation set, including setting a sample quantity ratio between the training set and the test set, and using the train_test_split() function in the sklearn library to randomly divide the sample data set.
[0021] Furthermore, a carbon emission prediction model for a transportation engineering construction project is constructed based on a BP neural network algorithm, and the carbon emission prediction model for a transportation engineering construction project is improved using the training set through an IPSO algorithm, including:
[0022] Building a BP neural network topology, setting the number of nodes in the BP neural network input layer, hidden layer and output layer, and initializing the weights and biases of the BP neural network;
[0023] Receiving the training set through the input layer, and transferring the training set to the hidden layer for hidden layer neuron data calculation;
[0024] Introducing the hidden layer neuron data into the output layer to calculate the predicted output value;
[0025] Initialize the PSO algorithm, set the inertia weight, particle population size, learning factor and maximum number of iterations of the PSO algorithm, and select the MSE mean square error as the fitness function;
[0026] Adjust the inertia weight and update the position and velocity of the particle;
[0027] According to the fitness function, the error value between the predicted output value and the actual output value is calculated, a learning rate is introduced, and the weight and bias of the BP neural network are corrected by using the gradient descent method through the error value.
[0028] Furthermore, the adaptability of the carbon emission prediction model for the transportation engineering construction project is evaluated through the validation set, including:
[0029] Calculating the mean square error, mean absolute percentage error and model determination coefficient of the carbon emission prediction model of the transportation engineering construction project;
[0030] The adaptability of the carbon emission prediction model for the transportation engineering construction project is evaluated based on the calculation results.
[0031] Further, the carbon emission prediction model for the transportation engineering construction project after the adaptability evaluation is used to predict and analyze the carbon emission of the transportation engineering construction project, including:
[0032] Input the characteristic parameters of the transportation engineering construction project to be predicted, perform prediction based on the constructed transportation engineering construction project carbon emission prediction model, and obtain the carbon emission prediction result;
[0033] Calculate the carbon emission level and carbon emission intensity of the transportation engineering construction project according to the input characteristic parameters and the carbon emission prediction results, and visualize the carbon emission level and carbon emission intensity;
[0034] The predicted values of carbon emissions of several types of unit projects and the proportion of carbon emissions of each unit project are visualized.
[0035] A carbon emission prediction and analysis system for a transportation engineering construction project, the system comprising:
[0036] The sample data acquisition module obtains basic sample data based on the existing transportation engineering construction projects in the transportation engineering carbon emission calculation and analysis software CEA-TC1.0;
[0037] A characteristic data screening module analyzes several types of unit projects in the traffic engineering construction project and screens characteristic parameters;
[0038] A feature data analysis module analyzes the feature parameters obtained by screening through grey correlation analysis, extracts a number of the feature parameters, and constructs a sample data set according to the extracted feature parameters and the basic sample data;
[0039] A sample data set division module divides the sample data set into a training set and a validation set;
[0040] A prediction model building module, which builds a carbon emission prediction model for a transportation engineering construction project based on a BP neural network algorithm, and improves the carbon emission prediction model for the transportation engineering construction project using the training set through an IPSO algorithm;
[0041] A model adaptability analysis module, which evaluates the adaptability of the carbon emission prediction model for the transportation engineering construction project through the verification set;
[0042] The carbon emission prediction and analysis module uses the carbon emission prediction model for the transportation engineering construction project after the adaptability evaluation to predict and analyze the carbon emission of the transportation engineering construction project.
[0043] A computer medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 8.
[0044] The technical solution of the present invention can achieve the following technical effects:
[0045] The present invention can effectively screen and determine the optimal characteristic parameters, making the carbon emission prediction model of transportation engineering construction projects more accurate and precise. Through the improvement of the IPSO algorithm, the prediction ability and stability of the model are improved, which can effectively cope with the complex carbon emission prediction needs of transportation engineering, while ensuring that the prediction model is scientific and practical in practical applications, providing effective tools and methods for carbon emission management of transportation engineering construction projects.
[0046] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0048] Figure 1 It is a flow chart of a carbon emission prediction and analysis method for a transportation engineering construction project;
[0049] Figure 2 A schematic diagram of the process of constructing a sample data set;
[0050] Figure 3 This is a structural diagram of a carbon emission prediction and analysis system for transportation engineering construction projects. DETAILED DESCRIPTION
[0051] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0053] Embodiment 1
[0054] like Figure 1 As shown, a method for predicting and analyzing carbon emissions of transportation engineering construction projects includes:
[0055] A1: Obtain basic sample data based on the existing transportation engineering construction projects in the transportation engineering carbon emission calculation and analysis software CEA-TC1.0;
[0056] This embodiment collects data through the traffic engineering carbon emission calculation and analysis software CEA-TC1.0. CEA-TC1.0 software is a software specially used for traffic engineering carbon emission calculation and analysis. The data source is credible and the calculation method is scientific, which can ensure the accuracy and reliability of the basic sample data.
[0057] A2: Analyze several types of unit projects in transportation engineering construction projects and screen characteristic parameters;
[0058] Analyze each specific engineering part in the transportation engineering construction project, such as roadbed engineering, bridge engineering, tunnel engineering, etc. Each unit project has its own unique characteristic parameters. In order to achieve the purpose of subsequent simplification of the model and improve the prediction accuracy, the characteristic parameters can be preliminarily screened from a large number of characteristic parameters to select parameters that have a greater impact on carbon emissions, including overall mileage, construction costs, temporary roads, roadbed excavation, roadbed filling, special roadbed treatment, super-large bridge projects, interchanges, road modification projects, etc.
[0059] A3: Analyze the characteristic parameters obtained by screening through grey correlation analysis, extract several characteristic parameters, and construct a sample data set based on the extracted characteristic parameters and basic sample data;
[0060] Grey correlation analysis is a method used to study the degree of correlation between influencing factors. It is suitable for system correlation analysis in cases where the amount of data is small, the information is incomplete or inaccurate. With the development of the system, if the trend of two factors is similar and the synchronization is high, the correlation between the two factors is considered to be high, otherwise the correlation between the two factors is considered to be low. Analyzing the characteristic parameters screened by grey correlation analysis can effectively identify the characteristic parameters that have the greatest impact on carbon emissions. After extracting these characteristic parameters, the sample data set is constructed in combination with the basic sample data to provide data support for subsequent model training and verification.
[0061] A4: Divide the sample data set into a training set and a validation set;
[0062] The training set is used to train the model, while the validation set is used to evaluate the model performance. A reasonable division ratio can effectively prevent overfitting and ensure the performance of the model on unseen data. For example, 80% is used for the training set and 20% is used for the validation set. In order to ensure the randomness of the division and the consistency of the data distribution, the sample data set can be randomly disrupted.
[0063] A5: Construct a carbon emission prediction model for transportation engineering construction projects based on the BP neural network algorithm, and improve the carbon emission prediction model for transportation engineering construction projects using the training set through the IPSO algorithm;
[0064] A6: Evaluate the adaptability of the carbon emission prediction model for transportation engineering construction projects through the validation set;
[0065] A7: Use the carbon emission prediction model for transportation engineering construction projects after adaptability evaluation to conduct predictive analysis on carbon emissions from transportation engineering construction projects.
[0066] In transportation engineering construction projects, carbon emission prediction involves a variety of complex factors and nonlinear relationships. The BP neural network algorithm is used to build a carbon emission prediction model for transportation engineering construction projects. Through its powerful nonlinear fitting ability, self-learning ability and high flexibility, it can improve the accuracy and robustness of the prediction, handle complex data and multi-dimensional inputs, and has strong generalization ability, which is suitable for various complex situations in practical applications. In order to overcome the limitations of the BP neural network, the BP neural network carbon emission prediction model can be improved by the IPSO algorithm. Through multiple iterations, the particles gradually approach the optimal solution, and the optimal BP neural network weights and biases are found. The optimized model can be evaluated for adaptability, verifying the performance of the model on unseen data, thereby evaluating its generalization ability and reliability in practical applications.
[0067] The present invention can effectively screen and determine the optimal characteristic parameters, making the carbon emission prediction model of transportation engineering construction projects more accurate and precise. Through the improvement of the IPSO algorithm, the prediction ability and stability of the model are improved, which can effectively cope with the complex carbon emission prediction needs of transportation engineering, while ensuring that the prediction model is scientific and practical in practical applications, providing effective tools and methods for carbon emission management of transportation engineering construction projects.
[0068] On the basis of the above-mentioned embodiment, basic sample data is obtained, including obtaining characteristic parameters and carbon emission data of existing transportation engineering construction projects in the transportation engineering carbon emission calculation and analysis software CEA-TC1.0.
[0069] The basic sample data obtained in this step include two parts: model input parameters and model output parameters, which are subsequently used in the construction of a carbon emission prediction model for transportation engineering construction projects. Model input parameters refer to the main data indicators related to transportation engineering construction projects, that is, the characteristic parameters of transportation engineering construction projects, including overall mileage, construction costs, number of lanes, bridge length, tunnel length, etc. The model input parameter data comes from the project overview and project total budget table in the transportation engineering carbon emission calculation and analysis software; model output parameters refer to the total carbon emissions of the project and the carbon emissions per unit project, and the model output parameter data comes from the project budget calculation results.
[0070] In order to improve the quality of the screened characteristic data, characteristic parameter screening is carried out, including analyzing the parameters and parameter availability that can characterize carbon emissions in several types of unit projects in transportation engineering construction projects, and preliminarily screening several carbon emission characteristic parameters during the transportation engineering construction period.
[0071] Specifically, characteristic parameter screening can identify and determine characteristic parameters that are closely related to carbon emissions, including various factors that affect carbon emissions. Each characteristic parameter is analyzed through statistical analysis, correlation analysis and other methods to evaluate the relationship between it and carbon emissions. At the same time, whether the data of each characteristic parameter is easy to obtain can be considered. If the data of some parameters are difficult to obtain or not accurate enough, it may affect the reliability of the model. Therefore, parameters that are easy to obtain and have high data quality can be given priority.
[0072] Based on the above embodiments, Figure 2 As shown, the characteristic parameters obtained by screening are analyzed through grey correlation analysis, several characteristic parameters are extracted, and a sample data set is constructed according to the extracted characteristic parameters and basic sample data, including:
[0073] B1: Use the grey correlation analysis method to calculate the correlation of several characteristic parameters obtained by preliminary screening to obtain the correlation calculation result;
[0074] B2: Sort the correlation calculation results and extract characteristic parameters;
[0075] B3: Based on the extracted characteristic parameters, the characteristic parameter values and carbon emission values of existing projects in the basic sample data are captured and sorted to obtain the sample data set.
[0076] This step performs a correlation analysis on the characteristic parameters obtained by screening. Carbon emissions can be selected as the reference sequence, and the data sequences of other characteristic parameters can be selected as the comparison sequence. For each characteristic parameter, its correlation coefficient with the reference sequence is calculated, and the correlation coefficient is averaged to obtain the gray correlation of each characteristic parameter. This not only obtains a comprehensive evaluation of each characteristic parameter in the overall data, but also improves the stability and reliability of the results. In order to select the characteristic parameters that are most closely related to the target variable, all characteristic parameters can be sorted from high to low according to the gray correlation, and the first several characteristic parameters with the highest correlation can be selected. According to the selected characteristic parameters, the relevant characteristic parameter values and the corresponding carbon emissions data are extracted from the basic sample data to form a sample data set for subsequent model training and verification.
[0077] Based on the specific process of data processing, an example is given to demonstrate that the parameters that can characterize carbon emissions in unit projects such as temporary projects, roadbed projects, pavement projects, bridge and culvert projects, tunnel projects, intersection projects, traffic projects and facilities along the line, greening and environmental protection projects and other projects are analyzed respectively. Taking into account the availability of parameters, 14 possible characteristic parameters of carbon emissions during the highway construction period are preliminarily screened out, including overall mileage (km), construction costs (100 million yuan), number of lanes, temporary roads (km), temporary bridges and culverts (m), roadbed excavation (m3), roadbed filling (m3), special roadbed treatment (km), pavement thickness (cm), large bridge projects (m), extra-large bridge projects (m), intersection projects (places), interchanges (km) and road change projects (km).
[0078] The grey correlation analysis method was used to calculate the correlation of 14 characteristic parameters, and the grey correlation analysis was performed using 21 sets of original data in the traffic engineering carbon emission calculation and analysis software CEA-TC1.0 to obtain the following results:
[0079] Table 1 Grey relational degree and ranking
[0080]
[0081]
[0082] According to the calculation results, 9 parameters including overall mileage, construction and installation costs, temporary roads, roadbed excavation, roadbed filling, special roadbed treatment, super-large bridge projects, interchanges, and road diversion projects were finally selected as characteristic parameters for the construction of the carbon emission prediction model for transportation engineering construction projects. The existing 21 sets of data were sorted out, and some sample data were obtained after the characteristic parameters were screened as shown in the following table:
[0083] Table 2 Partial sample data of carbon emission prediction model during highway construction period
[0084]
[0085] Furthermore, the sample data set is divided into a training set and a validation set, including setting the sample size ratio of the training set and the test set, and the sample data set is randomly divided using the train_test_split() function in the sklearn library.
[0086] Before dividing the data set, you can first decide the sample size ratio of the training set and the validation set. Common ratios include 70:30, 80:20 or 90:10, where a larger proportion of data is used as the training set and a smaller proportion of data is used as the validation set. Choosing different ratios will affect the training and evaluation of the model. Too little data in the training set may result in the model not being able to fully learn; too little data in the validation set may not be able to fully evaluate the performance of the model. For example, the existing 21 sets of carbon emission data during the highway construction period are used as research samples, and the training set and test set are randomly divided into 80:20 ratios, that is, 16 sets of data are used as training sets and the remaining 5 sets of data are used as test sets.
[0087] As a preferred embodiment of this invention, a carbon emission prediction model for transportation engineering construction projects is constructed based on a BP neural network algorithm, and the carbon emission prediction model for transportation engineering construction projects is improved by using a training set through an IPSO algorithm, including:
[0088] C1: Build the BP neural network topology, set the number of nodes in the BP neural network input layer, hidden layer and output layer, and initialize the weight and bias of the BP neural network;
[0089] In order to ensure that the network can process input data and generate prediction results, the structure of the network can be determined, and the number of nodes in the input layer, hidden layer, and output layer of the BP neural network can be set. The number of input layer nodes should be consistent with the number of characteristic parameters, the number of hidden layer nodes can be determined through experiments, and the number of output layer nodes should be consistent with the prediction target. For example, overall mileage, construction and installation costs, temporary roads, roadbed excavation, roadbed filling, special roadbed treatment, super-large bridge projects, interchanges, and road diversion projects are selected as input parameters, and carbon emissions during the highway construction period are selected as output parameters. Therefore, the number of input layer nodes of the BP neural network is 9, the number of output layer nodes is 1, and the number of hidden layer nodes is 13. The final BP neural network topology is 9×13×1. Before training begins, initial values can be assigned to the weights and biases of the network. The weights and biases are initialized to small random values to break the symmetry and promote effective training of the network.
[0090] C2: Receive the training set through the input layer and pass it to the hidden layer for hidden layer neuron data calculation;
[0091] Specifically, the training set samples are defined as (x i ,y i ), i=1,2,...,n,x i is the input parameter, y i is the output value, and the training set sample data are all true values. After the BP neural input layer receives the training set data, it passes the input parameters to the hidden layer and calculates the hidden layer neuron data:
[0092]
[0093] Among them, h j is the hidden layer neuron data, f() is the activation function, x i is the input value, a j is the hidden layer threshold, ω ij is the weight from the input layer node to the hidden layer node.
[0094] C3: Introduce the hidden layer neuron data into the output layer to calculate the predicted output value;
[0095]
[0096] Among them, y′ k is the predicted output value, b k is the output layer threshold, ω jk is the weight from the hidden layer nodes to the output layer nodes.
[0097] C4: Initialize the PSO algorithm, set the inertia weight, particle population size, learning factor and maximum number of iterations of the PSO algorithm, and select the MSE mean square error as the fitness function;
[0098] This step initializes the relevant parameters of the PSO algorithm and can set the necessary initial conditions for the PSO algorithm so that the optimization process can be carried out efficiently and ensure the accuracy and reliability of the optimization results.
[0099] C5: Adjust the inertia weight and update the position and velocity of the particle;
[0100] Specifically, the inertia weight is the inertia that controls the movement of particles in the solution space. It determines the distance that particles move between the current position and the previous position. The purpose of adjusting the inertia weight is to balance the ability of local search and global search. The inertia weight is usually set to a higher value at the beginning of the algorithm, which helps particles to conduct a wider search in the initial stage. During the optimization process, the inertia weight will gradually decrease to enhance the local search ability of particles near the potential optimal solution. The specific improvement formula of the inertia weight is:
[0101]
[0102] Among them, ω is the inertia weight, ω min is the minimum inertia weight, ω max is the maximum inertia weight, t is the current iteration number, t max is the maximum number of iterations.
[0103] Each particle represents a set of weights and biases of the BP neural network. The position and velocity are updated through particle swarm iteration to search for the optimal weights and biases. During the update iteration process, the particle updates its own position and velocity through the following formula:
[0104]
[0105]
[0106] in, is the position of particle i in the d-dimensional variable in the t-th iteration, is the position of particle i in the d-dimensional variable in the t-th iteration, ω is the inertia weight, t is the number of particle swarm iterations, is the individual extreme value, is the group extreme value, c 1 、c 2 is the learning factor, r 1 、r 2 is a random number distributed in [0,1].
[0107] C6: According to the fitness function, the error value between the predicted output value and the actual output value is calculated, the learning rate is introduced, and the weight and bias of the BP neural network are corrected by the gradient descent method through the error value.
[0108] Before the training of the training set samples is completed, the above calculation process is performed and then returned to the hidden layer to run in a loop until the error accuracy requirement is met or the set maximum number of training times is reached.
[0109] As a preferred embodiment of this invention, the adaptability evaluation of the carbon emission prediction model of the transportation engineering construction project is performed through the validation set, including:
[0110] D1: Calculate the mean square error, mean absolute percentage error and model determination coefficient of the carbon emission prediction model for transportation engineering construction projects;
[0111] D2: Evaluate the adaptability of the carbon emission prediction model for transportation engineering construction projects based on the calculation results.
[0112] As a preferred embodiment of this embodiment, a series of evaluation indicators can be calculated to evaluate the adaptability of the carbon emission prediction model for transportation engineering construction projects, including mean square error, mean absolute percentage error and model determination coefficient.
[0113] The mean square error (MSE) is the average of the squares of the differences between the predicted value and the actual value. It reflects the average error of the predicted result and can quantify the deviation of the model's predicted result. The smaller the MSE, the closer the model's predicted value is to the actual value, and the better the prediction performance. The calculation formula is as follows:
[0114]
[0115] Among them, y i ′ is the predicted value, y i is the true value, is the average value.
[0116] The mean absolute percentage error (MAPE) is the average value of the ratio of the absolute value of the prediction error to the actual value. A lower MAPE indicates that the model has better prediction accuracy. The calculation formula is as follows:
[0117]
[0118] Where: y i ′ is the predicted value, y i is the true value, is the average value.
[0119] Model determination coefficient R 2 The coefficient of determination is used to evaluate the ability of the model to explain the variables and reflects the goodness of fit of the model. 2 The value indicates that the model can better explain the variability of the target variable, and the calculation formula is as follows:
[0120]
[0121] Where: y i ′ is the predicted value, y i is the true value, is the average value.
[0122] The above indicators are used to evaluate the performance of the model on the validation set to determine whether the model can make accurate predictions on unseen data. If the MSE, MAPE or R 2 If the value does not meet expectations, you can further adjust model parameters, select features, or improve the algorithm to optimize the model's predictive performance.
[0123] Furthermore, the carbon emission prediction model of the transportation engineering construction project after the adaptability evaluation is used to predict and analyze the carbon emission of the transportation engineering construction project, including:
[0124] E1: Input the characteristic parameters of the transportation engineering construction project to be predicted, perform prediction based on the constructed carbon emission prediction model of the transportation engineering construction project, and obtain the carbon emission prediction result;
[0125] E2: Calculate the carbon emission level and carbon emission intensity of the transportation engineering construction project based on the input characteristic parameters and carbon emission prediction results, and visualize the carbon emission level and carbon emission intensity;
[0126] E3: Visualize the predicted carbon emissions of several types of unit projects and the proportion of carbon emissions of each unit project.
[0127] Specifically, in order to effectively display and analyze the prediction results of carbon emissions of transportation engineering construction projects, the prediction results of carbon emissions of transportation engineering construction projects can be visualized, including bar charts, pie charts, bar graphs, line graphs, scatter plots, etc.
[0128] Embodiment 2:
[0129] like Figure 3 As shown, a carbon emission prediction and analysis system for transportation engineering construction projects includes:
[0130] The sample data acquisition module obtains basic sample data based on the existing transportation engineering construction projects in the transportation engineering carbon emission calculation and analysis software CEA-TC1.0;
[0131] The characteristic data screening module analyzes several types of unit projects in the transportation engineering construction project and screens characteristic parameters;
[0132] The feature data analysis module analyzes the screened feature parameters through grey correlation analysis, extracts several feature parameters, and constructs a sample data set based on the extracted feature parameters and basic sample data;
[0133] A sample data set partitioning module, which partitions the sample data set into a training set and a validation set;
[0134] The prediction model building module builds a carbon emission prediction model for transportation engineering construction projects based on the BP neural network algorithm, and improves the carbon emission prediction model for transportation engineering construction projects using the training set through the IPSO algorithm;
[0135] Model adaptability analysis module, which evaluates the adaptability of the carbon emission prediction model for transportation engineering construction projects through a validation set;
[0136] The carbon emission prediction and analysis module uses the carbon emission prediction model of transportation engineering construction projects after adaptability evaluation to predict and analyze the carbon emissions of transportation engineering construction projects.
[0137] A computer medium having a computer program stored thereon, which implements the method according to any one of claims 1 to 8 when the computer program is executed by a processor.
[0138] The above-mentioned adjustment system in the present invention can effectively implement the carbon emission prediction and analysis method for transportation engineering construction projects, and the technical effects that can be achieved are as described in the above-mentioned embodiments, which will not be repeated here.
[0139] Although the present application has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present application as defined herein, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application is intended to include these modifications and variations.
Claims
1. A method for predicting and analyzing carbon emissions from transportation engineering construction projects, characterized in that: The method comprises: Based on the existing transportation engineering construction projects in the transportation engineering carbon emission calculation and analysis software CEA-TC1.0, basic sample data is obtained; Analyze several types of unit projects in the transportation engineering construction project and screen characteristic parameters; Analyzing the characteristic parameters obtained by screening through grey relational analysis, extracting a number of the characteristic parameters, and constructing a sample data set according to the extracted characteristic parameters and the basic sample data; Dividing the sample data set into a training set and a validation set; Constructing a carbon emission prediction model for a transportation engineering construction project based on a BP neural network algorithm, and improving the carbon emission prediction model for a transportation engineering construction project using the training set through an IPSO algorithm; Conducting adaptability evaluation on the carbon emission prediction model for the transportation engineering construction project through the validation set; The carbon emission prediction model for transportation engineering construction projects after adaptability evaluation is used to predict and analyze the carbon emission of transportation engineering construction projects.
2. A method for predicting and analyzing carbon emissions of transportation engineering construction projects according to claim 1, characterized in that: The obtaining of basic sample data includes obtaining characteristic parameters and carbon emission data of existing transportation engineering construction projects in the transportation engineering carbon emission calculation and analysis software CEA-TC1.
0.
3. A method for predicting and analyzing carbon emissions of transportation engineering construction projects according to claim 1, characterized in that: The characteristic parameter screening includes analyzing the parameters and parameter availability that can characterize the carbon emissions in several types of unit projects in the transportation engineering construction project, and preliminarily screening several carbon emission characteristic parameters during the transportation engineering construction period.
4. A method for predicting and analyzing carbon emissions of transportation engineering construction projects according to claim 3, characterized in that: The characteristic parameters obtained by screening are analyzed by grey relational analysis, a number of the characteristic parameters are extracted, and a sample data set is constructed according to the extracted characteristic parameters and the basic sample data, including: The grey correlation analysis method is used to calculate the correlation of the characteristic parameters obtained by preliminary screening to obtain the correlation calculation result; Sorting the correlation degree calculation results and extracting the characteristic parameters; Based on the extracted characteristic parameters, characteristic parameter values and carbon emission values of existing projects in the basic sample data are captured and sorted out to obtain the sample data set.
5. The method for predicting and analyzing carbon emissions of a transportation engineering construction project according to claim 1 is characterized in that: The sample data set is divided into a training set and a validation set, including setting the sample quantity ratio of the training set and the test set, and using the train_test_split() function in the sklearn library to randomly divide the sample data set.
6. A method for predicting and analyzing carbon emissions of a transportation engineering construction project according to claim 1, characterized in that: A carbon emission prediction model for a transportation engineering construction project is constructed based on a BP neural network algorithm, and the carbon emission prediction model for a transportation engineering construction project is improved using the training set through an IPSO algorithm, including: Building a BP neural network topology, setting the number of nodes in the BP neural network input layer, hidden layer and output layer, and initializing the weights and biases of the BP neural network; Receiving the training set through the input layer, and transferring the training set to the hidden layer for hidden layer neuron data calculation; Introducing the hidden layer neuron data into the output layer to calculate the predicted output value; Initialize the PSO algorithm, set the inertia weight, particle population size, learning factor and maximum number of iterations of the PSO algorithm, and select the MSE mean square error as the fitness function; Adjust the inertia weight and update the position and velocity of the particle; According to the fitness function, the error value between the predicted output value and the actual output value is calculated, a learning rate is introduced, and the weight and bias of the BP neural network are corrected by using the gradient descent method through the error value.
7. A method for predicting and analyzing carbon emissions of a transportation engineering construction project according to claim 1, characterized in that: The adaptability of the carbon emission prediction model for the transportation engineering construction project is evaluated by using the validation set, including: Calculating the mean square error, mean absolute percentage error and model determination coefficient of the carbon emission prediction model of the transportation engineering construction project; The adaptability of the carbon emission prediction model for the transportation engineering construction project is evaluated based on the calculation results.
8. A method for predicting and analyzing carbon emissions of a transportation engineering construction project according to claim 1, characterized in that: The carbon emission prediction model for the transportation engineering construction project after the adaptability evaluation is used to predict and analyze the carbon emission of the transportation engineering construction project, including: Input the characteristic parameters of the transportation engineering construction project to be predicted, perform prediction based on the constructed transportation engineering construction project carbon emission prediction model, and obtain the carbon emission prediction result; Calculate the carbon emission level and carbon emission intensity of the transportation engineering construction project according to the input characteristic parameters and the carbon emission prediction results, and visualize the carbon emission level and carbon emission intensity; The predicted values of carbon emissions of several types of unit projects and the proportion of carbon emissions of each unit project are visualized.
9. A carbon emission prediction and analysis system for transportation engineering construction projects, characterized in that: The system comprises: The sample data acquisition module obtains basic sample data based on the existing transportation engineering construction projects in the transportation engineering carbon emission calculation and analysis software CEA-TC1.0; A characteristic data screening module analyzes several types of unit projects in the traffic engineering construction project and screens characteristic parameters; A feature data analysis module analyzes the feature parameters obtained by screening through grey correlation analysis, extracts a number of the feature parameters, and constructs a sample data set according to the extracted feature parameters and the basic sample data; A sample data set division module divides the sample data set into a training set and a validation set; A prediction model building module, which builds a carbon emission prediction model for a transportation engineering construction project based on a BP neural network algorithm, and improves the carbon emission prediction model for the transportation engineering construction project using the training set through an IPSO algorithm; A model adaptability analysis module, which evaluates the adaptability of the carbon emission prediction model for the transportation engineering construction project through the verification set; The carbon emission prediction and analysis module uses the carbon emission prediction model for the transportation engineering construction project after the adaptability evaluation to predict and analyze the carbon emission of the transportation engineering construction project.
10. A computer medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Carbon emission calculation method and system for railway infrastructure construction
CN119647797A
A carbon emission calculation method and system for railway infrastructure construction
CN119647797B
Method for predicting carbon emission in whole life cycle of construction of construction project
CN119740695A
Environment-friendly low-carbon monitoring system for energy-saving transformation of old community
CN119903298A
Atmospheric pollution analysis method and system based on motor vehicle exhaust
CN120509604A
