R language-based fuel quality characteristic data simulation calculation comprehensive processing method
By implementing the simulation calculation method of fuel quality characteristic data in R language, the problem of low calculation speed and accuracy of aircraft fuel quality characteristic data is solved, and the rapid iterative calculation and high-precision calculation of fuel weight distribution and quality characteristic data are realized, which improves work efficiency.
Patent Information
- Application Number
- CN202411738211.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-04-25
AI Technical Summary
In the scheme stage, the calculation speed and accuracy of aircraft fuel quality characteristics data are low, resulting in the fuel tank layout and consumption strategy requiring multiple iterative optimizations, which increases the calculation workload.
The comprehensive processing method for fuel quality characteristic data simulation calculation based on R language is adopted. By establishing a fuel tank solid model in CATIA, liquid level cutting is performed, different attitudes are simulated, basic fuel database is formed, and fuel consumption strategy algorithm is designed to realize data calculation and interaction using R language.
It realizes rapid iterative calculation of fuel weight distribution and quality characteristic data, considers the impact of aircraft attitude on fuel, improves calculation accuracy, reduces the difficulty of designers to get started, and improves work efficiency.
Smart Images

Figure CN119885414A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of overall design weight and balance of aircraft, and relates to a comprehensive processing method for simulation calculation of fuel quality characteristic data based on R language. Background Art
[0002] Weight and balance design is a key step in the overall design of an aircraft. The control of weight and center of gravity indicators directly affects the aircraft's performance indicators and handling quality. In the scheme stage, fuel is a large component of the aircraft with a large weight and dynamic consumption. The calculation accuracy of mass characteristic data is crucial to the design results such as the aircraft's center of gravity envelope, handling boundary and capability. Its own mass characteristics are closely related to the aircraft's attitude, fuel consumption strategy, wing layout, etc. The external inputs involved are complex and accurate calculations are difficult. In the scheme stage, the layout of the fuel tank and the fuel consumption strategy often require multiple iterations of optimization, which brings a heavy workload of fuel quality characteristic calculations and data processing. Summary of the invention
[0003] The purpose of the invention is to solve the problem of low calculation speed and accuracy of aircraft fuel quality characteristic data at the solution stage.
[0004] Technical solution:
[0005] A comprehensive processing method for simulation calculation of fuel quality characteristic data based on R language is provided, including:
[0006] Based on the fuel tank layout plan, a CATIA solid model of the last-stage fuel tank filled with fuel is established. The liquid surface of the fuel model is cut using CATIA's own solid cutting function to obtain mass characteristic data under different fuel volumes.
[0007] Simulate different attitudes of the aircraft by changing the relative position of the cutting plane;
[0008] Record segmented data of different postures to form a basic fuel database;
[0009] Based on the fuel consumption strategy design algorithm, the fuel quantity distribution in the final fuel tank at different fuel weights is obtained, and then data is called in the basic fuel database to finally obtain the fuel weight distribution and the overall fuel quality characteristic data.
[0010] Furthermore, the mass characteristic data includes: weight, center of gravity, moment of inertia, and product of inertia of the fuel in the secondary tank.
[0011] Furthermore, the fuel consumption strategy design algorithm is implemented by programming in R. The algorithm outputs the quality characteristic data of the fuel in each secondary tank when the total weight of the fuel is given, and gives the quality characteristic data of the fuel as a whole at this time.
[0012] Furthermore, the principle of the algorithm is:
[0013] Firstly, based on the fuel consumption order of the primary tank in the fuel consumption strategy, the flow direction and triggering conditions of the fuel in each secondary tank during the fuel supply process, and the structural dead oil volume of each secondary tank, the weight distribution of the fuel is abstracted into a function in which the independent variable is the total weight of the fuel and the return value is the weight of the fuel in each secondary tank.
[0014] Furthermore, data is called up in the basic fuel database to finally obtain the fuel weight distribution and overall fuel quality characteristic data, including:
[0015] Based on the basic fuel database, the fuel weight in each secondary fuel tank is interpolated to obtain the center of gravity, moment of inertia and product of inertia of the fuel in each secondary fuel tank at different attitude angles; then the mass characteristic data of the secondary fuel tanks are summarized and the mass characteristic data of the entire wing fuel is calculated using the calculation formula of the mass characteristic data.
[0016] Furthermore, the method further comprises:
[0017] Based on the Rshiny package, the algorithm corresponding to the comprehensive processing method is encapsulated, and the input and output UI is designed to realize data interaction.
[0018] Furthermore, for high-wing aircraft and low-wing aircraft, the methods for calculating the center of gravity are different.
[0019] Beneficial effects:
[0020] The present invention realizes the rapid iterative calculation of fuel weight distribution and weight characteristic data, expands the consideration of the factors affecting the fuel by aircraft attitude, and improves the calculation accuracy. By encapsulating the algorithm program as a panel, it reduces the difficulty for designers to engage in related calculations and improves work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a schematic diagram of the oil surface segmentation of the fuel CATIA model;
[0022] Figure 2 It is a schematic diagram of the fuel weight characteristic data calculation and processing panel. DETAILED DESCRIPTION
[0023] Combination Figure 1 The present invention provides a fuel weight characteristic data simulation calculation and comprehensive processing method based on R language, comprising the following steps:
[0024] Step 1: Based on the CATIA fuel solid model, cut and obtain the quality characteristic data of the fuel in different postures;
[0025] Step 2: Based on the fuel consumption strategy, design a fuel weight distribution algorithm and implement it using R language programming;
[0026] Step 3: Based on the weight distribution of the final fuel tank output by the algorithm in step 2, the fuel quality characteristic data in the final fuel tank is screened, identified, interpolated, and extracted from the fuel quality characteristic data in step 1, and the final fuel quality characteristic data is obtained by summarizing and calculating;
[0027] Step 4: Based on the Rshiny package, perform algorithm encapsulation and input and output panel design. Figure 2 As shown, data interaction and visualization are realized.
[0028] The present invention provides a fuel weight characteristic data simulation calculation and comprehensive processing method based on R language, comprising the following steps:
[0029] Step 1: Based on the CATIA fuel solid model, cut and obtain the mass characteristic data (weight, center of gravity, moment of inertia, and product of inertia) of fuel of different weights in each secondary tank under different postures;
[0030] Step 2. Based on the fuel consumption strategy, design a fuel weight distribution algorithm and implement it using R language programming. The algorithm outputs the mass characteristic data (weight, center of gravity, moment of inertia, product of inertia) of the fuel in each secondary tank when the total fuel weight is given, and gives the mass characteristic data of the fuel as a whole at this time. Specifically, first, based on the fuel consumption sequence of the primary tank in the fuel consumption strategy, the flow direction and trigger conditions of the fuel in each secondary tank during the oil supply process, and the structural dead oil volume of each secondary tank, the fuel weight distribution is abstracted into a function with the total fuel weight as the independent variable and the return value as the fuel weight in each secondary tank;
[0031] Step 3: Based on the weight distribution of the final fuel tank output by the algorithm in step 2, filter, identify, interpolate, and extract the fuel quality characteristic data in the final fuel tank from the fuel quality characteristic data in step 1, and summarize and calculate to obtain the final quality characteristic data of the fuel; specifically, based on the basic database obtained in step 1, interpolate the weight of the fuel in each secondary fuel tank obtained in step 2 to obtain the center of gravity, moment of inertia, and product of inertia of the fuel in each secondary fuel tank at different attitude angles; then use the calculation formula of the quality characteristic data to summarize the quality characteristic data of the secondary fuel tank to calculate the overall quality characteristic data of the wing fuel. For high-wing aircraft, the calculation formula is as follows:
[0032] X t =∑(G i ×X i ) / ∑G i
[0033] Y t =∑(G i ×Yi ) / ∑G i
[0034] Z t ∑(G i ×Z i ) / ∑G i
[0035] Ix =Σ(G i ×((Y i -Y t ) 2 +(Z i -Z t ) 2 ))+ΣNo.
[0036] Yes =Σ(G i ×((X i -X t ) 2 +(Z i -Z t ) 2 ))+ΣWho
[0037] I =Σ(G i ×((X i -X t ) 2 +(Y i -Y t ) 2 ))+ΣIzzi
[0038] Ixy=Σ(G i ×(X i -X t )×(Y i -Y t ))+ΣComponent
[0039] xz=Σ(G i ×(X i -X t )×(Z i -Z t ))+ΣIxzi
[0040] Yz=Σ(G i ×( Y i -Y t )×(Z i -Z t ))+ΣIZ
[0041] X TO ((X T X B )cosα+(Y B -YT )sinα) / c A ×100%c A ;
[0042] X B =X B0 +δ
[0043] Where:
[0044] X i , Y i , Z i ——is the center of gravity of the ith calculation unit, in m;
[0045] X t , Y t , Z t ——is the center of gravity of the unit, in m;
[0046] G i ——The weight of the ith calculation unit, in kg;
[0047] Ixxi, Iyyi, Izzi, Ixyi, Ixzi, Iyzi——moment of inertia of the ith calculation unit, kg·m 2 ;
[0048] Ix, Iy, Iz, Ixy, Ixz, Iyz——moment of inertia of the unit body, kg·m 2 ;
[0049] X B ——It is the horizontal distance between the leading edge of the mean aerodynamic chord of the wing and the center of gravity reference point.
[0050] Y B ——The vertical distance from the leading edge of the mean aerodynamic chord of the wing to the horizontal reference line of the aircraft.
[0051] X T ——The horizontal distance from the center of gravity of the aircraft to the center of gravity reference point.
[0052] Y T ——The vertical distance from the center of gravity of the aircraft to the horizontal reference line of the aircraft.
[0053] α——The angle between the mean aerodynamic chord of the aircraft and the horizontal reference line.
[0054] δ——is the longitudinal translation of the wing (the positive direction is against the heading).
[0055] X TO ——It is the percentage of the mean aerodynamic chord of the wing in the wing coordinate system converted from the center of gravity of the empty aircraft weight in the basic coordinate system.
[0056] Step 4: Based on the Rshiny package, encapsulate the algorithms of steps 2 and 3, design the input and output UI, and realize data interaction.
[0057] The present invention provides a method for quickly and accurately calculating the quality characteristic data of fuel oil and encapsulates the algorithm into an R language program panel to facilitate data interaction, thereby reducing the workload of fuel oil quality characteristic design in the scheme stage and improving work efficiency.
Claims
1. A comprehensive processing method for simulation calculation of fuel quality characteristic data based on R language, characterized in that: include: Based on the fuel tank layout plan, a CATIA solid model of the last-stage fuel tank filled with fuel is established. The liquid surface of the fuel model is cut using CATIA's own solid cutting function to obtain mass characteristic data under different fuel volumes. Simulate different attitudes of the aircraft by changing the relative position of the cutting plane; Record segmented data of different postures to form a basic fuel database; Based on the fuel consumption strategy design algorithm, the fuel quantity distribution in the final fuel tank at different fuel weights is obtained, and then data is called in the basic fuel database to finally obtain the fuel weight distribution and the overall fuel quality characteristic data.
2. The method according to claim 1, characterized in that Mass characteristic data include: weight of fuel in the secondary tank, center of gravity, moment of inertia, and product of inertia.
3. The method according to claim 2, characterized in that The fuel consumption strategy design algorithm is implemented using R language programming; the algorithm outputs the quality characteristic data of the fuel in each secondary tank when the total fuel weight is given, and gives the quality characteristic data of the entire fuel at this time.
4. The method according to claim 2, characterized in that: The principle of the algorithm is: Firstly, based on the fuel consumption order of the primary tank in the fuel consumption strategy, the flow direction and triggering conditions of the fuel in each secondary tank during the fuel supply process, and the structural dead oil volume of each secondary tank, the weight distribution of the fuel is abstracted into a function with the total weight of the fuel as the independent variable and the return value as the weight of the fuel in each secondary tank.
5. The method according to claim 4, characterized in that Data is called up in the basic fuel database to finally obtain the fuel weight distribution and overall fuel quality characteristic data, including: Based on the basic fuel database, the fuel weight in each secondary fuel tank is interpolated to obtain the center of gravity, moment of inertia and product of inertia of the fuel in each secondary fuel tank at different attitude angles; then the mass characteristic data of the secondary fuel tanks are summarized and the mass characteristic data of the entire wing fuel is calculated using the calculation formula of the mass characteristic data.
6. The method according to claim 1, characterized in that The method further comprises: Based on the Rshiny package, the algorithm corresponding to the comprehensive processing method is encapsulated, and the input and output UI is designed to realize data interaction.
7. The method according to claim 1, characterized in that The center of gravity is calculated differently for high-wing and low-wing aircraft.
8. A computer-readable storage 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 7 is implemented.
Citation Information
Patent Citations
CATIA and Amesim combined aircraft fuel tank oil level change characteristic simulation method
CN111680365A
Airborne fuel quality characteristic calculation method based on tetrahedron discretization
CN113626974A