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

RBF neural network-based online intelligent management of a battery energy storage system for stand-alone microgrids

Abstract

Background

An offline optimization approach based on energy storage management response in a microgrid was not fast and not reliable enough to control and adjust the system efficiently after the loss of the utility grid. Thus, it causes system inefficiency and collapse in the presence of violent changes of loads or outage of distributed generations. To solve such a problem, more real-time management is needed. Any changes in loads/generations should be compensated successfully by a battery energy storage system (BESS) in a short period of time.

Methods

This paper presents a new method for the intelligent online management of both active and reactive power of a BESS based on a radial basis function neural network (RBFNN) incorporating particle swarm optimization (PSO) to prevent the stand-alone microgrid from instability and system collapse. BESS is centrally controlled by a controller developed by the proposed RBFNN. PSO is used to determine the optimized active and reactive power at every load/generation changing situation to monitor the effect of system frequency, voltage, and reference power regulation. These optimized power data are then employed as target data for the RBFNN generalization and training process. To enable the online updating of the operating parameters, the proposed RBFNN is implemented in the management process. With an appropriate RBFNN training, the optimum active and reactive power can directly be obtained without the necessity of performing the PSO optimization process at any change of load/generation.

Results

The results show that the predictive results of the proposed RBFNN model only slightly differed from the target results based on PSO and have a minimum statistical error compared to the predictive results based on the multilayer perceptron neural network (MLPNN) model.

Conclusions

The proposed RBFNN is suitable for the online estimation of the active and reactive power of BESS and can be used for real-time energy storage management as an online controller.

Background

During the great earthquake and tsunami in March 2011 and the heavy snowfall disaster in Tokushima, Japan, in December 2014, thousands of people had no access to electricity. IP telephone systems using the Internet which spreads in almost all families were not able to operate at that time. It caused difficulties to rescue teams for providing assistance. Moreover, victims who lived in their homes could not get warm as their heaters were not able to operate at the time of the disaster [1]. To solve such a situation, facilities are needed to provide electricity at the time of a blackout or disaster. Battery energy storage systems (BESS) can offer a good solution to such a system. Advantages of BESS include an improvement of the system frequency, especially when BESS is used for system frequency control. For small disturbances, BESS is discharging when the system frequency is lower than the nominal frequency of 50 or 60 Hz. On the other hand, BESS is charging when the system frequency is higher than the nominal frequency of 50 or 60 Hz. For large disturbances, BESS can enhance the performance of the system frequency control by integrating BESS with an under-frequency load shedding scheme or an under- or over-frequency generation trip. With these different functions, it can be concluded that BESS is a rapid and flexible element for power systems [24].

After the 2011 Japan earthquake and tsunami in the Tōhoku area, a micro/smart grid developed in Japan has been focused on resilience. As a solution of micro/smart grids, it promised to simplify the wide penetration of renewable energy sources (RESs) and BESS units into the power system and increase the reliability of electrical supply to consumers, but decrease system losses and greenhouse gas emissions. Due to their potential benefits of providing secure, reliable, efficient, sustainable, and environmentally friendly electricity from RESs, micro/smart grids have received great attention and became remarkable in electricity [5].

A concept of a micro/smart grid is demonstrated as a system that can intelligently integrate the actions of all users incorporating generators or loads in a manner suitable for providing an economically sustainable and secure power system [6]. All signals at loads/generations will be processed by the system management and react to the situations which occurred optimally. By an intelligent management of the active and reactive power of BESS for a stand-alone microgrid, this technique can prevent the stand-alone microgrid from instability and collapse in the presence of violent changes of loads or outage of distributed generations. In a number of studies, the aspect of a managing reference power of distributed generations in the distribution system has been presented [79]. In [10], the management of BESS power for the typical 4Q-load has been proposed and analyzed. Furthermore, an offline optimization approach based on a real-time energy storage management was proposed in [11]. To control the system as efficiently as possible, more real-time management is needed. Any changes in loads/generations should be compensated successfully by the BESS in a short period of time. To perform the real-time online management operation in this study, radial basis function neural networks (RBFNNs) seem to be most suitable for such an online modeling method in terms of a fast time calculation process and instant responses. The advantages of RBFNN are two major issues: the training processes are substantially faster than the multilayer perceptron neural networks (MLPNN) and RBFNN does not encounter with the local minima problems [12, 13]. RBFNN provides a very significant tool for optimization tasks as they are extremely powerful computational devices with the capability of parallel processing, learning, generalization, and universal approximation [14, 15].

