Introduction

The ever-growing global demand for energy, coupled with the imperative need to mitigate environmental concerns, has driven a significant paradigm shift in the power generation landscape. The establishment of a sustainable and robust energy infrastructure has been markedly shaped by the inclusion of renewable energy sources (RESs) such as solar and wind, in conjunction with the assimilation of energy storage systems (ESSs). These factors play a crucial role in the advancement of a durable energy framework. As we navigate through the complexities of integrating these technologies into existing power systems, it becomes apparent that a holistic approach is indispensable. This paper endeavors to address the pressing challenges of enhancing both reliability and profitability in presence of renewable energies.

The motivation behind this research stems from the realization that the intermittent nature of RESs poses a unique set of challenges to the conventional power grid. These challenges, ranging from variability in power generation to the inherent unpredictability of renewable resources, demand innovative solutions that extend beyond traditional power system design. Additionally, the inclusion of ESSs introduces a dynamic element that holds great promise in addressing the intermittency issues and optimizing the utilization of renewable energy.

Furthermore, as the energy landscape undergoes this transformative shift, there is an inherent need to strike a balance between the reliability and the economic viability. The interplay between reliability and profitability is a complex dynamic that requires a comprehensive understanding and strategic integration of various elements within the power system.

This paper aims to contribute to the existing body of knowledge by presenting a holistic approach that considers the synergistic interactions between RESs, ESSs, and the power grid. Through a thorough exploration of system reliability enhancement strategies and economic considerations, we seek to provide valuable insights that can guide decision-makers, policymakers, and researchers in navigating the complexities of modern energy systems.

Literature review

A number of studies have discussed the multifaceted domain of energy systems, emphasizing the intersection of profitability, reliability, and sustainability. Zhou et al.1 explore the profitability of fast-charging stations in the context of vehicle-to-grid (V2G) technology. Their data-driven framework, integrating analytics, optimization, and behavioral theory, addresses the challenges posed by the uncertainty in electric vehicle (EV) charging behavior. The study’s findings underscore the potential for monthly bill curtailment of 20–30% under a coordinated charging scheme, fostering efficient and profitable V2G operations. Shabani et al.2 focus on lithium-ion battery storage and scheduling strategy. These strategies, tailored for residential grid-connected applications, seek to maximize both profitability and longevity. Notably, the study highlights the intricate balance required to achieve impressive profit, a short payback period, and a commendable lifespan. The findings emphasize the importance of optimizing charging/discharging actions to ensure sustained profitability while considering degradation costs. Alsirhani et al.3 present new methods for forecasting the stability of power systems using the machine learning techniques. The study addresses the essential need to evaluate and predict stability of power systems, considering factors such as the incorporation of green energy and the involvement of consumers and producers. The proposed MLP-ELM approach outperforms traditional machine learning techniques, achieving high accuracy and demonstrating its potential for assessing smart grid stability under varying conditions. Agajie and Fanuel4 contribute to the reliability improvement of distribution systems within smart grids, focusing on distributed generation. The study employs a smart grid system environment to enhance reliability, incorporating sectional switches and distributed generation sources. The proposed solution optimally isolates failures, resulting in improved reliability indices. This research highlights the shift towards smart methods for reliability improvement in distribution systems. Janhunen, Vimpari, and Junnila5 investigate the benefit of a heat-pump pool. The study evaluates the economic and environmental implications of demand response (DR) in the electricity markets. Despite minor benefits in the current market, the study emphasizes the potential importance of prosumers consumption control in the energy landscape. Taherian et al.6 delve into profit maximization for an electricity retailer in a smart grid environment, focusing on DR programs. The proposed model utilizes analytic hierarchy process and deep learning algorithms to learn customer behavior and formulate a profit maximization problem for the retailer. The results showcase the effectiveness of the approach in improving the profitability of the retailer. A comprehensive analysis of the reliability implications arising from the integration of ESS with smart grid technologies is presented by Ayesha, Numan, Baig, and Yousif7. The research addresses the growing challenge of maintaining equilibrium in power systems, attributed to the intermittent characteristics of RESs. The study delves into the potential of ESS, in conjunction with technologies like dynamic thermal rating, optimal transmission switching, and demand response, to augment both the flexibility and reliability of the grid. The examination underscores the importance of effectively coordinating ESS with these technologies and briefly explores the significance of incorporating cyber layer modeling to ensure reliability and security.

