The huge investment comes after campaigning by locals and could see it become a first of its kind energy source.