A new floating wave power machine aimed at helping Scotland meet ambitious green energy targets has been unveiled in Edinburgh.
Artists impression of a Pelamis wave farm
The Pelamis energy converter, manufactured by Ocean Power Delivery, should generate enough electricity to power 500 homes.
The prototype will be tested in Orkney later this year.
The Scottish Executive wants 40% of Scotland's energy to come from renewable sources by 2020.
The generator is the length of four train carriages and is designed so that hinged joints between the sections move in the waves.
The motion powers hydraulic motors which generate the electricity and the firm claims a square kilometre wave farm would power up to 20,000 homes.
Max Carcas, from Ocean Power Delivery, said the system was designed to stick pointing out to sea.
Mr Carcas said: "If you think of somebody standing on a beach, arms outstretched, and a big wave comes up and hits you, you'll end up on your backside half-way up the beach.
"But if instead, when that wave comes, you dive through the wave you pop out the other side and wonder what all the fuss was about.
The Pelamis is now ready for field trials
"That's really the case here, we've got a minimal cross section area pointing into the waves."
Enterprise Minister Jim Wallace said the move to power-generating projects like the Pelamis was an obvious step.
Mr Wallace said: "We've got winds, we've got the seas, and I think it does mean that although our target of 40% electricity generated by 2020 is an ambitious one, I think it is one we can achieve."
Commercial companies are said to have shown interest in the project, subject to successful trials off the coast of Orkney.