A modeling method of automobile engine based on simulink

The Simulink-based engine modeling method addresses inaccuracies in engine output torque and fuel consumption by incorporating vehicle state influences, enhancing simulation accuracy and adaptability.

CN114818190BActive Publication Date: 2024-12-06JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210477363.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-04
Publication Date
2024-12-06
Estimated Expiration
2042-05-04

AI Technical Summary

Technical Problem

Existing engine modeling methods fail to accurately account for changes in mixture concentration due to vehicle motion states, leading to inaccuracies in engine output torque and fuel consumption rate calculations.

Method used

A Simulink-based modeling method that includes engine output speed, torque, and fuel consumption rate models, considering the influence of vehicle motion states and mixture concentration changes, using calculation formulas and tables to enhance accuracy.

Benefits of technology

Improves the realism and accuracy of engine simulation by accounting for vehicle state changes, particularly in fuel consumption rates during cold and hot starts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114818190B_ABST
    Figure CN114818190B_ABST
Patent Text Reader

Abstract

The invention discloses a modeling method of an automobile engine based on simulink, and relates to the technical field of automobile engine simulation. The method comprises establishing an engine output speed calculation model, an engine output torque calculation model and an engine fuel consumption rate calculation model by analyzing the engine operation mechanism. In particular, when establishing the engine output torque calculation model, the influence of the change of the mixture concentration during the acceleration or deceleration of the vehicle on the engine performance is analyzed, and the engine output torque calculation model takes into account the vehicle motion state; and when establishing the engine fuel consumption rate model, it is considered whether the engine is in a cold start or hot start state, and the fuel consumption rate is different under different engine states. The problem of inaccurate model calculation during cold start is solved, the adaptability to working conditions is improved, and the accuracy of the model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of automobile engine simulation, and in particular relates to a modeling method of an automobile engine based on Simulink. Background Art

[0002] The engine system is an important part of the vehicle. The engine is a mechanical device that can convert other forms of energy into mechanical energy, which makes the research on the engine more and more important. The accuracy of engine modeling affects the evaluation of the power and fuel economy of the whole vehicle, so it is of great significance to carry out systematic and scientific modeling of the engine. At present, the engine modeling method mostly adopts the universal characteristic modeling method, that is, the universal characteristic experimental data of the torque output of the engine at different speeds is obtained through bench tests, and the relationship between the throttle opening, speed and torque output is established; however, for the state where the vehicle's motion state changes, the mixture concentration changes, and the output torque of the engine has a certain increase or decrease. Therefore, the engine modeling still needs to be improved and the consideration of the mixture concentration needs to be added.

[0003] Automobile engine modeling is mainly divided into three parts: engine output speed calculation module, engine output torque calculation module and engine fuel consumption rate calculation module. Summary of the invention

[0004] The technical problem to be solved by the present invention is to ensure the vehicle performance while overcoming the problem that the concentration of the mixed gas in the engine changes when the vehicle's motion state changes, resulting in the loss of the engine output torque, and to improve the working condition adaptability of the engine. To solve the above technical problems, the present invention is implemented by adopting the following technical solutions: the modeling method of the automobile engine based on simulink is characterized in that,

[0005] A modeling method for an automobile engine based on Simulink, characterized by comprising:

[0006] Construct engine output speed calculation model, engine output torque calculation model and engine fuel consumption rate calculation model.

[0007] According to the calculation formula between the engine output speed and the clutch input speed, the engine output speed calculation model is obtained;

[0008] According to the calculation formula between the engine output torque and the clutch input torque, the engine output torque calculation model is obtained;

[0009] According to the engine component temperature calculation formula corresponding to the clutch input speed and clutch input torque state, the engine fuel consumption rate calculation model is obtained;

[0010] Optionally, the engine output speed calculation model is obtained according to a preset calculation formula between the engine output speed and the clutch input speed, including:

[0011] According to the calculation formula of the engine required speed and the clutch input speed, the engine required speed is obtained;

