Bulletin of Electrical Engineering and Informatics

Dimas Fajar Uman Putra, Aji Akbar Firdaus, Hamzah Arof, Novian Patria Uman Putra, Vicky Andria Kusuma Department of Electrical Engineering, Institut Teknologi Sepuluh Nopember, Surabaya, Indonesia Department of Technology of Instrumentation and Control Engineering, Faculty of Vocational, Universitas Airlangga, Surabaya, Indonesia Department of Electrical Engineering, University of Malaya, Kuala Lumpur, Malaysia Department of Electrical Engineering, Institut Teknologi Adhi Tama Surabaya, Surabaya, Indonesia Department of Electrical Engineering, Institut Teknologi Kalimantan, Balikpapan, Indonesia


INTRODUCTION
The dynamics of a power system is influenced by its components such as generators, transmission networks, loads and control modules [1]- [3].Although the interaction of its components is complex, it must be well understood for a smooth and safe operation [4], [5].The stability of the electric power system is defined as the ability of an electric power system and its components to maintain synchronization and balance [6], [7].
Load frequency control (LFC) is a module that controls the frequency fluctuations caused by changes in the load.It is be done by controlling the integral gain in the governor.The integral controller normally used in an LFC is usually sufficient to maintain a stable operating frequency, but under drastic load changes, it is inadequate [8].This happens when the response of the governor is relatively slow compared to the electrical load changes.Therefore, additional tools such as a proportional integral differential (PID) 2625 controller and a battery energy storage system (BESS) can be introduced to overcome the fluctuating frequency [9].In this paper, we show that by adding a PID controller and a BESS to an LFC, the ability of a power system to control frequency fluctuation is improved [10].
Lately, adding a substantial BESS to a power system is a topic of much discussion.Examples of large-scale deployments of BESS include the Mitsubishi 50 MW/300 MWh system at Buzen, Fukuoka Prefecture, Japan and Tesla 100 MW/129 MWh system at Jamestown, South Australia [11], [12].At present, vistra energy is collaborating with PG and E to construct a bigger BESS with a capacity of 300 MW/1200 MWh in California, USA [13].
A BESS is a flexible but expensive component in an electrical power system [14].Installing a BESS with an optimal size is important to avoid frequency fluctuation and cost overrun [15].BESS can be used as a frequency regulator to help preserve system stability.Furthermore, BESS can act as an energy arbitrage, allowing the aim of reduced generation costs to be met [16].In our work, we use the Bat algorithm (BA) to optimize the PID and BESS parameters to obtain more optimal results.

LOAD FREQUENCY CONTROL MODEL
A multi-area electric power system consists of large and small capacity plants interconnected with each other.All of the machines work synchronously to generate power of the same frequency [17], [18].Frequency oscillation in a multi-area electric power system can cause the generators to go out of sync.For each plant, the LFC functions as a frequency regulator to ensure that the frequency is within the desired range.The LFC also help regulate the exchange of power between areas by setting the output power of the generator.Ultimately, it regulates load sharing when changes in the load are needed, especially for plants operating on low-cost generation.Therefore, LFC is used to regulate frequency as well as load [19]- [21].Figure 1 shows a schematic of a LFC of a synchronous generator.The overall linear model of the LFC electric power system in two areas can be seen in Figure 2. In each area of the system block diagram such as depicted in Figure 2, is represented by a turbine and governor system with effective speed drop (R), equivalent moment of inertia (H), and load constant damping (D).Synchronous torque coefficient (T) represents the tie line.∆P12 is positive because there is an increase in consumption of power from area 1 to area 2. Then a negative sign on feedback ∆P12 for area 1 and a positive sign for area 2.

Proportional integral differential controller
PID works by taking an error signal that is processed by summing up the parameters of the PID setting, namely the proportional, integral and differential controllers.In determining these parameters, the function of a plant (system) must be reviewed to arrive at the desired order response performance specifications, then we can specify the value of these parameters.Heuristically, these parameters can be interpreted in terms of time, where P is the current error (in the simulation denoted by Kp), I is the accumulation of past errors (τi), and D is the prediction of future errors taking into account of the error rate when this (τd) [22].
The PID controller application is done by adding in each area on the system.The action of PID control is to set the area control error (ACE) signal so that changes in frequency of each area (Δf) and power between areas (Ptie) return to value 0. The control signal from the PID is entered to the value of load reference in the governor unit (set point load governor).The block diagram for the power system of two-area electric with the PID controller can be seen in Figure 3.

