Two wind turbines which cost £101,000 to buy and install are being moved after a council admitted they were put in the wrong place.
The six-kilowatt turbines were put on top of Huddersfield's Civic Centre to raise awareness of renewable energy, and to raise money for Kirklees Council by selling the energy back to the grid.
But the council said they were to be taken down after "poor performance". The turbines generate about £2,000 a year but cost about £6,000 a year to maintain and repair.
In a statement the council said the turbines were "inappropriately sited" and would be decommissioned.
Kingspan Wind, which has taken over the company that made the turbines, has offered to pay for two new turbines at a more suitable location.