The integration of RESs in smart grids has raised many challenges due to the inherent uncertainty in their production. Azimi Nasab et al.8 address this challenge by proposing a coordinated control strategy for electric vehicles (EVs) and distributed energy resources (DER) systems. The study employs the CPLEX solver to plan the flexibility of EV charging and discharging in coordination with wind and solar production, aiming to compensate for the uncertainty in these RES. The optimization considers different scenarios related to loading, wind, and solar production, with a focus on minimizing the operating cost of the microgrid. Results indicate a reduction in costs through optimal planning for EVs, making the approach not only effective in handling uncertainties but also economically viable for the microgrid operator. In the context of ESSs in smart grids, Rezaeimozafar et al.9 provide a comprehensive review of ESSs. The work explores the increasing installed capacity of ESSs, emphasizing their role in optimizing energy management for both system operators and end-users. The review delves into associated technologies, billing/pricing policies, and optimization solutions for energy management problems. This reference offered valuable insights into the potential capabilities of ESSs and identifying research areas for future studies. Lamnatou et al.10 exptend the discussion to smart systems and intelligent devices concerning photovoltaic (PV) system, storages, and structures. The research underscores the pivotal role of intelligent utilities, emphasizing the advancement of buildings configuration. Additionally, the research explores the evolution of building sectors, concentrating on aspects like net-zero building, indoor quality. The authors pinpoint challenges such as residential microgeneration and the imperative for active user involvement, underscoring the need to strike a balance between sustainability and profitability.

Contributing to the existing body of knowledge, Ahmad et al.11 undertake a study on probabilistic techniques tailored for intelligent systems and networks. This study addresses energy consumption and price forecasting, consumer lifetime value, and cybersecurity concerns.

The work underscores the urgency of research in data-driven ML techniques to optimize decision-making in energy distribution operations. In scrutinizing smart grids and EV integration, Mohanty et al.12 delve into DR, exposing novel strategies and navigating challenges in modeling and optimization. Beyond the ordinary, their review unveils the dynamic interplay between EVs and the grid, spotlighting the transformative power of cutting-edge vehicle-to-grid (V2G) infrastructures. The article comprehensively addresses issues and challenges in EV-DR programs, providing insights into modeling charging infrastructure and optimizing EV-DR operations.

The evolution of smart grid technology is explored through a series of comprehensive reviews in recent literature. Ben Slama13 focuses on the Prosumer concept within smart grids, examining the role of intelligent edge computing and Artificial Intelligence (AI) scheduling techniques. The integration of IoT technology is highlighted as critical for the digitization of power grids, enhancing real-time data analysis and decision-making. The study delves into edge computing solutions, emphasizing the importance of information technologies and AI scheduling techniques in facilitating energy sharing among prosumers. Saini et al.14 conduct a thorough examination of short-term wind speed forecasting models for smart grid applications, emphasizing learning-based approaches. Evaluating 41 models with data from Jodhpur, India, the study considers diverse features and highlights varying model performance, suggesting insights for energy storage planning, market strategies, and reliability. Tiwari and Pindoriya15 shift focus to automated DR in smart distribution grids, proposing an ICT-driven framework and optimization models for efficient program implementation. Pandiyan et al.16 broaden the perspective, exploring technological advancements for smart energy management in smart cities, categorizing them into smart grids, buildings, and transportation. Elsir et al.17 contribute a novel day-ahead operation scheduling strategy for demand response and hybrid ESSs in smart grids, integrating cleaner energy sources. Chen et al.18 delve into profitability optimization of virtual power plants with residential and industrial microgrids, proposing an adaptive scheduling mechanism. Jayachandran et al.19 provide insights into operational concerns and solutions in smart electricity distribution systems, reviewing issues and discussing emerging technologies. Allehyani et al.20 explore the demand response scheme for EV charging in smart power systems with 100% renewable energy, emphasizing its role in grid performance and sustainability. The study addresses various EV charging options and assesses the impact of uncoordinated charging on the distribution grid. The study provides a comprehensive overview of DR schemes, smart charging, and the challenges associated with widespread EV adoption. These references contribute to a deeper understanding of diverse aspects within the domain of smart grids, ranging from Prosumer integration and wind speed forecasting to automated demand response, energy management in smart cities, novel scheduling strategies, operational concerns, and demand response for electric vehicle charging. The reviews collectively underscore the significance of technological advancements, data analytics, and optimization techniques in enhancing the efficiency, reliability, and sustainability of smart grids.

