Skip to main content
  • Original research article
  • Open access
  • Published:

Analysis of solar energy potentials of five selected south-east cities in nigeria using deep learning algorithms

Abstract

This study presents a meticulous examination of the solar energy potential of five selected metropolitan cities (Abakaliki, Awka, Enugu, Owerri, and Umuahia) in Eastern part of Nigeria using deep learning algorithm, specifically the Long Short-Term Memory (LSTM) model. These cities, despite being characterized by extended rainy seasons and a high level of cloudiness, are suitable environment for solar power generation and investment opportunities. The employed methodology capitalized on the LSTM deep learning approach to analyze and predict energy generation, utilizing comprehensive hourly weather data from the National Airspace Agency (NASA). The data set comprised various parameters, such as date/time, solar azimuth angle, temperature, humidity, wind speed, wind direction, cloud cover, and power, enabling a thorough analysis of each city. To ensure accuracy, energy prediction capabilities were benchmarked against real-time datasets from a solar power plant in Ulsan, South Korea, thereby training and fine-tuning the model for precision. The LSTM model's performance metrics were maintained at a learning rate of 0.07, a batch size of 150, and a train-test split ratio of 0.8 to 0.2. Data validation exhibited a mean square error (MSE) of 0.01, demonstrating the model’s reliability. Results showed Enugu as having the highest solar energy potential, averaging 6.25 kWh/day, while Awka registered the most substantial electricity demand across various sectors. These findings highlight the substantial potential for photovoltaic (PV) power systems and advocate for the immediate implementation of renewable energy policy in the selected cities. These are expected to bring about significant implications for future renewable energy environmentally friendly investments in Nigeria and globally.

Introduction

Background

Nigeria is endowed with abundant natural resources and diverse energy potentials including fossil fuels and renewables. Despite these abundant resources, the country is burdened by persistent energy crises that have hampered socio-economic growth over the past three decades. The current energy infrastructure is inadequate to meet the needs of its growing population of over 200 million, evidenced by inadequate power generation and recurrent power outages. Specifically, Nigeria's installed capacity of 15,000 MW significantly underperforms relative to its actual generation, which oscillates between 3500 and 5000 MW. This capacity is alarmingly inferior when compared with nations like South Africa, which sustains a population of 59 million with an installed generating capacity of 54,000 MW as at the year 2022 (Pierce & Roux, M.l., 2023). This power deficiency in Nigeria pushes industries and consumers towards self-generation, a costly alternative.

Energy is very vital for environmental sustainability. Its importance transcends all aspects of society’s socio-economic and cultural development. The energy industry is inextricably linked to Nigeria’s economy. Apart from the macroeconomic benefit of energy, it does also have significant importance in poverty alleviation, facilitates productivity and general well-being of the citizenry. The energy industry and other sectors are intertwined in many ways. The energy sector makes a significant contribution towards the growth and development of the nation’s economy. This is because uninterrupted energy supply is needed to drive and boost a nation’s economy. The ambition to ensure and provide uninterrupted, modern, increased energy supplies to meet the growing demands of energy requires humungous sum of financial and human resources. This is evidently true owing to the huge amount of money needed for investment in the energy sector (AfDB, 2019; IRENA & CPI, 2023). To enable all the countries in Africa to achieve uninterrupted access to energy, the African Development Bank estimated that an annual investment of about 29–39 billion USD is required till the year 2025 (AfDB, 2019). The bank also pointed out that more investment will be required when investment in low-carbon technologies is given higher priorities. The energy demand within the West-Africa sub-region, it is estimated to grow by about 8.9%, of which one-quarter of the demand will be driven by Nigeria (AfDB, 2019) by 2030. In view of this, the Nigerian government has decided to embark on developing a comprehensive energy masterplan to bring to fore and to implement the provisions of the National Energy Policy to achieve the aims and objectives of the national power project. The national energy masterplan makes information available for potential investors and facilitates an all-round development in the industry. Without a well-designed plan that gives high premium to major improvement in energy services, the actualization of the government’s transformation agenda and sustainable energy for all by 2030 wouldn’t be possible (Shulla et al. 2030). The masterplan also describes who to carry out what activities amongst the stakeholders in the energy sector. Nigeria as a nation, is blessed with abundant varieties of renewable energy sources, the reserves are shown in the Table 1.

Table 1 Nigeria’s Energy Reserve as of January, 2023 (ECN, 2022)

It is on record that Nigeria is the 7th largest reservoir of crude oil and the 9th country with the largest deposit of natural gas in the world. The ratio of the associated and non-associated natural gas is 54:46. Efforts are being made by the government to harness the tar sands and coal deposits in the country by providing an enabling environment to further encourage private investors-driven sand and tar sub-sectors. The major provision of the Nigerian energy policy is in the area of utilization of the country’s abundant energy resources for sustainability, growth, and overall development. The energy masterplan enunciates the sets of activities through which that can be achieved. In recent times, renewable energy has been drawing so much attention by all and sundry. It is clean, safe, and not limited in resources (Abolarin et al. 2022). Renewable energy is an ideal source of energy for both domestic and commercial activities. Despite its intermittency, the renewable energy remains the cleanest source of energy not just for home use, but also for industrial use. Indeed, renewable energy potentials vary significantly depending on the conditions and the characteristics of the place where they are located, which makes it difficult to estimate how much benefit in terms of power is going to be obtained from them. Two of the most relevant energy sources in recent years have been solar and wind. Hence, they are the energy sources that can be harnessed across different regions, countries, and even continents. Owing to the fact that climate change and its attendant effects have been gaining much attention from governments across the globe, renewable energies such as solar and wind are now becoming increasingly considered as the most viable alternatives to fossil fuels.. There are two kinds of solar energy; namely, thermal solar energy which converts solar radiation into thermal energy and photovoltaic solar energy (Abolarin et al. 2022). The photovoltaic solar energy converts solar radiation into electricity that can be used for other benefits other than just heating. Despite its wide areas of usage, solar photovoltaic energy has varying performance from panel to panel, and from region to region, depending on the climatic condition in those regions, as well as the weather condition per time (see Fig. 1 for detail) (Laguarda et al. 2023). The COP26 summit held in Glasgow, Scotland envisions the possibility for a universally acceptable clean energy source for sustainable development. One of the key challenges to achieving this vision lies on the low reliability of certain renewable energy sources.

Fig. 1 
figure 1

Range of PV conversion efficiencies of solar panels from 1976 to 2020 NREL

The energy demand and supply imbalance in Nigeria is so much, as there is low energy access throughout the country. The situation of load shedding and cuts in the supply of electricity is a reoccurring event across the Nigerian states, especially in the semi-urban and rural areas. To ensure that there is an increased access to electricity supplies, there is a need to emphasize that the energy producers and consumers should inculcate energy management culture and best practices (Abolarin et al. 2011, 2013, 2014, 2015). Every energy consumer has got a role to play in the improvement of energy efficiency and conservation. Therefore, there is a need for energy conservation of the available supply by all sectors of the economy so as to achieve energy performance improvement. Energy efficiency still is faced with a lot of challenges such lack of awareness, lack of baseline energy consumption data, performance improvement implementation of measurement and verification of energy consumption data, inadequate manpower development, non-implementation of energy laws and regulations and improper billing (example, estimated metering system) by utility companies and corrupt practices by power distribution companies (Adoghe et al. 2023; Dahunsi et al. 2021; Oseni, 2015).

The long short-term memory (LSTM) is the deep learning approach that was used for data analysis and solar power prediction in this study. Deep learning has recently gained a lot of popularity in doing scientific analysis; its algorithms are being utilized by both the academia and industry in solving complex problems. Deep learning uses ANNs to perform complex computations and analysis on large volume of data. It is a type of machine learning that works as a replica of human brain. It trains machines by learning from past examples. The LSTM model is a very good model for the prediction of renewable energy. The model has been discovered to be one of the best deep learning models available for accurate prediction of energy and is best suited for time-series analysis. LSTMs can learn and memorize long-term dependencies, it can recall past information for a long period. Apart from time-series predictions, LSTM can also be used for speech recognition, music composition, etc. In training the model, Keras library was used to facilitate fast experimentation and prototyping. It is a high-level neural network for building and training deep learning models. Keras can run on several platforms such as tensorflow, theano, and so on.

Statement of problem

The supply of energy in Nigeria is very epileptic. Also, there are still large unreached areas without electricity, especially in the interior villages. In a study conducted by the Presidential Advisory Committee (PAC) on 25-year Power Development Plan, the projected electricity demand for a 10 percent yearly GDP growth was put at about 16000 MW, 30000 MW and 192000 MW for the years 2010, 2015 and 2030, respectively (Mansur, 2020). The accomplishment of the above projected generation capacity will ensure that the per capita electricity consumption would be almost 5026 kWh. This means that it will be at par with the present consumption level in many yet-to-be industrialized nations. The study also reveals an electricity generation mix of Nuclear at 2%, Hydro 7%, Renewable energies 10%, Coal at 11%, and Natural Gas was put at 70% in the long-term. As at the moment, Nigeria’s energy consumption is below the average of the consumptions in most industrializing countries.

As at now, the infrastructural capacity of the Nigerian electricity value chain is inadequate to meet the country’s energy demand. Even the available facilities are mostly outdated. Nigeria’s electricity generation capacity is put at about 15 GW, while the actual power generation revolves around 3500 and 5000 MW for a country of over 200 million people. This low generation capacity has caused an increased number in power cuts and load shedding. It has also affected the economy tremendously in all facets, including industry, manufacturing, transportation, construction and general services. Furthermore, there has not been any significant investment in energy sector since 1999 to date, and most of the generating plants owned by the government are not operating at the supposed capacity. For example, the Egbin power plant which has an installed capacity of 1300 MW but is operating at about 600–700 MW capacity. The Nigeria’s national grid has a high rate of power losses in terms of transmission and distribution. The losses are reported to be higher than internationally acceptable standard. A few other power projects such as the Mambilla hydro power plant project have been in the pipeline for decades, yet, they have not been completed. The Mambilla power plant is expected to generate more than 3 GW of electricity. To achieve the government’s projected high economic growth scenario in relation to the forecasted electricity demand base value of 322,452 MW in 2030, there is a need to integrate renewable energy (such as solar PV) to the national grid.

The major hiccups to the accelerated development of technology to exploit, explore, and harness renewable energy in Nigeria are unstimulated demand, non-implementation of the available regulatory and institutional framework, as well as lack of incentives for private investors (Oyedepo, 2012). Nigeria’s annual consumption of electricity has been steadily growing. Making it even increasingly important to urgently expand energy supply through a robust investment planning. Energy consumption has increased from 1273 GWh in 1970 to 29,573 GWh in 2019. This, however, represents a repressed demand caused by inaccessibility to the national grid and insufficiencies of the electricity supply.

