A combined prediction method for airspace flight carbon emissions
By combining the LSTM and XGBoost prediction models, using the basic information database of airspace flights to calculate fuel consumption rate and carbon emissions, the problem of inaccurate carbon emission estimation of airspace flights in the existing technology is solved, and more accurate carbon emissions are achieved. forecast and provide technical support for energy conservation and emission reduction policies.
Patent Information
- Application Number
- CN202111317485.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-09
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-11-09
AI Technical Summary
Existing technology is difficult to accurately predict the carbon emissions of flights during the flight cruise phase in high-altitude airspace, resulting in inaccurate carbon emission estimates and affecting climate change and environmental protection.
It adopts a prediction model that combines LSTM and Plan data and airspace meteorological data, calculate fuel consumption rate and carbon emissions, and make accurate predictions.
It improves the accuracy and effectiveness of airspace flight carbon emission predictions, enables statistical analysis at sector and large-scale airspace scales, provides technical support for energy-saving and emission reduction policies, and improves dynamic capacity allocation capabilities.
Smart Images

Figure CN114118537B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of aviation technology, and in particular relates to a combined prediction method for airspace flight carbon emissions. Background Art
[0002] As the number of flights increases, the impact of carbon emissions on the environment also increases. Large amounts of carbon emissions not only harm human health, but also threaten global climate change.
[0003] At present, the research on aircraft carbon emissions mainly estimates the emissions of aircraft in the take-off and landing cycle. The high-altitude carbon emissions generated by high-altitude airspace flight cruising will accelerate the change of the chemical and microscopic particle physics characteristics of the atmosphere, and have an amplifying effect on climate change; and the cruising phase of flight operations accounts for 80% of the entire flight mission, and most of the fuel consumption and carbon emissions of the entire flight mission occur during this phase. Therefore, the currently known aircraft carbon emissions estimation methods cannot achieve accurate perception of carbon emissions from en-route airspace flights. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a combined prediction method for airspace flight carbon emissions, which can achieve accurate perception of airspace flight carbon emissions.
[0005] To achieve the above object, the present invention is implemented by adopting the following technical solutions:
[0006] A combined prediction method for airspace flight carbon emissions, comprising:
[0007] Collect basic information of airspace flights from a pre-established basic information database to calculate the fuel consumption rate of airspace flights under the operating conditions corresponding to the preset historical time period;
[0008] According to the fuel consumption rate of airspace flights, the historical time series data set of airspace flight carbon emissions is calculated;
[0009] The historical time series data set of airspace flight carbon emissions is input into the trained LSTM prediction model and XGBoost prediction model respectively to obtain the carbon emissions prediction results of the LSTM prediction model and the carbon emissions prediction results of the XGBoost prediction model;
[0010] The adaptive time-varying weighting method is used to fuse the carbon emission prediction results of the LSTM prediction model and the carbon emission prediction results of the XGBoost prediction model to obtain the prediction results of carbon emissions of airspace flights.
[0011] Furthermore, the basic airspace flight information includes: airspace boundary data, BADA aircraft performance data, ADS-B flight trajectory data, flight flight plan data and airspace meteorological data.
[0012] Furthermore, the calculation method of the fuel consumption rate includes:
[0013] Determine the flight phase of each flight track point based on the vertical speed of each flight track point of the airspace flight;
[0014] According to the wind speed and wind direction corresponding to the flight altitude of the track point, the flight ground speed is converted into true airspeed based on the navigation speed triangle;
[0015] The fuel consumption rate of airspace flights in each flight phase is calculated based on the performance data of the corresponding aircraft models and true airspeed of the airspace flights.
[0016] Furthermore, the flight phases include a climbing phase, a level flight phase, and a descending phase;
[0017] When the vertical velocity v of the track point vertical,i Satisfy: v vertical,i When the speed is less than -300ft / min, the flight phase corresponding to the track point is the descending phase;
[0018] When the vertical velocity v of the track point vertical,i Meet: -300ft / min≤v vertical,i When the speed is ≤300ft / min, the flight phase corresponding to the track point is the level flight phase;
[0019] When the vertical velocity v of the track point vertical,i Satisfaction: v vertical,i When the speed is higher than 300ft / min, the flight phase corresponding to the track point is the climbing phase.
[0020] Furthermore, the method of converting the ground speed of the flight into the true airspeed includes:
[0021] Determine the location of the track point and the wind speed WS corresponding to the height of the track point i and wind direction WD i ;
[0022] Combined track point ground speed V GS,i and magnetic heading MH i The ground speed V at the track point is calculated using the following formula: GS,i Converted into true airspeed V TAS,i :
[0023]
[0024] In the formula: WA i For Windy Point, WA i =TA i -DA i DA i is the drift angle, DA i=|GA i -MH i |GA i is the magnetic track angle; TA i is the true track angle, TA i =|WD i -MH i |If TA i ≥180°, then TA i =|WD i -MH i |-180°.
[0025] Furthermore, the calculation formula of the fuel consumption rate is as follows:
[0026]
[0027] f nom,i =η i ×T i ;
[0028]
[0029] f CR,i =η i ×T i ×C fcr ;
[0030]
[0031]
[0032] Where: i represents the track point number; F actual,i is the flight fuel consumption rate under current operating conditions; C D0,cr , C D2,cr is the resistance parameter related to the model; m i is the weight of the aircraft at the track point; g is the acceleration due to gravity; ρ i is the atmospheric density at the flight altitude of the track point; S is the total wing area of the aircraft; η i C is the aircraft unit thrust fuel consumption; f1 , C f2 , C f3 , C f4 and C fcr is the fuel flow coefficient corresponding to the aircraft model; C L,i is the lift coefficient; C D,i D is the drag coefficient; i is resistance; T i is thrust; θ is the aircraft climb angle; H P is the pressure altitude of the aircraft.
[0033] Furthermore, the training method of the LSTM prediction model includes:
[0034] Calculate the carbon emissions of airspace flights in a specified historical time period and construct a historical time series data set of carbon emissions;
[0035] Split the historical time series dataset into training and test sets;
[0036] A forget gate and an input gate are established in the LSTM neural network model. The forget gate is used to control the degree of forgetting of the training set, and the input gate is used to control the prediction time. The gradient value is propagated backwards through the gradient descent method. After multiple iterations and combined with the test results of the test set, the optimal LSTM parameters are determined to obtain a trained LSTM prediction model.
[0037] Furthermore, the training method of the XGBoost prediction model includes:
[0038] Calculate the carbon emissions of airspace flights in a specified historical time period and construct a historical time series data set of carbon emissions;
[0039] Split the historical time series dataset into training and test sets;
[0040] The training set is used to train the XGBoost prediction model, and the test set is used to verify the XGBoost prediction model to determine the final general parameters, weak evaluator parameters, and task parameters of the XGBoost prediction model;
[0041] The grid search method provided by Scikit-learn is used to determine the optimal hyperparameters of the XGBoost prediction model.
[0042] Furthermore, before using the carbon emission historical time series data set to train the LSTM prediction model and the XGBoost prediction model, the carbon emissions in the carbon emission historical time series data set are normalized;
[0043] Before fusing the carbon emission prediction results of the LSTM prediction model and the carbon emission prediction results of the XGBoost prediction model, the carbon emission prediction results of the LSTM prediction model and the carbon emission prediction results of the XGBoost prediction model are denormalized.
[0044] Furthermore, the method of fusing the carbon emission prediction results of the LSTM prediction model and the carbon emission prediction results of the XGBoost prediction model includes:
[0045] The inverse variance method is used to determine the prediction weights of the LSTM prediction model and the XGBoost prediction model at each moment. The calculation formula is as follows:
[0046]
[0047] In the formula, x t is the input value corresponding to time t; f(x t ) is the predicted value at time t; n is the total number of models; l is the prediction model number; w l (t) is the weight of the lth model at time t; w l (t-1) is the weight of the lth model at time t-1, y t represents the actual value of airspace carbon emissions at time t, e lt is the prediction error of the lth method at time t;
[0048] The combined optimization method is used to determine the optimal number of m and weight coefficient with the goal of minimizing the prediction error. The calculation formula is as follows:
[0049]
[0050]
[0051] Among them, W lt represents the weight coefficient of the lth model at time t; W l,m+1 is the weight coefficient of the lth model at time m+1; J t is the objective function with the goal of minimizing the prediction error; e t is the prediction error of the variable weight combination prediction method at the tth moment; W it The absolute value of the error between the predicted value and the true value of the combined prediction model corresponding to the weight coefficient; m is the number of times when the objective function is optimal; j = tm;
[0052] For time t, calculate the weight coefficient w obtained using the inverse variance method l (t) The absolute value of the error between the predicted value and the true value of the corresponding combined prediction model e lt And the weight coefficient W obtained by the combined optimization method lt The absolute value of the error between the predicted value and the true value of the corresponding combined prediction model Compare the two sizes and adjust the weights adaptively. Then use the weight W lt Replace the original weight w l (t);
[0053] The following formula is used to merge the prediction results of the LSTM prediction model and the XGBoost prediction model:
[0054] y 组合 =w LSTM ·y LSTM +w XGBoost ·yXGBoost
[0055] Among them, y 组合 represents the prediction result of airspace flight carbon emissions; w LSTM Represents the weight vector corresponding to the prediction result of the LSTM prediction model, y LSTM Represents the prediction result vector corresponding to the LSTM prediction model, w XGBoost Represents the weight vector corresponding to the prediction result of the XGBoost prediction model, y XGBoost Represents the prediction result vector corresponding to the XGBoost prediction model.
[0056] Compared with the prior art, the beneficial effects achieved by the present invention are:
[0057] Instead of the single machine learning prediction model in the existing technology, the LSTM prediction model and the XGBoost prediction model are used to predict the carbon emissions of airspace flights, and the adaptive time-varying weighting method is used to fuse the prediction results of the LSTM prediction model and the XGBoost prediction model. This can give full play to the advantages of the prediction model with better prediction performance and reduce the impact of the prediction model with poor prediction performance, thereby improving the prediction accuracy and making the prediction of carbon emissions of airspace flights in a certain period of time in the future more accurate and effective;
[0058] Taking into account the flight phases of airspace flights, statistical analysis can be conducted on carbon emissions of flights at the sector scale and the large-scale airspace scale, providing a technical basis and reference for the formulation of energy-saving and emission reduction policies based on tactical flow management, and improving the sector structure optimization and dynamic capacity "green" allocation capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a flow chart of a combined prediction method for carbon emissions of airspace flights provided by an embodiment of the present invention;
[0060] Figure 2 This is an hourly time series diagram of carbon emissions in the AR05 sector from May 1 to 23, 2019, provided by an embodiment of the present invention;
[0061] Figure 3 It is a schematic diagram of the structure of the LSTM neural network model provided in an embodiment of the present invention;
[0062] Figure 4 It is a comparison chart of the carbon emission prediction result obtained by using the prediction method described in the embodiment of the present invention and the test result. DETAILED DESCRIPTION
[0063] The embodiment of the present invention provides a method for forecasting the carbon emissions of airspace flights. In order to make the purpose of the present invention and the technical solution more clearly and completely described, the invention method is further described in detail with reference to the accompanying drawings and examples. Obviously, the cases described are only part of the implementation cases. Based on the implementation cases of the present invention, other implementation cases obtained by technicians in this field without creative work are all within the scope of protection of the present invention.
[0064] The airspace carbon emissions prediction method provided by the embodiment of the present invention comprises the following steps:
[0065] Step 1, extract relevant data and establish a basic information database;
[0066] Step 2, collecting basic information of airspace flights from a pre-established basic information database to calculate the fuel consumption rate of airspace flights under the operating conditions corresponding to the preset historical time period;
[0067] Step 3: Calculate the historical time series data set of carbon emissions of airspace flights based on the fuel consumption rate of airspace flights;
[0068] Step 4, using the airspace flight carbon emission historical time series data set to train the LSTM prediction model, and determine the trained LSTM prediction model: the trained LSTM prediction model takes the airspace flight carbon emission historical time series data set as input, and takes the airspace flight carbon emission prediction value as output;
[0069] Using the historical time series data set of carbon emissions from airspace flights to train an XGBoost prediction model, and determining the trained XGBoost prediction model: the trained XGBoost prediction model takes the historical time series data set of carbon emissions from airspace flights as input, and takes the predicted value of carbon emissions from airspace flights as output;
[0070] Step 5: Adopt the adaptive time-varying weighting method to fuse the carbon emission prediction results of the LSTM prediction model and the carbon emission prediction results of the XGBoost prediction model to obtain the prediction results of carbon emissions of airspace flights.
[0071] The step 1 comprises:
[0072] Step 1.1: Basic information The basic information stored in the database includes:
[0073] Airspace boundary data: including airspace longitude and latitude coordinate data;
[0074] BADA aircraft performance data: including performance parameter data corresponding to different aircraft models, reference weight data of different aircraft models, and fuel flow coefficients corresponding to different aircraft models;
[0075] ADS-B flight trajectory data: including flight number, departure airport, destination airport, planned departure time, flight altitude (m), flight speed (kt), climb rate (ft / min), longitude, latitude, heading angle, and monitoring time;
[0076] Flight plan data: including flight number, planned departure time, planned arrival time, actual departure time, actual arrival time, departure airport, destination airport, aircraft type, and waypoints;
[0077] Airspace meteorological data: including wind speed and temperature data at the aircraft's flight position and altitude.
[0078] The step 2 comprises:
[0079] Step 2.1: Determine the flight phase of the flight within the airspace:
[0080] According to the vertical speed v of the track point vertical,i The flight phases of a flight are divided into three flight phases: climbing phase, level flight phase and descending phase. For each track point, the vertical speed of the track point can be determined, and then each track point can be classified as climbing phase, level flight phase or descending phase:
[0081]
[0082] Step 2.2: Convert the flight ground speed V in the ADS-B flight trajectory data GS,i Converted into true airspeed V TAS,i
[0083] Determine the location of the track point and the wind speed WS corresponding to the height of the track point i and wind direction WD i (Only consider the influence of horizontal wind and ignore vertical wind), combined with the ground speed V of the track point provided by ADS-B flight track data GS,i and magnetic heading MH i , the ground speed V of the aircraft flight path point GS,i Converted into true airspeed V TAS,i , the specific process is:
[0084] TA i =|WD i -MH i |,DA i =|GA i -MH i |
[0085] WA i =TA i -DA i
[0086]
[0087] If TA i ≥180, then TA i =|WD i -MH i |-180.
[0088] In the formula: WA i For Windy Point, WA i =TA i -DA i DA i is the drift angle, DA i =|GA i -MH i |GA i is the magnetic track angle; TA i is the true track angle, TA i =|WD i -MH i |If TA i ≥180°, then TA i =|WD i -MH i |-180°.
[0089] Step 2.3: Calculate the actual fuel consumption rate of flights in the airspace based on BADA aircraft performance data:
[0090] The BADA model is used to calculate the flight performance parameters of the aircraft according to the flight phase of the flight track points in the airspace to be studied, mainly the lift coefficient C L,i , drag coefficient C D,i , resistance D i Thrust T i , and then calculate the fuel consumption rate F of the current flight under actual operating conditions actual,i :
[0091]
[0092]
[0093]
[0094]
[0095] In the formula, C D0,cr , C D2,cr is the resistance parameter related to the model, m i is the track point P i The weight of the aircraft, g is the acceleration due to gravity, ρ i is the track point P iThe atmospheric density at the flight altitude, S is the total wing area of the aircraft, η i is the aircraft unit thrust fuel consumption, C f1 , C f2 , C f3 , C f4 and C fcr is the fuel flow coefficient corresponding to the aircraft type; θ is the aircraft climb angle; H P is the pressure altitude of the aircraft.
[0096] The step 3 comprises:
[0097] Step 3.1: Based on the actual fuel consumption rate of each aircraft, the historical time series data set x of airspace carbon emissions in the specified time period is calculated, specifically:
[0098]
[0099] In the formula, EICO2 represents the emission index of CO2, which is 3155g / kg, and F total Indicates the fuel consumption of airspace flights, F actual Represents the fuel consumption rate dataset of airspace flights, t total Represents the flight time dataset corresponding to airspace flights.
[0100] Step 3.2: Normalize the airspace carbon emission time series data. Here, the maximum-minimum standardization method is used to process the data and normalize the airspace carbon emission data to the [0,1] interval. Specifically:
[0101]
[0102] Among them, x * is the normalized data of carbon emissions, x min 、x max are the maximum and minimum values in the carbon emission sample data set, respectively, and x is the original carbon emission sample data.
[0103] Correspondingly, the prediction result y of the LSTM prediction model is LSTM And the prediction result y of the XGBoost prediction model XGBoost Before fusion, the prediction result y LSTM and XGBoost Perform denormalization.
[0104] The step 4 comprises:
[0105] Step 4.1: Split the historical time series dataset of airspace flight carbon emissions into a training set and a test set;
[0106] Step 4.2: Use the selected training set to train the LSTM neural network model and adjust the LSTM parameters to obtain the trained LSTM prediction model. Then, use the airspace flight carbon emission historical time series dataset as input to obtain the predicted value of airspace flight carbon emission, specifically:
[0107] A forget gate and an input gate are established in the LSTM neural network model. The forget gate is used to control the degree of forgetting of the selected data set, and the input gate is used to control the information of the prediction time. The gradient value is propagated backwards through the gradient descent method. After multiple iterations, the optimal LSTM parameters are obtained and then the optimal LSTM neural network model is obtained. The carbon emissions results of airspace flights are predicted through the optimal LSTM neural network model.
[0108] like Figure 3 , which is a schematic diagram of the structure of the LSTM neural network model provided by an embodiment of the present invention. The LSTM prediction model is established for the airspace flight carbon emissions training set samples. First, the forget gate checks the airspace flight carbon emissions output value y at the p-1th moment. p-1 The input value x of the airspace flight carbon emissions at time p p To determine the cell state C p .
[0109] f p =σ(W f ·[y p-1 ,x p ]+b f )
[0110] Secondly, the input gate determines the updated value and cell state inside the unit.
[0111] q p =σ(W q ·[y p-1 ,x p ]+b q )
[0112]
[0113]
[0114] Finally, the output gate determines the output of the airspace carbon emissions at the current moment p.
[0115] o p =σ(W o ·[y p-1 ,x p ]+b o )
[0116]
[0117] Where: f p ,q p , C p , o p 、x p and p Respectively represent the forget gate, input gate, previous cell state, current cell state, output gate, input and output at time p; W f , W q , W c and W o Represents the matrix weights of the forget gate, input gate, cell state, and output gate respectively; b f 、b q 、b C and b o They represent the bias terms of the forget gate, input gate, cell state, and output gate respectively; tanh is the hyperbolic tangent activation function, and σ is the activation function, which is generally the Sigmoid function.
[0118] Set the number of neural network modules of the LSTM prediction model to 2 layers, select Sigmoid as the activation function, select the Adam optimization algorithm for network training, set the learning rate to 0.001-0.01, the number of iterations to 200, and the batch size to 10-100. Use the grid search method provided by Scikit-learn to determine the optimal hyperparameters of the LSTM prediction model and save the training model.
[0119] Step 4.3: Use the selected training set to train the XGBoost prediction model and obtain the desired XGBoost prediction model parameters to form a trained XGBoost prediction model, and then use the airspace flight carbon emission historical time series data set as input to obtain the predicted value of airspace flight carbon emission;
[0120] When training the XGBoost prediction model, it is necessary to determine three types of parameters: general parameters, weak evaluator parameters, and task parameters. Among them, the weak evaluator parameters have the greatest impact on the performance of the algorithm, mainly including the learning rate, the maximum depth of the tree, the sampling rate of the training samples, etc. The task parameters are mainly the learning objectives, random number seeds, etc. The learning rate is set at 0.01-0.1, the maximum depth of the tree is 2-5, the maximum number of iterations of the weak learner is 100-10000, the sampling rate of the training samples is set at 0-0.9, the model learning objective function uses gamma regression (reg:gamma), the random number seed is set at 100-1000, and the rest of the parameters are set according to the initialization. Use the grid search method provided by Scikit-learn to determine the optimal hyperparameters of the XGBoost prediction model and save the training model.
[0121] The step 5 comprises:
[0122] Step 5.1: Use the inverse variance method to determine the prediction weights of the LSTM prediction model and the XGBoost prediction model at each time, specifically:
[0123]
[0124] In the formula, x t is the input value corresponding to time t; f(x t ) is the predicted value at time t; n is the total number of models; l is the prediction model number; w l (t) is the weight of the lth model at time t; w l (t-1) is the weight of the lth model at time t-1, y t represents the actual value of airspace carbon emissions at time t, e lt is the prediction error of the lth method at time t;
[0125] Step 5.2: Adaptive time-varying weighting. First, use the prediction weights of the LSTM prediction model and the XGBoost prediction model at each moment, and then use the combined optimization model to determine the optimal m number and weight coefficient with the minimum prediction error, that is:
[0126]
[0127]
[0128] Among them, W lt represents the weight coefficient of the lth model at time t; W l,m+1 is the weight coefficient of the lth model at time m+1; J t is the objective function with the goal of minimizing the prediction error; e t is the prediction error of the variable weight combination prediction method at the tth moment; W it The absolute value of the error between the predicted value and the true value of the combined prediction model corresponding to the weight coefficient; m is the number of times when the objective function is optimal; j = tm;
[0129] For time t, calculate the weight coefficient w obtained using the inverse variance method l (t) The absolute value of the error between the predicted value and the true value of the corresponding combined prediction model e lt And the weight coefficient W obtained by the combined optimization method lt The absolute value of the error between the predicted value and the true value of the corresponding combined prediction model Compare the two sizes and adjust the weights adaptively. Then use the weight W lt Replace the original weight w l (t);
[0130] Step 5.3: According to the adaptive time-varying weighting results, the prediction results of the LSTM prediction model and the XGBoost prediction model are integrated to obtain the final short-term prediction value of carbon emissions, which is as follows:
[0131] y 组合 =w LSTM ·y LSTM +w XGBoost ·y XGBoost
[0132] Among them, y 组合 represents the final combined model prediction result, w LSTM Represents the weight vector corresponding to the prediction result of the LSTM prediction model, y LSTM Represents the prediction result vector corresponding to the LSTM prediction model, w XGBoost Represents the weight vector corresponding to the prediction result of the XGBoost prediction model, y XGBoost Represents the prediction result vector corresponding to the XGBoost prediction model.
[0133] In summary, the combined prediction method for carbon emissions of airspace flights provided by the present invention replaces the single machine learning prediction model in the prior art, comprehensively utilizes the LSTM prediction model and the XGBoost prediction model to predict the carbon emissions of airspace flights, and uses the adaptive time-varying weighting method to fuse the prediction results of the LSTM prediction model and the XGBoost prediction model, which can give full play to the advantages of prediction models with better prediction performance and reduce the impact of prediction models with poor prediction performance, thereby improving the prediction accuracy, making the prediction of carbon emissions of airspace flights in a certain period in the future more accurate and effective; considering the flight phase of airspace flights, the carbon emissions of flights at the sector scale and the large-scale airspace scale can be statistically analyzed, which provides a technical basis and reference for the formulation of energy-saving and emission reduction policies based on tactical traffic management, and improving the sector structure optimization and dynamic capacity "green" allocation capabilities.
[0134] In order to further verify the effectiveness of the combined prediction method for airspace flight carbon emissions provided by the embodiment of the present invention, the embodiment of the present invention selects the AR05 sector route airspace of Guangzhou area control in May 2019 as an implementation example for illustration. The ADS-B data sample operating in the airspace is shown in Table 1.
[0135] Table 1 ADS-B data sample format
[0136] Call Sign high speed longitude latitude … time JT2743 11308.08 772.97 113.67 23.53 … 14:07:59 JT2743 11308.08 771.38 113.66 23.55 … 14:08:00 JT2743 11308.08 770.04 113.65 23.57 … 14:08:01 … … … … … … … JT2743 11308.08 767.26 113.64 23.61 … 14:08:23 JT2743 11308.08 764.61 113.64 23.61 … 14:08:24 JT2743 11308.08 762.59 113.63 23.64 … 14:08:25
[0137] After the model is trained, the number of neural network module layers of the LSTM prediction model is finally set to 2, Sigmoid is selected as the activation function, Adam optimization algorithm is selected for network training, learning rate is set to 0.01, number of iterative training is 200 times, batch size is set to 100, and the training model is saved; after the XGBoost prediction model is trained, the learning rate is set to 0.01, the maximum depth of the tree is 5, the maximum number of iterations of the weak learner is 1200, the sampling rate of the training sample is set to 0.2, the model learning objective function adopts gamma regression (reg:gamma), the random number seed is set to 1000, and the remaining parameters are set according to the initialization and the training model is saved; Figure 4 As shown in FIG. 1 , it is a comparison diagram of the carbon emission prediction result obtained by using the prediction method described in the embodiment of the present invention and the test result. Figure 4 It can be seen that the prediction model performs well in predicting carbon emissions of airspace flights.
[0138] In order to verify the prediction accuracy of the prediction method provided by the embodiment of the present invention, the root mean square error (RMSE), mean absolute error (MAE) and coefficient of determination (R 2 ) and other indicators to quantify the prediction accuracy, specifically:
[0139]
[0140] In the formula, u represents the number of sample data, Represents the predicted value, y v True value, The average value of the true value. The smaller the RMSE and MAE, the better the prediction results. 2 The closer it is to 1, the better the prediction result.
[0141] In order to more intuitively reflect the prediction performance of the prediction method provided by the present invention, the embodiment of the present invention selects 7 single machine learning prediction models including random forest model (RF), ridge regression model (RR), artificial neural network model (ANN), support vector machine model (SVR), nearest neighbor model (KNN), LSTM prediction model and XGBoost for comparative analysis. Considering that the carbon emission data set is large, the data before denormalization is used for description here, as shown in Table 2.
[0142] Table 2 Comparison of prediction performance of different prediction models
[0143]
[0144]
[0145] From Table 2, we can see that the LSTM-XGBoost combination model has the best prediction performance compared with the single machine learning model, which is specifically manifested in the smallest RMSE and MAE, and R 2 maximum.
[0146] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0147] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0150] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A combined prediction method for airspace flight carbon emissions, characterized in that: include: Collect basic information of airspace flights from a pre-established basic information database to calculate the fuel consumption rate of airspace flights under the operating conditions corresponding to the preset historical time period; According to the fuel consumption rate of airspace flights, the historical time series data set of airspace flight carbon emissions is calculated; The historical time series data set of airspace flight carbon emissions is input into the trained LSTM prediction model and XGBoost prediction model respectively to obtain the carbon emissions prediction results of the LSTM prediction model and the carbon emissions prediction results of the XGBoost prediction model; The adaptive time-varying weighting method is used to fuse the carbon emission prediction results of the LSTM prediction model and the carbon emission prediction results of the XGBoost prediction model to obtain the prediction results of carbon emissions of airspace flights; The calculation method of the fuel consumption rate includes: Determine the flight phase of each flight track point based on the vertical speed of each flight track point of the airspace flight; According to the wind speed and wind direction corresponding to the flight altitude of the track point, the flight ground speed is converted into true airspeed based on the navigation speed triangle; Calculate the fuel consumption rate of airspace flights at each flight stage based on the performance data of the corresponding aircraft models and true airspeed of the airspace flights; Methods for converting an aircraft's ground speed into true airspeed include: Determine the location of the track point and the wind speed WS corresponding to the height of the track point i and wind direction WD i ; Combined track point ground speed V GS,i and magnetic heading MH i The ground speed V at the track point is calculated using the following formula: GS,i Converted into true airspeed V TAS,i : In the formula: WA i For Windy Point, WA i =TA i -DA i DA i is the drift angle, DA i =|GA i -MH i |GA i is the magnetic track angle; TA i is the true track angle, TA i =|WD i -MH i |If TA i ≥180°, then TA i =|WD i -MH i |-180°; The calculation formula of the fuel consumption rate is as follows: f CR,i =the i ×T i ×C fcr ; Where: i represents the track point number; F actual,i is the flight fuel consumption rate under current operating conditions; C D0,cr , C D2,cr is the resistance parameter related to the model; m i is the weight of the aircraft at the track point; g is the acceleration due to gravity; ρ i is the atmospheric density at the flight altitude of the track point; S is the total wing area of the aircraft; η i C is the aircraft unit thrust fuel consumption; f1 , C f2 , C f3 , C f4 and C fcr is the fuel flow coefficient corresponding to the aircraft model; C L,i is the lift coefficient; C D,i D is the drag coefficient; i is resistance; T i is thrust; θ is the aircraft climb angle; H P is the pressure altitude of the aircraft.
2. The combined prediction method for airspace flight carbon emissions according to claim 1 is characterized in that: The basic airspace flight information includes: airspace boundary data, BADA aircraft performance data, ADS-B flight trajectory data, flight flight plan data and airspace meteorological data.
3. The combined prediction method for airspace flight carbon emissions according to claim 1 is characterized in that: The flight phases include a climbing phase, a level flight phase and a descending phase; When the vertical velocity v of the track point vertical,i Satisfaction: v vertical,i When the speed is less than -300ft / min, the flight phase corresponding to the track point is the descending phase; When the vertical velocity v of the track point vertical,i Meet: -300ft / min≤v vertical,i When the speed is ≤300ft / min, the flight phase corresponding to the track point is the level flight phase; When the vertical velocity v of the track point vertical,i Satisfaction: v vertical,i When the speed is higher than 300ft / min, the flight phase corresponding to the track point is the climbing phase.
4. The combined prediction method for airspace flight carbon emissions according to claim 1 is characterized in that: The training method of the LSTM prediction model includes: Calculate the carbon emissions of airspace flights in a specified historical time period and construct a historical time series data set of carbon emissions; Split the historical time series dataset into training and test sets; A forget gate and an input gate are established in the LSTM neural network model. The forget gate is used to control the degree of forgetting of the training set, and the input gate is used to control the prediction time. The gradient value is propagated backwards through the gradient descent method. After multiple iterations and combined with the test results of the test set, the optimal LSTM parameters are determined to obtain a trained LSTM prediction model.
5. The combined prediction method for airspace flight carbon emissions according to claim 1 is characterized in that: The training method of the XGBoost prediction model includes: Calculate the carbon emissions of airspace flights in a specified historical time period and construct a historical time series data set of carbon emissions; Split the historical time series dataset into training and test sets; The training set is used to train the XGBoost prediction model, and the test set is used to verify the XGBoost prediction model to determine the final general parameters, weak evaluator parameters, and task parameters of the XGBoost prediction model; The grid search method provided by Scikit-learn is used to determine the optimal hyperparameters of the XGBoost prediction model.
6. The combined prediction method for airspace flight carbon emissions according to claim 4 or 5, characterized in that: Before using the carbon emission historical time series data set to train the LSTM prediction model and the XGBoost prediction model, the carbon emissions in the carbon emission historical time series data set are normalized; Before fusing the carbon emission prediction results of the LSTM prediction model and the carbon emission prediction results of the XGBoost prediction model, the carbon emission prediction results of the LSTM prediction model and the carbon emission prediction results of the XGBoost prediction model are denormalized.
7. The combined prediction method for airspace flight carbon emissions according to claim 1 is characterized in that: The method of fusing the carbon emission prediction results of the LSTM prediction model and the carbon emission prediction results of the XGBoost prediction model includes: The inverse variance method is used to determine the prediction weights of the LSTM prediction model and the XGBoost prediction model at each moment. The calculation formula is as follows: In the formula, x t is the input value corresponding to time t; f(x t ) is the predicted value at time t; n is the total number of models; l is the prediction model number; w l (t) is the weight of the lth model at time t; w l (t-1) is the weight of the lth model at time t-1, y t represents the actual value of airspace carbon emissions at time t, e lt is the prediction error of the lth method at time t; The combined optimization method is used to determine the optimal number of m and weight coefficient with the goal of minimizing the prediction error. The calculation formula is as follows: Among them, W lt represents the weight coefficient of the lth model at time t; W l,m+1 is the weight coefficient of the lth model at time m+1; J t is the objective function with the goal of minimizing the prediction error; e t is the prediction error of the variable weight combination prediction method at the tth moment; W it The absolute value of the error between the predicted value and the true value of the combined prediction model corresponding to the weight coefficient; m is the number of times when the objective function is optimal; j = tm; For time t, calculate the weight coefficient w obtained using the inverse variance method l (t) The absolute value of the error between the predicted value and the true value of the corresponding combined prediction model e lt And the weight coefficient W obtained by the combined optimization method lt The absolute value of the error between the predicted value and the true value of the corresponding combined prediction model Compare the two sizes and adjust the weights adaptively. Then use the weight W lt Replace the original weight w l (t); The following formula is used to merge the prediction results of the LSTM prediction model and the XGBoost prediction model: y 组合 =w LSTM ·y LSTM +w XGBoost ·y XGBoost Among them, y 组合 represents the prediction result of airspace flight carbon emissions; w LSTM Represents the weight vector corresponding to the prediction result of the LSTM prediction model, y LSTM Represents the prediction result vector corresponding to the LSTM prediction model, w XGBoost Represents the weight vector corresponding to the prediction result of the XGBoost prediction model, y XGBoost Represents the prediction result vector corresponding to the XGBoost prediction model.