The recent surge in research on smart grids has led to an extensive body of literature examining various aspects of these intelligent energy systems. Khare and Chaturvedi21 thoroughly analyze microgrids, emphasizing the intricate balance between control and reliability. Their focus on fine-tuned strategies to optimize operations, integrate RESs and ESSs, and explore innovative trends like artificial intelligence, data analysis, and blockchain sets their assessment apart, showcasing tangible enhancements in reliability and resilience through numerical results. In a different realm of smart grid research, Moafi et al.22 delve into cooperative game theory for optimal profit allocation among DERs. Their three-level intelligent structure utilizes particle swarm optimization (PSO) and fuzzy logic algorithms for optimizing DER power, achieving fairness between participants, and maximizing coalition profits. The study demonstrates the feasibility of engaging a large number of buyers and producers, presenting a novel approach for effective collaboration among electricity manufacturers. Moving towards residential applications, Ghazimirsaeid et al.23 perform the optimal energy management for multiple grid-connected green buildings. The study addresses the challenges of controlling DERs and consumers in a home microgrid, presenting an energy management system based on multi-agent systems. The proposed model enhances overall energy efficiency, profitability of individual buildings, and optimal device management, encouraging demand response programs and reducing market clearing prices. Fotopoulou et al.24 contribute to the field by assessing the operation of smart grids under emergency situations, utilizing innovative optimization algorithms and artificial neural networks. Their study evaluates the impact of emergencies on smart grid autonomy and sustainability, considering disruptions to RESs and ESSs. The proposed algorithm prioritizes RESs and demonstrates varying reductions in autonomy and increased curtailments based on the nature of emergencies. Shamsini Ghiasvand et al.25 present a distributed energy procurement model for retailers in smart grids, emphasizing the collaboration among multiple retailers. The proposed model uses a Mayfly optimization algorithm to determine the best energy exchange prices between retailers, demonstrating increased total profits in the presence of ESSs. Addressing the economic perspective, Alaqeel and Suryanarayanan26 conduct a thorough economic evaluation concerning the implementation of state-of-the-art technologies within an electrical infrastructure. Their work provides a comprehensive economical approach, assessing the feasibility and profitability of various smart grid technologies. De Kinderen et al.27 examine existing valuation methods for smart grid initiatives, identifying gaps and deficiencies in addressing key concerns. In the context of enhanced solutions for smart grids, Douiri Leila et al.28 explore the potential of leveraging blockchain technology. Their article emphasizes the urgent need for a transparent, secure, and scalable framework for smart grid management, and blockchain emerges as a promising solution with features such as a distributed ledger, immutability, consensus, security, and automation. In summary, recent literature on smart grids spans a wide range of topics, including microgrid optimization, cooperative game theory for DER collaboration, multi-agent systems for residential energy management, emergency response strategies, distributed energy procurement, economic assessments, valuation methods, and the integration of blockchain technology.

Recent studies have explored various aspects of renewable energy integration and grid management under uncertainty. In29, a data-driven framework is proposed to address the vulnerabilities in renewable energy networks caused by false data injection attacks, emphasizing the importance of robust decision-making in energy market participation under uncertain condition. In30, a robust multi-objective joint scheduling framework for integrated electricity and gas grids, incorporating flexible loads and renewable energy uncertainty is developed to achieve sustainable operations while balancing costs and robustness. Additionally, In31, the multi-stage expansion of renewable resources and storage systems in distribution networks is investigated, employing a risk-averse scenario-based approach to reduce costs and environmental impact while addressing the challenges posed by responsive loads and high-rate energy consumers.

Research gap

The existing body of literature reveals several notable limitations in prior research efforts. Firstly, although numerous studies have extensively examined the impacts of RESs on microgrids’ cost and profit, there remains a gap in research addressing their effects on hidden revenues associated with smart grids. These hidden revenues encompass aspects such as the non-generation of environmental emissions and the non-payment of fuel cost resulting from RESs utilization.

Secondly, while previous studies have introduced different indexes for smart microgrids, a noticeable deficiency exists in the availability of a model capable of demonstrating the microgrid efficiency based on its reliability and availability. This gap highlights the need for a comprehensive modeling for assessing the microgrid efficiency with respect to its reliability and availability.

To address these identified research gaps, this paper undertakes a techno-economic study driven by the development of a novel efficiency index. The primary objective is to optimize the microgrid energy management while considering all aforementioned limitations.

Contributions

This study presents an innovative efficiency metric designed to optimize the profitability, accessibility, and reliability of power grids. The computation of the total system profit takes into consideration feed-in tariffs for all power plants, along with a thorough analysis of costs linked to carbon emissions, revenue generated from the absence of carbon production, and savings on fuel costs resulting from the integration of renewable energies.

The epsilon-constrained method is proposed as an effective means to optimize smart grid operation, with a specific focus on elevating a reliability-based index and overall profitability. The application of this method is demonstrated using the IEEE standard 33-bus radial distribution system, with results compared across scenarios both prior to and following the integration of renewable power plants, considering various uncertainties.