[0012] The output speed of the engine is obtained according to the calculation formula of the output speed of the engine, the required speed of the engine and the idle speed of the engine.

[0013] Optionally, the engine output torque calculation model is obtained according to a preset calculation formula between the engine output torque and the clutch input torque:

[0014] Look up the table to obtain the maximum engine torque corresponding to the current engine speed;

[0015] Look up the table to obtain the engine idle torque corresponding to the current engine speed;

[0016] According to the relationship formula of the effect of the engine's own accessories on the engine output torque, the accessory loss torque is obtained;

[0017] According to the relationship formula of the decrease of engine output torque caused by the change of engine mixture concentration, the loss torque caused by the change of vehicle state is obtained;

[0018] The engine output torque is obtained based on the relationship formula between the engine output torque and the accessory loss torque and the loss torque caused by the vehicle state change.

[0019] Optionally, the engine fuel consumption rate calculation module is obtained according to the preset engine component temperature calculation formula under the corresponding clutch input speed and clutch input torque state:

[0020] The engine fuel heat dissipation power is obtained according to the relationship formula between the engine fuel heat dissipation power and the engine output speed and engine output torque;

[0021] The temperature of the engine components is obtained according to the relationship formula between the temperature of the engine components and the heat dissipation power of the engine fuel;

[0022] The fuel consumption rate of the engine is obtained based on the relationship formula between the fuel consumption rate of the engine and the temperature of the engine components.

[0023] Optionally, the engine fuel heat dissipation power is obtained according to a preset relationship formula between the engine fuel heat dissipation power and the engine output speed and the engine output torque:

[0024] The thermal power of the engine exhaust gas is obtained according to the relationship formula between the thermal power of the engine exhaust gas and the exhaust gas flow rate and the exhaust gas temperature;

[0025] According to the relationship formula between the heat power contained in the fuel entering the engine and the fuel flow rate entering the engine, the heat power contained in the fuel entering the engine is obtained;

[0026] The engine fuel heat dissipation power is obtained based on the relationship formula between the engine fuel heat dissipation power and the thermal power of the engine exhaust gas, the thermal power of the fuel entering the engine, and the power used to do mechanical work.

[0027] Optionally, the engine component temperature is obtained according to a preset relationship formula between the engine component temperature and the engine fuel heat dissipation power:

[0028] According to the relationship formula between the engine inner cavity pressure and the medium density, the pressure of the engine inner cavity is obtained;

[0029] The engine component temperature is obtained according to the relationship formula between the engine component temperature and the engine internal cavity pressure.

[0030] Optionally, the fuel consumption rate of the engine is obtained according to a preset relationship formula between the fuel consumption rate of the engine and the temperature of the engine components:

[0031] The fuel consumption coefficients at hot start and cold start of the engine are obtained according to the relationship formulas between the fuel consumption coefficients at hot start and cold start of the engine and the temperature of the engine components;

[0032] The fuel consumption rates at hot start and cold start of the engine are obtained according to the relationship formula between the fuel consumption rate and the fuel consumption rate coefficient at hot start and cold start of the engine respectively;

[0033] The technical solution disclosed in the present invention fully considers the influence of the vehicle motion state on the mixture concentration and the engine starting state, and models the engine output speed model, the engine output torque model and the engine fuel consumption rate model, thereby making the simulation modeling more realistic and accurate.

[0034] Compared with the prior art, the present invention has the following beneficial effects:

[0035] 1. The automobile engine modeling method based on Simulink described in the present invention takes into account the influence of the vehicle running state on the mixed gas concentration, thereby improving the accuracy of the model;

[0036] 2. The simulink-based automobile engine modeling method described in the present invention proposes different fuel consumption rate coefficients during cold start and hot start, solves the problem of inaccurate model calculation during cold start, and improves the adaptability to working conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] 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 in the following description are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0038] Figure 1 It is a schematic diagram of a simulink-based automobile engine modeling mechanism provided by an embodiment of the present invention;

