Gas-engine driven heat pump could avoid energy loss in the process of generation, transmission and distribution, and effectively reduce the electric power load at the peak time in summer. In the present study, a novel stand-alone gas engine heat pump system with energy storage is put forward, which combined with the energy storage system and the autonomous power supply system. The annual performance optimization model of the gas engine heat pump system with energy storage system is proposed, which is calculated based on APSO algorithm. The simulation results were well agreed with experimental data, the average difference is 8.9%, 9.63% and 21.7% for the annual primary energy ratio of heating, cooling, transitional season, respectively. Based on the simulation results, the autonomous generating capacity E and the speed of engine n have high effect on the objective function, and the ratio of electricity to heat/cool/domestic hot water should be no greater than 0.1. The annual primary energy ratio of the gas engine heat pump system with energy storage system in heating, cooling and transitional season was increased by 6.11, 19.11% and 34.83% compared with the gas-engine driven heat pump system, respectively. The gas engine heat pump system with energy storage system can be used indifferent climate regions and buildings, which could provide a more stable work mode and higher annual primary energy ratio than the gas-engine driven heat pump system with a little energy loss.