The key contributions of this paper include:

  • Defining a new Reliable Efficiency Index (REI).

  • Examination of potential revenue streams resulting from the absence of carbon emissions and the reduction of fuel cost by the utilization of RESs.

  • In-depth analysis of smart grid availability and reliability, incorporating RESs and ESSs across diverse scenarios.

Therefore, this study not only introduces the Reliable Efficiency Index (REI) but also presents a comprehensive optimization framework addressing both economic and environmental objectives. The inclusion of hidden revenues from reduced carbon emissions and fuel savings provides actionable insights for policymakers and grid operators.

Table 1 shows the comparison of current study with selected references from literature review.

Table 1 Comparison of current study with selected references.

Problem formulation

Clarification of parameters, cost, and revenue

Maximum active power value is observed in a purely resistive state, where active power remains resistive. The computation of active power loss is expressed in Eq. (1)32.

$$PL = \sum\limits_{k = 1}^{{N_{br} }} {\left| {I_{k} } \right|^{2} } \times R_{k}$$
(1)

Ik represents the current and Rk denotes the resistance of the line.

The computation of reactive power loss is established using Eq. (2)32.

$$QL = \sum\limits_{k = 1}^{{N_{br} }} {\left| {I_{k} } \right|^{2} } \times X_{k}$$
(2)

Xk denotes the impedance of the line. The calculation of energy not supplied is expressed in Eq. (3)32.

$$ENS = \alpha \sum\limits_{k = 1}^{{N_{br} }} {d_{k} } \lambda_{k} \left| {I_{kp} } \right| \times V_{rated}$$
(3)

Ikp represents the peak load line current, λk signifies the failure rate, Vrated represents the system’s rated voltage, α represents load factor, and d represents repair duration. System reliability is contingent on the ENS and system load, and it could be calculated using Eq. (4)32.

$${{R}} = 1 - \frac{ENS}{{P_{D} }}$$
(4)

\(P_{D}\) represents the system load.

This study determines overall smart grid cost through the utilization of Eq. (5).

$$Cost_{total} = \, C_{ENS} + C_{Loss} + C_{Generation}^{{{Fossil\;units}}} + C_{Carbon}^{{{{Fossil\;units}}}}$$
(5)

where \(C_{ENS}\), \(C_{Loss}\), \(C_{Generation}^{{Fossil\;units}}\), and \(C_{Carbon}^{Fossil \, units}\) signify the expenses related to energy unavailability, energy loss, conventional power plants’ generation, and emission costs, respectively. The determination of the ENS cost is formulated using Eq. (6)32.

$$C_{ENS} = c_{i} \times ENS$$
(6)

ci signifies the value of ENS in i-kh line.

Computation of costs attributed to power loss can be performed using Eq. (7)32.

$$C_{Loss} = 8760 \times c_{l} \times \beta \times \sum\limits_{k = 1}^{{N_{br} }} {\left| {I_{k} } \right|^{2} } \times R_{k}$$
(7)

Here, cl denotes the uniform cost applicable to all lines, while β represents the line’s loss factor, and Ik and Rk stand for the current and resistance of line k, respectively. The determination of the value for β follows a specific process.

$$\beta = 0.15\alpha + 0.85\alpha^{2}$$
(8)

In this context, α symbolizes the load factor.

The computation of the cost associated with fossil power plant generations can be carried out through the following method.

$$C_{Generation}^{{{Fossil\;units}}} = a \cdot P_{fossil}^{2} + b \cdot P_{fossil} + c$$
(9)

In this equation, where a, b, and c are coefficients, and \(P_{fossil}\) represents the power generation from the fossil power plants.

The determination of the penalty cost related to carbon production from fossil power plant is conducted through the following calculation.

$$C_{Carbon}^{{{{Fossil\;unit}}s}} = P_{g}^{{{Fossil\;units}}} \cdot FIT_{{{per\;ton}}}^{Carbon} \cdot E_{{{per\;kW}}}^{Carbon}$$
(10)

where \(P_{g}^{{{Fossil\;units}}}\), \(FIT_{{{per\;ton}}}^{Carbon}\), and \(E_{{{per\;MW}}}^{Carbon}\) are represent the power generations of fossil units, the feed-in tariff for carbon emissions cost per ton of carbon production and the quantity of emissions per kilowatt-hour of energy production.

This study computes the overall revenue of the system through the utilization of Eq. (11).

$${{Revenue}}_{{{{total}}}} = \left( \begin{gathered} HR_{{{Carbon\;saving}}}^{{{Renewable }}} + HR_{{{Fuel\;saving}}}^{{{{Renewable}}}} \hfill \\ + R_{Solar} + R_{{{{Wind}}}} + R_{{{{Hydro}}}} + R_{{{{Fossil}}}} \hfill \\ \end{gathered} \right)$$
(11)

