This paper establishes a 0-D model based on the real gas properties and laminar flame propagation speed to predict the performance of a hydrogen-fueled Wankel rotary engine. The performance comparative analysis between hydrogen-fueled and gasoline-fueled Wankel rotary engines is conducted under the same fuel heat value input. Furthermore, the effects of rotational speed, ignition advance angle on the chamber temperature, pressure, heat release rate, engine effective fuel consumption, indicated thermal efficiency and effective power output are investigated. are evaluated. The results show that as the gasoline is replaced by hydrogen with the constant total input heat value, the effective power and indicated thermal efficiency are reduced by 16.93% and 5.97% at design condition, respectively. As the rotational speed increases from 4000rpm to 10000rpm, the effective powers of gasoline and hydrogen are increased by 204% and 238%, respectively. The peak pressure of hydrogenfueled engine appears is 28° ahead of gasoline-fueled engine. With the decreasing ignition advance angle, the effective power output and indicated thermal efficiency of gasoline-fueled engine firstly increase and then drop, while that of hydrogen-fueled increase. Meanwhile, the combustion duration angles of two fuels decrease with decreasing ignition advance angle. The maximum indicated thermal efficiencies of 31.7% and 35.4% for hydrogen-fueled and gasoline-fueled engines are obtained at ignition advance angles of 7°and 27° with nominal rotational speed of 7000rpm, respectively.