Another major problem of energy production, distribution and consumption in the country is related to environment and climate change; mainly deforestation and pollution (air, water and soil). Oil spillage, pipeline bunkering and vandalism, as well as gas flaring have taken a toll on the nation’s economy over the past decades (Mansur, 2020). Owing to the above-mentioned ill-practices which have far reaching negative consequences, there is need to consider and infuse environmental impact into Nigeria’s energy utilization strategy.

Objective of the study

To find solution to the problem, or at least ameliorate the effect of power failure in the country, this study seeks to analyze the solar energy potentials in the five (5) states that make-up the southeastern part of the country. This study concentrated on the analysis of solar energy potentials and ascertains the reliability of daily power output prediction with deep learning algorithm in the five selected cities in the eastern part of Nigeria. After conducting the studies, relevant recommendations are made to the authorities as well as private investors on the need to invest in solar energy as one of the most viable options to solving the erratic power supply issues in Nigeria.

Scope/delimitation

The five targeted cities are Abakaliki city in Ebonyi state, Awka in Anambra state, Enugu in Enugu state, Owerri municipal in Imo state, and Umuahia in Abia state. These cities also double as the state capitals, are representative samples of the remaining cities in the target area. The cities have similar weather and climatic condition with other cities within the respective states/regions. This invariably means that the result and recommendations from this study are limited to the states within the country or other regions with similar weather data.

Contribution to knowledge

The scientific approach like the one in this study can help establish guide and requirement for the determining solar power potential in Nigeria. This will contribute meaningfully in solving the decade long power failure problem in Nigeria by analyzing the solar potentials of various states/regions and making appropriate recommendation on how to utilize the available solar potential in solving Nigeria’s perennial electricity blackout across the country. This will also pave the way for solar PV to be part of Nigeria’s energy mix, in line with the country’s energy masterplan of 2022.

Current status of policy

Nigerian energy policy

Developing and utilizing energy is dynamic. It involves constant update and review within a reasonable timeframe. The inherent climate action benefits of renewable energy sources have brought unprecedented changes on energy policies across the globe, helping in reshaping the clean energy plans, design, investment landscape, and deregulation in the energy industry (Ang et al. 2022). Similarly, energy policy is now serving as a driving force for foreign direct investments across many economies of the world. A crucial benefit of energy policy is the eventual application of energy resources to environmental sustainability, economic growth and development of many nations. Consequently, the Nigerian energy policy (ECN & National energy policy., 2022) is divided into different sections of energy resources and further grouped into short, medium and long-terms scenarios for easy implementation of the policy. Some of the main objectives of Nigeria’s energy policy include but not limited to:

  • Ensure the procurement of a nation-wide energy resources, including numerous energy sources option so as to be able to achieve energy security and efficiency.

  • Improve the provision of electricity, thereby improving revenue for the government as well as for private business.

  • Provision of clean, affordable, sustainable, and environmentally friendly energy resources for national development.

  • Ensure energy efficiency for optimum energy utilization and consumptions.

  • Encourage private sector investment into the energy sector through regular engagement with investors on ways to improve energy access.

  • Engender bilateral and multilateral cooperation on energy investments across Africa, Europe, Asia, and the Americas.

Nigeria has a huge deposit of renewable energy resources such as wind, solar, hydrogen, hydro, animal wastes, etc. (Akinbami et al. 2021; Eweka et al. 2022). The nation’s population has been projected to be on the rise, while energy demand is also expected to rise exponentially (Dioha & Emodi, 2030; Ibrahim et al. 2021; Pelz et al. 2023). Hence, the conventional energy sources such as coal, oil and gas would to be re-evaluated in the mix needed to meet the growing demand of electricity and achieve energy prosperity and sustainability in the country. To achieve the needed sustainability, the country is making concerted efforts to increase percentage of renewable energy in the nation’s energy mix in accordance with the Sustainable Development Goal (SDG-7), and to also combat the negative effects of climate change in line with the Climate Action (SDG-13). Moreover, a working energy policy stands a chance to boost investment in renewable energy and create jobs for the citizenry, thus improving their living standards. Hence, Nigeria needs to urgently work on expanding the utilization of renewable energy to facilitate environmental sustainability and economic development (Failed, 2012a). The objectives of Nigeria’s renewable energy policy can be summarized as itemized below:

  • To exploit, harness, and explore renewable energy resources and effectively integrate them with gas, nuclear, and other energy sources for a balanced energy mix in the country.

  • To consider renewable energy resources in national energy planning, so as to achieve the necessary expertise and technical know-how for the development of an efficient, reliable, and affordable energy for the development of the country.

  • To formulate and implement policies that would ensure the provision of reasonable electricity pricing system that will be acceptable to both the consumers and the suppliers of electricity.

  • The establishment of energy policies according to international best practices for the development and utilization of renewable energy.

  • To encourage the use of renewable energy, and possibly provide incentives to farmers to use renewable energy for agricultural activities.

  • To support and possible provide finances for the development of technologies for the efficient utilization of renewable for economic development.

Environmental experts have been calling on world leaders to take urgent actions to avert the imminent dangers associated with of over-dependence on fossil fuels, such as oil, gas, and coal in driving economic activities (Dwivedi et al. 2022; Ekins & Zenghelis, 2021; Santos et al. 2022). Global warming which used to be a speculative science has now appeared real to all and sundry, making it even more critical in addressing the imminent danger of climate change (Abbass et al. 2022). Rising sea levels, flooding, desertification, draught have become a perennial problems across the globe (Klingelhöfer et al. 2020). There is now a global consensus for alternative energy sources to drive the future industrialization and economic development (Babayomi et al. 2022; Zhang et al. 2022); and renewable energy resources and technologies are the most favored for future economic development.

Some of the major constraints inhibiting the efficient development of the technologies required for the exploration and exploitation of renewable energy in Nigeria are lack of the implementation and enforcement of relevant policies and regulatory frameworks that would encourage private sector investment in the industry. The comparatively low quality of the systems and the high preliminary cost of investment also constitute as barriers to the growth of the energy market. Consequently, if Nigeria is to project the huge potentials of the renewable energy resources that are available on its territory, those barriers should be totally taken off, through substantial investment in terms of building critical infrastructures for renewable energy development and utilization. There is also a need for investment in areas of research and development, capacity development and the strengthening of the on-going economic reforms to create an environment that is investor friendly.

Going by a 7% GDP growth rate, and the Energy Commission of Nigeria’s projected electricity supply template of about 26 GW, 52 GW and 160 GW in the short, medium and long-terms scenarios respectively, it is envisaged, as can be seen on Table 2. That renewable energy will contribute 17%, 19% and 20%, respectively, in meeting the total electricity demand in Nigeria on short, medium, and long terms scenarios.

Table 2 Summary of renewable energy targets in GW (7%, 10% and 13% GDP growth rate) (ECN, 2022)

If the contribution of large hydropower is discounted, the contribution of renewable energy would decline to about 5.6%, 7.7% and 16.6%, respectively, in reaching the national electricity demand under the 7% GDP growth rate. Furthermore, renewable energy is expected to make an average contribution of around 80% to non-electricity demand (Table 3). However, the average contribution is envisaged to decline over a period of time.

Table 3 Targets for non-electricity energy production (ECN, 2022)

The estimated contribution of biofuels in meeting the demands for automotive fuels in the country is shown in Table 4. Transportation constitutes a greater part fuel demand in Nigeria. A robust public transportation system will help in curbing high demand of fossil fuel and reduction in carbon emission.

Table 4 Targets for Bio-fuel for vehicles at 7% growth (ECN, 2022)

It should be noted that the solar energy policy states that government shall do all within its powers to vehemently pursue the integration of solar energy into Nigeria’s energy-mix. The major objectives shall be to develop and harness the nation’s renewable energy capacity for purposes of efficient utilization of solar energy. The policy also states that Nigeria would use solar energy as the main energy source in rural and sub-urban areas that have the highest solar radiation in the country. The detailed solar development plan is shown in Table 5:

Table 5 Solar Development Plan (ECN, 2022)

Energy demand and supply projections for nigeria

The Energy Commission of Nigeria carried out a holistic energy demand projection study based on Nigeria’s government vision to industrialize Nigeria by the year 2030. The study estimated the amount of energy required for the transformation of the country from an agrarian economy to an industrialized nation by the year 2030 using the Model for Analysis of Energy Demand (MAED) that had been developed by IAEA. The economic and demographic features of industrializing countries were identified and applied in the model. The electric power demand projections by the government’s Presidential Advisory Committee (PAC) were also adopted by the study.

The Nigerian government had anticipated growing the economy at a rate of 11% to 13%, the projection anticipates that Nigeria would be counted amongst the 20 biggest economies of the world by the year 2020 (Mansur, 2020)

Table 6 clearly shows the total share of energy demand by various sectors. For Reference Scenario, demands usually will differ from 1.15 Mtoe to 105.52 Mtoe, for the industry, 7.65 Mtoe to 28.51 Mtoe, transport, to 24.09 Mtoe; 46.29 Mtoe for households and 3.13 Mtoe to 10.67 Mtoe for the service sector in the planned period. The sector with the fastest growing rate is industry; viz-a-viz agriculture, construction, mining and manufacturing, with an overall yearly growth rates of 24.01%, 28.78% and 32.45% for the Reference, High and Optimistic Growth Scenarios, respectively. Energy demand in the manufacturing sector would have had the dominant energy demand, because energy utilization in the sector is by far more than those of agricultural, construction, and mining sectors.

Table 6 Total energy demand projection by sector

In the same vein, the service sector will experience growth rates of 6.01%, 7.3% and 9.25% per annum, respectively; and transport by 6.46%, 7.49% and 7.88%; while the household will be growing at the rate of 3.16%, 4.85% and 4.68%, respectively, for the Reference, High and Optimistic growth scenarios. In the base year, households have the biggest share of energy demand at the rate of 66.9%, followed by transport, services and industry sectors which had the shares of 21.2%, 8.7% and 3.2%, respectively. Nevertheless, the structure is estimated to change significantly over the planned period.

A lot of projections were made by some very reputable consulting companies, notable amongst the projections made were JICA demand prediction of 2015, FIGHTNER projection in 2016, TCN energy demand forecast of 2012, and tractable forecast in 2019 (Yoshida, 2020). However, all of these forecasts were further studied by the Energy Commission of Nigeria to get them aligned with the energy demand scenarios in Nigeria. The diagrammatical representation of the projections is shown below (Fig. 2).

Fig. 2
figure 2

National Demand Forecast (ECN, 2022; Mansur, 2020)