[0039] Figure 2 is a schematic diagram of a flow chart of constructing an engine output speed model provided by an embodiment of the present invention;

[0040] Figure 3 is a schematic diagram of a process for constructing an engine output torque model provided by an embodiment of the present invention;

[0041] Figure 4 is a schematic diagram of a flow chart of building a fuel consumption rate model of an engine provided by an embodiment of the present invention;

[0042] Figure 5 It is a schematic diagram of a flow chart of constructing an engine fuel heat dissipation power model provided by an embodiment of the present invention;

[0043] Figure 6 is a schematic diagram of a process for constructing a temperature model of an engine component provided by an embodiment of the present invention;

[0044] Figure 7 It is a schematic diagram of a flow chart of constructing an engine fuel rate model taking into account the engine starting state provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] The embodiment of the invention discloses a modeling method of an automobile engine based on Simulink.

[0047] S1. Obtaining an engine output speed calculation model according to a calculation formula between the engine output speed and the clutch input speed;

[0048] S2. Obtaining an engine output torque calculation model according to a calculation formula between the engine output torque and the clutch input torque;

[0049] S3. Obtain the engine fuel consumption rate calculation model based on the engine component temperature calculation formula corresponding to the clutch input speed and clutch input torque state

[0050] See also Figure 1 As shown in Figure 1, the engine model mainly consists of three parts: engine output speed calculation module, engine output torque calculation module and engine fuel consumption rate calculation module. The input of the entire model is the clutch input speed and clutch input torque. The clutch input speed is the engine required speed, and the clutch input torque is the engine required torque.

[0051] See also Figure 2 As shown, the method for constructing an engine output speed model disclosed in an embodiment of the present invention specifically includes:

[0052] S201. Obtain the engine's required speed according to the calculation formula of the engine's required speed and the clutch input speed;

[0053] The formula for calculating the required engine speed is as follows:

[0054] n eng_req =n clt_in (1)

[0055] Among them, n clt_in is the clutch input speed, n eng_req is the required engine speed.

[0056] S202. The engine output speed is obtained according to the calculation formula of the engine output speed, the engine demand speed and the engine idle speed;

[0057] The formula for calculating the engine output speed is as follows:

[0058] n eng_out =max(n eng_req ,C md_eng_on ·n eng_idle_spd ) (2)

[0059] Among them, C md_eng_on It is the engine start signal. When the engine starts, the signal is 1; when the engine stops, the signal is 0; n eng_idle_spd is the engine idle speed, which is a constant.

[0060] See also Figure 3 As shown, the method for constructing an engine output torque model disclosed in an embodiment of the present invention specifically includes:

[0061] S301. Look up the table to obtain the maximum engine torque corresponding to the current engine speed;

[0062] The formula for calculating the maximum engine torque is as follows:

[0063] T eng_max =f(n eng_out ) (3)

[0064] Among them, T eng_max It is the maximum torque of the engine, which is obtained by looking up the engine speed table.

[0065] S302. Look up the table to obtain the engine idle torque corresponding to the current engine speed;

[0066] The engine idle torque calculation formula is as follows:

[0067] T eng_idle =f(n eng_out ) (4)

[0068] Among them, T eng_idle It is the engine idle torque, which is obtained by looking up the engine speed table.

[0069] S303. Obtain the accessory loss torque according to the relationship formula of the effect of the engine's own accessories on the engine output torque;

[0070] The formula for calculating the engine accessory loss torque is as follows:

[0071] T eng_loss =f(n eng_out ) (5)

[0072] Among them, T eng_loss It is the torque loss of engine accessories;

[0073] When the vehicle is driving, when the driver brakes, turns on the air conditioner, turns on the car lighting equipment, etc., these accessories will affect the engine torque output, and the engine's own accessories: fans, generators, etc. will also affect the engine torque output. The accessory loss torque is a function of temperature and engine speed. Without considering the influence of temperature, the accessory loss torque can be obtained by looking up the table when the engine speed is known.