In this equation, \(HR_{{{Carbon\;saving}}}^{{{{Renewable}}}}\) and \(HR_{{{Fuel\;saving}}}^{{{{Renewable}}}}\) denote the concealed revenue resulting from the non-production of carbon emissions from RESs and the concealed revenue from fuel savings due to the non-utilization of fossil fuels, respectively. \(R_{Solar}\), \(R_{{{{Wind}}}}\), and \(R_{{{{Hydro}}}}\) represent the revenues generated from the sale of power from the solar system, wind turbine, and pumped-storage hydropower, respectively. Lastly, \(R_{{{{Fossil}}}}\) stands for the revenue generated from the sale of power from fossil power plants.

The computation of the concealed revenue arising from the non-production of carbon emissions from RESs is determined using Eq. (12).

$$HR_{{{Carbon\;saving}}}^{{{{Renewable}}}} = \left( \begin{gathered} {{P}}_{{{{Solar}}}} + {{P}}_{{{{Wind}}}} \hfill \\ + {{P}}_{{{{Hydro}}}} \hfill \\ \end{gathered} \right) \cdot FIT_{{{per\;ton}}}^{Carbon} \cdot E_{{{per\;MW}}}^{Carbon}$$
(12)

In this equation, PSolar, PWind, and PHydro denote the power generations of the solar system, wind turbine, and pumped-storage hydropower, respectively.

The concealed revenue from fuel savings resulting from the non-utilization of fossil fuels and the adoption of RESs can be determined using Eq. (13).

$$HR_{{{Fuel\;saving}}}^{{{{Renewable}}}} = \left( {{{P}}_{{{{Solar}}}} + {{P}}_{{{{Wind}}}} + {{P}}_{{{{Hydro}}}} } \right) \cdot FC_{{{{fuel}}}}^{{{fossil\;units}}}$$
(13)

where \(FC_{{{{fuel}}}}^{{{fossil\;units}}}\) is the fuel cost of fossil units.

The computation of the revenue generated from the sale of power generation from the solar system is conducted using Eq. (14).

$$R_{Solar} = {{P}}_{{{{Solar}}}} \cdot FIT_{Solar}$$
(14)

In this equation, \(FIT_{Solar}\) represents the feed-in tariff for the solar power price per kilowatt-hour of solar power generation.

The income from selling the power produced from the wind turbine can be computed using Eq. (15).

$$R_{{{{Wind}}}} = {{P}}_{{{{Wind}}}} \cdot FIT_{{{{Wind}}}}$$
(15)

In this equation, \(FIT_{{{{Wind}}}}\) signifies the feed-in tariff associated with the wind energy price per kilowatt-hour of wind energy production.

The calculation of revenue derived from marketing the energy produced by pumped-storage hydropower is specified by Eq. (16).

$$R_{{{{Hydro}}}} = {{P}}_{{{{Hydro}}}} \cdot FIT_{{{{Hydro}}}}$$
(16)

\(FIT_{{{{Hydro}}}}\) denotes the feed-in tariff for the hydropower price per kilowatt-hour of hydropower generation. The computation of revenue from selling the power generation from fossil power plants is determined using Eq. (17).

$$R_{{{{Fossil}}}} = {{P}}_{{{{Fossil}}}} \cdot FIT_{{{{Fossil}}}}$$
(17)

\(FIT_{{{{Fossil}}}}\) represents the feed-in tariff for the fossil unit power price per kilowatt-hour of fossil unit power generation.

The overall profit of the system is determined through the application of Eq. (18).

$${{Profit}}_{total} = {{Revenue}}_{{{{total}}}} - Cost_{total} = \left( \begin{gathered} HR_{{{Carbon\;saving}}}^{{{{Renewable}}}} + HR_{{{Fuel\;saving}}}^{{{{Renewable}}}} \hfill \\ + R_{Solar} + R_{{{{Wind}}}} + R_{{{{Hydro}}}} + R_{{{{Fossil}}}} \hfill \\ - C_{ENS} - C_{Loss} - C_{Generation}^{{{Fossil\;units}}} - C_{Carbon}^{{{{Fossil\;unit}}s}} \hfill \\ \end{gathered} \right)$$
(18)

The reliable efficiency index (REI)

This study presents a novel reliable efficiency index (REI), defined as follows.

