Introduction

Renewable energy (RE) generation has increased in recent years and is expected to continue to grow over the coming years. Electricity generated by RE is expected to rise from 10% in 2010 to 35% by 20501,2. However, renewable resources usually cannot be used as a stand-alone power plant or as a primary source of electricity due to their intermittent nature and significant fluctuation, especially wind and solar energy3,4. This defect encouraged researchers to develop a solution for this irregular nature. Two immediate solutions have been suggested to address this problem. The first solution is the mixed-use of renewable energy resources, i.e., wind and solar energy. The second is using energy storage devices coupled with renewable energy resources.

There are three critical reasons for storing energy5,6,7,8; the first reason is transferring power from a non-portable energy source to a portable one. The second is controlling the power-to-energy (PTE) ratio of the energy generation source, which means that the generated output can be directed to meet the changes in energy demand. The last reason is using it later whenever needed to satisfy the increase in demand. An energy storage system that fulfills the second and third reasons can be beneficial in overcoming the intermittent nature of renewable energy. It is worth mentioning that the energy storage systems can also provide flexibility for smart electric grids in the future since they can meet the variation in demand.

Different energy storage systems have been studied and developed over the last two decades. Most of the systems introduced were the electrical, chemical, electrochemical, thermal, and mechanical energy storage9,10,11. Mechanical systems, such as flywheel energy storage (FES)12, compressed air energy storage (CAES)13,14, and pump hydro energy storage (PHES)15 are cost-effective, long-term storage solutions with significant environmental benefits for small- and large-scale renewable energy power plants to overcome energy generation fluctuation16.

A relevant study proposed three approaches for combining gravitational storage systems with renewable energy resources17. The first was the "Energy Vault Tower", which employs ropes to raise masses using the generated energy. The stored energy can be retrieved by lowering these masses (concrete blocks) while driving an electric generator with ropes18. The second method, which can be used in abandoned mine shafts, uses a massive suspended weight rather than multiple concrete blocks19. The third method utilizes a heavy piston that moves vertically inside a cylinder by compressing fluid flow through a valve.

According to20, the first closed hydraulic circuit was developed by a company called Gravity Power. The main idea was to pump water from a low-pressure side to raise a piston in a closed hydraulic circuit; in this case, this is called the storage phase. When there is a need to recover the stored energy, the piston is allowed to descend by opening a valve, allowing water to flow through a hydraulic turbine and generate electricity. According to Heindl21, the efficiency of the round-trip gravitational energy storage system can reach more than 80%.

Gravity storage systems were studied from various perspectives, including design, capacity, and performance. Berrada et al.22,23 developed a nonlinear optimization model for cylinder height using a cost objective function. Their findings demonstrated that the Levelized price of gravity energy storage is competitive with other techniques. Furthermore, the proposed small-scale gravity storage systems could be stand-alone renewable energy storage systems. Berrada et al.24 also numerically examined the use of various materials in gravity storage systems. They suggested using “iron ore” for the piston and reinforced concrete for the system container.

On the other hand, valuable efforts were made to avoid the use of heavy pistons and improve system performance25. Botha and Kamper26 investigated a waterless gravity energy storage system with a wire rope hoist and drive train technology up to 90% efficiency27,28.

Statistical analysis of energy storage systems should be considered as they reduce experimental costs, which helps minimize the research cost and time. It also offers a comprehensive view of parameters influencing the system performance29. In a relevant study, Elsayed et al.30 added a fuzzy control system to a gravity energy storage system, employing three fuzzy membership functions, triangular, trapezoidal, and Gaussian, to determine the appropriate design parameters criteria for various sized power plants. Their results showed that the Gaussian membership function best represents the fuzzy model of the storage system.

