to meet Spain's overall target for 20% use of renewable energy (it was just 8.3% in 2005) in gross final energy consumption (20,505 ktoe) by 2020 targets have been set for each sector as follows: 17.3% renewable energy use in the heating and cooling sector, 39% in the electricity sector and 11.3% in the transport sector. Total annual energy consumption is projected to be 98,693 ktoe (98.7 million tonnes of oil equivalent) by 2020. The report expected Spain to produce a surplus of 0.8% above the 20% target (20.8% total) for renewable energy use which would be available for other countries to meet their renewable energy targets under the "cooperation mechanism". The energy measures above are gross final energy consumption. Another broader measure, primary energy consumption also includes energy used in the extraction of fuels (the energy sector) and energy lost in transformation (the transformation sector, i.e. converting heat to electricity in power plants or fuel energy to heat in heating plants) as well as gross final energy consumption for end users. Under the European Union Energy Efficiency Directive EU countries submit their Energy Efficiency Plans every three years and Energy Efficiency Annual Reports every year. According to Spain's 2016 Energy Efficiency Annual Report the country's total final energy consumption in 2014 was 79.2 Mtoes whilst its primary energy consumption was 112.6 Mtoes. Most of the approximately 42% difference is accounted for in losses in the transformation sector. These losses are likely to be most prevalent in thermal electricity sectors, thus the use of renewable electricity will reduce emissions and fuels lost in the energy and transformation sectors as well as those in final consumption. By using more efficient thermal generation the potential remains to reduce energy wastage by almost a third and to cut emissions accordingly. Electricity Sector In 2015, wind power provided the largest share at 19.1% followed by hydroelectric power at 11.1%. Solar power provided 5.2% and renewable thermal a further 2%. The total electricity supplied (demand coverage) from renewables was 37.4% of Spain's requirements in 2015. The current generational mix of electricity production can be checked in real time on the Red Electrica de Espana website. Sharp variation from one year to the next is largely due to the substantial differences in hydroelectric production from one year to the next. Excluding hydroelectric production electricity generation from renewable energy sources grew from around 10 percent in 2006