$$AEI = \left( {{{Availability}} + {{Reliability}}} \right) \cdot \left( {P_{{{{total}}}} - PL} \right) = \left[ {\frac{{H_{{{{supply}}}} }}{{H_{{{{total}}}} }} + \left( {1 - \frac{ENS}{{P_{{{{D}}_{{{U}}} }} }}} \right)} \right] \cdot \left( \begin{gathered} P_{{{{Solar}}_{{{U}}} }} + P_{{{{wind}}_{{{U}}} }} + P_{{{{fossil}}}} + P_{{{{hydro}}}} \hfill \\ + P_{{{{reservoir}}}}^{{{{hydro}}}} + P_{{{{storage}}}} - PL \hfill \\ \end{gathered} \right)$$
(19)

where \(P_{{{{Solar}}_{{{U}}} }}\) and \(P_{{{{wind}}_{{{U}}} }}\) denote the active power generation of solar and wind resources with uncertainty, respectively. \(P_{{{{D}}_{{{U}}} }}\) represents the total load with uncertainty.

ESS operation constraints

The constraints for both charging and discharging of the ESS are outlined in Eqs. (20) and (21), respectively.

$$0 \le CH_{t}^{ESS} \le CH^{\max }$$
(20)
$$0 \le DCH_{t}^{ESS} \le DCH^{\max }$$
(21)

where \(CH_{t}^{ESS}\) and \(DCH_{t}^{ESS}\) represent the charge and discharge of the ESS at hour t. \(CH^{\max }\) and \(DCH^{\max }\) denote the maximum charge and discharge capacities of the ESS.

The state of charge constraint for the ESS is as follows:

$$SoC_{t} = SoC_{t - 1} + \left( {\frac{{CH_{t}^{ESS} \cdot \eta_{CH}^{ESS} }}{{E_{ESS}^{\max } }} - \frac{{DCH_{t}^{ESS} }}{{E_{ESS}^{\max } \cdot \eta_{DCH}^{ESS} }}} \right)$$
(22)

In this equation, \(SoC_{t}\) represents the state-of-charge of the ESS at hour t. \(E_{ESS}^{\max }\) is the maximum total charging energy of the ESS at hour t. \(\eta_{CH}^{ESS}\) and \(\eta_{DCH}^{ESS}\) denote the charge and discharge efficiency of the ESS, respectively.

Modeling the load uncertainty

The utilization of the AutoRegressive Integrated Moving Average (ARIMA) model for scenario generation, rooted in a time series model33, distinguishes this study’s approach. Through the integration of this framework with scenario reduction approaches like the K-Means method, the anticipation of forthcoming data based on historical records of stochastic variables is streamlined. The ARIMA model unfolds through three consecutive phases: system modeling, parameter prognosis, and performance assessment. In this study, the focal point lies in the collaboration between the ARIMA model and the K-Means scenario reduction technique for modeling load uncertainty. The overarching structure of the ARIMA model, identified as ARIMA(p, d, q), is encapsulated in Eq. (23).

$$\phi_{p} {(}B{)} \cdot (1 - B)^{d} \cdot Z_{t} = c + \theta_{q} (B) \cdot a_{t}$$
(23)

In this equation, \(Z_{t}\) and \(a_{t}\) represent the time series and random error at time t, respectively. The parameters p, q, and d denote the orders of autoregressive, moving average, and differencing. c is a constant, \(\phi_{p} {(}B{)} = 1 - \sum\nolimits_{i = 1}^{p} {\phi_{i} B^{i}},\) \(\theta_{q} {(}B{)} = 1 - \sum\nolimits_{j = 1}^{q} {\theta_{j} B^{j} \, }\), and B represents the periodicity operator expressed as \(B^{i} y_{t} = y_{t - i}\). \(\phi_{i}\) and \(\theta_{j}\) are the autoregressive and moving average parameters, respectively.

Methodology

Figure 1 illustrates the step-by-step methodology framework employed in this study. The flowchart begins with the data input, including system parameters and renewable resource data. Following this, the uncertainty modeling technique integrates the ARIMA model with the K-Means clustering method for scenario reduction. The next step, model development, involves defining the REI and formulating cost/revenue equations. Subsequently, the optimization method applies epsilon-constrained optimization for optimal scheduling of resources. The simulation phase compares system performance before and after the integration of RESs and ESSs. Finally, the results section highlights improvements in system availability, reliability, REI, and quantifies hidden revenues from reduced emissions and fuel cost savings.

Fig. 1
figure 1

The proposed framework of this study.

Case study

The analyzed system comprises conventional units located at nodes 3 and 22, each with a 2 MW capacity. Additionally, there is a 1 MW solar installation, paired with a 2 ESS featuring a 90% efficiency, positioned at node 4. Furthermore, a 1 MW wind turbine is placed at node 10, and a hydropower power system with a 1 MW capacity and a reservoir of 0.5 MW capacity is positioned at node 20.