Statistical methods are also necessary to improve the forecasting and management of supply and demand in energy storage operations. Rehman et al.31 used recent advances in deep learning methods and compared them with traditional statistics to forecast hourly natural gas demand in five locations in Spain. They concluded that the benefits and drawbacks of both classical and deep learning methods should be considered before deciding on a suitable technique. Traditional methods can outperform deep learning methods when prediction accuracy is highly weighted. Deep learning methods may be a good option if avoiding extreme/negative predicted values is very important32,33. Generally, there are two optimization strategies; traditional and statistical. The traditional optimization strategy is based on changing one parameter while all other parameters remain constant. The main disadvantage of the traditional method is being time-consuming and costly.

On the other hand, the statistical design of experimental methods provides a straightforward and equally efficient approach. The evolutionary operation, factorial, regression, response surface, and Taguchi methods are the most used for experimental design34,35,36. Ibrahim et al.37 presented Taguchi optimization of tribological behaviors of composite materials. They concluded that Taguchi and analysis of variance (ANOVA) techniques are promising for predicting tribological behavior and can then be used to guide the design and implementation of tribological materials.

Taguchi's method is superior to other optimization methods because it allows simultaneous optimization of multiple factors. Furthermore, fewer experimental trials can yield more quantitative information. Taguchi's method has been used in various fields, including renewable energy generation and energy storage systems38,39,40,41.

The primary literature demonstrates that the capacity of gravity energy storage can be increased by selecting appropriate geometrical design parameters. Furthermore, hydraulic losses can be reduced by efficiently designing the system's components and selecting suitable devices. As a result, more investigation is needed to understand and optimize the parameters affecting the performance of gravity storage systems. This study investigates various design parameters that can affect the performance of a small-scale gravity storage system. It also presents a comprehensive model to optimize these design parameters. Six system design parameters are investigated, including three piston-related parameters (diameter, height, and density), in addition to three other parameters related to system components; return pipe diameter, length, and charging/discharging time.

This paper presents a novel comprehensive model that predicts and optimizes the most influencing parameters on the performance of gravitational energy storage systems. The simulated model using MATLAB-SIMULINK was created and validated against experimental data from the literature before applying the statistical approach. The Taguchi method was then used to predict the contribution of design parameters to system performance and to determine the best combination of parameters to maximize system performance due to its simplicity and dependability.

Research methodology

Figure 1 shows the general components of the gravity storage system investigated in this study. There are two main working cycles in these systems. The first is the charging phase, where a pump uses the available electricity to store a pressurized liquid in chamber B with a heavy-weight piston on the top; the pump pushes the fluid from point 3 to point 1. The second phase is the discharging phase, in which the piston weight drives the flow from point 1 to point 2 while the pump works as a hydraulic turbine. This process uses different flow control valves to manage the charging and discharging rates.

Figure 1
figure 1

Schematic illustration of gravity energy storage.

This research was divided into six stages. The first stage was performing the mathematical modelling of the system by applying the governing equations. The second stage was the development of a virtual simulation of the system using MATLAB/Simulink. This simulation is used to investigate the system performance.

The third stage was the model validation against existing experimental work from the literature. The fourth is the preliminary analysis used to investigate the effect of the different design parameters on system performance. The fifth step is the design of the experiment (DOE) based on the Taguchi method and obtaining different levels of the parameters for each experimental trial. The levels of parameters were used to optimize the system performance using the simulation model. The final step was the statistical analysis using Taguchi signal-to-noise analysis and the ANOVA analysis. The optimal combination of the design parameters was identified and discussed based on the statistical results. The flow chart of the present algorithm is shown in Fig. 2.

Figure 2
figure 2

Flow chart for the presented algorithm.

Mathematical modelling and simulation

