Ouarzazate, Morocco CNN  — 

It’s not just on the track that Morocco is aiming to become a world leader in renewable energy.

As well as a host nation of a Formula ePrix, the country is also home to the world’s largest concentrated solar farm.

Built on an area of more than 3,000 hectares in area - the size of 3,500 football fields – the Noor-Ouarzazate complex, produces enough electricity to power a city the size of Prague, or twice the size of Marrakesh.

Situated at the gateway to the Sahara Desert, the whole complex provides 580 megawatts – saving the planet from over 760,000 tonnes of carbon emissions.

solar farm morocco
The world's largest concentrated solar farm
01:25 - Source: CNN

Morocco has one of most ambitious energy targets in the world. The goal is for 42% of its power to come from renewable sources by 2020.

The country is well on track to hit its target too with 35% of its energy is already renewable thanks to sites such as Noor Ouarzazate.

Its 243 meter tower, the tallest in Africa, houses molten salt which is melted to create energy.

Unlike conventional solar panels which deliver energy direct to the grid, curved mirrors concentrate radiation to heat tubes of fluid which are pumped to a power unit. The unit holds the energy for use at a later time – specifically at night when demand is greater.

RIYADH, SAUDI ARABIA - SEPTEMBER 25:  Felipe Massa officially launches the new SAUDIA Ad Diriyah E-Prix at the Ad Diriyah UNESCO Heritage site Saudi Arabia ahead of the Season 5 Opening race The ABB FIA Formula E Championship on September 25, 2018 in Riyadh, Saudi Arabi  (Photo by Neville Hopwood/Getty Images)
Will Formula E merge with Formula One?
01:39 - Source: CNN

A cylinder full of salt is melted by the warmth from the mirrors during the day, and stays hot enough at night to provide up to three hours of power, according to World Bank, who financed construction of the plant with a $400 million loan combined with $216 million provided from the Clean Technology Fund.

Visit cnn.com/sport for more news and videos

Noor Ouarzazate in Morocco produces enough electricity to power a city the size of Prague.

Imported fossil fuels currently provide for 97% of Morocco’s energy need, according to World Bank . As a result the country is keen to diversify and start using renewable energy.

“Morocco is an emergent country,” Yassir Badih, senior project manager at Masen told CNN.

“Electricity demand has doubled since 2010 and by 2030 we want Morocco to be one of the first countries in the world for renewables to exceed share of fossil energy.”

Nicki Shields reported from Ouarzazate. James Masters wrote from London.