The Scottish government on Friday granted planning consent for the 12-MW Dounreay Tri floating wind demonstration project off the Caithness coastline.