Keywords: V workflow,AMESim software,the offline model of the engine, the real-time model of the engine, the hardware-in-the-loop(HIL) Abstract. In order to get the engine simulation model used for the development of control strategy, the offline model and real-time model of self-developed gasoline engine by FAW of direct-injection turbocharging were built based on AMESim software. The results of simulation were compared with that of actual engine test. At steady state condition of 3000r/min and full load, the error of air mass flow was 6.82%, the error of intake pressure was 3.6%, the error of BMEP was 0.097% and the error of fuel injection quantity was 0.3%. At transient state condition, the operating condition was reflected better by the simulation model of the engine and the transient simulation can be meet. The real-time model was simplified from offline simulation model which was successfully downloaded into the dSPACE simulator and the real-time verification on the model was finished. The Developing time of the control strategy was much shorter by simulation and the developing efficiency of electronic control systems was improved.