Power generation and energy mix

Studies have shown that Nigeria’s current electricity grid cannot meet the country’s energy demand, especially as its population continues to increase rapidly. It has also been discovered by studies that since the year of independence from colonialism in 1960, the electricity grid expansion has been rather quite slow when compared to the population growth rate. Nigeria, a country of about 40 million people in 1960, is well over 200 million as at 2020. Meanwhile, the grid and power generation expansion are nowhere near a commensurate ratio to its soaring population figures. Over the years, the electricity sector has been unbundled and privatized, yet, there is no significant improvement in power generation capacity. Many have linked the poor electricity generation and transmission to lack of gas supplies, while others blamed it on the deteriorating condition of the nation’s electricity infrastructures, as well as poor maintenance culture. The generation, transmission and distribution capacity of the grid is shown in Fig. 3 below:

Fig. 3
figure 3

An Overview of Nigeria’s Power System

At present, Nigeria has an installed capacity of about 15 GW, however, due to maintenance issues, inadequate gas supply, water and transmission constraints, only about 3.9 GW to 6 GW is available for onward transmission to the grid via 25 hydro and gas-fired power plants which are mainly located in southern Nigeria (Failed, 2012b). The power generation sources include large and small hydro plants and gas thermal plants which account for about 85%, while hydro power accounts for 15%. Out of the 25 available power plants, 22 are gas thermal and 3 are hydro plants. The overreliance on fossil fuels has been the major problem affecting Nigeria’s energy supply, this development has been attributed to gas supply constraints, and inadequate power transmission and distribution infrastructures, as well as old and non-functional oil and gas facilities. Moreover, power generation capacity in most parts of the country from hydro plants during raining season (May to October), is about 80%. However, the generation capacity drops significantly to less than 50% during dry season. Furthermore, gas thermal power plants usually experience shortages in gas supply due to the criminal activities of oil thieves and the violent attacks on oil installations (Fig. 4).

Fig. 4
figure 4

Expected energy mix by (a) 2030 and (b) 2035 (ECN, 2022; Mansur, 2020)

Load forecast and generation expansion plan

As stated in the previous section, demand forecasts were carried out by various consulting firms and then eventually reviewed by the Energy Commission of Nigeria. It was predicted using “Model for Analysis of Energy Demand” software (Mansur, 2020). The study analyzed future demand based on variables such as annual energy demand, population growth rate, and household size, etc. Based on the future economic prediction for 2030, three (3) load growth scenarios were developed to guide the study. The load growth cases are: low case, base case and high case. See Fig. 5 for details of the energy and peak load forecasts for each case:

Fig. 5
figure 5

The Nigeria’s energy demand forecast (a) power demand and (b) peak demand with corresponding load factor

Considering the fact that there is an already forecast demand information available, the main target under electricity generation expansion plan is to identify the optimum energy mix that would provide the lowest marginal cost for power generation. The forecasts are shown in Table 7 for the low scenario installed capacity, Table 8 for the base scenario installed capacity and Table 9 for the high scenario installed capacity. The two (2) aspects of marginal costs applied were Short Run Marginal Cost (SRMC) and Long Run Marginal Cost (LRMC) (Mansur, 2020). In this case, a marginal cost simply means the cost of producing an additional unit of electric energy. Optimal generation expansion occurs only when SMRC equals LRMC (Table 10)

Table 7 Installed Capacity for Low Scenario, GW (ECN, 2022)
Table 8 Installed Capacity for Base Scenario, GW (ECN, 2022)
Table 9 Installed Capacity for High Scenario, MW (ECN, 2022)
Table 10 Action plan for energy planning (ECN, 2022)

Planning policy implemention

Given the interrelationships between energy demand and supply, and the environmental issues that surrounds energy utilization and pollution into the atmosphere, there is need for proper and efficient energy planning. Any nation that is serious about meeting its short- and long-term energy needs, must put in place a very effective and robust energy policies to grow every facet of the economy.

For an effective planning, attention must be given to both past and present energy consumption patterns. This will guide any future projections as well as provide the necessary information upon which a short- and long-term plan can be made. It is primarily a way of knowing the energy demand–supply trends of a society upon which future decisions could be made about investment strategies, energy utilization patterns, and formulation of relevant economic policies (Ubani et al. 2013).

Energy policy planning in Nigeria is handled at four various levels of authority. These are: National level, Sectoral level, Sub-sectoral, and Operational level. The federal ministry of budget and planning is responsible for policy implementation as regards to multi-sectoral developmental approach. The sectoral level of authority deals with the overall planning and implementation of energy policy. It makes sure that there is consistency and coherence in energy policies at the sub-sectoral level. While the sub-sectoral level handles a more specific energy planning and implementation strategies to explore, exploit, and utilize energy resources. Part of the sub-sectors are oil and gas, solid minerals, electricity, nuclear energy technology, transport, industry, agriculture, research and development, household, etc. (Igbinovia & Tlusty, 2014). Activities involving policy execution and implementation of plans developed by the sub-sectors are done at the operational level. Some of the establishments involved in such implementations are those that carry out oil explorations, oil production and marketing, power generation, transmission and distribution, and so on. Of course, no policy can be said to be successful without an effective implementation. Furthermore, to effectively implement any energy policy, there must be effective strategies to monitor and evaluate its implementation process to ensure that the implementation guideline is followed to the letters, and also ensure that amendment is made where and whenever necessary.

Monitoring and evaluation make it possible to:

  • Measure and ascertain progress in achieving the policy’s main goals and objectives.

  • Monitor inputs and outputs during implementation process.

  • Find out if the implementation is being carried out according to the masterplan.

  • Identify any existing or potential challenges even before they become a big problem.

  • Constantly review of the strategies and also make corrections where necessary, so as to ensure that inputs are in conformity with expected outputs.

Parameters were set in place to monitor and evaluate achievements spelled out in the masterplan for each type of energy. All performance variables can be easily compared with targeted values which were spelled out on short, medium or long-term scenarios. Table 14 shows the detailed action plan for energy planning and policy implementation (ECN, 2022).

In the case of policy implementation, the national energy policy shall be the reference point for its implementation to ensure consistency with national planning. The Energy Commission of Nigeria is the focal institution for the coordination, monitoring and evaluation of energy policy and implementation strategies at all levels of governance.

Literature review

Machine learning

Over the years, machine learning (ML) has been applied to various academic areas and fields in solving data related problems. Machine learning techniques cut across a vast variety of fields such as statistics, engineering, mathematics, computer science, artificial intelligence, data mining, etc. The algorithms utilized in machine learning usually tend to determine the relationship that exists between input and output. For appropriate decision-making, a forecasting input dataset is fed into a model, after the model has been trained using a training dataset. Data pre-processing technique is very vital for machine learning performance. It helps the model to perform optimally (Hwang & Kim, 2020). Normally, machine learning algorithms utilize three (3) learning methods, namely, supervised, unsupervised, and reinforcement learning. Based on these three learning principles, there have been many theoretical strategies that have been proposed for the application of machine learning for forecasting (Malik & Kuba, 2013). Deep learning, which is a sub-set of machine learning, has been gaining popularity in recent times due to dynamic nature of information technologies (Alzubaidi et al., et al. 2021; Choudhary et al., et al. 2022; Pichler & Hartig, 2023; Sarker, 2021). Many machine learning studies used in forecasting renewable energy have been done using a just one machine learning model. However, due to the dynamisms in datasets, influenced by weather information, time steps, and other settings, it is difficult to achieve a good accuracy using just a single machine learning model. It, therefore, takes the combination of different models to get an optimum forecasting performance. Hence, to achieve an optimum performance in machine learning, some methods such as support-vector machines and deep learning methods were developed for energy predictions.

Application of machine learning to renewable energy prediction

Table 13 lists some recent survey studies where machine learning algorithms have been applied for energy prediction. Swisher et al. (Swisher et al., et al. 1997) reviewed literature on photovoltaic power prediction using artificial intelligence, deep learning, and hybrid technique. The authors established that when using weather datasets for predictions, Long Short-term Memory (LSTM) model, Convolutional Neural Network (CNN) and Recurrent Neural Network (RNN) can be utilized for optimum performance. They also estimated the time-dependence data in solar PV power forecasting. In their recent studies, Kotsiantis (Kotsiantis, 2007) reviewed power prediction techniques based on deep learning. In their studies, the authors classified the prediction techniques into four, namely, deep belief networks, stack auto-encoder, deep recurrent neural networks, and others. They utilized data pre-processing techniques to the prediction accuracy. Qiu et al. (Qiu et al., et al. 2016) investigated artificial neural networks in predicting renewable energy. Energy sources in this research include solar PV, hydropower, and wind. Many scenarios were made available to establish that artificial neural networks performs better than other conventional methods in energy forecasting. Wang et al. (Wang et al., et al. 2019) carried out a survey on the application of machine learning techniques in energy systems. The authors’ findings were very instrumental to designing a well-performing machine learning model. Abdalla et al. (Abdalla et al., et al. 2021) also investigated prediction models of renewable energy considering energy storage, energy policy, electricity market, power systems, and optimal reserve capability. The review was very important to the energy sector because it enumerated the recent trends in power prediction and ways of improving power systems operations. Furthermore, Zendehboudi et al. (Zendehboudi et al., et al. 2018) investigated the application of support-vector machine learning models in predicting solar and wind energy. The study showed that support-vector machine models performed better than other models in prediction accuracy. Also, the authors revealed that a combination of different support-vector machine models is capable of obtaining a much accurate result than support-vector machine with a single model. Jesús et al. (Jesús & F., G.F.J., Fernando, O.P., & Adolfo, C.M., 1844) conducted a study on machine learning performance and forecasting procedures in solar PV power generation. The study showed that using ANN and support-vector machine model has been thriving in renewable energy studies. The authors explained that differences in whether conditions cause errors in the prediction of solar power, because solar radiation, humidity and temperature are major variables that affect solar energy. Howland and Dabiri (Howland & Dabiri, 2716), did a review on the utilization of machine learning models in forecasting solar radiation. The study indicated that ANNs, support-vector regression, regression tree, and gradient boosting are veritable tools for solar radiation prediction, and hybrid model approaches are reliable techniques for improving the accuracy of prediction.