This paper deals with the online intelligent management of active and reactive power of the BESS installed in the microgrid to prevent the microgrid from instability and collapse in the presence of violent changes of loads or outage of distributed generations after the loss of the utility grid (e.g., blackout or disaster). The BESS is centrally controlled by a controller developed by the proposed RBFNN. The active and reactive power of the BESS are managed by using the RBFNN incorporating a particle swarm optimization (PSO) process with the objective of maintaining the frequency and voltage of the stand-alone microgrid within acceptable ranges. First, the optimum settings of the BESS which are the optimized active and reactive power are determined by PSO. The PSO process has to reply to every change in load/generation to achieve the optimum operating conditions for the entire system. These optimized operating data are then applied as target data for RBFNN generalization and training processes. To enable the online updating of the operating parameters, the proposed RBFNN is implemented in the management process, and the database extracted from the PSO process is used as target data in the RBFNN generalization and training. With an appropriate RBFNN training, the well-trained RBFNN can be employed as the online mode where the system is using new input data. By applying the proposed RBFNN approach in the system, the optimum active and reactive power of the BESS can directly be obtained without the necessity of performing the optimization process-based PSO at any change in load/generation. The predictive results of the proposed RBFNN are compared with the predictive results of the MLPNN, and it is clearly shown that the proposed RBFNN-based online management method gave the best performance in predicting the optimum active and reactive power of the BESS for the microgrid.

This paper, compared to other previous research contributions, deals with the ability to control the system as efficiently as possible by designing and implementing the real-time/online management of the BESS based on the proposed RBFNN for using it as an online controller to control, manage, and prevent the microgrid from instability and collapse in the presence of violent changes of loads or outage of distributed generations after the loss of the utility grid.

System configuration

Microgrid study system

The microgrid structure considered in this study consists of four major power sources: the 1.2-MW mini-hydro generator, the 2-MW hydro generator, the 3-MW solar photovoltaic sources, and the BESS as shown in Fig. 1. Each distributed generation unit has its own local controller to handle the relevant electrical variables. This system also consists of a group of feeders which could be a part of the distribution design. The commercial loads 1 and 4 are the critical loads with a peak power of 1.85 and 1.9 MW, respectively. Office load 2, residential load 3, and residential load 5 are the non-critical loads with a peak power of 1.7, 1.75, and 2.4 MW, respectively.

Fig. 1
figure 1

The typical microgrid system

Solar photovoltaic generation

The output power of solar photovoltaic (PV) is uncertain as it is mostly affected by environmental factors, particularly environmental random changes inevitably leading to a constant change of the output power of solar PV [16]. In order to illustrate the solar PV characteristics under the operating conditions, the influence of solar radiation and atmosphere temperature are designed. The temperature effect is denoted using a temperature coefficient of T co (1/c°). The efficiency of the inverter is multiplied by the DC output converting DC to the AC output as in (1):

$$ {P}_{\mathrm{PV}}={n}_{\mathrm{PV}}{P}_{\mathrm{ratePV}}\left(G/{G}_0\right)\left(1-{T}_{\mathrm{co}}\left({T}_{\mathrm{A}}-{25}^{\circ}\right)\right){\eta}_{\mathrm{inv}}{\eta}_{\mathrm{rel}} $$
(1)

where n PV is the PV module number, P rate PV is the PV array rated power (W), G is the global insolation on PV array (W/m2), G 0 is the standard amount of the insolation rating capacity of PV modules (W/m2), T A is the ambient temperature, T CO is the temperature coefficient of the maximum power of PV, ɳ rel is the relative efficiency of the PV modules, and ɳ inv is the efficiency of the inverter.

BESS

RESs are depending on weather conditions. Thus, a BESS is used to store surplus electrical energy to maintain the system frequency and voltage and supplies the power for loading into a microgrid in the case of low solar ratio or load changes. Moreover, the BESS can smooth the fluctuation of solar radiation and enhance the load availability. A more detailed BESS information, along with the most BESS models, is presented in various research papers, for instance in [17, 18].

The structure of the BESS comprises power converters, battery cells, and control parts, which are shown in Fig 2.

Fig. 2
figure 2

The structure of the BESS in an interconnection diagram

In this study, in the case of a grid-connected mode, in which the power generated by the microgrid system is higher than the load demand, the surplus power can be stored in a BESS for future uses. On the contrary, when there is any shortage in the power generation of the microgrid, the stored power is used to supply the load. For a stand-alone mode, the main purpose of the BESS is to stabilize the microgrid from instability and collapse in the presence of violent changes of loads or outage of distributed generations [3, 4].

From the BESS structure, the output of the DC voltage is expressed as:

$$ \varDelta {E}_{\mathrm{do}}=\frac{6\sqrt{6}}{\pi }{E}_t $$
(2)

where E t is the AC voltage between a line and neutral.

The equivalent circuit analysis of a BESS consists of a converter connected to an equivalent battery, as shown in Fig. 3. The terminal voltage of the equivalent battery is calculated from:

Fig. 3
figure 3

Equivalent circuit of the BESS [18]

$$ \begin{array}{l}{E}_{\mathrm{bt}}=\varDelta {E}_{\mathrm{do}} \cos \alpha -{r}_c{I}_{\mathrm{BESS}}\\ {}\kern2.5em =\frac{3\sqrt{6}}{\pi }{E}_t\left( \cos {\alpha}_1- \cos {\alpha}_2\right)-\frac{6}{\pi }{X}_{\mathrm{co}}{I}_{\mathrm{BESS}}\end{array} $$
(3)

According to the equivalent circuit of the BESS, the expression of the DC current flowing into the battery is expressed as:

$$ {I}_{\mathrm{BESS}}=\frac{E_{\mathrm{b}\mathrm{t}}-{E}_{\mathrm{b}\mathrm{oc}}-{E}_{\mathrm{b}1}}{r_{\mathrm{b}\mathrm{t}}+{r}_{\mathrm{b}\mathrm{s}}} $$
(4)