[0074] S304. According to the relationship formula of the decrease in engine output torque caused by the change in engine mixture concentration, the loss torque caused by the change in vehicle state is obtained;

[0075] The formula for calculating the engine crankshaft angular acceleration is as follows:

[0076]

[0077] Among them, α eng_out is the engine crankshaft angular acceleration;

[0078] The formula for calculating the engine loss torque caused by the change in mixture concentration is as follows:

[0079] T eng_loss_hybrid =λ·α eng_out (7)

[0080] Among them, T eng_loss_hybrid It is the engine torque loss caused by the change of mixture concentration; λ is the torque reduction coefficient, which is different for different engines.

[0081] In most cases of vehicle driving, the engine is in a non-steady-state condition, and the non-steady-state engine characteristics are significantly different from those in a steady state. When the vehicle accelerates, the mixture concentration will gradually become thinner, causing the engine torque to be lower than the output torque in a steady-state condition, and the torque drop is approximately linearly related to the crankshaft angular acceleration. When the vehicle decelerates, the mixture concentration will gradually become thicker, and the engine output torque is higher than the output torque in a steady-state condition, and the torque increase is approximately linearly related to the crankshaft angular acceleration.

[0082] S305. Obtain the engine output torque according to the relationship formula between the engine output torque and the accessory loss torque and the loss torque caused by the vehicle state change.

[0083] The calculation formula of the first output torque of the engine is:

[0084]

[0085] Wherein, clutch_state==1 represents clutch disconnection, T eng_out1 It is the first output torque of the engine.

[0086] The calculation formula of the second output torque of the engine is:

[0087] T eng_out2 =T eng_out1 -λ·α eng_out (9)

[0088] Among them, T eng_out2 It is the second output torque of the engine.

[0089] The third output torque calculation formula of the engine is:

[0090] T eng_out3 =min(T eng_out2 ,Teng_max ) (10)

[0091] Among them, T eng_out3 It is the third output torque of the engine.

[0092] Engine output torque calculation formula:

[0093] T eng_out =max(T eng_out3 ,T eng_idle ) (11)

[0094] Among them, T eng_out is the engine output torque.

[0095] See also Figure 4 As shown, the method for constructing an engine fuel consumption rate model disclosed in an embodiment of the present invention specifically includes:

[0096] S401. According to the relationship between the engine fuel heat dissipation power and the engine output speed and the engine output torque, the engine fuel heat dissipation power is obtained;

[0097] S402. The engine component temperature is obtained according to the relationship between the engine component temperature and the engine fuel heat dissipation power;

[0098] S403. Obtain the fuel consumption rate of the engine according to the relationship formula between the fuel consumption rate of the engine and the temperature of the engine components.

[0099] See also Figure 5 As shown, the method for constructing an engine fuel heat dissipation power model disclosed in an embodiment of the present invention specifically includes:

[0100] S501. The thermal power of the engine exhaust gas is obtained according to the relationship between the thermal power of the engine exhaust gas and the exhaust gas flow rate and the exhaust gas temperature;

[0101] The thermal power calculation formula of engine exhaust gas is as follows:

[0102]

[0103] Among them, p exhust is the thermal power of the engine exhaust gas, D ex_gas is the engine exhaust gas flow rate, C ex_gas is the specific heat capacity of the engine exhaust gas, T ex_gas is the engine output gas temperature, T env is the ambient temperature.

[0104] S502. The thermal power of the fuel entering the engine is obtained according to the relationship between the thermal power of the fuel entering the engine and the fuel flow rate entering the engine;

[0105] The fuel flow rate into the engine is calculated as follows:

[0106] D fuel =f(T eng_out ,n eng_out ) (13)

[0107] Among them, D fuel is the fuel flow entering the engine.