The configuration of the system is depicted in Fig. 2.

Fig. 2
figure 2

The studied system.

The system parameters utilized are chosen in accordance with the specifications outlined in reference34, and are detailed in Table 2.

Table 2 The value of system parameters34.

The wind speed and solar irradiance data are sourced from Milwaukee city35. Hourly data spanning a complete year, encompassing an average of 365 days with 24 h per day, is at our disposal. The Monte Carlo method tactically leverages a subset of these 365 days in random computations, enhancing computational efficiency. Variability is observed in wind speeds and solar radiations across all nodes.

Table 3 furnishes details on specific parameters of wind turbine. Likewise, Table 4 delineates parameters of solar array.

Table 3 The parameters of the wind turbines36.
Table 4 The parameters of the solar arrays36.

Table 5 provides the parameters associated with the charging/discharging/SoC of the storage.

Table 5 The storage parameters36.

Table 6 delineates the feed-in tariff values encompassing the cost per ton of carbon production, the price per kWh for solar energy production, the price per kWh for wind energy production, the price per kWh for hydropower production, and the price per kWh for conventional units’ energy production. The feed-in tariff information for various generations is extracted from references26,37,38.

Table 6 The FIT values.

In Table 7, you’ll find details on the carbon emission levels from conventional units per kWh of energy production, along with information on fuel costs and cost function for 2 conventional units, each sharing identical fuel costs.

Table 7 Fossil power plants parameters.

Figure 3 illustrates average annual solar irradiance.

Fig. 3
figure 3

The average annual solar irradiance for Milwaukee city35.

Figure 4 visually depicts the average yearly wind velocity at each hour throughout the day.

Fig. 4
figure 4

The average annual wind speeds for Milwaukee city.

The ARIMA model parameters are precisely defined as p = 1, q = 1, and d = 1. Figure 5 graphically portrays the system load, skillfully modeled by intertwining the ARIMA scenario generation model with the K-Means scenario reduction method.

Fig. 5
figure 5

The uncertain load modeled by ARIMA and K-means method.

Numerical results

Table 8 provides a detailed overview of the location and capacity of the fossil fuel and renewable power plants39.

Table 8 The location and capacity of the fossil fuel and renewable power plants39.

Figures 6, 7, 8, 9 and 10 offer a comprehensive overview of the system’s performance and the interplay of Fig. 6 shows the power generation profiles of the two conventional fossil fuel power plants over a 24-h period. The operation adapts dynamically to fluctuations in energy demand and renewable energy production. During off-peak hours, the fossil plants operate at minimal levels, conserving fuel and reducing emissions. As demand increases, particularly during peak hours (18:00–22:00), the plants ramp up their output to compensate for the reduced generation from renewable energy sources. This figure highlights the crucial role of conventional units in maintaining grid stability, especially during times of reduced renewable energy availability or heightened demand.

Fig. 6
figure 6

The optimal operation of fossil power plants.

Fig. 7
figure 7

The power generation of solar system.

Fig. 8
figure 8

The power generation of wind turbine.

Fig. 9
figure 9

The optimal charge/discharge of ESS.

Fig. 10
figure 10

The power generation of Hydropower plant along with reservoir.

Figure 7 illustrates the solar power system’s daily generation profile, which follows a diurnal pattern corresponding to sunlight availability. Solar energy generation begins around sunrise, peaks at noon when sunlight intensity is highest, and tapers off toward sunset. This figure underscores the intermittent nature of solar energy and the importance of integrating storage systems to manage excess generation during midday and provide energy during non-sunny periods. The clear peak at midday emphasizes the potential for solar energy to contribute significantly to meeting daytime electricity demand.

Figure 8 reveals the power output of the wind turbine across a 24-h period, showing its variability due to fluctuating wind speeds. The wind turbine complements the solar PV system by often generating power at times when solar energy is unavailable, such as during the evening or early morning hours. The figure demonstrates the dynamic nature of wind energy production, with some hours showing high generation due to favorable wind conditions and others with minimal or no generation. This variability highlights the need for balancing mechanisms, such as ESS or hydropower, to stabilize the grid.

Figure 9 presents the charging and discharging patterns of the Energy Storage System (ESS) throughout the day. The ESS charges during periods of low demand and high renewable energy generation, such as midday when solar output is at its peak. During peak demand hours (18:00–22:00), the ESS discharges to reduce reliance on fossil fuel generation, flattening the load curve and supporting grid reliability. This figure demonstrates the critical role of ESS in mitigating the variability of renewable energy sources and ensuring a more stable and efficient energy system.

