First Minister Alex Salmond has said that Scotland is on-track to meet its decade-long renewable energy target.
Mr Salmond said that the country was on course to generate all electricity from renewable sources by 2020.
Speaking at the official opening of two new wind farms in South Ayrshire, he said: “The opening of the Arecleoch and Mark Hill wind farms here in South Ayrshire is a significant milestone for ScottishPower Renewables.
“It also underlines both the rapid progress Scotland has made in clean-energy generation and our industry’s leading role in the wider development of a genuinely low-carbon economy across Europe.”
His comments came after research claimed four energy firms were paid millions to switch off their turbines as the National Grid struggled under the pressure.
The Renewable Energy Foundation claims that the cash was shared by four firms who were asked to switch off their turbines 16 times last month.
Turbine owners receive a “constraint payment” when they have to shut down their turbines.
On May 24 seven wind farms were shut down for a total of 69 hours. A total of £613,000 was paid out in compensation - making it the most expensive day for such payouts.
A spokeswoman for the REF said turbine shutdowns had seen more than £4 million paid in 2011.
She added: “It is usual for National Grid to ask generators to reduce output but the fossil-fuelled generators pay National Grid when constrained rather than get paid. This is because they save on the fuel costs they would otherwise incur.”