The equations describing the systems are applied to numerically investigate the parameters that can significantly affect a gravity energy storage system. As there are different interactions between system components, the motion of the model was built by adopting Berrada et al. in22,30 technique, with some modifications over the main assumptions and strategies.

  • The initial volume in chamber A, \(V_{A,0} { } = { }0\); i.e., empty means the system is fully charged.

  • The initial volume contained in chamber B, \(V_{B,0} = \left( {H_{C} - H_{P} } \right)A_{B}\), where \(H_{C} \;and\;H_{P}\) are the chamber and the piston heights, respectively; initially, all the liquid is below the piston.

  • Applying the mass conservation equation on the system as the piston starts to move a distance \(x_{p}\). Assuming that the system's volume would not change with the operation and ideal conditions where there is no leakage in the design, the contained volumes at points A and B were calculated using Eqs. (1) and (2), respectively.

    $$V_{A} = V_{A,0} + x_{p} \frac{{\pi D^{2} }}{4}$$
    (1)
    $$V_{B} = \left( {H_{C} - H_{P} } \right)V_{B,0} - x_{p} \frac{{\pi D^{2} }}{4}$$
    (2)
  • where D is the piston diameter in (m).

  • Applying the continuity equation between chambers A and B gives:

    $$\dot{m}_{A} = - \dot{m}_{B}$$
    (3)
    $$\rho \dot{V}_{A} = \rho \dot{V}_{B}$$
    (4)

    where

  • \(\dot{m}\): is the mass flow rate in kg/s.

  • \(\rho\): is the fluid density in kg/m3.

  • \(\dot{V}\): is the volume flow rate in m3/s.

As the system is operating at high pressure, the fluid density difference should be considered as there will be energy used in such a system to compress the fluid. The density, as a function of the system's pressure, was estimated using Eq. (5) as follows:

$$\rho = E \frac{\partial \rho }{{\partial P}}$$
(5)

where P: is the system pressure in Pa.

E: is the bulk modulus of the fluid at the given pressure that was calculated using the following equation42:

$${\text{E}} = \frac{1}{2} \,E_{0} \;\log_{10} \left( {K_{1} \frac{P}{{P_{o} }} + K_{2} } \right)$$
(6)

where

  • \(E_{0}\): The fluid bulk modulus at one atmospheric pressure.

  • \(P_{0}\): The standard pressure of 1 atmospheric pressure.

  • \(K1\;and\;K2\): Empirical constants of 90 and 3. (Assuming isothermal case).

Combining the continuity equation with the variation of bulk modulus with the pressure change, the pressure change in chambers A and B are expressed as:

$$\frac{{dP_{A} }}{dt}{ } = \frac{E}{{V_{A} }}{ }\left( {\dot{V}_{A} { } - { }A\frac{{dx_{P} }}{dt}} \right)$$
(7)
$$\frac{{dP_{B} }}{dt}{ } = - { }\frac{E}{{V_{B} }}{ }\left( {\dot{V}_{B} - { }A\frac{{dx_{P} }}{dt}} \right)$$
(8)

After obtaining the pressure as a driving force for the system, Newton's second law was applied as follows:

$$\sum F = m\ddot{X}_{p} = P_{A} A_{A} - P_{B} A_{B} + mg - f_{f}$$
(9)

where \(f_{f}\) is the friction force between the piston and the chamber walls, which is a function of the sealant material that is equal to

$$f_{f} = { }\mu N$$
(10)

where \(\mu\): is the friction coefficient estimated as 0.1 and N is the normal force exerted by the sealant on the walls calculated using Eqs. (1216) in43.

Rearranging Eq. (9) for the acceleration of the piston (\(\ddot{X}_{p}\))

$$\ddot{X}_{p} = \frac{1}{m}\left( {P_{A} A_{A} - P_{B} A_{B} + mg - \mu N} \right){ }$$
(11)

To avoid the problems associated with the extreme positions of the piston, the logic function shown in Eq. (12) was used for assigning the acceleration condition.

$${\text{If}}\left\{ {\left( {X_{P} \ge X_{min} \;\& \;a_{P} < 0} \right)\;{\text{or}}\;\left( {X_{P} \le X_{max} \;\& \;a_{P} > 0} \right)} \right\}\;{\text{then}}\;a_{p} = = ,\;{\text{else}}\;a_{p} = = \ddot{x}_{P}$$
(12)