where

$$ {E}_{\mathrm{boc}}=\frac{r_{\mathrm{bp}}}{1+{\mathrm{ST}}_{\mathrm{bp}}}{I}_{\mathrm{BESS}} $$
(5)
$$ {E}_{\mathrm{b}1}=\frac{r_{\mathrm{b}1}}{1+{\mathrm{ST}}_{\mathrm{b}1}}{I}_{\mathrm{BESS}} $$
(6)

where

$$ {T}_{\mathrm{bp}}={r}_{\mathrm{bp}}{C}_{\mathrm{bp}} $$
(7)
$$ {T}_{\mathrm{b}1}={r}_{\mathrm{b}1}{C}_{\mathrm{b}1} $$
(8)

According to the converter circuit analysis, the active and reactive power injected or absorbed by the BESS are:

$$ {P}_{\mathrm{BESS}}=\frac{3\sqrt{6}}{\pi }{E}_t{I}_{\mathrm{BESS}}\left( \cos {\alpha}_1+ \cos {\alpha}_2\right) $$
(9)
$$ {Q}_{\mathrm{BESS}}=\frac{3\sqrt{6}}{\pi }{E}_t{I}_{\mathrm{BESS}}\left( \sin {\alpha}_1+ \sin {\alpha}_2\right) $$
(10)

where α i is the firing delay angle of the converter i, E do is the maximum DC voltage of the batteries, E b1 is the battery resistance, E bt is the phase voltage of the battery side, E boc is the battery open circuit voltage, I BESS is the DC current through the battery, P BESS is the active power provided by the batteries, Q BESS is the reactive power provided by the batteries, r c is the battery overvoltage, r bt is the terminal voltage of the battery, r bs is the battery internal resistance, r bp is the self-discharge resistance, and r b1 is the overvoltage resistance [19].

By performing the offline optimization process, the optimized active and reactive power set points of the BESS are obtained. These optimized data are then used as target data for RBFNN/MLPNN generalization and the training process in the online optimization. With an appropriate RBFNN/MLPNN training process, the well-trained RBFNN/MLPNN can be used as the online mode where the system is using new input data and then the optimum active and reactive power of the BESS will be obtained and remotely adjusted via the communication link to the BESS.

Test system explanation

The proposed online management approach is applied to the typical microgrid system illustrated in Fig. 1. To achieve a smart grid system with online capability, the microgrid is integrated in a highly developed communication technology which is also connected with the BESS as well as distributed generations and loads, thus enabling the coordinated control between generations and loads. The microgrid will be scanned by a data acquisition device for every half an hour of load demand for a 24-h operation. The data acquisition device measures the power output of solar PV and all load profiles. The acquired information is used to control the optimum operation of the BESS in subsequent intervals. The optimum active and reactive power of the BESS will be calculated by the control system so that they can be remotely adjusted via the communication link instantly after the loss of the utility grid.

Three types of loads are involved in the studied microgrid, which are the residential, office, and commercial loads as shown in Fig. 4. The load profile depends on the peaks and dips according to the various electricity usage situations. For the residential loads, a peak load occurs from 7 pm to 9 pm; for the office and commercial loads, a peak load occurs from 9 am to 5 pm every day, owing to the electricity usage during the office hours.

Fig. 4
figure 4

Load demand profiles

Methods

ANN-based online optimum active and reactive power of the BESS

The proposed approach for an intelligent online managing of active and reactive power of BESS consists of a two-stage method based on the PSO optimization process (stage 1) and the RBFNN or MLPNN approach (stage 2). The first step before performing the optimization process is to obtain both load data and solar PV power output data as the inputs of the PSO process. The optimization process is applied offline using PSO in the first stage in order to define the optimum daily performance of the BESS. In this study, the fluctuations of solar PV due to unpredicted weather conditions are considered in the case of both a sunny and a rainy day for both the RBFNN and MLPNN test systems as shown in Fig. 5. By performing the optimization process using PSO, the optimized active and reactive power of the BESS are evaluated. These optimized data are then used as target data for the RBFNN/MLPNN generalization and the training process during the second stage.

Fig. 5
figure 5

The solar PV power output for the RBFNN and MLPNN testing stage

PSO-based offline optimization (stage 1)

The offline optimization process can be performed by many methods such as using either a genetic algorithm (GA), or linear programming, or PSO, etc. However, according to [2022], the advantages of PSO include simplicity, ease of use, high convergence rates, and minimal storage requirements. Especially, PSO will be less dependent on the set of the initial points compared to other methods, which implies that the convergence algorithm is robust. Thus, the offline optimization process is performed by using PSO during the first stage in order to evaluate the optimum daily performance of the BESS as shown in Fig. 6. Afterwards, these optimized parameters are used in the second stage for the RBFNN/MLPNN offline training process.

Fig. 6
figure 6

A conceptual structure of the proposed PSO for stage 1

The PSO process has to reply to every change in the load/PV generation in order to achieve the optimum operating conditions for the overall system. Hence, after any change of the load/PV data, the optimized power setting of the BESS will also be changed, with the result that a new optimization process is needed.

