A Novel Method for Fast Configuration of Energy Storage Capacity in Stand-Alone and Grid-Connected Wind Energy Systems

In this paper, a novel method is proposed and applied to quickly calculate the capacity of energy storage for stand-alone and grid-connected wind energy systems, according to the discrete Fourier transform theory. Based on practical wind resource data and power data, which are derived from the American Wind Energy Technology Center and HOMER software separately, the energy storage capacity of a stand-alone wind energy system is investigated and calculated. Moreover, by applying the practical wind power data from a wind farm in Fujian Province, the energy storage capacity for a grid-connected wind system is discussed in this paper. This method can also be applied to determine the storage capacity of a stand-alone solar energy system with practical photovoltaic power data.


Introduction
In the past decades, renewable energy, represented by solar and wind generation, has gradually become essential in terms of energy structure [1][2][3]. Taking wind power as an example, its global cumulative installed capacity kept the acceleration rate around 13% in the past five years. However, a series of drawbacks, such as intermission randomness of renewable energy, must be considered with the promotion of new forms of generation [4,5]. Otherwise, stability and safety problems caused by renewable energy generation may become a serious problem in a modern power systems [6].
One approach to tackle these problems is to install energy storage facilities in wind farms or PV plants. By choosing an appropriate operation strategy, an energy storage system (ESS) could stabilize the fluctuation power generated into the grid by storing or releasing power [7]. Therefore, the appropriate capacity of an ESS plays an important goal in maintaining the stability and safety of the power grid [8,9]. Some studies mainly focused on minimizing the ESS size of solar or wind power forecasts from the perspective of operation performance and economic cost (Sreeraj et al. [9], Heide et al. [10], Chen et al. [11], Yang et al. [12], Celik et al. [13], Askari and Ameri [14,15], Fossati et al. [16], Ogunjuyigbe et al. [17], Berrada and Loudiyi [18] and many more).
Meanwhile, other researchers (Datta et al. [19], Ahmed et al. [20], Wang et al. [21], Abbassi and Chebbi [22], Makarov et al. [8], and Cao et al. [5]) calculated the configuration of ESSs based on time-domain or frequency-domain filtering methods to stabilize fluctuation in the regional tie-line. Generally, the ideal low-pass filtering method based on discrete Fourier transform (DFT) is recognized as an efficient way to filter power at a high frequency, which finally smooths the transmission power in the tie-line.
In this paper, a novel method based on DFT is developed to generate the capacity of an energy storage system for stand-alone and grid-connected wind energy systems. Wind power data used in this study are obtained from HOMER software (Homer Pro-3.7.6, HOMER Energy LLC, Colorado, CO, USA) and an actual wind farm, respectively. Futhermore, discussions relating to the configuration of ESSs for wind energy systems (both off-grid and grid-connected) are carried out.
The structure of this paper is organized as follows. Section 2 describes the data used for the analysis. Section 3 gives details about the proposed method. A discussion of the results id presented in Section 4, and Section 5 draws the conclusion.