[0108] The thermal power contained in the fuel entering the engine is calculated as follows:

[0109] p fuel =q si ·D fuel (14)

[0110] Among them, p fuel is the thermal power contained in the fuel entering the engine, q si is the calorific value of gasoline.

[0111] S503. Obtain the engine fuel heat dissipation power according to the relationship formula between the engine fuel heat dissipation power and the thermal power of the engine exhaust gas, the thermal power of the fuel entering the engine, and the power used to do mechanical work.

[0112] The formula for calculating the engine fuel heat dissipation power is as follows:

[0113] p eng_heat =p fuel -T eng_out ·n eng_out -p exhust (15)

[0114] Among them, p eng_heat It is the power dissipated by the heat of the engine fuel.

[0115] See also Figure 6 As shown, the method for constructing an engine temperature calculation model disclosed in an embodiment of the present invention specifically includes:

[0116] S601. According to the relationship formula between the engine cavity pressure and the medium density, the pressure of the engine cavity is obtained;

[0117] The formula for calculating the engine internal pressure is as follows:

[0118]

[0119] Among them, p is the pressure in the gasoline engine cavity, β is the elastic modulus of the liquid determined by the working pressure and temperature of the medium, is the change in density, and α is the volume expansion coefficient of the liquid determined by the working pressure and temperature of the medium.

[0120] S602. Obtain the temperature of the engine component according to the relationship formula between the temperature of the engine component and the pressure in the engine cavity;

[0121] The engine component temperature calculation formula is as follows:

[0122]

[0123] Among them, T eng is the engine component temperature, p eng_heat is the power dissipated by the heat of the engine fuel, c p is the specific heat capacity of the fuel, and p is the pressure inside the gasoline engine.

[0124] See also Figure 7 As shown, the method for constructing an engine fuel consumption rate calculation model disclosed in an embodiment of the present invention specifically includes:

[0125] S701. Obtain the fuel consumption coefficients for hot start and cold start of the engine, respectively, according to the relationship formula between the fuel consumption coefficients for hot start and cold start of the engine and the temperature of the engine components;

[0126] The calculation formula of the fuel consumption coefficient of engine hot start is as follows:

[0127] λ hot =1+0.1*T eng 0.65 (18)

[0128] Among them, λ hot is the fuel consumption coefficient for hot start of the engine.

[0129] The calculation formula for the fuel consumption coefficient of the engine cold start is as follows:

[0130]

[0131] Among them, λ cold is the engine cold start fuel consumption coefficient, T eng_hot is the maximum temperature of the engine design, T eng_cold is the lowest temperature for which the engine is designed, T eng_hot and T eng_cold are all constants.

[0132] S702. Obtain the fuel consumption rate of the engine during hot start and cold start, respectively, according to the relationship formula between the fuel consumption rate and the fuel consumption rate coefficient during hot start and cold start of the engine;

[0133] The fuel consumption rate calculation formula for hot start and cold start of the engine is as follows:

[0134]

[0135] Among them, D fuel_hot is the fuel consumption rate during hot and cold start of the engine, D fuel It is the engine fuel consumption rate without considering hot start and cold start conditions, and is obtained by looking up the engine output speed and engine output torque together.

[0136] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered within the protection scope of the present invention.

Claims