Battery energy storage system
One alternative to increase the reliability of electrical energy supply during the peak load period is the facilities use of energy storage, and currently the best energy storage system is BESS [23].BESS can be used in various aspects of the power system.The advantages of BESS include increasing the system frequency especially when BESS is used for system frequency control.However, installing a BESS with a size that is too large or incorrect can cause frequency problems to the system and increase costs.For this reason, the BESS optimal size is an important factor for the system [15].Because the BESS can provide fast active power compensation, it can also be used to improve LFC performance.The LFC problem is basically a sudden disruption of small loads that disrupt the normal operation of the power system.However, the BESS can provide fast energy storage measures to help LFC to suppress system oscillations after a load disturbance [9].In Figure 4, it can be seen that the basis of the equivalent configuration of BESS contains a battery with Where α is the ignition angle controlled using a thyristor.By setting the α value, it can play the converter settings so that it only produces active power.The BESS equivalent circuit can be represented as converter connected to a battery with the same value of cosine, as shown in (2).Then, the equivalent circuit of the BESS is as shown in Figure 5.Only the addition of active power is calculated in the LFC.Therefore, the α value is obtained as (3): Then the battery capacitance equation is obtained as (5): If the battery current is deviated, it will also experience a change in value, then (5) will become (6): The battery capacitance current equation can be written as (7): Likewise, if there is a current deviation, then (7) will become (8): Combining ( 6) and ( 8) results in (9): The Laplace transformation of ( 9) is as in (10): Where Eb1 is the number of capacitance voltages that have undergone deviation, and a new constant is determined, i.e.
Then ( 10) can be written as (12): In the same way, the equation for voltage capacitance Eboc is as (13): With The equation of active and reactive power absorbed by BESS are as ( 15) and ( 16) respectively [11]: Then ( 15) and ( 16) when substituted with (2) become ( 17) and ( 18) respectively: Then the power deviation equation BESS is obtained as per (19): The use of the BESS in LFC is to reach a damping signal (∆Ed).By giving feedback in the form ∆f to give a damping effect, the ∆Ed value is obtained as (20) [17]: The LFC system with the PID controller is then added with a BESS.The output response of the system with the addition of both the PID controller and BESS is expected to be better than the two systems working individually.The PID controller is installed in each area, while the BESS is still only installed in area 1 where there will be a change in the load.Based on (1) to (20), a block diagram is obtained as shown in Figure 6.The initial settings of both (PID controller and BESS) were taken from previous studies [8], [9] as seen in Figure 7. Furthermore, Table 1 shows the PID controller and BESS parameters used in this paper.This study used four parameters Kp, Ki, Kd and Kbes.2.3.Proportional integral differential controller and battery energy storage system tuning using BA In the search for optimal values using the BA, the parameters to be optimized are determined first.In this paper, there are four parameters that will be optimized, namely, Kbess, Kp, Ki, and Kd.Their values are assumed to be dimensions in the BA.The BA will optimize these dimensions up to the specified iteration [24].The best combination is the combination that produces a system with the smallest oscillation overshoot and the fastest settling time [25].The combination of the values of Kbess, Kp, Ki, and Kd will attain the best combination.In BA, the objective function is an evaluation function of each population.The objective function used in this work is CDI.If the sum produces the smallest value, then the response is considered the best with the fastest settling time and the smallest overshoot.The CDI equation is as (21): The smaller the CDI value means the damping (ξ) value is getting bigger, and this in turn means that the system has a higher attenuation to oscillation.Where oscillation attenuation is getting higher, this shows that the Eigen value of the system has a very small imaginary value.Calculation of the Eigen value and damping value of the system is done automatically using the Matlab program.The full BA parameters used in this optimization method are shown in Table 2.The PID controller and BESS parameter optimization simulation results using BA [26] on the two-area system are shown in Table 3, and the convergence graph obtained is shown in Figure 8. From the convergence graph, the simulation is done within 50 iterations and the objective function reaches the best value at the 5 th iteration.The best objective function shows that the BA has found the best location (the best solution).The best location shows that the PID controller and BESS parameters coordination is optimal.

RESULTS AND DISCUSSION
The results of the simulations for the uncontrolled LFC system, LFC system with PID, LFC system with BESS, the system of LFC with PID+BESS, and LFC system with PID+BESS tuned using BA are compared.The response that was observed was in the form of Δf and Ptie each area when there was a change load in area 1.The results of the response shows that the use of the PID controller and BESS optimization method using the BA improves the overshoot and settling time of the system.
Simulation is conducted by testing the system frequency response when given a disturbance in the form of changes in load of 0.02 per unit (pu) and 0.05 pu.The BESS capacity installed is 0.04 pu.In this simulation, the result of the system output response is said to return to the steady state condition if the frequency deviation is 2-5% of the overshoot peak.When the system is given a step input noise of 0.02 pu, the system will respond as shown in Figures 9(a)-(c).A comparison of the overshoot values for each scenario is presented in Table 4.When the system is given a disturbance of 0.05 pu input, the system will respond as per Figures 10(a)-(c).With a step input disturbance of 0.05 pu, which is a disturbance with ∆P12 greater than the BESS capacity, the system with BESS can still provide a smaller overshoot value.The comparison of overshoot values for each scenario is presented in Table 5.The PID controller and BESS optimized with BA produces the best overshoot and settling time.This result proves that BA is able to produce optimal parameter values for the PID controller and BESS.

CONCLUSION
In this paper, PID and BESS are added to an LFC of a power system to improve its frequency stability.The parameters of the PID and BESS are optimized using a BA algorithm.The frequency performance analysis is done by introducing disturbance in the form of changes in load power.The simulation results show that the frequency deviation of the system with the PID controller and BESS, has a smaller overshoot value and faster settling time.The system performs better than those with only the PID controller or the BESS.In conclusion, the BA algorithm can be used to find optimal parameter values of the PID controller and BESS for a synchronized coordination of an LFC.

Figure 3 .
Figure 3. LFC system in two areas with PID controller

Figure 10 .
Figure 10.System response to load changes of 0.05 pu (a) area 1, (b) area 2, and (c) tie line (1)ial battery cells, a 12-pulse converter connected to transformer of Y/∆-Y, and a controller scheme.The output voltage equation of the battery can be written as(1):  =   −     = Improved load frequency control performance by tuning parameters of PID … (Dimas Fajar Uman Putra) 2627 several parallel/

Table 1 .
PID and BESS parameters in both areas

Table 2 .
Data of BA's parameters

Table 3 .
Results of PID controller and BESS parameter optimization using BA in two areas Improved load frequency control performance by tuning parameters of PID … (Dimas Fajar Uman Putra) 2631

Table 5 .
Comparison of overshoot values in each scenario LFC LFC with PID LFC with BESS LFC with PID+BESS LFC with PID+BESS using BA