Data Used
In this paper, wind energy systems (both off-grid and grid-connected) are investigated. For the stand-alone wind energy system, the practical wind speed data (at 39 • 54' N, 105 • 14 W) exported from the American Wind Energy Technology Center are derived into HOMER software [23,24] to calculate the actual wind power according to the selected wind turbine type. HOMER is a micropower system optimization software, which can perform thousands of simulations to find the optimal configuration of both off-grid and grid-connected microgrid systems. The stand-alone wind energy system includes wind turbines as the energy generator, which is presented in the following sections, and they are established for gaining the wind power data. The rated power of the wind turbine type is 3.2 kW (12 machines for the optimization result). Figure 1 shows the wind power data of an isolated grid system all year and in January, respectively. The average value of the wind power is 5.9 kW, and its maximum value reaches 37.9 kW. recognized as an efficient way to filter power at a high frequency, which finally smooths the transmission power in the tie-line. In this paper, a novel method based on DFT is developed to generate the capacity of an energy storage system for stand-alone and grid-connected wind energy systems. Wind power data used in this study are obtained from HOMER software (Homer Pro-3.7.6, HOMER Energy LLC, Colorado, CO, USA) and an actual wind farm, respectively. Futhermore, discussions relating to the configuration of ESSs for wind energy systems (both off-grid and grid-connected) are carried out.
The structure of this paper is organized as follows. Section 2 describes the data used for the analysis. Section 3 gives details about the proposed method. A discussion of the results id presented in Section 4, and Section 5 draws the conclusion.

Data Used
In this paper, wind energy systems (both off-grid and grid-connected) are investigated. For the stand-alone wind energy system, the practical wind speed data (at 39°54' N, 105°14′ W) exported from the American Wind Energy Technology Center are derived into HOMER software [23,24] to calculate the actual wind power according to the selected wind turbine type. HOMER is a micropower system optimization software, which can perform thousands of simulations to find the optimal configuration of both off-grid and grid-connected microgrid systems. The stand-alone wind energy system includes wind turbines as the energy generator, which is presented in the following sections, and they are established for gaining the wind power data. The rated power of the wind turbine type is 3.2 kW (12 machines for the optimization result). Figure 1 shows the wind power data of an isolated grid system all year and in January, respectively. The average value of the wind power is 5.9 kW, and its maximum value reaches 37.9 kW.
For the grid-connected wind energy system, the practical wind power data is collected from an actual wind farm (Fujian Province in China). Figure 2 shows the wind power data of the grid-connected system all year and in January, respectively. The average value of the wind power is 33.0 MW.  For the grid-connected wind energy system, the practical wind power data is collected from an actual wind farm (Fujian Province in China). Figure 2 shows the wind power data of the grid-connected system all year and in January, respectively. The average value of the wind power is 33.0 MW.

Methods Used
In this paper, a novel method for the fast configuration of the energy storage capacity is proposed based on the analysis of wind power. The procedure of calculating the capacity of the energy storage system consists of four steps, the description of which is given as follows: Step 1: The amplitude-frequency curve of the wind power data is obtained through DFT. The

Methods Used
In this paper, a novel method for the fast configuration of the energy storage capacity is proposed based on the analysis of wind power. The procedure of calculating the capacity of the energy storage system consists of four steps, the description of which is given as follows: Step 1: The amplitude-frequency curve of the wind power data is obtained through DFT. The following formula (Equation (1)) demonstrates the results calculated by DFT [25][26][27].
where N is the total number of sampling points; P is the wind power data vector, P = Step 2: To eliminate the DC component of the original power data, the amplitude for the zero frequency component is set to zero. The results can be obtained as follows (Equation (2)): The results of the wind power data without the DC component can be calculated (Equation (3)) by the inverse DFT.
where F −1 (S 0 ) means the inverse DFT; P 0 [i] is the wind power data at the ith sampling number without the DC component.
Step 3: Assuming a special frequency f (T = 1/f ), a set of filtering wind power data can be acquired through Equations (4) and (5).
where F −1 (S 1 ) means calculating the inverse DFT of S 1 ; P 1 [i] is the filtering wind power data at the ith sampling number. Moreover, the period of the filtering wind power data, P 1 , ranges from 0 to T. The energy of the signal which is the wind power data in this paper is defined as follows.
where E is the energy of the signal; x[i] is the signal data. The energy of the wind power data P 0 , P 1 , namely E 0 and E 1 , is calculated based on Equation (6). Also, the energy of the wind power data P 0 is chosen as the standard energy. The energy ratio can be computed by the following Equation (7).
The specific process of step 3 is as follows: (a) Set the energy ratio η 0 .  (4) and (5) shown in the former step. Calculate the energy ratio between energy E 1 and the standard energy using Equations (6) and (7). (c) Determine the computing time T, which is the reception of the compensation frequency f.
The program terminates and the final frequency f can be returned when the energy ratio η reaches the predefined value (η − η 0 < = 0.005).
Step 4: The method of determining the computing time is an important part of this paper. An optimal configuration method for energy storage is proposed in an ideal situation. Instead, the calculated power of the energy storage system is overlooked in this paper. The calculated power of the energy storage system is set as the average value of the original wind power P, while the capacity of the energy storage system can be obtained by calculating the product of the time and the calculated power.

Results and Discussion
By applying the above procedure, the capacity of the energy storage system for a stand-alone wind storage system and grid-connected wind system is calculated through the wind power data (Figures 1 and 2). The detailed procedure for the stand-alone wind energy system is as follows.
In step 1, based on the spectral analysis method, the amplitude-frequency characteristic curve of the wind power data for the stand-alone wind energy system ( Figure 1) is obtained, as shown in Figure 3. In Figure 3, the amplitude of the wind power data is 5.9 when f equals 0, and the value is close to 0 when f is greater than 2 × 10 −4 Hz. The magnitude of the signal amplitude in the spectrum characteristic curve, to a certain extent, reflects the strength of the signal at the corresponding frequency. It can be found that the energy of the wind power data concentrates at the frequency below 1 × 10 −4 Hz. In step 2, the amplitude for when the frequency equals zero (Figure 4) is set to zero using Equation (2). The new wind power data without the DC component ( Figure 5) are obtained by the inverse DFT. It can be found that they are the same as the shape of the graph through a comparison between Figures 1 and 4 In step 2, the amplitude for when the frequency equals zero (Figure 4) is set to zero using Equation (2). The new wind power data without the DC component ( Figure 5) are obtained by the inverse DFT. It can be found that they are the same as the shape of the graph through a comparison between Figures 1 and 4. Moreover, the values of the wind power for Figure 4 are 5.9 kW lower than the wind power values of Figure 1, in general.
In step 2, the amplitude for when the frequency equals zero (Figure 4) is set to zero using Equation (2). The new wind power data without the DC component ( Figure 5) are obtained by the inverse DFT. It can be found that they are the same as the shape of the graph through a comparison between Figures 1 and 4. Moreover, the values of the wind power for Figure 4   In the next step, the energy ratio η0 is set to be 70% (taking 70% as an example) to study the energy storage configuration time. Based on Equations (4)-(7) and the specific process of the third step, the special frequency is calculated as 1.2684 × 10 −5 Hz and the corresponding computing time is 21.9 h (Table 1). In the process of determining the computing time, the superposed remaining (70%) and filtering (30%) signal of the original wind power data are demonstrated in Figures 5 and 6, respectively. In the next step, the energy ratio η 0 is set to be 70% (taking 70% as an example) to study the energy storage configuration time. Based on Equations (4)-(7) and the specific process of the third step, the special frequency is calculated as 1.2684 × 10 −5 Hz and the corresponding computing time is 21.9 h (Table 1). In the process of determining the computing time, the superposed remaining (70%) and filtering (30%) signal of the original wind power data are demonstrated in Figures 5 and 6, respectively.
In the next step, the energy ratio η0 is set to be 70% (taking 70% as an example) to study the energy storage configuration time. Based on Equations (4)-(7) and the specific process of the third step, the special frequency is calculated as 1.2684 × 10 −5 Hz and the corresponding computing time is 21.9 h (Table 1). In the process of determining the computing time, the superposed remaining (70%) and filtering (30%) signal of the original wind power data are demonstrated in Figures 5 and  6, respectively. In the final step, the average value of the original wind power (5.9 kW) is chosen as the calculated power of a stand-alone wind energy system. The capacity of the energy storage system is obviously estimated by the calculated power and the corresponding time. Table 1 demonstrates the corresponding storage configuration results of the stand-alone wind energy system with different energy ratios η0. As shown in Table 1, in order to extract 90% energy of the wind generation power, the configuration time should be set as 130.7 h. However, the computing time is too long to retain higher economic benefits. In contrast, if the energy ratios are 80%, 70%, and 60%, the corresponding Figure 6. The superposed filtering signal, the energy of which accounts for 30% of the energy of the wind power data.
In the final step, the average value of the original wind power (5.9 kW) is chosen as the calculated power of a stand-alone wind energy system. The capacity of the energy storage system is obviously estimated by the calculated power and the corresponding time. Table 1 demonstrates the corresponding storage configuration results of the stand-alone wind energy system with different energy ratios η 0 . As shown in Table 1, in order to extract 90% energy of the wind generation power, the configuration time should be set as 130.7 h. However, the computing time is too long to retain higher economic benefits. In contrast, if the energy ratios are 80%, 70%, and 60%, the corresponding computing time can decrease to 45.1 h, 21.9 h and 10.9 h. Correspondingly, the energy storage capacity is 266 kWh, 129 kWh, and 64 kWh, respectively. In these three situations, the economy of the entire system is better. Moreover, if there is a wind power failure, the energy storage system can still meet the power supply of the important load. The stand-alone wind energy system is a combination of a wind turbine, battery bank, and inverter converting electricity between DC and AC as shown in Figure 7. The control unit of the wind turbine is a maximum power point tracker (MPPT) to extract the maximum possible energy, regardless of the variation in weather conditions. In the paper, an autonomous stand-alone wind energy system is used to meet the electricity requirements of a typical residential load (59.15 kWh per day with 5.63 kW peak power).
The stand-alone wind energy system is a combination of a wind turbine, battery bank, and inverter converting electricity between DC and AC as shown in Figure 7. The control unit of the wind turbine is a maximum power point tracker (MPPT) to extract the maximum possible energy, regardless of the variation in weather conditions. In the paper, an autonomous stand-alone wind energy system is used to meet the electricity requirements of a typical residential load (59.15 kWh per day with 5.63 kW peak power). HOMER simulates all the possible system configurations that meet the suggested load under the given conditions of wind resources. Moreover, the generated wind power data is used for the above research. This stand-alone system with 38.4 kW wind turbines (each wind turbine has a rated power of 3.2 kW), a 20 kW converter and 150 strings of batteries (each battery has a nominal capacity of 1 kWh) comprises an optimal power system. Compared with the proposed method, the value of 150 kWh for the energy storage capacity is between 127 kWh (energy ratio, 70%) and 266 kWh (energy ratio, 80%). Moreover, it is very close to the results when the energy ratio is 70%. The results show some effectiveness of the proposed approach.
Additionally, the proposed approach in the paper is also applied to configure the energy storage capacity for a grid-connected wind energy system. Based on the above process, the corresponding storage configuration results for a grid-connected wind system with different energy ratios η0 are shown in Table 2. When the energy ratios are 25%, 20%, and 15%, the corresponding energy storage capacity is 396 MWh, 257.4 MWh, and 128.7 MWh, respectively. The energy storage capacity is chosen based on the tradeoff between the investment demand of a large capacity storage reserve and the output stability of the wind farm. HOMER simulates all the possible system configurations that meet the suggested load under the given conditions of wind resources. Moreover, the generated wind power data is used for the above research. This stand-alone system with 38.4 kW wind turbines (each wind turbine has a rated power of 3.2 kW), a 20 kW converter and 150 strings of batteries (each battery has a nominal capacity of 1 kWh) comprises an optimal power system. Compared with the proposed method, the value of 150 kWh for the energy storage capacity is between 127 kWh (energy ratio, 70%) and 266 kWh (energy ratio, 80%). Moreover, it is very close to the results when the energy ratio is 70%. The results show some effectiveness of the proposed approach.
Additionally, the proposed approach in the paper is also applied to configure the energy storage capacity for a grid-connected wind energy system. Based on the above process, the corresponding storage configuration results for a grid-connected wind system with different energy ratios η 0 are shown in Table 2. When the energy ratios are 25%, 20%, and 15%, the corresponding energy storage capacity is 396 MWh, 257.4 MWh, and 128.7 MWh, respectively. The energy storage capacity is chosen based on the tradeoff between the investment demand of a large capacity storage reserve and the output stability of the wind farm.

Conclusions
With technological improvements in the energy field, energy storage systems (ESSs) are exerting increasingly a profound influence on the future electrical grid. Based on the above step-by-step procedure for the proposed method, the capacity of the energy storage system for stand-alone and grid-connected wind energy systems is configured and analyzed. In this paper, the ESS capacity for a stand-alone wind energy system is produced and investigated using wind power data derived from the American Wind Energy Technology Center and HOMER software. Taking the energy ratio η 0 (70%) as an example, the energy storage computing time is analyzed in detail in this work. It is obvious that the configuration time (130.7 h) is too long to retain higher economic benefits. The configuration results for other energy ratios (80%, 70%, and 60%) having better economy are shown in the tabulation. Moreover, the energy storage system can meet the power supply for some of the important load. The EES capacity results are compared with the configuration capacity using HOMER software. In addition, the configuration results for a grid-connected wind system are analyzed in this study. The configuration time (with better economic benefit) for the energy ratios (25%, 20% and 15%) is 12.0 h, 7.8 h and 3.9 h respectively. For different targets, the energy ratio and the corresponding configuration result can be chosen and carried out by the proposed method (based on DFT theory).
For future studies, it will be interesting to investigate the appropriate configuration of an energy storage system for a hybrid complementary system with wind power and other renewable energy.