As the hydraulic energy stored and recovered from the system will be proportionally associated with the hydraulic losses in the design, it was crucial to consider the fluid friction in the pipes. The hydraulic losses related to the fluid flow in the system are estimated using the Darcy-Weisbach equation and the Moody chart43.

Reynolds number was determined using Eq. (13) as follows:

$$Re = \frac{\rho vd}{\mu }$$
(13)

where

  • v: is the fluid flow velocity in (m/s).

  • d: is the flow diameter in (m).

  • \(\mu\): is the fluid viscosity in Pa.s.

Then the major hydraulic losses (\(h_{L,major}\)) are estimated using the Darcy-Weisbach equation that is expressed by Eq. (14) in the function of frictions \(f_{1}\) and \(f_{2}\).

$$h_{L,major} = \frac{{0.0827 \times f_{1} \times x_{p} \times \dot{V}^{2} }}{{D^{5} }} + \frac{{0.0827 \times f_{2} \times L_{pipe} \times \dot{V}^{2} }}{{d^{5} }}$$
(14)

The friction coefficients \(f_{1}\) and \(f_{2}\) are for the piston and the pipe, respectively. They were estimated separately using their diameters from Eq. (15):

$$f_{1,2} = \frac{1.325}{{\left[ {ln\left( {\frac{{0.045 \times 10^{ - 3} }}{{3.7{ }d^{2} }} + \frac{{1.5 \times 10^{ - 5} { } \times d^{0.9} }}{{{ }\dot{V}{ }^{0.9} }}} \right)} \right]^{2} }}$$
(15)

Furthermore, the minor losses were assumed to be 50% of the friction losses owing to the path's numerous bends. Consequently, the hydraulic losses were calculated using Eq. (16).

$$h_{l, total} = 1.5 h_{L,major} \quad ({\text{m}})$$
(16)

Bernoulli equation was applied between point 1 and 2 to calculate the hydraulic head created by the pump, as follow:

$$\frac{{P_{1} }}{\rho g} + \frac{{V_{1}^{2} }}{2g} + Z_{1} + H_{pump} - { }H_{hyd - turbine} = { }\frac{{P_{2} }}{\rho g} + \frac{{V_{2}^{2} }}{2g} + Z_{2} + h_{l,total}$$
(17)

The inlet pressure \(P_{1}\) can be calculated by applying the Bernoulli equation between the inlet (1) and chamber B as expressed by Eq. (18).

$$\frac{{P_{1} }}{\rho g} = \frac{{P_{B} }}{9810} + 0.0827\dot{V}^{2} { }\left( {\frac{1}{{D^{4} }} - \frac{1}{{d^{4} }}} \right) + \left( {Z_{1} - Z_{2} } \right) - h_{{l,{ }total{ }1 - B}}$$
(18)

Then the outlet pressure \(P_{2}\) can be calculated by applying the Bernoulli equation between the outlet (2) and chamber A as expressed by Eq. (19).

$$\frac{{P_{2} }}{\rho g} = \frac{{P_{A} }}{9810} + 0.0827\dot{V}^{2} { }\left( {\frac{1}{{D^{4} }} - \frac{1}{{d^{4} }}} \right) + \left( {Z_{1} - Z_{2} } \right) - h_{{l,{ }total{ }2 - A}}$$
(19)

Finally, the hydraulic power generated by the turbine was calculated using Eq. (20) as follows:

$$P_{hyd - turbine} = H_{hyd - turbine} \times 9810 \times \dot{V}$$
(20)

where

  • \(P_{hyd - turbine}\): is the hydraulic power available for the turbine in (W).

The governing equations of a gravitational energy storage system were used to develop a Simulink model on MATLAB software30.

Model validation

