Heating, cooling and domestic hot water (DHW) are responsible for the largest share of energy use in residential buildings in Spain and play an important role in the implementation of nearly zero-energy buildings (NZEB). Building Information Modelling (BIM) is expected to promote more efficient buildings through evaluation of different design options. BIM can be used as a platform from which to gather information that can be conveyed to energy efficiency simulation tools. The objective of this paper was to implement the model of a reversible air-to-water heat pump in EnergyPlus 8.9. This model was employed to analyze the performance of an aerothermal heat pump system (B) in a residential building under different Spanish climates compared to a conventional Heating, Ventilating and Air Conditioning (HVAC) system (A). Significant primary energy savings were achieved with system B compared to system A. These energy savings were higher in climates with a significant heating demand such as Madrid (27.4%) and Burgos (33.6%), and in cities with a mild climate such as Barcelona (37%). The residential building studied in this work was classified as Class A according to the CO 2 emissions scale when using the aerothermal heat pump system, and as Class B when using the conventional HVAC system.The EU's recommendation on guidelines for the promotion of NZEB [5]provides benchmark ranges of primary energy use (kWh/m 2 per year) for the different EU climatic zones [6]. Characterization of climate zones can be used to guide the design of NZEB by suggesting the suitability of certain technologies to certain climatic zones [7].In Spain, 93% of the installed aerothermal heat pumps that meet the requirements established by Directive 2009/28/EC are located in climatic zones characterized by mild outdoor dry-bulb temperatures. They are almost exclusively of the air-to-air type, with a very low number of units driven by other renewable energy sources (geothermal or hydrothermal). By sectors, most heat pumps are installed in households (86%), which is also the predominant sector in terms of installed capacity (57%) [8].Current technology allows the use of aerothermal heat pumps in more severe climatic conditions. Houlihan et al. [9] studied the case of a detached single-family house located in Oslo. The implemented residential NZEB concept was the so-called all-electric solution where essentially a well-insulated envelope was heated using an air-to-water heat pump and where photovoltaic panels (PV) production was used to achieve the CO 2 balance.Authors concluded that the house could be labeled as a zero-energy building.However, geothermal heat pumps are more suitable for the climatic conditions of Northern Europe than aerothermal heat pumps. Paiho et al. [10] analyzed life-cycle costs (LCCs) of different heat pump-based NZEB concepts for a Finnish new detached house and a new apartment building. They found that for both building types, the LCCs were the smallest with the ground source heat pumps (GSHPs) followed by the air-to-water heat...