Abstract:Aiming at fuel system function flight simulation of certain type battle plane simulator which involves complicated numerical calculation and logic control problem, a system modeling and simulation method based on Simulink/Stateflow was introduced. On the basis of simulation requirement analysis, fuel system function model of a battle plane was constructed by using Simulink/Stateflow, and simulation was performed, then code generation and operation of model was introduced. Simulation results show that the method can perform modeling and simulation of a battle plane fuel system intuitionally and conveniently, and generate C++ codes embedded into flight simulator program, the workload is decreased. This method may provide a reference for modeling fuel systems in other flight simulators.