PSO is an approach for evaluating the optimal parameters of complicated search spaces. PSO is initiated with a group of random particles to search for these optimal parameters by updating the generations. At each iteration step, each particle is improved by two values. These values are called P best and G best, respectively. P best is the best solution acquired by each particle itself in all of the previous generations. G best is the best value obtained by any particle during all previous iterations [23]. This value is called the best global solution. Each particle improves its position and velocity by using (11) and (12):

$$ {v}_{i+1}={v}_i+{c}_1{r}_1\left({P}_{\mathrm{best}}-{x}_i\right)+{c}_2{r}_2\left({G}_{\mathrm{best}}-{x}_i\right) $$
(11)
$$ {x}_{i+1}={v}_{i+1}+{x}_i $$
(12)

where i = 1, 2,…, N, N is the iteration number, v i is the velocity of a particle at iteration i, x i is the position of a particle at iteration i, P best is the best solution at iteration i, G best is the best global solution at iteration i, r 1 is the random number one between 0 and 1, r 2 is the random number two between 0 and 1, and c 1 and c 2 are the learning factors.

The learning factors have important effects on the algorithm convergence rate. Future information for PSO can be found in [2023]. In this study, the number of iteration is 30. Learning factors are c 1 and c 2 which are equal to 1.4940. The inertia weight is 0.7920.

For the PSO offline optimization approach, the aim of this part is to determine the optimized active and reactive power of the BESS during every change in the load/generation based on frequency and voltage control in the stand-alone microgrid. The final objective function is chosen and expressed as:

$$ \mathrm{Minimize}\ f = {\lambda}_1{J}_1 + {\lambda}_2{J}_2 $$
(13)

where J 1 and J 2 are the objective function representing the active and reactive power of the BESS from (9) and (10), respectively, and λ 1 and λ 2 are the weight associated to J 1 and J 2, respectively.

The active and reactive power dispatched from BESS are used as the control variables in this study. The constraints imposed on the optimization problem are shown as follows:

$$ {P}_{\min}\le P(t)\le {P}_{\max } $$
(14)

where P(t) is the rated active power of the BESS (MW), P min is the allowed minimum rated active power, and P max is the allowed maximum rated active power of the BESS.

$$ {Q}_{\min}\le Q(t)\le {Q}_{\max } $$
(15)

where Q(t) is the rated reactive power of the BESS (Mvar), Q min is the allowed minimum rated reactive power, and Q max is the allowed maximum rated reactive power of the BESS.

$$ {\omega}_{\min}\le \omega (t)\le {\omega}_{\max } $$
(16)

where ω(t) is the nominal frequency of the isolated microgrid (Hz), ω min is the allowed minimum nominal frequency of the isolated microgrid, and ω max is the allowed maximum nominal frequency of the isolated microgrid.

$$ {u}_{\min}\le u(t)\le {u}_{\max } $$
(17)

where u(t) is the nominal voltage of the isolated microgrid (pu), u min is the allowed minimum nominal voltage of the isolated microgrid, and u max is the allowed maximum nominal voltage of the isolated microgrid.

Artificial neural network-based online optimization (stage 2)

Artificial neural network (ANN) is simulating the brain of humans in processing information through a series of interconnected neurons. It is one of the famous prediction models as it has the remarkable ability of mapping complex and highly non-linear input-output patterns without the knowledge of the actual model structure. The RBFNN and the MLPNN are widely used in ANN structures, and their roles affect the network performance. Nowadays, a performance comparison of the RBFNN and the MLPNN in several applications has attracted the attention of researches [2426]. Nevertheless, no comparison has been carried out so far between the intelligent management of active and reactive power of the BESS for a microgrid management system. Hence, this work proposed the RBFNN-based online management of the BESS and selected the MLPNN-based online management of the BESS for the performance comparison in the system. To enable the online updating of the operating parameters, the RBFNN/MLPNN is proposed and implemented in the management process for the second stage. Afterwards, the output performance of the RBFNN and the MLPNN were investigated and compared in the ANN training and testing results. During this stage, the database extracted from the PSO process was used as a target data in the RBFNN/MLPNN generalization and training process.

RBFNN-based online management of the BESS

The RBFNN is a type of feedforward neural network which learns using a supervised training method. Radial functions are a special class of functions, and their characteristic feature is that the response decreases or increases with the distance from a center point. It is obvious that the RBFNN is able to approximate any reasonable continuous function mapping with a satisfactory level of accuracy [1315]. In this paper, the proposed RBFNN consists of three layers of neurons: an input layer, a hidden layer, and an output layer.

To enable online updating of the operating parameters, the proposed RBFNN is implemented in stage 2 of the management process as illustrated in Fig. 7. During the second stage, the database extracted from stage 1 is used as a target data in the RBFNN generalization capability. There will be 12 inputs and 2 outputs. The inputs of the system will be the active and reactive power of commercial load 1 (X 1, X 2), respectively, the active and reactive power of office load 2 (X 3, X 4), respectively, the active and reactive power of residential load 3 (X 5, X 6), respectively, the active and reactive power of commercial load 4 (X 7, X 8), respectively, the active and reactive power of residential load 5 (X 9, X 10), respectively, and the active and reactive power of the solar PV system (X 11, X 12), respectively. The outputs of the system are the active and reactive power of the BESS (Y 1, Y 2), respectively. Afterwards, the proposed RBFNN-based online optimum active and reactive power of the BESS are demonstrated as a function that maps the input vector X = [X 1, X 2, X 3, X 4, X 5, X 6, X 7, X 8, X 9, X 10, X 11, X 12] to the output vector Y = [Y 1, Y 2].

