WWF Scotland says the energy generated was equivalent to 99% of all the country's needs.

Renewables: Strong winds helped turbines produce more than 1.7 million MWh of electricity. © STV

Wind turbines provided enough energy for almost double the number of homes in Scotland last month, according to WWF Scotland.

Strong winds and storms during October helped turbines produce more than 1.7 million megawatt hours (MWh) of electricity to the National Grid.

Analysis by WWF Scotland of data provided by WeatherEnergy found wind power provided electricity to 4.5 million homes, the equivalent of nearly twice the number of households in Scotland.

Wind power provided more than 100% of electricity demand for Scotland on 15 days during October and supplied enough electricity to power all of Scotland's homes on 28 days.

October figures also show Scotland's total electricity consumption, including homes, business and industry, for October was 1,749,680 MWh, with turbines generating the equivalent of 99% of all Scotland's electricity needs.

WWF Scotland's acting head of policy Gina Hanrahan said: "No one will be surprised that October proved to be a spectacular month for wind energy, with some high winds, including the tail end of Hurricane Ophelia.

"Fortunately our infrastructure coped well with the windy weather which provided enough to power nearly twice the number of households in Scotland and almost all of our electricity demand."

She added: "Scotland's renewable sector is thriving but to have continued growth of clean, cheap power the UK Government needs to allow onshore wind and solar to compete for contracts on a level playing field.

"This is backed by everyone from the Scottish Government to the National Infrastructure Commission to Ofgem and, most importantly, the general public.

"Renewables, including onshore wind, are riding high in the polls with record levels of support. Consumers, the industry and the planet would all benefit from their continued deployment."

Want to receive the latest headlines straight to your inbox? Subscribe to our 'Morning Briefing' newsletter. Subscribe This field is required. That doesn't look like a valid e-mail format, please check. That e-mail's already in our system. Please try again. Please tick the box below to confirm your subscription Thanks for subscribing to our 'Morning Briefing' newsletter. Subscribed Want to receive the latest headlines straight to your inbox? Subscribe to our 'Morning Briefing' newsletter. Thanks for subscribing to our 'Morning Briefing' newsletter. Subscribe

Download: The STV News app is Scotland's favourite and is available for iPhone from the App store and for Android from Google Play. Download it today and continue to enjoy STV News wherever you are.