1. A modeling method for automobile engines based on simulink, It is characterized in that include: According to the calculation formula between the engine output speed and the clutch input speed, the engine output speed calculation model is obtained; According to the calculation formula between the engine output torque and the clutch input torque, the engine output torque calculation model is obtained; According to the engine component temperature calculation formula corresponding to the clutch input speed and clutch input torque state, the engine fuel consumption rate calculation model is obtained; The engine model mainly consists of three parts: engine output speed calculation module, engine output torque calculation module and engine fuel consumption rate calculation module; the input of the whole model is the clutch input speed and clutch input torque, the clutch input speed is the engine demand speed, the clutch input torque is the engine demand torque; The first step is to calculate the engine output speed According to the calculation formula of the engine required speed and the clutch input speed, the engine required speed is obtained; The formula for calculating the required engine speed is as follows: n eng_req =n clt_in (1) Among them, n clt_in is the clutch input speed, n eng_req is the required engine speed; The output speed of the engine is obtained according to the calculation formula of the output speed of the engine, the required speed of the engine and the idle speed of the engine; The formula for calculating the engine output speed is as follows: n eng_out =max(n eng_req ,C md_eng_on ·n eng_idle_spd ) (2) Among them, C md_eng_on It is the engine start signal. When the engine starts, the signal is 1; when the engine stops, the signal is 0; n eng_idle_spd is the engine idle speed, which is a constant; The second step is to calculate the engine output torque, which specifically includes the following steps: ① Look up the table to obtain the maximum engine torque corresponding to the current engine speed; The formula for calculating the maximum engine torque is as follows: T eng_max =f(n eng_out ) (3) Among them, T eng_max is the maximum torque of the engine, obtained by looking up the engine speed table; ② Look up the table to obtain the engine idle torque corresponding to the current engine speed; The engine idle torque calculation formula is as follows: T eng_idle =f(n eng_out ) (4) Among them, T eng_idle is the engine idle torque, obtained by looking up the engine speed table; ③According to the relationship formula between the influence of the engine's own accessories on the engine output torque, the accessory loss torque is obtained; The formula for calculating the engine accessory loss torque is as follows: T eng_loss =f(n eng_out ) (5) Among them, T eng_loss It is the torque loss of engine accessories; When the vehicle is driving, the driver brakes, turns on the air conditioner, and turns on the car lighting equipment. These accessories will affect the engine torque output, and the engine's own accessories: fans and generators will also affect the engine torque output. The accessory loss torque is a function of temperature and engine speed. Without considering the influence of temperature, the accessory loss torque can be obtained by looking up the table when the engine speed is known. ④According to the relationship formula of the decrease in engine output torque caused by the change in engine mixture concentration, the loss torque caused by the change in vehicle state is obtained; The formula for calculating the engine crankshaft angular acceleration is as follows: Among them, α eng_out is the engine crankshaft angular acceleration; The formula for calculating the engine loss torque caused by the change in mixture concentration is as follows: T eng_loss_hybrid =l·a eng_out (7) Among them, T eng_loss_hybrid is the engine torque loss caused by the change in mixture concentration; λ is the torque reduction coefficient, which is different for different engines; In most cases of vehicle driving, the engine is in a non-steady-state condition, and the non-steady-state engine characteristics are significantly different from those in a steady state. When the vehicle accelerates, the mixture concentration will gradually become thinner, causing the engine torque to be lower than the output torque in a steady-state condition, and the torque drop is approximately linearly related to the crankshaft angular acceleration. When the vehicle decelerates, the mixture concentration will gradually become thicker, and the engine output torque is higher than the output torque in a steady-state condition, and the torque increase is approximately linearly related to the crankshaft angular acceleration. ⑤According to the relationship formula between the engine output torque and the accessory loss torque and the loss torque caused by the vehicle state change, the engine output torque is obtained; The calculation formula of the first output torque of the engine is: Wherein, clutch_state==1 represents clutch disconnection, T eng_out1 is the first output torque of the engine; The calculation formula of the second output torque of the engine is: T eng_out2 =T eng_out1 -la eng_out (9) Among them, T eng_out2 is the second output torque of the engine; The third output torque calculation formula of the engine is: T eng_out3 =min(T eng_out2 ,T eng_max ) (10) Among them, T eng_out3 is the third output torque of the engine; Engine output torque calculation formula: T eng_out =max(T eng_out3 ,T eng_idle ) (11) Among them, T eng_out is the engine output torque; The third step is to calculate the fuel consumption rate of the engine, which specifically includes the following steps: ①According to the relationship formula between the engine fuel heat dissipation power and the engine output speed and engine output torque, the engine fuel heat dissipation power is obtained; ②According to the relationship formula between the temperature of engine components and the heat dissipation power of engine fuel, the temperature of engine components is obtained; ③According to the relationship formula between the engine fuel consumption rate and the temperature of the engine components, the engine fuel consumption rate is obtained; The fourth step is to calculate the engine fuel dissipation power, which specifically includes the following steps: ①According to the relationship formula between the thermal power of the engine exhaust gas and the exhaust gas flow rate and exhaust gas temperature, the thermal power of the engine exhaust gas is obtained; The thermal power calculation formula of engine exhaust gas is as follows: Among them, p exhust is the thermal power of the engine exhaust gas, D ex_gas is the engine exhaust gas flow rate, C ex_gas is the specific heat capacity of the engine exhaust gas, T ex_gas is the engine output gas temperature, T env is the ambient temperature; ②According to the relationship formula between the thermal power contained in the fuel entering the engine and the fuel flow rate entering the engine, the thermal power contained in the fuel entering the engine is obtained; The fuel flow rate into the engine is calculated as follows: D fuel =f(T eng_out ,n eng_out ) (13) Among them, D fuel is the fuel flow rate entering the engine; The thermal power contained in the fuel entering the engine is calculated as follows: p fuel =q si ·D fuel (14) Among them, p fuel is the thermal power contained in the fuel entering the engine, q si is the calorific value of gasoline; ③According to the relationship formula between the heat dissipation power of the engine fuel and the thermal power of the engine exhaust gas, the thermal power of the fuel entering the engine, and the power used to do mechanical work, the heat dissipation power of the engine fuel is obtained; The formula for calculating the engine fuel heat dissipation power is as follows: p eng_heat =p fuel -T eng_out ·n eng_out -p exhust (15) Among them, p eng_heat It is the power lost by the heat of the engine fuel; Step 5: Calculate the temperature of engine components According to the relationship formula between the engine inner cavity pressure and the medium density, the pressure of the engine inner cavity is obtained; The formula for calculating the engine internal pressure is as follows: Among them, p is the pressure in the gasoline engine cavity, β is the elastic modulus of the liquid determined by the working pressure and temperature of the medium, is the change in density, and α is the volume expansion coefficient of the liquid determined by the working pressure and temperature of the medium; The temperature of the engine component is obtained according to the relationship formula between the temperature of the engine component and the pressure in the engine cavity; The engine component temperature calculation formula is as follows: Among them, T eng is the engine component temperature, p eng_heat is the power dissipated by the heat of the engine fuel, c p is the specific heat capacity of the fuel, and p is the pressure inside the gasoline engine; Step 6: Calculate the engine fuel consumption rate based on the engine temperature The fuel consumption coefficients at hot start and cold start of the engine are obtained according to the relationship formulas between the fuel consumption coefficients at hot start and cold start of the engine and the temperature of the engine components; The calculation formula of the fuel consumption coefficient of engine hot start is as follows: l hot =1+0.1*T eng 0.65 (18) Among them, λ hot is the fuel consumption coefficient of the engine hot start; The calculation formula for the fuel consumption coefficient of the engine cold start is as follows: Among them, λ cold is the engine cold start fuel consumption coefficient, T eng_hot is the maximum temperature of the engine design, T eng_cold is the lowest temperature for which the engine is designed, T eng_hot and T eng_cold are all constants; The fuel consumption rates at hot start and cold start of the engine are obtained according to the relationship formula between the fuel consumption rate and the fuel consumption rate coefficient at hot start and cold start of the engine respectively; The fuel consumption rate calculation formula for hot start and cold start of the engine is as follows: Among them, D fuel_hot is the fuel consumption rate during hot and cold start of the engine, D fuel It is the engine fuel consumption rate without considering hot start and cold start conditions, and is obtained by looking up the engine output speed and engine output torque together.