A model was created using Matlab/Simulink and was validated against the experimental results reported in44. This reference was chosen as experimental data were available for comparison44. The physical model data are presented in Table 1.

Table 1 Reference data of the physical model.

The data shown in Table 1 were used as input parameters for the model and then compared with the actual results reported in30,44. After completing the validation process, different parameter ranges were chosen to investigate their effect on the energy storage performance. Table 2 presents the stimulated ranges used in this study. On the basis of the reference model, these ranges were selected to investigate the effect of increasing and decreasing the design parameters. As the container height is the most significant design parameter, it will be considered as a fixed value, while the others are modified as follows:

Table 2 Simulated parameters ranges.

Results and discussion

According to the given ranges in Table 2, the effect of each parameter as a function of the container height is determined. Then, the output values of the Taguchi method were used to investigate the most and the least significant parameters in the design of the gravity storage system. While changing one of the parameters in this section, all other parameters are considered unchanged from the reference values given in Table 1 above.

The first studied parameter was the piston diameter to container height ratio (Dp/Hc). Five values (0.05, 0.1, 0.15, 0.2, and 0.25) were simulated versus the energy stored in the system. Figure 3 presents the output power versus the piston diameter/container height ratio change. From the figure, it can be seen that the hydraulic power increases with increasing the piston's diameter. This increase is a result of increasing the weight of the piston as the piston and fluid volume increase. The rise in the fluid volume increases the flow rate considering that the discharge time is constant at 6 min.

Figure 3
figure 3

Hydraulic power versus diameter to container height ratio.

The second parameter was the piston height to container ratio (Hp/Hc) (Fig. 4). The range of 0.1–0.5 was selected with a step of 0.1. It can be noticed from the chart that the hydraulic power and the piston height are directly proportional due to the effect of increasing the height on the piston weight and the pressure difference.

Figure 4
figure 4

Effect of piston height variation on the hydraulic power.

For the return pipe, two design factors are considered: the pipe diameter (d) and the pipe length (L). Figure 5 represents the influence of return pipe diameter (d) on the storage power. As the return pipe diameter to container height grows from 0.01 to 0.02, the resultant energy steadily climbs to the highest value at the highest diameter ratio of 0.02. This occurred because of the fact that increasing the diameter of the discharge pipe lowers the flow rate and, consequently, the friction losses of the pipe.

Figure 5
figure 5

Effect of return pipe diameter variation on the system's power.

Figure 6 illustrates the influence of return pipe length on the power generated. Within the studied range between a ratio of 0.5–1.5, it can be shown that increasing the length increases the friction losses and, thus, reduces the available hydraulic power.

Figure 6
figure 6

Effect of return pipe length variation on the hydraulic power.

The output power and available energy extracted from the system at different charge/discharge times are shown in Fig. 7. As the charge/discharge time rises from 6 to 30 min, the resulting energy gradually increases to the highest value at 30 min. This is due to the increase in the discharge time slows down the volume flow rate and discharge speed. Reducing the discharging speed significantly reduces the hydraulic losses and increases the available power.

Figure 7
figure 7

Effect of charge/discharge time variation on the power.

Figure 8 shows the influence of the piston density ratio on the power. It can be observed that when the density ratio of the piston to water increases from 2.7 to 12, The resultant power progressively climbs to the most significant value at the density ratio of 12. As the piston density increases, the piston weight increases, giving a higher pressure difference that increases the system's available power.

Figure 8
figure 8

Effect of density ratio variation on the system's power.

The second step in the current research was to investigate the effect of the design parameters with varying container heights. The container height is varied over the range between 2.2 and 20 m. The interaction between design parameters is shown in Tables 3, 4, 5, 6, 7 and 8. Each table shows the resultant generated power considering one variable from the design parameters at different container heights.