Figure 10 visualizes the energy output of the hydropower plant, which combines a constant base output of 1 MW with flexible generation from a 0.5 MW reservoir. The reservoir allows the hydropower plant to adjust its output to meet peak demand, providing a valuable buffer for the variability of renewable energy sources. During off-peak periods, the plant operates steadily at 1 MW, while the reservoir is used strategically to enhance generation during high-demand hours. This figure emphasizes the role of hydropower as both a renewable energy source and a storage solution, crucial for balancing the grid.

Table 9 provides a comparison of various system indicators before and after the incorporation of RESs, including solar systems, wind turbines, and pumped-storage hydropower. Furthermore, Table 10 outlines the expenditures, income, and the system’s net profit.

Table 9 The value of different indexes of the system.
Table 10 System’s expenses, earnings, and overall profit.

The outputs from the solar and wind renewable generation, functioning as backup capacities, exhibits a degree of uncertainty. It is noteworthy that the peak production from the PV system occurs at hour 12, while the wind turbine attains its maximum production at hour 14.

According to Table 10, the integration of RESs leads to improvements in the system’s availability, reliability, and REI. Furthermore, there is a reduction in daily active losses within the system. Consequently, the inclusion of RESs as backup capacities plays a pivotal role in augmenting both the availability and reliability of the overall smart grid infrastructure.

As indicated in Table 10, concealed revenue, encompassing benefits from reduced carbon emissions and the avoidance of fuel costs through utilization of RES, exert a substantial influence on augmenting the overall profitability of the system.

The REI increased from 24.69 to 66.88 after the integration of RESs, demonstrating a 171% improvement. System availability increased from 0.13 to 0.33, while reliability improved from 0.41 to 0.42. Financial welfare was significantly enhanced, with hidden revenues from reduced carbon emissions ($112,622 per day) and fuel cost savings ($69,248 per day) driving a 38% increase in net profit. These findings underscore the practical benefits of the proposed model for improving grid operations and achieving sustainable energy goals.

The proposed approach demonstrates significant improvements in REI, system availability, and profitability compared to similar methods in the literature. For example,10 reported reliability improvements of 40–50% through ESS and RES integration, while our model achieved a 171% REI increase, reflecting a more robust grid design. Our model incorporates hidden revenues from reduced emissions and fuel savings, broadening its scope and utility.

To evaluate the robustness of the proposed approach, a sensitivity analysis was conducted on key parameters affecting the REI and system profitability. Table 11 presents the impact of variations in renewable energy penetration, energy storage efficiency, carbon emission cost, and load variability. The results highlight the critical role of renewable energy integration and energy storage systems in improving REI and profitability, while also emphasizing the importance of accurate forecasting and carbon cost policies. These findings provide a deeper understanding of the proposed model’s performance under different operational scenarios.

Table 11 Sensitivity analysis of key parameters on REI and system profitability.

Conclusion

This paper introduces an innovative REI model meticulously refined to amplify the effectiveness, accessibility, and reliability of intelligent grids. The core inquiry delves into the intricate dynamics of how RESs and ESSs shape the dependability, efficiency, and both explicit and concealed financial gains of smart grids. This study comprehensively explores the impact of RESs on hidden revenues within smart grids, particularly emphasizing the nuanced considerations of reduced carbon emissions and the elimination of fuel costs resulting from RES utilization. The proposed REI model, coupled with an in-depth evaluation of concealed revenues derived from RESs, holds relevance across a spectrum of smart grid scenarios, albeit with limitations tied to arrangement and and accessibility of generations aligning with smart grid needs. Addressing the unpredictability in load, this approach combines the ARIMA model with the K-Means scenario reduction technique. This paper goes beyond by meticulously factoring in feed-in tariffs for all power plants, computing the cost of carbon emissions, and scrutinizing hidden revenue stemming from the integration of renewable energy. Furthermore, this investigation extends into probing the influence of ESSs on smart grids. This study demonstrates significant improvements in grid reliability, efficiency, and profitability through the integration of RESs and ESSs, with the REI increasing by 171%, system availability improving by 154%, and hidden revenues from reduced emissions and fuel savings exceeding $1.28 million per day. Despite these promising results, the study assumes ideal market conditions, fixed RES locations, and excludes long-term ESS degradation effects. The proposed model can be scaled for larger systems with higher DG penetration by incorporating additional distributed generator types, such as waste-to-energy plants and tidal power. Future work should address these limitations by incorporating regulatory and market constraints, optimizing RES and ESS placement, considering battery degradation, and expanding to include additional renewable sources and demand-side management strategies, enabling a more scalable and robust approach for modern power systems. Future work will validate the model on larger systems to assess its robustness and adaptability under high-penetration scenarios.