Fig. 7
figure 7

Description of inputs and outputs of the RBFNN-based online intelligent management of the BESS

The input vector X is applied to all neurons in the hidden layer. The hidden layer is composed of number q RBFNNs that are directly connected to all the elements in the output layer. A node in the hidden layer will produce a greater output when the presented input pattern is close to its center. The output of such a node will reduce, as the distance from the center increases, assuming that a symmetrical basis function is applied. Hence, for a given input pattern, only neurons whose centers are close to the input pattern will produce non-zero activation values to the input stimulus. The basis function for the jth node in the hidden layer is determined by a Gaussian exponential function as follows:

$$ {b}_j\left(\overline{X}\right)= \exp \left(\frac{-{\left(\overline{X}-{\mu}_j\right)}^2}{2{\sigma}_j^2}\right),\kern0.5em \mathrm{f}\mathrm{o}\mathrm{r}\ j = 1,\ 2,\dots, q $$
(18)

where μ j is the respective center of the jth neuron in the hidden layer and σ j is the wide of the Gaussian potential function of the jth neuron in the hidden layer.

The network output Y is formed by a linearly weighted sum of the number of basis functions in the hidden layer. The values for the output nodes are calculated as follows:

$$ {Y}_k={\displaystyle \sum_{j=1}^q{W}_{kj}{b}_j\left(\overline{X}\right)},\ \mathrm{f}\mathrm{o}\mathrm{r}\ k = 1,\ 2 $$
(19)

where Y k is the output of the kth node in the output layer, W kj is weight between the jth node in the hidden layer and the kth node in the output layer, and \( {b}_j\left(\overline{X}\right) \) is the output of the jth node in the hidden layer.

MLPNN-based online management of the BESS

The MLPNN belongs to the class of feedforward networks. In the MLPNN structure, this structure is established in a layered feedforward network and is contained by an input layer, one or more hidden layers, and an output layer. The weight total of the input data and the chosen bias are passed through a transfer function to obtain the output data. The number of hidden layers is able to be changed based on the problem data in the training process [12, 27]. In this paper, the MLPNN consists of three layers of neurons, which demonstrates that only one hidden layer is included, and one type of activation function is used in the hidden layer and one output layer is contained.

To enable an online updating of the operating parameters, the MLPNN is implemented in stage 2 of the management process as shown in Fig. 8. During the second stage, the database extracted from stage 1 is used as a target data in the MLPNN generalization capability. There will be 12 inputs and 2 outputs. The inputs of the system will be the active and reactive power of commercial load 1 (X 1, X 2), respectively, the active and reactive power of office load 2 (X 3, X 4), respectively, the active and reactive power of residential load 3 (X 5, X 6), respectively, the active and reactive power of commercial load 4 (X 7, X 8), respectively, the active and reactive power of residential load 5 (X 9, X 10), respectively, and the active and reactive power of the solar PV system (X 11, X 12), respectively. The outputs of the system are both the active and reactive power of both the BESS (Y 1, Y 2). Afterwards, the proposed MLPNN-based online optimum active and reactive power of the BESS is demonstrated as a function that maps the input vector X = [X 1, X 2, X 3, X 4, X 5, X 6, X 7, X 8, X 9, X 10, X 11, X 12] to the output vector Y = [Y 1, Y 2].

Fig. 8
figure 8

Description inputs and outputs of the MLPNN-based online intelligent management of the BESS

Each hidden layer summarizes its weighted inputs, which can be expressed as:

$$ {y}_h(n)={\displaystyle \sum_{i=1}^{Ni}{W}_{ih}}(n){X}_i(n)+{b}_h^H $$
(20)

where W ih (i = 1, 2,…, N i , h = 1, 2,…, N h ) are the weights of the connections between the input and hidden layers, X i (i = 1,2,…,N i ) are the input signals, b h H (h = 1,2,…,N h ) are the biases at the hidden layer, N i is the number of the inputs, and N h is the number of neurons in the hidden layer.

The function form of the MLPNN-based online intelligent optimum active and reactive power of the BESS (i.e., the outputs from the hidden layers) can be presented as follows:

$$ {Y}_k(n)={\displaystyle \sum_{h=1}^{Nh}{W}_{hk}(n)\cdot f\left({y}_h(n)\right)+{b}_k^0} $$
(21)

where

$$ f\left({y}_h(n)\right)={f}_{\mathrm{sigmoid}}\left({y}_h(n)\right)=\frac{1}{1+{e}^{-\left({y}_h(n)\right)}} $$
(22)

where Y k (k = 1, 2,…, N k ) are the output signals, W hk (h = 1, 2,…, N h , k = 1, 2,…, N k ) are the weights of the connections between the hidden and output layers, b k 0 (k = 1, 2,…, N k ) are the biases at the output layer nodes, f(y h (n)) is the hidden activation transfer function, N h is the number of neurons in the hidden layer, and N k is the number of the outputs.