Table 3 Interaction effect of D and Hc.
Table 4 Interaction effect of Hp and Hc.
Table 5 Interaction effect of d Hc.
Table 6 Interaction effect of Lpipe and Hc.
Table 7 Interaction effect of piston relative density and Hc.
Table 8 Interaction effect of charging/discharging time and Hc.

Table 3 shows the results obtained after using variable piston diameters versus container heights. It can be seen that increasing the container height can significantly increase the generated power while increasing the stored potential energy. The limitation applied to this case will be determined according to the installation location parameters.

Table 4 depicts the interaction effect of piston height and container height on the generated power. It can be seen that the optimum piston height ratio is 0.4 Hc for container heights less than 5 m, while the best ratio drops to 0.3 Hc for container heights more than 20 m. This change occurred due to the influence of the volume height on the stored fluid capacity and its flow rate, as well as the increased pressure created by utilizing pistons with greater heights.

The data of the interaction between the return pipe diameter and container height on the system power are tabulated in Table 5. Increasing the discharge pipe diameter can increase the power generated as the losses in that pipe decrease in all of the studied cases. The optimal pipe diameter ratio of 0.02 Hc remains constant while the container height grows from 2.2 to 20 m.

Table 6 shows the influence of the return pipe length ratio on storage power at various container heights. The results reflected that the smaller the pipe length, the more efficient the system would be. This is because of the reduction in the losses of the discharge pipes. For higher container heights, as the length is taken as a function of height, the losses caused were higher than the generated power, so these values are not recommended for the actual case applications due to their inefficiency.

In Table 7, piston density ratios versus piston heights are presented. The data showed that the optimal piston density ratio of 12 remains constant as the container height grows from 2.2 m to 20 m; however, after the height of 5 m, there is a negative effect on the system performance due to the massive increase in system's weight that causes the flow rate and system losses to increase.

Table 8 shows that the optimal charging/discharging time increases with increasing the container height due to the need to reduce the flow velocity to minimize the friction losses in the discharging pipe.

Based on the previous analysis, it can be concluded that the system's design parameters significantly affect its performance. Consequently, the effect of these parameters should be investigated and optimized. An optimization study for different influencing parameters was done using the Taguchi method.

In the following, a trial is performed to estimate the optimum threshold for each design parameter for maximum power output and determine the most significant control parameters of the system45,46.

The Taguchi approach yields an orthogonal array as an experimental design. This array contains a series of experiments created by combining different parameter values known as control variables. The control variables and their values should be initially specified in the Taguchi analysis. Optimizing the efficiency of the gravity energy storage system yields hydraulic power. Using Taguchi analysis, six control variables representing the design parameters are defined to optimize the stored energy. Based on the previous preliminary investigation, the range of each factor and its levels can be given as listed in Table 7. The levels will be used to produce the DoE for the analysis. The current study considered five levels for each parameter listed in Table 9.

Table 9 Design and operating parameters and their levels in Taguchi DoE.

The Taguchi design is produced using Minitab 19 software, as shown in Table 10. An orthogonal array of L25 is constructed. The simulation model runs the different trials and obtains the corresponding system output. Only one response is considered at a time. Moreover, the response is represented as values of a potential hydraulic power that the system can store. The result of the simulation for each trial is listed in Table 10.

Table 10 Taguchi design of L25 orthogonal array.

Taguchi technique produces several trials depending on the control variables and their levels. Furthermore, this approach transforms the response output data to a signal-to-noise (S/N) ratio. Then, the signal represents the desired value, whereas the noise is the unwanted standard deviation from the mean value. The log transformation of mean square deviation (MSD) calculates the S/N ratio Eq. (21). MSD is considered a more effective tool for comparison than conventional measurements. It may determine S/N ratios in three ways: Larger is better, nominal is better, and smaller is better. If the output response needs to be maximized, the larger is better is used38. When attempting to attain current S/N ratios, the nominal is better condition is employed. The S/N ratio was estimated as an Eq. (21). In which yi is the trial response obtained by the simulation and n is the number of replications for each trial. The S/N is computed as listed in Table 10 for only one reproduction for each trial (n = 1).

