The invention discloses a dual-fuel engine controller simulation test system, and is used for realizing an HIL test of an HPDI engine controller. The system includes a real-time simulator and an engine controller, wherein the real-time simulator is used for operating an environmental model, a driver model and a full vehicle model, sending vehicle environment parameters output by the environmental model, driver behavior parameters output by the driver model and each vehicle operating parameter output by the full vehicle model to the engine controller, and receiving a control signal sent by the engine controller, and continuing to operate the environmental model, the driver model and the full vehicle model according to the control signal, and the full vehicle model includes a dual-fuel engine model (including a gas circuit model, a fuel supply model, a cylinder combustion model, and a heat balance model), an accessory model, a drive system model, and a vehicle longitudinal power model. The engine controller is used for determining the operating condition of the engine according to the vehicle environment parameters, the driver behavior parameters and the vehicle operating parameters and generating and sending the control signal.