Based on Table 1, the parameter details for the optimum online active and reactive power of the BESS are shown and used in the training and the testing database.

Table 1 Artificial neural network parameters

Figure 9 depicts the description of inputs and outputs for estimating the active and reactive power of the BESS that have been used for the RBFNN/MLPNN training and testing process. The RBFNN/MLPNN which is trained and tested offline has been accomplished to recognize the pattern and the optimum behavior for the stand-alone microgrid. Later, the well-trained RBFNN/MLPNN can be used onsite in the online mode where the system is applied using new input data. With applying the well-trained RBFNN/MLPNN in the system, the optimization of optimum active and reactive power can be directly evaluated without the necessity of performing the optimization process-based PSO after any change of load/generation. The overall process of stage 2 is described as follows:

Fig. 9
figure 9

Structure of inputs and outputs of the proposed RBFNN/MLPNN for stage 2

  • Step 1. Obtain input data and target from the PSO process.

  • Step 2. Create the RBFNN/MLPNN network and train the network until the conditions of the network setting parameters are reached.

  • Step 3. Test the network and control the regression analysis.

  • Step 4. Store the trained network. Afterwards, the trained network is ready to be tested by using new input data for this online process. Please consider that step 1 to step 4 belong to the offline process.

  • Step 5. Process new input data to the online process and obtain the optimum power data of the BESS.

Results and discussion

This part describes the results of the proposed online predictive power management of the BESS with the objective of frequency and voltage control of the stand-alone microgrid by using the proposed RBFNN. Thus, the proposed RBFNN approach will automatically determine the optimum power of the BESS in order to prevent the isolated microgrid from instability and collapse in the presence of violent changes of loads or outage of distributed generations. Afterwards, the predictive results of the proposed RBFNN model are compared with the MLPNN model, considering the error efficiency and positional accuracy.

ANN training results

There are 12 inputs being the time step of the five load demands and the solar PV data which were fed into the RBFNN/MLPNN controller. The outputs of the neural network will be the predictive results of the optimum active and reactive power of the BESS which will determine the optimum operation of the BESS for the stand-alone microgrid.

After the inputs and targets for the training data are initiated, the next process is the separation of the data for training, validation, and test. During this stage, 70 % of the sample data are used for the training process (i.e., 940 data), 15 % of the sample data are used for validation (i.e., 202 data), and 15 % for the test data (i.e., 202 data).

In the training results, the correlation coefficient (R) is employed to measure the fitness, where a value closer to 1 indicates a better fit. From Figs. 10 and 11, it is evident that the correlation coefficient of the proposed RBFNN is higher than the correlation coefficient of the MLPNN and almost equal to 1 (i.e., 0.9999), which means that the targets are equal to the outputs of the training data. This reason indicates a strong correlation between the optimization data and the neural network output. Hence, it is obvious that the proposed RBFNN approach allows achieving the highest accuracy compared to the MLPNN approach.

Fig. 10
figure 10

Regression analysis between the network outputs and the optimization targets based on the MLPNN

Fig. 11
figure 11

Regression analysis between the network outputs and the optimization targets based on the RBFNN

ANN testing results

The proposed RBFNN/MLPNN has been trained and tested using the typical microgrid system, load demand profiles, and solar PV output data during a sunny and a rainy day for online applications. The active and reactive power estimated online by the RBFNN/MLPNN are compared with the data obtained from the PSO optimization conducted offline as shown in Figs. 12, 13, 14, and 15 for the case of a sunny day and a rainy day, respectively. Based on Figs. 12, 13, 14 and 15, the proposed RBFNN approach is better than the MLPNN approach as far as the accuracy and efficiency are concerned. The MLPNN capability is poor when compared to the proposed RBFNN. It is obvious that the proposed RBFNN is able to follow the target pattern-based PSO at almost every time step mentioned. Compared with the MLPNN model, the outputs of the proposed RBFNN model are only slightly different from the optimization target-based PSO optimization. It can be concluded that the proposed RBFNN can accurately determine the optimal active and reactive power of the BESS for the isolated microgrid.

Fig. 12
figure 12

The optimum active power of the BESS during a sunny day

Fig. 13
figure 13

The optimum reactive power of the BESS during a sunny day

Fig. 14
figure 14

The optimum active power of the BESS during a rainy day

Fig. 15
figure 15

The optimum reactive power of the BESS during a rainy day

In this study, three adopted error indexes are used to estimate the RBFNN/MLPNN training performance, including the mean absolute error (MAE), the mean relative error (MRE), and the root mean square error (RMSE). These indexes show the learning and generalization error of the normalized values of the online intelligent management of the BESS. The computation of these three error indexes can be expressed as:

$$ \mathrm{M}\mathrm{A}\mathrm{E}=\frac{1}{n}{\displaystyle \sum_1^n\left|{T}_i-{O}_i\right|} $$
(23)
$$ \mathrm{M}\mathrm{R}\mathrm{E}=\frac{1}{n}{\displaystyle \sum_1^n\frac{\left|{T}_i-{O}_i\right|}{T_i}} $$
(24)
$$ \mathrm{RMSE}=\sqrt{\frac{1}{n-1}{\displaystyle \sum_1^n{\left({T}_i-{O}_i\right)}^2}} $$
(25)