$$S/N = - 10 \log \left[ {\mathop \sum \limits_{i = 1}^{n} \frac{1}{{y_{i}^{2} }}} \right]$$
(21)

Considering that “greater is the better” is adopted in the current study. Table 11 summarizes the response table of the S/N ratio for the different levels of each parameter. Setting the highest value of the S/N ratio and determining the optimal combination of parameters to provide the largest storage capacity will result in the optimal level for each parameter.

Table 11 Response for signal-to-noise ratios. (Larger is better).

Relying on the parametric analysis results of the S/N, the optimal design parameters for the gravity storage system were identified as piston diameter ratio (\(0.25{ }H_{C}\)), piston height ratio (\(0.5{ }H_{C}\)), piston density ratio (12 \(\rho_{w}\)), charging or discharging time (6 min), return pipe diameter ratio (\(0.01{ }H_{C}\)), and the return tube length (\(0.5{ }H_{C}\)).

Figure 9 also clearly shows that the piston's diameter and height significantly influence the storage capacity. In contrast, other parameters have minimal effect on power generation. Based on these findings, the piston dimension should be considered further throughout the design process. The piston density and charge/discharge time are the following influencing parameters.

Figure 9
figure 9

Signal-to-noise ratio on each factor.

The optimal combination of the parameters that is obtained from S/N ratio Graph is A5–B1–C5–D5–E1–F5 (A5 = 0.25, B1 = 0.5, C5 = 12, D5 = 6, E1 = 0.01, and F5 = 0 0.5), which requires a confirmation test.

ANOVA of the data was done using Minitab Software for hydraulic power to analyze the influence of (A) piston diameter ratio, D/Hc, (B) Return pipe length ratio, L/Hc, (C) Return pipe diameter ratio, d/Hc, (D) Piston specific density, (E) Charging / discharging time, and (F) Piston Height ratio, Hp/Hc. ANOVA allows the analysis of each control factor influence on the total variance of the results.

The ANOVA of the hydraulic power is shown in Table 12. According to Fig. 10, the ANOVA results showed that piston diameter, height, density ratio, and charging/discharging time have a significant impact of 35.11, 30.28, 15.30, and 9.62%, respectively. Moreover, the significant effect of these four parameters can be noticed by investigating F-value and P value. The P value is < 0.05 indicates the statistically significant impact of these parameters. The same remark relies on the F-value (select high positive value). The effects of the other two parameters on the energy storage capacity are minor and can be considered insignificant. It is clear from the table that the maximum error value is 1.7%, which confirms the validity of the results.

Table 12 Analysis of variance (ANOVA) of gravity energy storage.
Figure 10
figure 10

Contribution percentage of each parameter on the variation of storage capacity.

Conclusion

This study aimed to provide a parametric analysis of gravitational energy storage systems. MATLAB Simulink was used to generate the system's model then the Taguchi method was used to optimize these design parameters. The six studied parameters were the piston diameter and height, the return pipe length and diameter, the piston relative density, and the charging/discharging time. The ANOVA method showed that the piston diameter, height, density ratio, and charging/discharging time have percentage impacts of 35.11, 30.28, 15.30, and 9.62%, respectively, on the system performance. In addition, the pipe parameters (length and diameter) have a relatively minor impact on the power. The optimal combination of the investigated parameters has also been determined. The optimal threshold for each factor was identified as the Piston diameter (0.25 × HC), piston height (0.5 × HC), piston density (12 × water density), charge or discharge time (6 min), return pipe diameter (0.01 × HC), and returns pipe length (0.5 × HC), where HC is the container height. The results of the current research can be utilized as design guidelines for gravity energy storage devices in future studies. From the perspective of this work, the optimal combinations of the parameters will be used to build an actual energy storage prototype.