Renewable energy is a clean source of energy. As an environmentally friendly energy source, it helps in combating the negative effects of climate-change. Renewable energy is a veritable alternative to fossil fuels. However, it has certain features that makes it not to be a year-round reliable energy source. Its intermittency is one of the disadvantages associated with it. For example, solar energy depends heavily on solar radiation. There won’t be energy without sunlight. This means that during periods when sun rays are not available such as during rainy season, there will not be enough solar radiation to provide energy. This is why the need for the prediction of renewable energy using an accurate forecasting technique is imperative. Machine learning is a reliable forecasting technique for energy prediction using whether datasets and other deep learning structures to obtain an intelligent output. In an extensive research, Demolli et al. (Demolli et al. 2019) divided machine learning models for energy prediction into three; namely, statistical models, artificial intelligence, and hybrid technique. The study gathered and analyzed 130 recently published papers on renewable energy resources. The seven renewable energy sources analysed in the study are solar, wind, hydro, biomass, wave, tidal, geothermal. Solar energy constitutes 43% of the total renewable energy sources reviewed in the literature, wind energy source makes up nearly 40%; while all of the remaining five energy sources were less than 5% each.

Parameter selection of machine learning models

The selection of parameters influences the performance of machine learning models a lot (Li et al., et al. 2019). Many ML models have more than two parameters. Therefore, metaheuristics has been a common medium of seeking proper parameters of a ML model. Primarily, predicting error functions is the basis for objective functions for optimization using metaheuristics (Feng et al., et al. 2017). To make predictions, a new set of parameters is generated by a machine learning model for every single iteration. As a result, a new forecasting error is generated. At times, a validation dataset is separated from the training dataset to the problem of overfitting. Lahouar and Ben Hadj Slama (Lahouar et al., et al. 2017) used the Gray Wolf Optimization (GWO) technique to select conjunction parameters of the ANFIS model in predicting power generation in a hydropower plant. The GWO is able to improve the forecasting performance of ANFIS significantly (Andrade & Bessa, 2017). Also, an Improved Moth Forecasting Optimization (IMFO) algorithm can be utilized in optimizing the parameters of the SVM model in forecasting solar PV power generation. Figure 6 displays a collection of metaheuristics for the selection of machine learning parameter for energy prediction.

Fig. 6
figure 6

Metaheuristics for ML parameter selection in renewable energy predictions (Khosravi et al. 2018)

Leva et al. (Leva et al. 2017), in their study on predicting solar energy generation using artificial neural networks, conducted sensitivity analysis to evaluate the model performance. Using perhaps the simplest approach, the model was evaluated on the same problem with, but a different size of dataset. This allowed the training dataset and test dataset to increase with the size of dataset. It is generally expected that the mean model performance will increase with dataset size, while the uncertainty in model performance will decrease with dataset size.

Results may be different, given the stochastic nature of the algorithms or evaluation process. Consider running the example a few times and make a comparison of the result generated. Specifically, there would be an improved performance with more dataset rows, however, this relationship can be captured with small variance using 10,000 rows of data or more (Khan et al. 2229). This situation may be the upper limit on the model performance. Which means that there is every likelihood that an increased dataset would not result to an improved performance of the model. These findings may be used as the benchmark for testing other model structures or a different type of model (Fischetti & Fraccaro, 2019; Ma & Zhai, 2125; Mujeeb et al. 2019). The problem here is that different models will perform differently depending on the size of datasets. Therefore, the best approach will be to conduct the sensitivity test with a different model to see if the relationship actual holds (Harbola & Coors, 2019).

Measurements of forecasting performance

In this section, prediction accuracy measurements are reviewed. Tables 11, 12 show the prediction accuracy measurement that was conducted by 10 different studies. Some of the most often utilized measurement of forecasting error for energy prediction are Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and Mean Square Error (MSE) (Alsharif et al., et al. 2019; Aslam et al., et al. 2020; Li et al., et al. 2022). There are different units with which renewable energy can be represented, and the values changes for different analysis conducted. To prevent the effects of units and values of renewable energy, mean square error (MSE) is utilized in this study to depict forecasting accuracy. According Kim et al. (Kim et al., et al. 1501), MSE values of less than 1000 are acceptable accuracy in prediction. Thus, most of the forecasting accuracies in the literature review have high MSE. Furthermore, another measurement of forecasting error identified in this study is coefficient of determination (R2) (Failed, 2018; Saloux & Candanedo, 2018; Torres-Barrán et al., et al. 2019; Zambrano & Giraldo, 2020). The coefficient of determination explains the relationship that exists between the dependent variable that is explainable by the independent variables. The lesser the variation between the dependent variable and the independent variables, the better (Khandakar et al., et al. 2782; Rodríguez et al., et al. 2018). This means that a high coefficient of determination explains that a significant relationship exists between dependent variables that is explainable by the independent variables (Leva et al., et al. 2017). Therefore, this study showed that machine learning models with high coefficient of determination (R2) result in more accurate prediction using mean square error (MSE) (Sun et al., et al. 2019). It is advisable to first calculate the coefficient of determination when conducting machine learning before continuing with building of the model for renewable energy prediction. A hybrid model containing empirical wavelet transform, long short-term memory network, and Elman neural networks (EWT-LSTM-Elman) was proposed and outperformed the other forecasting models in wind-speed predictions (Alpaydin, 2004; Hristev, 1998).

Table 11 Review of Measurement of Forecasting Accuracy (Ma & Zhai, 2125)
Table 12 Structure of Neural Network

Techniques for data preprocessing

When building a model for energy forecasting, the process of modeling can be divided into four; these are: data preprocessing, model training, testing, and output forecasting. Data preprocessing involves removal of missing dataset values. Missing datasets values are as a result of lack of data necessitated by some abnormalities in data collection procedures. For instance, solar radiation data at nighttime have no meaning in solar-power forecasting. Therefore, missing data must be removed through data preprocessing technique to facilitate accuracy in energy prediction. Several preprocessing procedures for machine learning models exist. Machine learning models utilize these techniques for prediction of renewable energy such as solar PV, wind, hydro, etc. The most often used method is the decomposition method. Data splitting is also part of preprocessing procedure where machine learning model splits an original data into training dataset, validation dataset, and test dataset. The kernelized Mahalanobis distance (kWMD) method can be used to accurately estimate the similarities between two unknown sets of sample (Failed, 2017). To increase forecasting accuracy, data decomposition can be utilized. It is also used to preprocess the original signal. Furthermore, a dataset with high dimension can be decomposed into a low dimensional dataset using data decomposition technique. This technique is also often utilized in analyzing signal processing problems.

Converting discreet data to continuous data is very important in renewable energy forecasting using weather datasets. The coding automatically removes every missing value, redundancy, and data exceptions from the original dataset, thereby creating a more accurate characteristic that shows the relationship that exists between the dependent variable and independent variables, as well as between problems and prediction models. In the same vein, feature selection is a methodology used in finding proper independent variables to get rid of any undesirable data attributes. Meanwhile, imputation of dataset’s values is the process of replacing values that are missing when found during the process of modelling (Dekking et al. 2010). The process of adjusting datasets which are given in varied scales so that they can be effectively processed by a machine learning model is called data normalization techniques. For instance, weather data attributes have to be normalized when analyzing or predicting speed of wind. Finally, data standardization is the process whereby data of different size units are converted to the same size. To measure dataset scales, Z-score values are utilized (Lee & J.y., 2019; Szegedy, 2015).

Methodology

Overview of research strategy

The long short-term memory (LSTM) is the deep learning approach that has been utilized for data analysis and solar power prediction in this study. Figure 7 shows a diagrammatical representation of a recurrent neural network. Neural networks are the building block of LSTM. Just as its name "neuron" implies, artificial neural network (ANN) was patterned after the human’s neurological make-up. It is normally built by imputing neurons into layers and placing the multiple layers amidst input and output layers. To each input value, multiplication factor is applied, and then the weighted average of input is calculated. Afterwards, the total value is sent via an activation function for non-linear transformation. The LSTM model is a very good model for the prediction of renewable energy. The model has been discovered to be one of the best deep learning models available for accurate prediction of energy (Jason, 2018; Nam et al., et al. 2019). One of the advantages of the LSTM is that it has a large variety of parameters such as input biases, learning rates, etc. It does not require adjustments. Moreover, the complications associated with updating each weight are drastically reduced and is a special type of recurrent neural network (RNN) that has the ability to learn long term data dependency.

Fig. 7
figure 7

Recurrent Neural Network

The artificial neural networks (ANNs) are patterned in such a way that it is comprised of nodes, having an input layer, with at least one or two hidden layer(s), as well as an output layer. All the nodes or neurons get attached to each other and has a concomitant weight and edge. Once the output of the nodes is more than the edge’s specified figure, the node would be activated, and then sends data to the next layer. This process is repeated until the learning procedure is completed.

Neural network depends on trained datasets to learn and improve its prediction capability. Nonetheless, once the model algorithms are modified, they become a potent tool for renewable energy prediction, as well as in computer science and artificial intelligence; enabling users to classify and cluster datasets in a rapid speed. Consider each node as a linear regression model that stands on its own, comprising input dataset, weights, biases, and output. Mathematically, it can be expressed thus:

$$\sum_{i=1}^{m}wixi+bias=w1x1+w2x2+w3x3+bias$$
$$output=f\left(x\right)=\left\{\begin{array}{c}1\, if \,\sum w1x1+b\ge 0\\ 0\,\, if \sum w1x1+b\,0\end{array}\right.$$

As soon as the layer for input is determined, the weights are then automatically assigned. The weight helps in determining the relevance of every variable, with the larger ones making significant contribution to the output compared to other inputs. All the inputs are then multiplied by the weights and then finally summed up. Subsequently, the input is sent via an activation function, which eventually defines the output (result).

Method of data collection and analysis

The datasets for the study are Nigeria’s weather data gathered from NASA database for the cities named Abakaliki, Awka, Enugu, Owerri, and Umuahia. The deep learning (LSTM) algorithm was utilized to analyze an hourly weather dataset for two consecutive years (January 1, 2019 to December 31, 2020) which were gathered from NASA database. The datasets comprise of date/time, solar azimuth angle, temperature, humidity, wind speed, wind direction, cloud and power; with power being the dependent variable. The climatic condition of the states under study is largely tropical climate. In most days of the year, there is usually significant rainfall in the states. The states have only a short period of dry season, and the average daily temperature is 26 °C, with about 2679 mm of precipitation falls annually.

Geographical information of the five cities

Abakaliki is located on latitude 6.311o and longitude 8.112o at the northern flank of Southeast, Nigeria. As in NASA’s database, the nominal power of the PV system (c-Si) (kWp) = 1.0, with an azimuth angle of 27°, the elevation is 53 m, while the PV system losses = 14%, and the slope is 11°.

Awka is located on latitude 6.208o and longitude 7.075° in Southeast, Nigeria. The nominal power of the PV system (c-Si) (kWp) = 1.0, with an azimuth angle of 28°, the elevation is 112 m, while the PV system losses = 14%, and the optimum slope is 11°.

Located on latitude 5.492° and longitude 7.032°, Owerri is a region at the southern flank of Southeast, Nigeria. From the analysis, solar radiation in the region is less than most of the regions selected for this study. Also, energy consumption in the region is relatively lower than that of Awka, Enugu, and Umuahia regions.

For Umuahia, the nominal power of the PV system (c-Si) (kWp) = 1.0, the azimuth angle is 33°, the elevation is 155 m, and the PV system losses = 14%.

Enugu city has an average peak sun hour of 4.5 h/day, making it a competitive choice for solar power investment by both the government and private investors. The area is located on latitude 6.449° and longitude 7.510° eastern Nigeria.

Building and training of lstm optimal model

The study has been conducted to use machine learning to accurately predict solar power generation and of five different states in Nigeria. The study ascertained the reliability of deep/machine learning algorithms in predicting daily solar power generation in these states. This approach helped to identify the state with the highest solar energy potential and recommend as the first point of call for solar power investment. The Keras library was used to facilitate fast experimentation and prototyping. It is a high-level neural network for building and training deep learning models. Keras can run on several platforms such as tensorflow, theano, and so on. To create and fit the neural network, we initialized a sequential model, afterwards we added an LSTM and dense layers to the model. The model was compiled, and then we trained the model using the training dataset. The training dataset was a real-time data collected from a solar generation plant in Ulsan, Republic of South Korea.

The algorithm developed to determine the optimal model used for the analysis, including the regularizer, the activation function, optimizers is:

figure a

LSTM Optimal Model

Data preprocessing

Data preprocessing is the process of converting existing data into data suitable for machine learning algorithms. This preprocessing process was applied to the five cities datasets to enhance the performance of the model learning. The data preprocessing employed in this study are loading of data, checking missing data, processing missing data, converting date and time-related data, separating training and test dataset, verifying data, checking the correlation and multi-collinearity, removing inappropriate data, and scaling the data. Figure 8 shows the covariance matrix of correlation coefficients.

Fig. 8
figure 8

Covariance matrix showing correlation coefficients

Removing missing values is a major part of data preprocessing procedure. In checking and removing the missing values from the data frame, isnull() function was utilized. These two functions help in verifying if a weather data value is NaN or not. The function was also utilized to identity and remove null values in pandas’ library.

Python provided arrays of functions used for analyzing times and seasons and converting it into a better data frame more suitable in python. Python programming language handled dates and seasons in diverse ways. Date formats were converted easily in python. Time and calendar modules of python were used to track time and dates. Many of the time functions in python handle time as a tuple of nine-digit numbers, while some tuples are equivalent to struct_time structure. The structure used for this study, has these attributes: tm_year, tm_mon, tm_mday, tm_hour, etc.

The correlation coefficient measures the relationship that exists between the dependent variable and the independent variables in the set of data. This measurement is very important in the field of science and engineering, and python programming language was used as a formidable tool to estimate correlation coefficient. Every dataset uses variables and observations. When data are presented in a tabular format, the table’s rows contained the observation, while the columns are the features.

Also, number scaling in machine learning is a common pre-processing procedure to normalize and standardize numbers that are of different units of measurement. The independent characteristics that is present in the dataset was normalized through number scaling process. Scaling results in a new sequence such that an entire value in a column comes under a range when applied to a python sequence like pandas series. For example, if the range of a given dataset is between 0 and 1, then all the sets of data within the column were normalized and changed within 0, 1 range only. If the dataset sequence were (AfDB, 2019; IRENA & CPI, 2023; Pierce & Roux, M.l., 2023), then the entire dataset was sequenced in the range of [0, 0.5, 1]. Similarly, scaling enhanced the merging speed of different algorithms in the machine learning. In this study, Scikit-learn was used to scale the pandas’ data frame.

Validation of the neural network

To validate and ascertain the accuracy of prediction, dataset from the Ulsan area, Republic of Korea was first collected and analyzed using deep learning. The Ulsan dataset was a real-time dataset gathered from a solar generation plant in Ulsan. Machine learning was conducted to train the neural network and determine the accuracy of the model for power prediction. After training the data from Ulsan area, the model performance was good with 0.032 validation MSE and 0.050 training MSE. The excellent prediction of the model indicates that the model could be applied to the datasets of the five cities in Nigeria considered in this study. The neural network was then applied to the datasets of the 5 cities. Each city’s dataset was entered into the neural network that was trained using Ulsan dataset. The predicted result showed different solar energy generation potentials for each city.

Meanwhile, to know if machine learning method is better than conventional method of solar power prediction, a conventional method of prediction was used to analyze the same dataset. The conventional method was analyzed by excel spreadsheet using forecasting method of energy prediction. It was discovered that ML method as shown in Fig. 9c is better, because its accuracy is higher than conventional method shown in Fig. 9d. Quantitatively, with an input data of 14,024 the use of the deep learning method results in MSE of 0.01 and R2 value of 0.92. Meanwhile the conventional approach results in the MSE of 0.43 and R2 value of 0.41. This indicates that the conventional approach deviated significantly from the mean. This step was taken to justify the use of ML over conventional method of solar power prediction.

Fig. 9
figure 9

a Training and validation of Ulsan train_mse and validation_mse, b Ulsan train prediction (x-axis = no. of observation; y-axis = power), c Ulsan test prediction (x-axis = no. of observation; y-axis = power) and d Conventional forecasting method showing power output (x-axis = no. of observation; y-axis = power)

Results and discussion

Solar power generation analysis using abakaliki dataset

Figure 10 shows the result of the predicted power (kW) from Abakaliki region in comparison with the actual data from NASA’s database. The predicted result shows a significant difference with the actual. The actual data were analyzed conventionally using solar radiation data from the target city. Owing to the difference that exists between it and the predicted result from the neural network trained by Ulsan dataset which was a real-time data from a solar generation plant in Ulsan, South Korea, it is expected that the ML prediction would present a more reliable data for policymakers in the targeted region. The MAE = 0.03 while the RMSE = 0.06, this indicates that machine learning is a reliable technique for solar power prediction; see Table 13 for the summary of result for each of the cities.

Fig. 10
figure 10

Actual against predicted power (kW) output of Abakaliki

Table 13 Summary of result

Solar power generation analysis using awka dataset

Figure 11 shows the result of the predicted energy from Awka region based on neural network trained by data from Ulsan solar generator. Normally, the datasets from NASA are analyzed relying on solar radiation data from the target region. Hence, the reason for deep learning technique as stated in section one of this study, is to ascertain the reliability and accuracy of solar energy prediction using machine learning technique. Therefore, as can be seen in Table 13, the accuracy of prediction using machine learning technique is high. This indicates that the technique is very reliable for solar energy prediction. The mean absolute error (MAE) of 0.04 and root mean square error (RMSE) of 0.07 are significantly low, indicating a high accuracy in prediction.

Fig. 11
figure 11

Actual against predicted power (kW) output of Awka

Solar power generation analysis using enugu datasets

Figure 12 represents the result of the predicted energy from Enugu. The idea is to compare the predicted result with the actual so as to ascertain the accuracy of machine learning approach using Ulsan trained dataset as the benchmark for determining the accuracy of machine learning technique for solar power prediction. With a mean absolute error (MAE) of 0.04 and root mean square error (RMSE) of 0.05, it indicates that machine learning is reliable for solar power estimation. The prediction mean absolute error and root mean square error were low, indicating a high accuracy in prediction. Also, the coefficient of determination (R2) which shows a result of 0.93 is an indication of how well our model predicted the outcome. From the overall analysis, Enugu region is the region with the highest energy potential.

Fig. 12
figure 12

Actual against predicted power (kW) output of Enugu

Solar power generation analysis using owerri dataset

Figure 13 indicates the solar energy prediction for Owerri. The result of the prediction shows that the solar energy potential from the area is relatively lower than most of the other cities. This places the Owerri at a disadvantaged position when compared with the other regions in terms of consideration for solar power investment. However, the investment decisions should not only be based on this, other economic variable such as the city’s conducive environment to do business should also be considered. After predicting the energy potentials of the Owerri using machine learning technique, it was discovered that the predicted result is in variance with the estimated energy from NASA database. It can be seen from the Fig. 13 that a significant difference (18.5%) in solar power output (peak) exists between the actual data which was generated from NASA database and that of the predicted result from the neural network trained by the data generated from a solar plant in Ulsan. The mean absolute error (MAE) of 0.04 and root mean squared error (RMSE) of 0.06 from the machine learning prediction were low; indicating a good model performance that could be relied upon for energy prediction by machine learning technique. Table 13 summarizes the prediction error for each region, as well as the energy estimations for the regions. Also, the coefficient of determination which is 0.91 was used to measure how accurately the model performed. It indicates the proportion of variation in the dependent variable that was predicted by the LSTM model.

Fig. 13
figure 13

Actual against predicted power (kW) output of Owerri

Solar power generation analysis using umuahia dataset

In Fig. 14, the result of the predicted energy from Umuahia region shows the comparison between the actual data from NASA database and the predicted energy. The result indicates a clear departure from the actual energy data and the predicted energy. Of course, the actual energy data were estimated relying on the solar radiation data of Umuahia region. To ascertain the accuracy of our model, the cities’ energy potentials including that of Umuahia, were predicted using the neural network trained by Ulsan dataset. The mean absolute error of 0.03 and root mean square error of 0.05 indicate a high accuracy in prediction. Umuahia is the region with the lowest energy estimation based on the analysis from the machine learning. However, energy consumption in the region is relatively high (see Table 14). Even though its solar energy potential is the lowest, the energy generation is high enough to generate electricity for both residential and commercial purposes in the region.

Fig. 14
figure 14

Actual against predicted power (kW) output of Umuahia

Table 14 Yearly Average Electricity Consumption, 2020 – 2022

Each of the regions under study has an average 4 h of solar radiation per day. The energy estimation for Abakakili = 4.92 kWh/m2/day; it is the region with the second highest solar PV potential. Although it is a small city with little industrial and commercial activities. As can be seen in Table 14, the average annual consumption for Abakaliki = 27.0 (106 MWh). This figure is twice less than the average consumption for Awka. Awka is one of the three biggest industrial hubs in Nigeria. It has a very densely populated residential and commercial areas, with large industrial activities. The result of the estimated energy generation for the region = 4.77 kWh/ m2/day (see Table 13). Whereas it is not the region with the highest solar energy potential, it is the region with the largest electricity consumption in all of the measurement strata above—residential, commercial, and industrial consumption. The energy demand in this region is very high, therefore, there is need to first investigate possible energy efficiency and performance improvement with the goal of identifying energy management opportunities that may be adopted to reduce energy consumption (Abolarin et al. 2011, 2013, 2014, 2015) and, thereafter, deploy renewable energy such as solar PV to meet the energy demand of the region.

As can be seen in Table 13, Enugu has the highest amount of solar energy potentials. The analyzed result shows that the region has an average solar energy of 4.98 kWh/m2/day. This shows a very high potential for a PV system power, and it will be enough to power most home gadgets as well as some simple industrial equipment. Both its residential, industrial, and commercial energy consumption are above the average consumption in the five regions selected for the study. Therefore, considering the solar energy potentials in the area, investment in solar power generation by both private and public institutions will certainly help in cushioning the effect of power cuts and load shedding in the region, as well as help in boosting economic activities.

The regions with the least energy potentials are Owerri and Umuahia region which have 4.68 kWh/m2/day and 4.61 kWh/m2/day, respectively. Also, electricity consumption in the regions is relatively lower than those of Awka and Enugu in the case of Owerri region. In consideration of the above, more attention should be given to the region with the highest energy demand—Awka. This is because, it is the region that needs energy the most, for both residential and commercial activities. Since all the regions have a good potential for solar energy generation, efforts should be made in providing more energy to the region with the highest demand, thereafter, investments can also be made in other regions.

In view of the discussion above, it is imperative to state the implication of installing a solar power generating panels in the different region. However, because the major aim of this study is to identify the region with the highest potential, Enugu region shall be our focus. Whereas there a lot of factors that can affect the amount of energy generated by a solar panel, a typical single solar panel within Enugu is expected to generate an average of about 5 kWh/m2 per day. This could help in saving about $0.23 on electricity costs per day. This amount may seem insignificant, but that is just the energy savings for a single panel on a daily basis. This is in addition to the huge energy demand gap that would be bridged.

In determining how much effect a solar panel installation is expected in Enugu, which is the region with highest energy potential, the unit peak power of a suitable solar panel available in the market and the peak sun hours in the area are considered. Thus, if a home in Enugu installs a 370-Watt solar panel with average 4 sun hours in a day, the solar PV is expected to generate 1,480 Watt-hours of electricity per day. This can be expressed in kilowatt-hours per panel per day as follows:

370 Watts/panel × 4 sun hours = 1480 Watt-hours per day/panel

1480 Watt-hours/1000 = 1.48 kWh per day/panel

This is just a simplified way of determining the amount of energy an average 370-Watt solar panel is expected to generate. However, the actual amount may fluctuate day by day, hour by hour depending on the number of panels required to form an array to meet the maximum daily energy need, the unit peak power of the choice solar PV, panel efficiency and some other factors such as dusts, area etc. The energy generation capacity will also vary from panel to panel as can be seen in the Table 15.

Table 15 Estimated generation of a single panel assuming 4 sun hours per day

The share of renewable energy in Nigeria’s energy mix is currently about 12% but is projected to reach 20% by 2030. The result of the analysis shown that Enugu region has the highest solar energy potential, probably because of its strategic location on the northern plains of Southeastern Nigeria. However, Awka region was discovered to be the region with the highest energy consumption out of the five (5) regions selected for the study. This is largely due to the high level of industrial and commercial activities in the region. It also has the largest population density per km2.

Conclusion and recommendation

Conclusion

In this study, analysis of solar energy potentials in Nigeria was conducted using deep learning. Two years weather data from NASA database were collected for the study. The data were analyzed by regions to identify the region with the highest solar energy potential for possible investment in solar power generation. Machine learning was conducted to determine the accuracy of the model for power prediction using Ulsan dataset. After conducting ML for the Ulsan area, the model performance was good; therefore, the neural network was applied to the datasets of the 5 Nigeria regions under study. To know if ML method is better than conventional method of solar power prediction, excel spreadsheet was utilized to analyze the same dataset. It was discovered that ML method is better, because its accuracy was higher than conventional method.

Nigeria has an average solar radiation of about 6.5 h per day. Unfortunately, it has remained untapped and almost totally neglected. Although, solar PV is limited by intermittency of power supply due to weather and climatic conditions, it is possible to get a way around it through the deployment of relevant technology such as artificial intelligence and machine learning for accurate energy demand forecast and power prediction. Also, adequate investment in energy storage system (ESS) is another way to mitigate the intermittency of solar power. Therefore, scientific approaches like this study can help establish guide and requirement for the construction and operation of solar power plants in Nigeria.

As at now, the infrastructural capacity of the Nigerian electricity value chain is inadequate to meet the country’s energy demand. Even the available facilities are mostly outdated. Nigeria’s electricity generation capacity is put at about 15 GW, while the actual power generation revolves around 3500 and 5000 MW for a country of over 200 million people. This is quite a poor performance when compared to other countries even within the African continent. For instance, South Africa, a country with 50 million population has an installed generation capacity of up to 46 GW. South Africa’s capacity is three times that of Nigeria’s, while Nigeria’s population is four times that of South Africa. This is indeed an irony. This has caused an increased number in power cuts and load shedding. It has also affected the economy tremendously in all facets, including industry, manufacturing, transportation, construction and general services.

The major hiccups to the accelerated development of technology to exploit, explore, and harness renewable energy in Nigeria are unstimulated demand, non-implementation of the available regulatory and institutional framework, as well as lack of incentives for private investors. Nigeria’s annual consumption of electricity has been steadily growing. Making it even increasingly important to urgently expand energy supply through a robust investment planning. Energy consumption has increased from 1273 GWh in 1970 to 29,573 GWh in 2019 (Abolarin et al. 2014). This, however, represents a repressed demand caused by inaccessibility to the national grid and insufficiencies of electricity supply (Abolarin et al. 2013).

Recommendation

Based on the result from the study, appropriate recommendations were made considering the aforementioned indices on the most suitable region(s) for solar power generation. It is expected that the result of this study will assist the government in taking appropriate actions in line with the country’s renewable energy policy guideline.

The recommendations made were as follows:

  • Domestication of renewable energy policy should be a matter of urgency and deliberate policy. This policy will make renewable energy not only available but affordable to both urban and rural areas. The main regulation guiding renewable energy in Nigeria is the Electricity Act of 2023 which was recently passed by the immediate past government. Although the Act has been passed, it is yet to be domesticated across the 36 states of the federation. Domestication of the policy will go a long way in ensuring the availability and affordability of renewables in the country.

  • States and regions should be encouraged to harness their energy potentials so as to adequately generate and transmit energy in their various regions. This is a very important aspect of the new Electricity Act 2023 which provides for individual states/regions to explore and harness its own energy resources for electricity generation for citizens of the state. Every region in Nigeria has one form of renewable energy resources in abundance. However, prior to the signing of the Electricity Bill 2023 into law, Nigeria’s electricity generation and transmission was in exclusive list; this means that only the national government has the power to generate and transmit electricity. But now, states and regions can equally generate and transmit electricity.

  • Government should encourage massive investment in renewable energy by private investors to create a viable alternative to the traditional sources of energy. The Nigeria’s renewable energy market remains grossly untapped, partly due to lack of enabling laws and conducive environment for business. This has negatively impacted the exploration and integration of renewables into the energy mix. With the passing of the Electricity Act 2023, it is envisaged that massive investment will be made by both the private and public sectors to bolster the renewable energy market, and more especially solar energy.

  • Government should fast-track the domestication of enabling laws and policies to drive energy transition at both rural and urban areas. Nigeria’s climate action ambition is to achieve carbon neutrality by 2060. Undoubtedly, this climate ambition can be fast-tract to ensure that the government achieves it by the year 2060 or even earlier. Given that Nigeria’s northern region is threatened by desertification, the central region by flooding, and the southern region by pollution, erosion, and associated socio-economic challenges, all allude to the reality and debilitating impacts of climate change. Consequently, the need for an urgent accelerated action to limit the impacts of climate change can never be over-emphasized.

Finally, this research work was constrained by time and resources. It was not easy having regular job schedule and carrying out research at the same time. Also poor internet connection and epileptic power supply was a great limitation to this project. And this is indeed, one of the motivations for carrying out this research—solving Nigeria’s energy demand problems. In view of the foregoing, there is need for more work to be done in the future on bridging the energy demand gaps in Nigeria using renewable energy technology.

Availability of data and materials

The datasets used for analysis in this study are available from the corresponding author upon request.

Abbreviations

ANN:

Artificial Neural Network

CNN:

Convolutional Neural Network

ECN:

Energy Commission of Nigeria

EIA:

Energy Information Administration

GDP:

Gross Domestic Product

LSTM:

Long–Short Term Memory

MAE:

Mean Absolute Error

MSE:

Mean Square Error

NASA:

National Aeronautics and Space Administration

NREL:

National Renewable Energy Laboratory

PV:

Photovoltaic

PPA:

Power Purchase Agreement

RMSE:

Root Mean Square Error

TCN:

Transmission Company of Nigeria

References

  • Abbass, K., Qasim, M. Z., Song, H., Murshed, M., Mahmood, H., & Younis, I. (2022). A review of the global climate change impacts, adaptation, and sustainable mitigation measures. Environ Science and Pollution Research, 29(28), 42539–42559. https://doi.org/10.1007/s11356-022-19718-6

    Article  Google Scholar 

  • Abdalla, A. N., Nazir, M. S., Tao, H., Cao, S., Ji, R., Jiang, M., & Yao, L. (2021). Integration of energy storage system and renewable energy sources based on artificial intelligence: an overview. Journal of Energy Storage, 40, 102811. https://doi.org/10.1016/j.est.2021.102811

    Article  Google Scholar 

  • Abolarin, S. M., Gbadegesin, A. O., Shitta, B. M., & Adegbenro, O. (2011). Energy (lighting) audit of four University Of Lagos halls of residence. Journal of Engineering Research, 16(2), 1–10.

    Google Scholar 

  • Abolarin, S. M., Gbadegesin, A. O., Shitta, M. B., Yussuff, A., Eguma, C. A., Ehwerhemuepha, L., & Adegbenro, O. (2013). A collective approach to reducing carbon dioxide emission: a case study of four University of Lagos Halls of residence. Energy and Buildings, 61, 318–322. https://doi.org/10.1016/j.enbuild.2013.02.041

    Article  Google Scholar 

  • Abolarin, S. M., Shitta, B. M., Aghogho, E. M., Nwosu, P. B., Aninyem, C. M., & Lagrange, L. (2022). An impact of solar PV specifications on module peak power and number of modules: a case study of a five-bedroom residential duplex. IOP Conference Series: Earth and Environmental Science, 983(1), 012056. https://doi.org/10.1088/1755-1315/983/1/012056

    Article  Google Scholar 

  • Abolarin, S. M., Shitta, M. B., Gbadegesin, O., Nna, C. D., Eguma, C. A., Onafeso, B., & Adegbenro, O. (2015). An economic evaluation of energy management opportunities in a medium scale manufacturing industry in Lagos. International Journal of Engineering Research in Africa, 14, 97–106.

    Article  Google Scholar 

  • Abolarin, S. M., Shitta, M. B., Nna, C. D., Eguma, C. A., Kedo, A. O., Yussuff, A., Babatunde, O. A., Onafeso, B. O., & Adegbenro, O. (2014). An approach to energy management: A case study of a medium scale printing press in Lagos, Nigeria. International Journal of Energy and Power Engineering, 3(1), 7–14. https://doi.org/10.11648/j.ijepe.20140301.12

    Article  Google Scholar 

  • Adoghe, A. U., Adeyemi-Kayode, T. M., Oguntosin, V., & Amahia, I. I. (2023). Performance evaluation of the prospects and challenges of effective power generation and distribution in Nigeria. Heliyon, 9(3), e14416. https://doi.org/10.1016/j.heliyon.2023.e14416

    Article  Google Scholar 

  • AfDB, "Estimating investment needs for the power sector in Africa 2016–2025," in "Roadmap to the new deal on energy for Africa: Africa infrastructure knowledge program," 2019.. Available: https://www.afdb.org/en/documents/estimating-investment-needs-power-sector-africa-2016-2025

  • Akinbami, O. M., Oke, S. R., & Bodunrin, M. O. (2021). The state of renewable energy development in South Africa: an overview. Alexandria Engineering Journal, 60(6), 5077–5093. https://doi.org/10.1016/j.aej.2021.03.065

    Article  Google Scholar 

  • Alpaydin, E. (2004). Introduction to machine learning. Cambridge: The MIT Press.

    Google Scholar 

  • Alsharif, M. H., Younes, M. K., & Kim, J. (2019). Time series ARIMA model for prediction of daily and monthly average global solar dadiation: the case study of Seoul, South Korea. Symmetry, 11(2), 240.

    Article  Google Scholar 

  • Alzubaidi, L., Zhang, J., Humaidi, A. J., Al-Dujaili, A., Duan, Y., Al-Shamma, O., Santamaría, J., Fadhel, M. A., Al-Amidie, M., & Farhan, L. (2021). Review of deep learning: concepts, CNN architectures, challenges, applications, future directions. Journal of Big Data., 8(1), 53. https://doi.org/10.1186/s40537-021-00444-8

    Article  Google Scholar 

  • Andrade, J. R., & Bessa, R. J. (2017). Improving renewable energy forecasting with a grid of numerical weather predictions. IEEE Transactions on Sustainable Energy, 8(4), 1571–1580. https://doi.org/10.1109/TSTE.2017.2694340

    Article  Google Scholar 

  • Ang, T.-Z., Salem, M., Kamarol, M., Das, H. S., Nazari, M. A., & Prabaharan, N. (2022). A comprehensive study of renewable energy sources: classifications, challenges and suggestions. Energy Strategy Reviews, 43, 100939. https://doi.org/10.1016/j.esr.2022.100939

    Article  Google Scholar 

  • Aslam, M., Lee, J.-M., Kim, H.-S., Lee, S.-J., & Hong, S. (2020). Deep learning models for long-term solar radiation forecasting considering microgrid installation: a comparative study. Energies, 13(1), 147.

    Article  Google Scholar 

  • Babayomi, O. O., Dahoro, D. A., & Zhang, Z. (2022). Affordable clean energy transition in developing countries: Pathways and technologies. IScience, 25(5), 104178. https://doi.org/10.1016/j.isci.2022.104178

    Article  Google Scholar 

  • Choudhary, K., DeCost, B., Chen, C., Jain, A., Tavazza, F., Cohn, R., Park, C. W., Choudhary, A., Agrawal, A., Billinge, S. J. L., Holm, E., Ong, S. P., & Wolverton, C. (2022). 2022, “Recent advances and applications of deep learning methods in materials science,.” npj Computational Materials, 8(1), 59. https://doi.org/10.1038/s41524-022-00734-6

    Article  Google Scholar 

  • Cyrinus, E.C., "Long term transmission expansion planning for Nigerian deregulated power system: A systems approach," Master in Electric Sector and Master on Engineering and Policy Analysis, Delft University of Technology, 2012.

  • Dahunsi, F. M., Olakunle, O. R., & Melodi, A. O. (2021). Evolution of electricity metering technologies in Nigeria. Nigerian Journal of Technological Development, 18(2), 152–165. https://doi.org/10.4314/njtd.v18i2.10

    Article  Google Scholar 

  • Dekking, F. M., Kraaikamp, C., Lopuhaä, H. P., & Meester, L. E. (2010). A modern introduction to probability and statistics (Understanding Why and How) (p. 488). London: Springer.

    Google Scholar 

  • Demolli, H., Dokuz, A. S., Ecemis, A., & Gokcek, M. (2019). Wind power forecasting based on daily wind speed data using machine learning algorithms. Energy Conversion and Management, 198, 111823. https://doi.org/10.1016/j.enconman.2019.111823

    Article  Google Scholar 

  • Dioha, M. O., & Emodi, N. V. (2019). Investigating the impacts of energy access scenarios in the Nigerian household sector by 2030. Resources, 8(3), 127.

    Article  Google Scholar 

  • Dwivedi, Y.K., Hughes, L., Kar, A.K., Baabdullah, A.M., Grover, P., Abbas, R., Andreini, D., Abumoghli, I., Barlette, Y., Bunker, D., Chandra Kruse, L., Constantiou, I., Davison, R.M., De’, R., Dubey, R., Fenby-Taylor, H., Gupta, B., He, W., Kodama, M., Mäntymäki, M., Metri, B., Michael, K., Olaisen, J., Panteli, N., Pekkola, S., Nishant, R., Raman, R., Rana, N.P., Rowe, F., Sarker, S., Scholtz, B., Sein, M., Shah, J.D., Teo, T.S.H., Tiwari, M.K., Vendelø, M.T., and Wade, M., "Climate change and COP26: Are digital technologies and information management part of the problem or the solution? An editorial reflection and call to action," International Journal of Information Management, vol. 63, p. 102456, 2022, doi: https://doi.org/10.1016/j.ijinfomgt.2021.102456.

  • ECN, National energy policy. Abuja, 2022, pp. 1–110.

  • ECN, National energy master plan. Abuja, 2022, pp. 1–242.

  • Ekins, P., & Zenghelis, D. (2021). The costs and benefits of environmental sustainability. Sustainability Science, 16(3), 949–965. https://doi.org/10.1007/s11625-021-00910-5

    Article  Google Scholar 

  • Eweka, E.E., Lopez-Arroyo, E., Medupin, C.O., Oladipo, A., and Campos, L.C., "Renewable energy resources in Nigeria," In Encyclopedia. , pp. 1–7, 2022.

  • Feng, C. and Zhang, J., "Hourly-similarity based solar forecasting using multi-model machine learning blending," in 2018 IEEE Power & Energy Society General Meeting (PESGM), 5–10 Aug. 2018 2018, pp. 1–5, doi: https://doi.org/10.1109/PESGM.2018.8586091.

  • Feng, C., Cui, M., Hodge, B.-M., & Zhang, J. (2017). A data-driven multi-model methodology with deep feature selection for short-term wind forecasting. Applied Energy, 190, 1245–1257. https://doi.org/10.1016/j.apenergy.2017.01.043

    Article  Google Scholar 

  • Fischetti, M., & Fraccaro, M. (2019). Machine learning meets mathematical optimization to predict the optimal production of offshore wind parks. Computers & Operations Research, 106, 289–297. https://doi.org/10.1016/j.cor.2018.04.006

    Article  MathSciNet  Google Scholar 

  • Harbola, S., & Coors, V. (2019). One dimensional convolutional neural network architectures for wind prediction. Energy Conversion and Management, 195, 70–75. https://doi.org/10.1016/j.enconman.2019.05.007

    Article  Google Scholar 

  • Howland, M. F., & Dabiri, J. O. (2019). Wind farm modeling with Interpretable physics-informed machine learning. Energies, 12(14), 2716.

    Article  Google Scholar 

  • Hristev, R.M., The ANN book, 1st Edition ed. 1998.

  • Huang, G., Liu, Z., Maaten, L.V.D., and Weinberger, K.Q., "Densely connected convolutional networks," in 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 21–26 July 2017 2017, pp. 2261–2269, doi: https://doi.org/10.1109/CVPR.2017.243.

  • Hwang, S., & Kim, B. (2020). Development of methodology and engineering model for generation expansion planning considering environmental policy and energy storage system. International Journal of Electrical and Electronic Engineering & Telecommunications. https://doi.org/10.18178/ijeetc.9.2.68-72

    Article  Google Scholar 

  • Ibrahim, I. D., Hamam, Y., Alayli, Y., Jamiru, T., Sadiku, E. R., Kupolati, W. K., Ndambuki, J. M., & Eze, A. A. (2021). A review on Africa energy supply through renewable energy production: Nigeria, Cameroon, Ghana and South Africa as a case study. Energy Strategy Reviews, 38, 100740. https://doi.org/10.1016/j.esr.2021.100740

    Article  Google Scholar 

  • Igbinovia, F. and Tlusty, J., 2014. "Electrical energy in Africa: The status of interconnections," presented at the The World Engineering Conference on Sustainable Infrastructure, Abuja,

  • IRENA and CPI. (2023). Global landscape of renewable energy finance. Abu Dhabi: International Renewable Energy Agency.

    Google Scholar 

  • Jason, B., "Ensemble learning methods for deep learning neural networks," Deep Learning Performance, 19th December 2018. Available: https://machinelearningmastery.com

  • Jesús, F. B., Juan, F. G. F., Fernando, O. P., & Adolfo, C. M. (2019). A review of the use of artificial neural network models for energy and reliability prediction A study of the solar PV, hydraulic and wind energy sources. Applied Sciences, 9(9), 1844.

    Article  Google Scholar 

  • Khan, M., Liu, T., & Ullah, F. (2019). A new hybrid approach to forecast wind power for large scale wind turbine data using deep learning with tensorflow framework and principal component analysis. Energies, 12(12), 2229.

    Article  Google Scholar 

  • Khandakar, A., Chowdhury, M. E. H., Kazi, M.-K., Benhmed, K., Touati, F., Al-Hitmi, M., Antonio, S. P., Jr., & Gonzales. (2019). Machine learning based photovoltaics (PV) power prediction using different environmental parameters of Qatar. Energies, 12(14), 2782.

    Article  Google Scholar 

  • Khosravi, A., Machado, L., & Nunes, R. O. (2018). Time-series prediction of wind speed using machine learning algorithms: a case study Osorio wind farm, Brazil. Applied Energy, 224, 550–566. https://doi.org/10.1016/j.apenergy.2018.05.043

    Article  Google Scholar 

  • Kim, S.-G., Jung, J.-Y., & Sim, M. K. (2019). A two-step approach to solar power generation prediction based on weather data using machine learning. Sustainability, 11(5), 1501.

    Article  Google Scholar 

  • Klingelhöfer, D., Müller, R., Braun, M., Brüggmann, D., & Groneberg, D. A. (2020). Climate change: does international research fulfill global demands and necessities? Environmental Sciences Europe, 32(1), 137. https://doi.org/10.1186/s12302-020-00419-1

    Article  Google Scholar 

  • Kotsiantis, S. (2007). Supervised machine learning: a review of classification techniques. Informatica, 31, 249–268.

    MathSciNet  Google Scholar 

  • Laguarda, A., Alonso-Suárez, R., & Abal, G. (2023). Improved estimation of hourly direct normal solar irradiation (DNI) using geostationary satellite visible channel images over moderate albedo areas. Solar Energy, 259, 30–40. https://doi.org/10.1016/j.solener.2023.04.042

    Article  Google Scholar 

  • Lahouar, A., & J. Ben Hadj Slama.,. (2017). Hour-ahead wind power forecast based on random forests. Renewable Energy, 109, 529–541. https://doi.org/10.1016/j.renene.2017.03.064

    Article  Google Scholar 

  • Lee, J.y., "Convolutional neural network for prediction of two-dimensional core power distributions in PWRs," presented at the Transactions of the Korean Nuclear Society Spring Meeting, Jeju, Korea, , 2019..

  • Leva, S., Dolara, A., Grimaccia, F., Mussetta, M., & Ogliari, E. (2017). Analysis and validation of 24 hours ahead neural network forecasting of photovoltaic output power. Mathematics and Computers in Simulation, 131, 88–100. https://doi.org/10.1016/j.matcom.2015.05.010

    Article  MathSciNet  Google Scholar 

  • Li, Q., Zhang, X., Ma, T., Liu, D., Wang, H., & Hu, W. (2022). A Multi-step ahead photovoltaic power forecasting model based on TimeGAN, Soft DTW-based K-medoids clustering, and a CNN-GRU hybrid neural network. Energy Reports, 8, 10346–10362. https://doi.org/10.1016/j.egyr.2022.08.180

    Article  Google Scholar 

  • Li, Y., Yang, P., & Wang, H. (2019). Short-term wind speed forecasting based on improved ant colony algorithm for LSSVM. Cluster Computing, 22(5), 11575–11581. https://doi.org/10.1007/s10586-017-1422-2

    Article  Google Scholar 

  • Ma, Y.-J., & Zhai, M.-Y. (2019). A dual-step integrated machine learning model for 24h-ahead wind energy generation prediction based on actual measurement data and environmental factors. Applied Sciences, 9(10), 2125.

    Article  Google Scholar 

  • Malik, A. S., & Kuba, C. (2013). Power generation expansion planning including large scale wind integration: a case study of Oman. Journal of Wind Energy, 2013, 735693. https://doi.org/10.1155/2013/735693

    Article  Google Scholar 

  • Mansur, S., "Quantitative impact assessment of nuclear power plant on power supply reliability in Nigeria," Master of Science Energy Policy and Engineering, KEPCO International Nuclear Graduate School, 2020.

  • Mujeeb, S., Alghamdi, T. A., Ullah, S., Fatima, A., Javaid, N., & Saba, T. (2019). Exploiting deep learning for wind power forecasting based on big data analytics. Applied Sciences, 9(20), 4417.

    Article  Google Scholar 

  • Nam, Y.D., Lee, J.Y., and Shim, H.J., "Convolutional neural network for BOC pin power prediction," presented at the KNF, KNS Spring Meeting, 2019. Available: https://www.kns.org/files/pre_paper/41/19S-073%EB%82%A8%EC%9C%A4%EB%8D%95.pdf.

  • Newsom, C., "Renewable energy potential in Nigeria: low-carbon approaches to tackling Nigeria’s energy poverty," International Institute for Environment and Development, 2012.

  • Oseni, M. O. (2015). Assessing the consumers’ willingness to adopt a prepayment metering system in Nigeria. Energy Policy, 86, 154–165. https://doi.org/10.1016/j.enpol.2015.06.038

    Article  Google Scholar 

  • Oyedepo, S. O. (2012). Energy and sustainable development in Nigeria: the way forward. Energy, Sustainability and Society, 2(1), 15. https://doi.org/10.1186/2192-0567-2-15

    Article  Google Scholar 

  • Pelz, S., Chinichian, N., Neyrand, C., & Blechinger, P. (2023). Electricity supply quality and use among rural and peri-urban households and small firms in Nigeria. Scientific Data, 10(1), 273. https://doi.org/10.1038/s41597-023-02185-0

    Article  Google Scholar 

  • Pichler, M., & Hartig, F. (2023). Machine learning and deep learning—A review for ecologists. Methods in Ecology and Evolution, 14(4), 994–1016. https://doi.org/10.1111/2041-210X.14061

    Article  Google Scholar 

  • Pierce, W. and Roux, M.l., "Statistics of utility-scale power generation in South Africa," CSIR Energy Center, Pretoria, 2023. Available: https://www.csir.co.za/sites/default/files/Documents/Statistics%20of%20power%20in%20SA%202022-CSIR-%5BFINAL%5D.pdf

  • Qiu, J., Wu, Q., Ding, G., Xu, Y., & Feng, S. (2016). A survey of machine learning for big data processing. EURASIP Journal on Advances in Signal Processing, 2016(1), 67. https://doi.org/10.1186/s13634-016-0355-x

    Article  Google Scholar 

  • Rodríguez, F., Fleetwood, A., Galarza, A., & Fontán, L. (2018). Predicting solar energy generation through artificial neural networks using weather forecasts for microgrid control. Renewable Energy, 126, 855–864. https://doi.org/10.1016/j.renene.2018.03.070

    Article  Google Scholar 

  • Saloux, E., & Candanedo, J. A. (2018). Forecasting district heating demand using machine learning algorithms. Energy Procedia, 149, 59–68. https://doi.org/10.1016/j.egypro.2018.08.169

    Article  Google Scholar 

  • Santos, F. D., Ferreira, P. L., & Pedersen, J. S. T. (2022). The climate change challenge: a review of the barriers and solutions to deliver a Paris solution. Climate, 10(5), 75.

    Article  Google Scholar 

  • Sarker, I. H. (2021). Deep learning: a comprehensive overview on techniques, taxonomy, applications and research directions. SN Computer Science, 2(6), 420. https://doi.org/10.1007/s42979-021-00815-1

    Article  Google Scholar 

  • Shulla, K. and Filho, W.L., "Achieving the UN Agenda 2030: Overall actions for the successful implementation of the Sustainable Development Goals before and after the 2030 deadline," In-depth analysis requested by the DEVE committee pp. 1–64.. Available: https://www.europarl.europa.eu/RegData/etudes/IDAN/2022/702576/EXPO_IDA(2022)702576_EN.pdf

  • Sun, Y., Venugopal, V., & Brandt, A. R. (2019). Short-term solar power forecast with deep learning: Exploring optimal input and output configuration. Solar Energy, 188, 730–741. https://doi.org/10.1016/j.solener.2019.06.041

    Article  Google Scholar 

  • Swisher, J.N., Martino Jannuzzi, G.d., and Redlinger, R.Y., "Tools and methods for integrated resource planning Improving energy efficiency and protecting the environment," Denmark, , 1997.

  • Szegedy, S.I.C., "Batch normalization: Accelerating deep network training by reducing internal covariate shift," presented at the Proceedings of the 32nd International Conference on Machine Learning, 2015, PMLR 37.

  • Torres-Barrán, A., Alonso, Á., & Dorronsoro, J. R. (2019). Regression tree ensembles for wind energy and solar radiation prediction. Neurocomputing, 326–327, 151–160. https://doi.org/10.1016/j.neucom.2017.05.104

    Article  Google Scholar 

  • Ubani, O. J., Umeh, L., & Ugwu, L. N. (2013). Analysis of the electricity consumption in the South - East geopolitical region of Nigeria. Journal of Energy Technologies and Policy, 3(1), 20–31.

    Google Scholar 

  • Wang, H., Lei, Z., Zhang, X., Zhou, B., & Peng, J. (2019). A review of deep learning for renewable energy forecasting. Energy Conversion and Management, 198, 111799. https://doi.org/10.1016/j.enconman.2019.111799

    Article  Google Scholar 

  • Yoshida, K. (2020). “Dynamic demand prediction model and application for competitive transportation market,” MSc, Civil, Architectural, and Environmental Engineering. Austin: University of Texas at Austin.

    Google Scholar 

  • Zambrano, A. F., & Giraldo, L. F. (2020). Solar irradiance forecasting models without on-site training measurements. Renewable Energy, 152, 557–566. https://doi.org/10.1016/j.renene.2020.01.092

    Article  Google Scholar 

  • Zendehboudi, A., Baseer, M. A., & Saidur, R. (2018). Application of support vector machine models for forecasting solar and wind energy resources: a review. Journal of Cleaner Production, 199, 272–285. https://doi.org/10.1016/j.jclepro.2018.07.164

    Article  Google Scholar 

  • Zhang, Y., Su, L., Jin, W., & Yang, Y. (2022). The impact of globalization on renewable energy development in the countries along the belt and road based on the moderating effect of the digital economy. Sustainability, 14(10), 6031.

    Article  Google Scholar 

Download references

Acknowledgements

Not applicable

Funding

No funding was obtained for this study.

Author information

Authors and Affiliations

Authors

Contributions

SI: Contributed to conceptualization, methodology, data curation, software development, formal analysis, investigation, visualization, and wrote the original draft, KS: Supervised, provided conceptualization, methodology, resources, validation, and participated in reviewing and editing, TOS: Provided validation and contributed to reviewing and editing, DRE: Participated in reviewing and editing, SMA: Provided resources, validation, and contributed to reviewing and editing, AAF: Handled data curation, validation, and contributed to reviewing and editing. All authors made significant contributions in analyzing and interpreting the output (energy) data, as well as writing the manuscript. All authors also read and approved the final manuscript.

Corresponding author

Correspondence to Daniel R. E. Ewim.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

We declare that we have no known competing financial interests or personal relationships that could have influenced the results reported in this paper.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ikemba, S., Song-hyun, K., Scott, T.O. et al. Analysis of solar energy potentials of five selected south-east cities in nigeria using deep learning algorithms. Sustainable Energy res. 11, 2 (2024). https://doi.org/10.1186/s40807-023-00096-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s40807-023-00096-7

Keywords