where T i is the target vector, O i is the output vector, and n is the number of training data or the data for each test in the testing data set.

Compared with the MLPNN model, Table 2 demonstrates that the proposed RBFNN model has a minimum statistical error in terms of MAE, MRE, and RMSE. It is concluded that the proposed RBFNN is an effective way to improve the prediction accuracy. In addition, the proposed RBFNN is able to accurately predict the optimum active and reactive power of the BESS with minimal errors.

Table 2 Error indexes for online optimum BESS management

Frequency and voltage of stand-alone microgrids

Frequency and voltage profiles are important criteria which have to be monitored to ensure that the frequency and voltage of the isolated microgrid are satisfied within the required limit in order to prevent the isolated microgrid from instability and collapse in the presence of violent changes of loads or outage of distributed generations. Looking at the frequency and voltage variation evident in Figs. 16, 17, 18 and 19, it can be seen that the frequency and voltage variation of the proposed RBFNN are within acceptable ranges from 49.95 to 50.05 Hz for frequency regulation and from 0.99 pu to 1 pu for voltage regulation. On the other hand, the frequency variation of the MLPNN exceeds the acceptable range of frequency regulation in some parts of time duration. It is obvious that the proposed RBFNN approach would achieve better performance in terms of frequency and voltage regulation compared to the MLPNN approach.

Fig. 16
figure 16

Frequency variation of the stand-alone microgrid during a sunny day

Fig. 17
figure 17

Frequency variation of the stand-alone microgrid during a rainy day

Fig. 18
figure 18

Voltage variation of the stand-alone microgrid during a sunny day

Fig. 19
figure 19

Voltage variation of the stand-alone microgrid during a rainy day

Conclusions

In this paper, a novel method for the optimum online intelligent management of active and reactive power of the BESS for the isolated microgrid is proposed. The entire BESS is centrally controlled by a controller developed using the proposed RBFNN model. The results show that the proposed RBFNN is able to follow the optimum target-based PSO at almost every time step mentioned under the changes of typical loads and solar PV generation with the profiles of a sunny and a rainy day. Compared with the MLPNN model, the proposed RBFNN model provides superior performance, when the error efficiency and positional accuracy are considered. It can be summarized that the proposed RBFNN model is appropriate for the online prediction of active and reactive power of the BESS differing only slightly from the optimal target result-based PSO and can consequently be used for real-time energy storage management as an online controller.

