Rocks at the bottom of the North Sea may provide the perfect storage location for renewable energy, according to a new study.

Excess power could be stored in the form of compressed air inside porous formations on the seabed, providing a reservoir that can provide energy on demand.

This pressurised air can be released to drive a turbine, generating a large amount of electricity.

This would allow green energy to be stored in summer and released in winter, when demand is highest.

Along with battery storage and connections linking Britain’s power supply to other European nations, experts hope compressed air energy storage will provide the UK with a constant supply of green energy.

After the Japanese firm Hitachi announced it was withdrawing support for a major nuclear plant, there was speculation about how the government will fill the energy gap left by failed nuclear plans.

Environmental groups say the shortfall can be made up by investing in renewable energy – particularly wind power.

However, critics say the erratic nature of wind and solar energy will not be able to provide the constant supply required to power Britain’s grid.

Thousands skip school to attend climate protest Show all 5 1 /5 Thousands skip school to attend climate protest Thousands skip school to attend climate protest A girl wears a face mask and has a message written on her forehead that reads 'no planet B' during a demonstration against climate change in Brussels on Thursday 17 January 2019. Thousands of students as part of the Youth for Climate movement took time off school to call for stronger action against climate change. (Geert Vanden Wijngaert/AP Photo) Thousands skip school to attend climate protest Students and others hold placards as they march during a demonstration against climate change in Brussels, Thursday, Jan. 17, 2019. Thousands of students as part of the Youth for Climate movement took time off school Thursday to call for stronger action against climate change. Sign in center reads in Dutch 'shortly everyone will have a house on the sea'. (Geert Vanden Wijngaert/AP Photo) Thousands skip school to attend climate protest Thursday, 17 January 2019. Thousands of students as part of the Youth for Climate movement took time off school to call for stronger action against climate change. (Geert Vanden Wijngaert/AP Photo) Thousands skip school to attend climate protest Students and others hold up placards with climate messages during a demonstration against climate change in Brussels, Thursday 17 January 2019. Thousands of students as part of the Youth for Climate movement took time off school to call for stronger action against climate change. Banner at right in Dutch reads 'we are truant for more forests' and at centre-rear reads 'no money if it melts'. (Geert Vanden Wijngaert/AP Photo) Thousands skip school to attend climate protest Two girls hold up a banner during a demonstration against climate change in Brussels, Thursday 17 January 2019. Thousands of students as part of the Youth for Climate movement took time off school to call for stronger action against climate change. (Geert Vanden Wijngaert/AP Photo)

Building devices that can store green energy for when the wind is not blowing or the sun is not shining would allow the UK to keep the lights on without relying on climate-harming fossil fuels.

In their new analysis, scientists from the universities of Edinburgh and Strathclyde suggested drilling deep wells into North Sea rocks would create sites at which large quantities of air could be injected into sandstone pores.

In their study they used mathematical models to assess the potential of this technique in British waters.

They found geological formations in the North Sea have the potential to store one and a half times the UK’s electricity needs for the months of January and February.

“This method could make it possible to store renewable energy produced in the summer for those chilly winter nights,” said Dr Julien Mouli-Castillo from the University of Edinburgh.

“It can provide a viable, though expensive, option to ensure the UK’s renewable electricity supply is resilient between seasons. More research could help to refine the process and bring costs down.”

Support free-thinking journalism and attend Independent events

One way to save money and make the entire process more efficient would be to place the underwater wells close to large-scale offshore wind projects so energy could be funnelled straight down into the rock.

A similar process in which compressed air is stored in deep salt caverns is already being used at sites in the US and Germany.