References

  1. Marnay C, Aki H, Hirose K, Kwasinski A, Ogura S, Shinji T (2015) How two microgrid fared after the 2011 earthquake. IEEE Power Energy Magazine 13(3):44–57

    Article  Google Scholar 

  2. Wu D, Tang F, Dragicevic T, Vasquez J, Guerrero J (2014) Autonomous active power control for islanded AC microgrid with photovoltaic generation and energy storage system, IEEE Trans. Energy Conversion 29(4):882–892

    Article  Google Scholar 

  3. Moghadam MRV, Zhang R, Ma RTB (2013) Randomized response electric vehicles for distributed frequency control in smart grid. In: proceeding of IEEE International conf. on Smart Grid Communications., pp 139–144

    Google Scholar 

  4. Nan Z, Qian L, Li H (2014) Auxiliary frequency and voltage regulation in microgrid via intelligent electric vehicle charging. In: proceeding of IEEE International conf. on Smart Grid Communications., pp 662–667

    Google Scholar 

  5. Inthamoussou F, Pegueroles-Queralt J, Bianchi F (2013) Control of a supercapacitor energy storage system for microgrid application, IEEE Trans. Power Systems 28(3):690–697

    Google Scholar 

  6. Cecati C, Mokryani G, Piccolo A, Siano P (2010) An overview on the smart grid concept. In: Proceeding of Conf. on 36th annual IEEE Industrial Electronics Society., pp 3322–3327

    Google Scholar 

  7. Toma S, Senjyu T, Miyazato Y, Yona A (2008) Decentralized voltage control in distribution system using neural network. In: proceeding of Conf. on 2nd IEEE International Conference., pp 1557–1562

    Google Scholar 

  8. Hatta H, Kobayashi H (2007) A study of centralized voltage control method for distribution system with distributed generation. In: proceeding of Conf. on 19th CIRED International Conference on Electricity Distribution., pp 1–4

    Google Scholar 

  9. Marcela M, Sumper A, Gomis O, Sudra A (2011) Reactive power dispatch in wind farms using particle swarm optimization technique and feasible solutions search. Appl Energy 1:4678–4686

    Google Scholar 

  10. Baalbergen F, Baber P, Ferreira J (2009) Energy storage and power management for typical 4Q-load. IEEE Trans on Industrial Electronic 56(5):1485–1498

    Article  Google Scholar 

  11. Rahbar K, Xu J, Zhang R (2015) Real-time energy storage management for renewable integration in microgrid: an off-line optimization approach. IEEE Trans on Smart Grid 6(1):124–134

    Article  Google Scholar 

  12. Li G, Na J, Stoten D, Ren X (2014) Adaptive neural network feedforward control for dynamically substructured systems, IEEE Trans. Control System Technology 22(3):944–954

    Article  Google Scholar 

  13. Bianchini M, Frasconi P, Gori M (1995) Learning without local minima in radial basis function networks, IEEE Trans. Neural Netw 6(1):749–756

    Article  Google Scholar 

  14. Park J, Sandberg IW (1991) Universal approximation using radial basis functions network. Neural Comput 3(2):246–257

    Article  Google Scholar 

  15. Tang Y, Wong WK (2015) Distributed synchronization of coupled neural networks via randomly occurring control. IEEE Trans on Neural Networks and Learning Systems 24(3):435–447

    Article  Google Scholar 

  16. Sitbon M, Leppaho J, Suntio T, Kuperman A (2014) Dynamic of photovoltaic-generator-interfacing voltage-controlled buck power stage. IEEE Journal of Photovoltaics 5(2):633–640

    Article  Google Scholar 

  17. Kottick D, Blau M, Edelstein D (1993) Battery energy storage for frequency regulation in an island power system, IEEE Trans. Energy Convers 8(3):455–458

    Article  Google Scholar 

  18. Kerdphol T, Qudaih Y, Mitani Y (2015) Optimal battery energy storage system size using particle swarm optimization for microgrid system. International Review of Electrical Engineering (IREE) 10(2):277–285

    Article  Google Scholar 

  19. Aditya SK, Das D (1999) Application of battery energy storage system to load frequency control of an isolated power system. Int J Energy Res 23(1):247–258

    Article  Google Scholar 

  20. Gaing ZL (2004) A particle swarm optimization approach for optimum design of PID controller in AVR system, IEEE Trans. Energy Conversion 19(2):284–391

    Google Scholar 

  21. Esmin AA, Lambert-Torres G, Zambroni de Souza AC (2005) A hybrid particle swarm optimization applied to loss power minimization, IEEE Trans. Power Systems 20(2):859–866

    Article  Google Scholar 

  22. Gaing ZL (2003) Particle swarm optimization to solving the economic dispatch considering the generator constraints, IEEE Trans. Power Systems 18(3):1187–1195

    Article  Google Scholar 

  23. Kennedy J, Eberhart R (1995) Particle swarm optimization in Proc IEEE Int. Conf. Neural Netw 4:1942–1948

    Google Scholar 

  24. Zyandehroodi H, Mohamed A, Shareef H, Mohammadjafari M (2010) Performance comparison of MLP and RBF neural networks for fault location in distribution networks with DGs, Proceeding of IEEE Int Conf Power Energy., pp 342–345

    Google Scholar 

  25. Sereno F, de Sa JP M, Matos A, Bernades J (2000) A comparative study of MLP and RBF neural nets in the estimation of the foetal weight and length. In: Proceeding of RECPAD., pp 1–9

    Google Scholar 

  26. Memarian H, Balasundram SK (2012) Comparison between multi-layer perceptron and radial basis function networks for sediment load estimation in a tropical watershed. Journal of Water Resource and Protection 1:870–876

    Article  Google Scholar 

  27. Karami H, Mousavi MF, Shamsipur M, Riahi S (2006) New dry and wet Zn-polyaniline bipolar batteries and prediction of voltage and capacity by ANN. J Power Sources 154(1):298–307

    Article  Google Scholar 

Download references

Acknowledgements

The authors are grateful for the feedback of two anonymous reviewers and the editors of this journal; their comments helped us a lot in improving the quality of this paper. We would like to thank Dagmar Fiedler, Editorial Manager for the revisions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Thongchart Kerdphol.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

TK developed the optimization modeling part of this research and also trained and tested the proposed model. YQ conceived of study and participated in its design and coordination and helped to draft the manuscript. MW and YM critically reviewed the paper and gave final approval for the paper to be published. All authors read and approved the final manuscript.

Authors’ information

Thongchart Kerdphol is a Ph.D. student sponsored by the Japan Student Services Organization (JASSO honors scholarship) and Kyushu Institute of Technology (KIT) at MITANI laboratory, KIT. His research interests are in the area of the application of artificial intelligence in power systems, power system stability, smart/microgrids, renewable energy, and power system dynamics and controls.

Yaser Qudaih is currently an assistant professor at the Department of Electrical Engineering and Electronics, Kyushu Institute of Technology (KIT), Japan. His area of interest including power system is renewable energy and Smart Grid applications.

Masayuki Watanabe is an associate professor at the Department of Electrical Engineering and Electronics, Kyushu Institute of Technology (KIT), Japan. His research interests are in the areas of analysis and control of power systems

Yasunori Mitani is a professor at the Department of Electrical Engineering and Electronics, Kyushu Institute of Technology (KIT), Japan. His research interests are in the areas of analysis and control of power systems.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Kerdphol, T., Qudaih, Y., Watanabe, M. et al. RBF neural network-based online intelligent management of a battery energy storage system for stand-alone microgrids. Energ Sustain Soc 6, 5 (2016). https://doi.org/10.1186/s13705-016-0071-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13705-016-0071-2

Keywords