Decentralised Active Power Control Strategy for Real-Time Power Balance in an Isolated Microgrid with an Energy Storage System and Diesel Generators

Remote microgrids with battery energy storage systems (BESSs), diesel generators, and renewable energy sources (RESs) have recently received significant attention because of their improved power quality and remarkable capability of continuous power supply to loads. In this paper, a new proportional control method is proposed using frequency-bus-signaling to achieve real-time power balance continuously under an abnormal condition of short-term power shortage in a remote microgrid. Specifically, in the proposed method, the frequency generated by the grid-forming BESS is used as a global signal and, based on the signal, a diesel generator is then controlled indirectly. The frequency is controlled to be proportional to the AC voltage deviation of the grid-forming BESS to detect sudden power shortages and share active power with other generators. Unlike a conventional constant-voltage constant-frequency (CVCF) control method, the proposed method can be widely applied to optimise the use of distributed energy resources (DERs), while maintaining microgrid voltages within an allowable range, particularly when active power balance cannot be achieved only using CVCF control. For case studies, a comprehensive model of an isolated microgrid is developed using real data. Simulation results are obtained using MATLAB/Simulink to verify the effectiveness of the proposed method in improving primary active power control in the microgrid.


Introduction
The penetration of renewable energy sources (RESs) such as photovoltaics (PVs) and wind turbines (WTs) is steadily increasing due to enhanced price competitiveness and the requirement of sustainable energy mixes.However, intermittent power outputs of RESs are detrimental to frequency and voltage stabilities, particularly in a small power system: e.g., a microgrid possessing a low moment of inertia [1,2].A microgrid is an integrated platform that consists of power generation units, energy storage systems (ESSs), and demand response (DR) resources, whose operations are managed in a localised manner.The platform can be equipped with various functions for local power and energy management [3] under both grid-connected and islanded operating modes.In islanded mode, power demand and supply should be always balanced by itself using such distributed energy resources (DERs) in the system.
Electric utilities have technical difficulties in connecting remote microgrids on small oceanic islands to a bulk power grid on the mainland.It is also cost-ineffective and, therefore, electric Energies 2019, 12, 511 2 of 22 power supply in these remote microgrids relies primarily on diesel generators located in the area.Power outputs from diesel generators can be adjusted in real time to achieve power balance and hence maintain frequency and voltage stabilities [4].However, heavy reliance on conventional diesel generators can lead to the following problems:

•
Degradation of power quality and reliability due to the low inertia moment and constant-speed control scheme of diesel engines [2,5].

•
High generation cost and volatility due to fuel import and transportation [6,7].
The development of ESS technologies has enabled RESs to become an attractive option for supplying electricity in such remote microgrids [4,6].This is mainly because inverter-interfaced ESSs can alleviate the effects of intermittency of RESs on the operating stability of an isolated microgrid [10], given large penetration of RESs.Specifically, a battery energy storage system (BESS) can operate as a grid-forming unit that primarily regulates microgrid voltage and frequency [11][12][13].A microgrid operator can access the BESS inverter and control the charging or discharging power of the battery within a short period of time [13], while maintaining state of charge (SOC) within an acceptable range for device protection and continuous use for other microgrid operating schemes (e.g., economic dispatch) [11][12][13][14][15].Other DERs can be considered as grid-feeding units that follow the reference signals of active and reactive power.
In previous studies , grid-forming BESSs were widely used for the operation of isolated microgrids.In [16], a constant-voltage constant-frequency (CVCF) control scheme was adopted for BESSs to maintain frequency and voltages at their rated levels and consequently achieve real-time power balance in an isolated microgrid.In [17][18][19][20][21][22][23][24][25][26], the control scheme was practically applied to isolated microgrids in remote islands (including several islands in South Korea) mainly due to simple implementation and low fluctuations in grid frequency and voltages.However, the scheme requires large capacities of battery and inverters to achieve the real-time power balance under the condition on large variations in load demand and RES power outputs.To mitigate the operational burden of the BESS, centralised control methods were discussed in [15,[27][28][29][30] for secondary active power regulation using real-time communications systems.Although such centralised methods are effective in optimal and robust operation of microgrids, they are vulnerable to a single point of failure (i.e., a part of a system that prevents the normal operation of the entire system if it fails).This degrades the reliability of isolated microgrids [31,32].
This challenge was considered in [33][34][35][36][37]; decentralised and autonomous control schemes were adopted as alternative options in which device-level controllers of individual units operate using local measurements of microgrid frequency.Unlike the centralised control schemes, the decentralised schemes allow the microgrid to operate continuously with the plug-and-play feature [31] (even under the condition of the single-point failure) and hence improve the operational reliability of the microgrid.In the decentralised schemes, droop controllers were commonly used to achieve power sharing among DERs.For example, power-and-frequency droop controllers were discussed to coordinate RESs and ESSs in [33,34] or adjust terminal voltage of the battery bank in [14].In [34], the decentralised active power management scheme of multiple BESSs and distributed generators (DGs) was developed using multi-segment power-frequency characteristic curves.However, droop control has an inherent limitation that causes continuous fluctuations in microgrid frequency during the process of real-time power balancing [35].Therefore, in [25,[36][37][38], bus-signaling methods (rather than droop control methods) were exploited to induce the mode-change of DERs using the frequency and voltage control signals of BESSs while maintaining the SOC levels within allowable ranges.In [37], both droop control and bus-signaling methods were integrated with the CVCF controller mainly to maintain the SOC value of the BESS at a pre-determined level.However, these methods mainly focused on the battery energy management rather than the real-time power management in the microgrid.Based on these observations, this paper proposes a new decentralised scheme integrated with frequency-bus-signaling and droop control based on a single-master and multiple-slaves configuration mainly to improve power sharing and real-time power balancing under the condition where serious disturbances occur in an isolated microgrid.In coordination with the CVCF controller, the proposed scheme enables the BESS to control the microgrid frequency in response to the change in AC voltages, given that unexpected voltage changes at the grid-forming converter bus indicate the instantaneous active power imbalance in the microgrid [39].The proposed decentralised scheme enables autonomous power management in the microgrid via the coordination of the BESS with other DERs (particularly for the condition of lack of power generation), minimising the frequency and voltage deviations.Simulation case studies are performed using detailed models of an isolated microgrid in South Korea implemented with real parameters.Case study results demonstrate the effectiveness of the proposed control scheme in [40] mainly from the aspects of the following key advantages:

•
Given extreme disturbances (such as a trip of the DGs), real-time power balance in an isolated microgrid is achieved without using communication systems.

•
It has a simple structure and hence can be easily implemented in the outer control loop of the grid-forming BESS while ensuring the normal operations of inner control loops and, consequently, the device-level stability.

•
Only the CVCF control is activated under normal operating conditions, minimising the fluctuation of microgrid frequency and active power of other DGs.
It needs to be noted that this paper is an extended version of our previous paper [40], including further improvements over [40] that can be summarized as follows:

•
Performing additional literature review and further clarification between the proposed control scheme and conventional methods discussed in .

•
Supplementing detailed explanations on the proposed control method and its simulation results, as well as the test bed with respect to load models and diesel generators • Performing simulation case studies with consideration of practical microgrid components such as dead-bands and maximum/minimum limiters.

Geocha Island Microgrid
Figure 1 shows Geocha Island, located on the southwestern coast of South Korea.It consists of the West-and East-Geocha Islands which are 3.23 km 2 and 2.29 km 2 in area, respectively.Based on these observations, this paper proposes a new decentralised scheme integrated with frequency-bus-signaling and droop control based on a single-master and multiple-slaves configuration mainly to improve power sharing and real-time power balancing under the condition where serious disturbances occur in an isolated microgrid.In coordination with the CVCF controller, the proposed scheme enables the BESS to control the microgrid frequency in response to the change in AC voltages, given that unexpected voltage changes at the grid-forming converter bus indicate the instantaneous active power imbalance in the microgrid [39].The proposed decentralised scheme enables autonomous power management in the microgrid via the coordination of the BESS with other DERs (particularly for the condition of lack of power generation), minimising the frequency and voltage deviations.Simulation case studies are performed using detailed models of an isolated microgrid in South Korea implemented with real parameters.Case study results demonstrate the effectiveness of the proposed control scheme in [40] mainly from the aspects of the following key advantages:

•
Given extreme disturbances (such as a trip of the DGs), real-time power balance in an isolated microgrid is achieved without using communication systems.

•
It has a simple structure and hence can be easily implemented in the outer control loop of the grid-forming BESS while ensuring the normal operations of inner control loops and, consequently, the device-level stability.

•
Only the CVCF control is activated under normal operating conditions, minimising the fluctuation of microgrid frequency and active power of other DGs.
It needs to be noted that this paper is an extended version of our previous paper [40], including further improvements over [40] that can be summarized as follows:

•
Performing additional literature review and further clarification between the proposed control scheme and conventional methods discussed in .

•
Supplementing detailed explanations on the proposed control method and its simulation results, as well as the test bed with respect to load models and diesel generators • Performing simulation case studies with consideration of practical microgrid components such as dead-bands and maximum/minimum limiters.

Geocha Island Microgrid
Figure 1 shows Geocha Island, located on the southwestern coast of South Korea.It consists of the West-and East-Geocha Islands which are 3.23 km 2 and 2.29 km 2 in area, respectively.In 2017, a remote, isolated microgrid was established by the Korea Electric Power Corporation (KEPCO), mainly because of the difficulty in laying electrical power lines between the island and the Korean mainland.As shown in Figure 1, the main electrical facilities and power lines have no connection to the main grid.The west and east islands are connected via a 6.9-kV distribution line, which is characterised by a floating delta connection [26].
Figure 2 shows a schematic diagram of the microgrid configuration.The upper and lower parts represent the distribution lines in the west and east islands, respectively.The microgrid includes a 250-kW, 500-kWh BESS, a 100-kW PV, a 100-kW WT, and three 150-kW diesel generators.In the isolated microgrid, an energy management system (EMS) has been implemented to monitor the real-time operation of the DERs.Specifically, the PV and WT operate using maximum-power point tracking (MPPT) algorithms to maximise their power outputs for variations in solar insolation and wind speed, respectively [43,44].In addition to the PV and WT, the diesel generators supply power as a grid-feeding unit to meet the load demand and maintain the SOC levels of the BESS within an acceptable range.The BESS operates as a grid-forming unit in charge of providing the primary reserve to the microgrid.While acting as a grid-forming unit, the BESS regulates the voltage and frequency of the isolated microgrid at the rated values using a CVCF control scheme to maintain the active and reactive power balance in a primary control level.In 2017, a remote, isolated microgrid was established by the Korea Electric Power Corporation (KEPCO), mainly because of the difficulty in laying electrical power lines between the island and the Korean mainland.As shown in Figure 1, the main electrical facilities and power lines have no connection to the main grid.The west and east islands are connected via a 6.9-kV distribution line, which is characterised by a floating delta connection [26].
Figure 2 shows a schematic diagram of the microgrid configuration.The upper and lower parts represent the distribution lines in the west and east islands, respectively.The microgrid includes a 250-kW, 500-kWh BESS, a 100-kW PV, a 100-kW WT, and three 150-kW diesel generators.In the isolated microgrid, an energy management system (EMS) has been implemented to monitor the realtime operation of the DERs.Specifically, the PV and WT operate using maximum-power point tracking (MPPT) algorithms to maximise their power outputs for variations in solar insolation and wind speed, respectively [43,44].In addition to the PV and WT, the diesel generators supply power as a grid-feeding unit to meet the load demand and maintain the SOC levels of the BESS within an acceptable range.The BESS operates as a grid-forming unit in charge of providing the primary reserve to the microgrid.While acting as a grid-forming unit, the BESS regulates the voltage and frequency of the isolated microgrid at the rated values using a CVCF control scheme to maintain the active and reactive power balance in a primary control level.

Grid-forming BESS
A grid-forming BESS regulates the AC bus voltage and frequency by balancing power supply and demand in an isolated microgrid.The BESS consists of a battery pack, an LC filter, an inverter, and a transformer (see Figure 3).It operates as an AC voltage source and determines the levels of microgrid frequency and voltage by using conventional nested voltage and current control loops that operate on the dq reference frame.The BESS detects the instantaneous power imbalance by measuring the capacitor voltage Vc and recovers it to the reference value with the internal voltage and current controller.In the conventional CVCF control scheme, the dq voltage and frequency references are set to their rated values: i.e., Vd* = 1 pu, Vq* = 0, and f* = 1 pu.The active and reactive power outputs of the BESS are indirectly controlled to maintain the bus voltage to the rated value.In this study, the frequency reference is calculated to share active power with other DERs by the proposed voltagefrequency proportional controller (VFPC), based on the level of voltage deviation, as explained in Section 3 in detail.

Grid-Forming BESS
A grid-forming BESS regulates the AC bus voltage and frequency by balancing power supply and demand in an isolated microgrid.The BESS consists of a battery pack, an LC filter, an inverter, and a transformer (see Figure 3).It operates as an AC voltage source and determines the levels of microgrid frequency and voltage by using conventional nested voltage and current control loops that operate on the dq reference frame.The BESS detects the instantaneous power imbalance by measuring the capacitor voltage V c and recovers it to the reference value with the internal voltage and current controller.In the conventional CVCF control scheme, the dq voltage and frequency references are set to their rated values: i.e., V d * = 1 pu, V q * = 0, and f* = 1 pu.The active and reactive power outputs of the BESS are indirectly controlled to maintain the bus voltage to the rated value.In this study, the frequency reference is calculated to share active power with other DERs by the proposed voltage-frequency proportional controller (VFPC), based on the level of voltage deviation, as explained in Section 3 in detail.

Diesel Generator
Droop control is widely applied to improve the grid operational performance, stability, and reliability.It is based only on local measurements and allows generators in the system to operate autonomously.A droop control scheme is adopted such that the diesel generators can share active power with the BESS for real-time power balance.The droop control of active power can be expressed as:

(
), where fref is the reference frequency of a generator and fset and Pset are the presets of microgrid frequency and active power determined by the microgrid operator, respectively.Pm is a measured value of active output power of a generator and Kp is a droop coefficient that can be determined considering the operating frequency range in a microgrid as: where fmax and fmin are the maximum and minimum values of the grid frequency, respectively.Moreover, Pnom is the nominal active power of a generator and a is a constant for determining the droop coefficient.
Figure 4 shows a schematic diagram of the active power controller of the diesel generator.It includes an active power droop controller and a PI controller for time-delay dynamic models of a valve actuator, a diesel engine, and a synchronous machine.Note that the synchronous machine was modelled using the SI fundamental block in the MATLAB/Simulink.The parameters related to the controller are determined using those provided in [23].The droop controller generates ωref_di and the PI controller is used to track the reference signal by comparing ωref_di and ωm_di.Note that ωm_di is the measured angular frequency of a diesel generator.
Similarly, the droop controller is widely used for reactive power control and consequently AC voltage control, as shown in Figure 5.It consists mainly of a reactive power droop controller, a PI controller, and a transfer function model of an exciter.The reactive power control can be represented using the reactive droop coefficient Kq as:

Diesel Generator
Droop control is widely applied to improve the grid operational performance, stability, and reliability.It is based only on local measurements and allows generators in the system to operate autonomously.A droop control scheme is adopted such that the diesel generators can share active power with the BESS for real-time power balance.The droop control of active power can be expressed as: where f ref is the reference frequency of a generator and f set and P set are the presets of microgrid frequency and active power determined by the microgrid operator, respectively.P m is a measured value of active output power of a generator and K p is a droop coefficient that can be determined considering the operating frequency range in a microgrid as: where f max and f min are the maximum and minimum values of the grid frequency, respectively.Moreover, P nom is the nominal active power of a generator and a is a constant for determining the droop coefficient.
Figure 4 shows a schematic diagram of the active power controller of the diesel generator.It includes an active power droop controller and a PI controller for time-delay dynamic models of a valve actuator, a diesel engine, and a synchronous machine.Note that the synchronous machine was modelled using the SI fundamental block in the MATLAB/Simulink.The parameters related to the controller are determined using those provided in [23].The droop controller generates ω ref_di and the PI controller is used to track the reference signal by comparing ω ref_di and ω m_di .Note that ω m_di is the measured angular frequency of a diesel generator.
Similarly, the droop controller is widely used for reactive power control and consequently AC voltage control, as shown in Figure 5.It consists mainly of a reactive power droop controller, a PI controller, and a transfer function model of an exciter.The reactive power control can be represented using the reactive droop coefficient K q as: Energies 2019, 12, 511 In Equation ( 3), V ref is the reference value of the bus voltage of a diesel generator.The values of V set and Q set correspond to the preset values of bus voltage and reactive power, respectively.In addition, Q m and Q nom are the measured and nominal reactive powers of a generator.Moreover, V max and V min denote the maximum and minimum voltages of the system and b is a constant for determining the reactive power droop coefficient.( ) In Equation ( 3), Vref is the reference value of the bus voltage of a diesel generator.The values of Vset and Qset correspond to the preset values of bus voltage and reactive power, respectively.In addition, Qm and Qnom are the measured and nominal reactive powers of a generator.Moreover, Vmax and Vmin denote the maximum and minimum voltages of the system and b is a constant for determining the reactive power droop coefficient.

Basic Load Model
Load demand can be represented in terms of bus voltages [41] as: where P0 and Q0 are active and reactive power demands at the rated operating voltage V0.In addition,  ( ) In Equation ( 3), Vref is the reference value of the bus voltage of a diesel generator.The values of Vset and Qset correspond to the preset values of bus voltage and reactive power, respectively.In addition, Qm and Qnom are the measured and nominal reactive powers of a generator.Moreover, Vmax and Vmin denote the maximum and minimum voltages of the system and b is a constant for determining the reactive power droop coefficient.

Basic Load Model
Load demand can be represented in terms of bus voltages [41] as: where P0 and Q0 are active and reactive power demands at the rated operating voltage V0.In addition, P and Q are active and reactive power demands for actual bus voltage V. Furthermore, np and nq are

Basic Load Model
Load demand can be represented in terms of bus voltages [41] as: where P 0 and Q 0 are active and reactive power demands at the rated operating voltage V 0 .In addition, P and Q are active and reactive power demands for actual bus voltage V. Furthermore, n p and n q are the exponents that vary depending on the inherent characteristics of the load devices.These exponents essentially represent the sensitivities of the load demands with respect to the bus voltage V: i.e., ∂P/∂V and ∂Q/∂V at V = V 0 .Equations ( 1) and ( 2) can then be represented equivalently using a ZIP model [41] that has been commonly adopted in power system analysis as: where Z p , I p , and P p are the constant impedance, constant current, and constant power coefficients of active power demand, respectively.Similarly, Z q , I q , and Q q are the ZIP coefficients of reactive power demand.The sum of the three coefficients must be equal to one, as shown in Equations ( 8) and (10), to meet the rated operating condition.Note that in this paper, we focus on the active power management in an isolated microgrid.In [42], the average value of n p was known to be between 1.1 and 1.7.In isolated microgrids, n p is expected to be larger due to the high proportion of resistive loads such as heating and lighting [42].Therefore, n p has been set to 2. This assumed that the isolated microgrid only includes constant impedance loads (i.e., Z p = 1, I p = 0, and P p = 0).

Active Power Balance Equation in an Isolated Microgrid with CVCF Control
Under the normal operating condition where the grid-forming BESS has sufficient power reserve to cover the active power change of a system, the active power balance can be satisfied as: where ∆P BESS and ∆P DG are the variations in the active power outputs of the grid-forming BESS and the DGs, respectively.∆P Load is the variation in the rated load demand and ∆P Loss is the variation in active power losses in the microgrid.In contrast, the active power output of the BESS reaches its limit when the BESS does not have a sufficient power reserve.This limit can be estimated as: where ∆P BESS_max is the maximum variation in the active power output of the BESS.In Equation ( 12), I d_max and I d_set are the maximum and preset values, respectively, of d-axis current.In this situation, the BESS cannot recover the voltage completely and, consequently, the load shedding is initiated by the bus voltage reduction to achieve the active power balance in the microgrid, as shown in Equations ( 13) and ( 14): In Equation ( 14), ∆P Load_VR is a decrease in the total load demand at under-voltage buses.A shown in Equation ( 14), the value of n pi significantly affects the value of V i at which the power balance in Equation ( 13) is satisfied.The smaller n pi , the smaller V i that is required to induce the enough reduction of the load demand, causing the degradation of voltage stability and even voltage collapse.This implies that for the microgrid with less voltage-dependent loads, the proposed VFPC becomes more effective in alleviating the power shortage and consequently mitigate the voltage reduction.Moreover, with less voltage-dependent loads, the proposed VFPC is capable of adjusting the frequency more successfully by inducing active participations of other diesel generators in the real-time frequency regulation via their P-f droop controllers.

Proposed Control Method
The IEEE standard recommends that the bus voltages should be regulated within 88-110% of the rated value for the normal operating condition [45].The CVCF controller, discussed in Section 2, is effective in maintaining the voltages within the acceptable range particularly when the grid-forming BESS operates with sufficient primary reserve.Otherwise, a cooperative control scheme of the CVCF controller of the BESS and the local controllers of other DGs needs to be implemented to exploit the additional primary reserve capacities of the DGs for the reliable operation of the isolated microgrid.The proposed cooperative control scheme aims at the active power sharing in an isolated microgrid when active power balance cannot be achieved solely by the CVCF controller of the grid-forming BESS. Figure 6 shows the flow chart of the proposed method for the decentralised active power control.In the proposed method, the BESS operating with the CVCF controller detects insufficient active power supply in the microgrid by measuring the input voltage of the AC bus where the BESS is connected.It then controls the frequency proportional to the bus voltage deviation from the nominal voltage.Further details on each module in Figure 6 will be discussed in Sections 3.1 and 3.2.

Proposed Control Method
The IEEE standard recommends that the bus voltages should be regulated within 88%-110% of the rated value for the normal operating condition [45].The CVCF controller, discussed in Section 2, is effective in maintaining the voltages within the acceptable range particularly when the gridforming BESS operates with sufficient primary reserve.Otherwise, a cooperative control scheme of the CVCF controller of the BESS and the local controllers of other DGs needs to be implemented to exploit the additional primary reserve capacities of the DGs for the reliable operation of the isolated microgrid.The proposed cooperative control scheme aims at the active power sharing in an isolated microgrid when active power balance cannot be achieved solely by the CVCF controller of the gridforming BESS. Figure 6 shows the flow chart of the proposed method for the decentralised active power control.In the proposed method, the BESS operating with the CVCF controller detects insufficient active power supply in the microgrid by measuring the input voltage of the AC bus where the BESS is connected.It then controls the frequency proportional to the bus voltage deviation from the nominal voltage.Further details on each module in Figure 6 will be discussed in Sections 3.1 and 3.2.

2
The supply and/or demand of the active power is changed The system voltage is changed instaneously The BESS changes its P to maintain Vnom and fnom In this paper, we focus on the coordinated, autonomous control scheme of the grid-forming BESS and the diesel generators via frequency-bus-signaling and droop control based on the single-master and multiple-slaves configuration.Note that for simplicity, the PV system and WT operate as independent current sources equipped with MPPT controllers without reactive power control.The proposed scheme also can be applied to a general microgrid including multiple BESS and diesel generators.In such microgrid, one BESS operates as a single-master unit that performs grid-forming control.The remaining BESSs and diesel generators operate as slave units using P-f droop control for power sharing.The operational burden on the master BESS will increase, causing the lack of active power reserve and hence frequent power shortages.This issue can be resolved using a multi-master droop control scheme (e.g., [13]).However, the scheme would cause continuous frequency deviations under the normal operating condition.Therefore, the microgrid operator needs to choose an appropriate configuration: i.e., the single-master and multiple-slaves or the multiple-masters and multiple-slaves.We leave the coordinated control of grid-forming master units in future work, while focusing on the development, analysis, and verification of the proposed control strategy based on the single-master-and-multiple-slaves configuration.In this paper, we focus on the coordinated, autonomous control scheme of the grid-forming BESS and the diesel generators via frequency-bus-signaling and droop control based on the single-master and multiple-slaves configuration.Note that for simplicity, the PV system and WT operate as independent current sources equipped with MPPT controllers without reactive power control.The proposed scheme also can be applied to a general microgrid including multiple BESS and diesel generators.In such microgrid, one BESS operates as a single-master unit that performs grid-forming control.The remaining BESSs and diesel generators operate as slave units using P-f droop control for power sharing.The operational burden on the master BESS will increase, causing the lack of active power reserve and hence frequent power shortages.This issue can be resolved using a multi-master droop control scheme (e.g., [13]).However, the scheme would cause continuous frequency deviations under the normal operating condition.Therefore, the microgrid operator needs to choose an appropriate configuration: i.e., the single-master and multiple-slaves or the multiple-masters and multiple-slaves.We leave the coordinated control of grid-forming master units in future work, while focusing on the development, analysis, and verification of the proposed control strategy based on the single-master-and-multiple-slaves configuration.

Frequency Control of BESS with VFPC
In this paper, a VFPC has been proposed to control the reference frequency of the grid-forming BESS, so that the primary active power reserve with the diesel generators is effectively exploited and shared in the microgrid under a power shortage condition.Specifically, in Figure 7, f nom is the nominal frequency and f ref is the reference frequency of the grid-forming BESS.The reference frequency is determined as: where ∆V c is the variation in the AC voltage estimated by subtracting the actual AC voltage from the reference voltage of the BESS.The coefficient K v denotes the proportional gain of the VFPC, which can be expressed as: where c is a constant to determine the V-f droop coefficient.

Frequency Control of BESS with VFPC
In this paper, a VFPC has been proposed to control the reference frequency of the grid-forming BESS, so that the primary active power reserve with the diesel generators is effectively exploited and shared in the microgrid under a power shortage condition.Specifically, in Figure 7, fnom is the nominal frequency and fref is the reference frequency of the grid-forming BESS.The reference frequency is determined as: where ΔVc is the variation in the AC voltage estimated by subtracting the actual AC voltage from the reference voltage of the BESS.The coefficient Kv denotes the proportional gain of the VFPC, which can be expressed as: where c is a constant to determine the V-f droop coefficient.In Figure 7, the limiter consists of dead-band, rate-limiter, and saturation blocks to operate only when the primary reserve of the grid-forming BESS is smaller than the magnitude of the load demand variation.The VFPC enables the BESS inverter to determine the system frequency for a decrease in the AC voltage, as shown in Equations ( 13) and ( 14), which is measured at the input port of the inverter.The diesel generators then measure the reduced system frequency and increase their active power outputs by conventional P-f droop controllers.Since the frequency is the same throughout the microgrid, the proposed frequency-bus-signaling method, discussed in Section 3.2, can achieve active power sharing in an autonomous manner.In Figure 7, the limiter consists of dead-band, rate-limiter, and saturation blocks to operate only when the primary reserve of the grid-forming BESS is smaller than the magnitude of the load demand variation.The VFPC enables the BESS inverter to determine the system frequency for a decrease in the AC voltage, as shown in Equations ( 13) and ( 14), which is measured at the input port of the inverter.The diesel generators then measure the reduced system frequency and increase their active power outputs by conventional P-f droop controllers.Since the frequency is the same throughout the microgrid, the proposed frequency-bus-signaling method, discussed in Section 3.2, can achieve active power sharing in an autonomous manner.

Proposed Autonomous Active Power Management
The proposed VFPC of the grid-forming BESS is activated only if the active power balance cannot be achieved because of lack of the primary reserve of the BESS.Specifically, the capacitor voltage V c is not fully recovered to V nom when the BESS has insufficient the active power reserve and hence cannot compensate for all power imbalance in the microgrid.The BESS controls the frequency (i.e., f set to f ref ) proportional to ∆V c , as shown in Figure 8(Left), and then controls the diesel generators with active power droop curves (i.e., P set to P ref ), as illustrated in Figure 8(Right).Considering the VFPC operation, a new power balance equation is represented as follows: where ∆P Load_FR is a variation in the load demand for the change in the microgrid frequency and ∆P DG_Droop is the variation in the active power generation by droop control.In large-scale power systems, the load demand variation with respect to the frequency deviation can be characterized using the sensitivity coefficient K pf in Equation ( 18), which varies for the range from 0 to 3.0 [41].However, in this paper, the load demand is assumed to remain unchanged for the frequency deviation for simplicity.
This assumption is also valid because the reference frequency of the BESS is controlled to vary within a very small range, resulting in a slight variation in the microgrid frequency.For the VFPC, Equation (19) can then be derived from Equations ( 1) and (15).Equation ( 17) also can be expressed as: The integration of the VFPC with the CVCF controller of the grid-forming BESS enables additional primary reserve from the diesel generators to be exploited for real-time power balance in the microgrid via their active power droop control loops.In this way, autonomous active power management can be achieved for mitigating the active power shortage and the under-voltage, which often occur owing to the insufficient primary reserve of the BESS.
The proposed active power management strategy allows the grid-forming BESS to operate with the CVCF control under the normal condition where the BESS has sufficient primary reserve, so that the BESS can efficiently take charge of the primary reserve supply using its fast and accurate response characteristics.On the other hand, the frequency-bus-signaling method using the proposed VFPC is adopted for active power sharing with the diesel generators only under the abnormal condition where the BESS has the limited primary reserve.Consequently, the power sharing issue in the conventional CVCF control can be effectively resolved in the proposed strategy, minimising the microgrid frequency variations and the active power fluctuations of other droop-based DGs.The sequential operations of the VFPC can be summarised as follows: 1.
The situation in which the remaining primary reserve of the BESS (∆P BESS_max ) is not enough to cover the active power balance occurs due to a rapid increase in the net demand (e.g., sudden disconnection of a DG).

2.
The overall bus voltage in the microgrid is reduced, inducing load reduction (∆P load_VR ).This leads to the reduction of variations in the maximum power output of the BESS (see Equations ( 12) and ( 13)).

3.
The BESS recognises the power shortage based on ∆V c and reduces f ref (see Equation ( 15)) by the VFPC.The diesel generator increases its active power with the P-f droop controller (see Equation ( 1)).

4.
The participation of diesel generator, acting as a slave unit, enables the power shortage to be compensated for and consequently the microgrid voltages and load demand to be recovered.The reserve of the BESS is also procured and the microgrid starts operating with new levels of V and f (see Equation ( 20)).

Frequency Control of BESS with VFPC
In this paper, a VFPC has been proposed to control the reference frequency of the grid-forming BESS, so that the primary active power reserve with the diesel generators is effectively exploited and shared in the microgrid under a power shortage condition.Specifically, in Figure 7, fnom is the nominal frequency and fref is the reference frequency of the grid-forming BESS.The reference frequency is determined as: where ΔVc is the variation in the AC voltage estimated by subtracting the actual AC voltage from the reference voltage of the BESS.The coefficient Kv denotes the proportional gain of the VFPC, which can be expressed as: where c is a constant to determine the V-f droop coefficient.In Figure 7, the limiter consists of dead-band, rate-limiter, and saturation blocks to operate only when the primary reserve of the grid-forming BESS is smaller than the magnitude of the load demand variation.The VFPC enables the BESS inverter to determine the system frequency for a decrease in the AC voltage, as shown in Equations ( 13) and ( 14), which is measured at the input port of the inverter.The diesel generators then measure the reduced system frequency and increase their active power outputs by conventional P-f droop controllers.Since the frequency is the same throughout the microgrid, the proposed frequency-bus-signaling method, discussed in Section 3.2, can achieve active power sharing in an autonomous manner.

Case Studies and Simulation Results
Case studies have been performed using the model of the isolated microgrid on Geocha Island.As shown in Figure 9, the microgrid model has been implemented using MATLAB/Simulink with the parameters listed in Table 1.For simplicity, it was assumed in the case studies that the power factors of all loads are maintained at unity and a single generator is assumed to participate in the real-time frequency regulation.The wind speed is assumed to change continuously from 11 m/s to 14 m/s.The proposed control scheme has been implemented in the microgrid for primary active power sharing under the condition where the low voltages occur due to an increase in the load demand.The proposed method can be similarly tested under the high voltage condition.
4. The participation of diesel generator, acting as a slave unit, enables the power shortage to be compensated for and consequently the microgrid voltages and load demand to be recovered.The reserve of the BESS is also procured and the microgrid starts operating with new levels of V and f (see Equation ( 20)).

Case Studies and Simulation Results
Case studies have been performed using the model of the isolated microgrid on Geocha Island.As shown in Figure 9, the microgrid model has been implemented using MATLAB/Simulink with the parameters listed in Table 1.For simplicity, it was assumed in the case studies that the power factors of all loads are maintained at unity and a single generator is assumed to participate in the real-time frequency regulation.The wind speed is assumed to change continuously from 11 m/s to 14 m/s.The proposed control scheme has been implemented in the microgrid for primary active power sharing under the condition where the low voltages occur due to an increase in the load demand.The proposed method can be similarly tested under the high voltage condition.The microgrid is assumed to experience three successive events: (i) the 180-kW load is connected at the Dong-yuk bus of the East Geocha distribution feeder at t = 3 s, (ii) the WT at the end bus of the West Geocha feeder is tripped at t = 6 s, and (iii) the PV system on the East Geocha feeder is tripped at t = 9 s.At t = 0 s, the total load demand and the power outputs of the PV system and diesel generator are set to 238-kW, 90-kW, and 100-kW, respectively.The reactive power output of the diesel generator is set to 10-kVAr, and the reactive power reference of PV and WT are set to 0.

Simulation Results under the Normal Condition (t < 9 s)
Figure 10 shows the active power profiles of the grid-forming BESS, WT, PV, and diesel generator for Cases 1 and 2, respectively: (i) where only the conventional CVCF controller was adopted and (ii) where the proposed VFPC was integrated with the CVCF controller.The proposed VFPC was not activated by its limiter (see Figure 7) under the normal condition where the active power imbalance can be compensated for by the BESS.Therefore, Cases 1 and 2 have the same profiles of the active powers, voltages, frequencies, and load demand until t < 9 s, as shown in Figures 10-15.In both cases, the BESS maintained the active power balance and, consequently, the V BESS and f BESS at the rated values in the microgrid during 0 s ≤ t ≤ 9 s.Specifically, during 0 s ≤ t ≤ 3 s, the bus voltages at the WT and PV system increased to levels slightly higher than 1 pu.The voltages at the BESS were maintained at almost 1 pu, as shown in Figure 11.Figures 12-15 compare the profiles of the microgrid frequency at the main transformer, the reference frequency of the BESS, the total load demand, and the reactive power outputs in the microgrid for Cases 1 and 2. As shown in Figure 14, the actual load demand was observed at approximately 243 kW, which was greater than 238 kW at the rated bus voltages; the voltages at several load buses were higher than 1 pu, increasing the load demand due to the load-voltage dependency, as shown in Equation ( 14).In Figure 15, the reactive power outputs of the BESS and the diesel generator were maintained at an almost constant level due to the small variations in the reactive power loss and the feeder voltage.
The microgrid is assumed to experience three successive events: (i) the 180-kW load is connected at the Dong-yuk bus of the East Geocha distribution feeder at t = 3 s, (ii) the WT at the end bus of the West Geocha feeder is tripped at t = 6 s, and (iii) the PV system on the East Geocha feeder is tripped at t = 9 s.At t = 0 s, the total load demand and the power outputs of the PV system and diesel generator are set to 238-kW, 90-kW, and 100-kW, respectively.The reactive power output of the diesel generator is set to 10-kVAr, and the reactive power reference of PV and WT are set to 0.

Simulation Results under the Normal Condition (t < 9 s)
Figure 10 shows the active power profiles of the grid-forming BESS, WT, PV, and diesel generator for Cases 1 and 2, respectively: (i) where only the conventional CVCF controller was adopted and (ii) where the proposed VFPC was integrated with the CVCF controller.The proposed VFPC was not activated by its limiter (see Figure 7) under the normal condition where the active power imbalance can be compensated for by the BESS.Therefore, Cases 1 and 2 have the same profiles of the active powers, voltages, frequencies, and load demand until t < 9 s, as shown in Figures 10 to 15.In both cases, the BESS maintained the active power balance and, consequently, the VBESS and fBESS at the rated values in the microgrid during 0 s ≤ t ≤ 9 s.Specifically, during 0 s ≤ t ≤ 3 s, the bus voltages at the WT and PV system increased to levels slightly higher than 1 pu.The voltages at the BESS were maintained at almost 1 pu, as shown in Figure 11.Figures 12-15 compare the profiles of the microgrid frequency at the main transformer, the reference frequency of the BESS, the total load demand, and the reactive power outputs in the microgrid for Cases 1 and 2. As shown in Figure 14, the actual load demand was observed at approximately 243 kW, which was greater than 238 kW at the rated bus voltages; the voltages at several load buses were higher than 1 pu, increasing the load demand due to the load-voltage dependency, as shown in Equation ( 14).In Figure 15, the reactive power outputs of the BESS and the diesel generator were maintained at an almost constant level due to the small variations in the reactive power loss and the feeder voltage.The microgrid is assumed to experience three successive events: (i) the 180-kW load is connected at the Dong-yuk bus of the East Geocha distribution feeder at t = 3 s, (ii) the WT at the end bus of the West Geocha feeder is tripped at t = 6 s, and (iii) the PV system on the East Geocha feeder is tripped at t = 9 s.At t = 0 s, the total load demand and the power outputs of the PV system and diesel generator are set to 238-kW, 90-kW, and 100-kW, respectively.The reactive power output of the diesel generator is set to 10-kVAr, and the reactive power reference of PV and WT are set to 0.

Simulation Results under the Normal Condition (t < 9 s)
Figure 10 shows the active power profiles of the grid-forming BESS, WT, PV, and diesel generator for Cases 1 and 2, respectively: (i) where only the conventional CVCF controller was adopted and (ii) where the proposed VFPC was integrated with the CVCF controller.The proposed VFPC was not activated by its limiter (see Figure 7) under the normal condition where the active power imbalance can be compensated for by the BESS.Therefore, Cases 1 and 2 have the same profiles of the active powers, voltages, frequencies, and load demand until t < 9 s, as shown in Figures 10 to 15.In both cases, the BESS maintained the active power balance and, consequently, the VBESS and fBESS at the rated values in the microgrid during 0 s ≤ t ≤ 9 s.Specifically, during 0 s ≤ t ≤ 3 s, the bus voltages at the WT and PV system increased to levels slightly higher than 1 pu.The voltages at the BESS were maintained at almost 1 pu, as shown in Figure 11.Figures 12-15 compare the profiles of the microgrid frequency at the main transformer, the reference frequency of the BESS, the total load demand, and the reactive power outputs in the microgrid for Cases 1 and 2. As shown in Figure 14, the actual load demand was observed at approximately 243 kW, which was greater than 238 kW at the rated bus voltages; the voltages at several load buses were higher than 1 pu, increasing the load demand due to the load-voltage dependency, as shown in Equation ( 14).In Figure 15, the reactive power outputs of the BESS and the diesel generator were maintained at an almost constant level due to the small variations in the reactive power loss and the feeder voltage.When the 180-kW load was connected to the Dong-Yuk bus of the microgrid at t = 3 s, the nominal load demand increased from 238 kW to 418 kW in total.The microgrid voltage and frequency were then reduced instantaneously due to the large step increase in the load demand.The CVCF controller detected the voltage reduction and adjusted the output power of the BESS quickly from 34 kW to 213 kW, so as to maintain the power balance and the input voltage at the rated value.Meanwhile, the active power of the diesel generator fluctuated due to the frequency deviation during a short period of time.Figure 10 shows that the CVCF controller enabled the battery to respond to a large step-wise increase in the load demand within a short time period and maintain the real-time power balance in the microgrid.As shown in Figure 11, the small voltage drops were detected for the WT, PV system, and the diesel generator because of the increase in the power flowing along the distribution feeders connected from the west island to the east island.This increased active and reactive power losses on the substation transformers and in the distribution lines.The reactive power output of the BESS increased due to the increase in the reactive power loss in the microgrid, and the diesel generator then increased its reactive power output via the Q-V droop controller.During the period of 3 s ≤ t ≤ 6 s, as shown in Figures 11 and 14, the actual load demand increased about from 398 kW to 403 kW and the bus voltage was reduced about from 0.967 pu to 0.986 pu.
At t = 6 s, the WT was tripped from the distribution feeder.The active power of the BESS then increased to maintain the power balance via the CVCF control, causing a further drop in the voltage at the buses of other DERs owing to the increase in the power flow from the substation.The total load demand then decreased owing to the additional voltage drops at the load buses.Meanwhile, other DERs retain their active power because the BESS was solely responsible for maintaining the active power balance at the primary control level.The active power output of the BESS increased from 190 kW to approximately 238 kW, as shown in Figure 10, which is similar to the rated active power output of 250 kW.The power balance could be achieved within a short period of time.However, the primary active power reserve was significantly reduced in the microgrid, affecting the power system reliability.The reactive power outputs of the BESS and the diesel generator slightly increased for the same reason as aforementioned.

Simulation Results under the Abnormal Conditions (t ≥ 9 s)
When the PV system was tripped at t = 9 s, the active power reserve of the BESS could not afford the power balance.As a result, the bus voltages and hence the load demand decreased significantly, as shown in Figures 11 and 14.In the CVCF-only case, the diesel generator maintained its active power output as constants, because the microgrid frequency was maintained at f set and the diesel generator could not detect the power imbalance with only its local measurement, as shown in Figures 10,12 and 13.Consequently, the total load demand was significantly reduced to 282 kW, which is about 67% of the nominal demand, owing to the severe voltage reductions beyond the lower voltage limit of 0.9 pu: i.e., V aBESS = 0.847 pu, V aDiesel = 0.836 pu, V aWT = 0.824 pu, and V aPV = 0.817, as shown in Figures 11 and 14.Moreover, the reduction of the bus voltage at which the BESS is located also affected the active power output of the BESS, as shown in Equation (12).This is illustrated in Figure 10 where the active power output of the BESS is about 212 kW; it is lower than the rated active power.This further decreased the bus voltage.The large reduction of the feeder voltage caused the excessive compensation of the Q-V droop controller for the reactive power.Since the BESS is located close to the diesel generator in the remote microgrid, the excessive compensation could be immediately balanced using the BESS.It can be seen that the total reactive power supply and the reactive power loss increased mainly because of a further increase in the power flowing from the west island to the east island.
In contrast, the reference frequency of the BESS was reduced to 59.4 Hz due to the voltage drop (as shown in Figure 13) for Case 2 where the proposed VFPC was applied to the CVCF control in the BESS.The microgrid frequency was then reduced to 59.37 Hz and the diesel generator increased the active power to 145.9 kW via the droop control.The active power output of the BESS was also increased to 236.1 kW, as shown in Equations ( 12) and ( 17), enabling the further recovery of the voltage drop.This coordinated control between the BESS and the diesel generator caused the microgrid voltage to rise by acquiring additional primary active power reserve in the microgrid.The compensation of the diesel generator for the reactive power was mitigated as the feeder voltage was gradually recovered.The microgrid frequency measured by a PLL was gradually restored to 59.68 Hz by increased power outputs of the diesel generator and the BESS.As shown in Figures 11 and 14, the proposed VFPC successfully mitigated the voltage drop (V aBESS = 0.944 pu, V aDiesel = 0.926 pu, V aWT = 0.913 pu, and V aPV = 0.905 pu) and the load reduction (about 72 kW, about 17% of the nominal demand).

Simulation Results with Less Voltage-Dependent Loads
In Case 3, the constant current load with the rated power of 81-kW was taken into consideration at the Dong-Mak bus (see Figure 2); n p was reduced to approximately 1.65 at t = 0 s.After the constant impedance load of 180-kW was connected at the Dong-Yuk bus at t = 3 s, n p increased from 1.65 to 1.81.The power shortage then led to larger decreases in the feeder voltages and consequently in the microgrid frequency during t ≥ 9 s, compared to the original condition (i.e., Case 2) where only the constant impedance loads were considered.Figures 16-19 and Table 2 show that the lower n p , the lower active power output of the BESS, further reducing the bus voltage, the frequency, and actual total load demand, particularly when the diesel generator failed to completely follow the command of the master BESS owing to the insufficient reserve capacity.In Figures 16-19, the full and dotted lines represent the cases of n p = 2 and 1.81, respectively.

Simulation Results with Less Voltage-Dependent Loads
In Case 3, the constant current load with the rated power of 81-kW was taken into consideration at the Dong-Mak bus (see Figure 2); np was reduced to approximately 1.65 at t = 0 s.After the constant impedance load of 180-kW was connected at the Dong-Yuk bus at t = 3 s, np increased from 1.65 to 1.81.The power shortage then led to larger decreases in the feeder voltages and consequently in the microgrid frequency during t ≥ 9 s, compared to the original condition (i.e., Case 2) where only the constant impedance loads were considered.Figures 16-19 and Table 2 show that the lower np, the lower active power output of the BESS, further reducing the bus voltage, the frequency, and actual total load demand, particularly when the diesel generator failed to completely follow the command of the master BESS owing to the insufficient reserve capacity.In Figures 16-19, the full and dotted lines represent the cases of np = 2 and 1.81, respectively.microgrid voltage to rise by acquiring additional primary active power reserve in the microgrid.The compensation of the diesel generator for the reactive power was mitigated as the feeder voltage was gradually recovered.The microgrid frequency measured by a PLL was gradually restored to 59.68 Hz by increased power outputs of the diesel generator and the BESS.As shown in Figures 11 and 14, the proposed VFPC successfully mitigated the voltage drop (VaBESS = 0.944 pu, VaDiesel = 0.926 pu, VaWT = 0.913 pu, and VaPV = 0.905 pu) and the load reduction (about 72 kW, about 17% of the nominal demand).

Simulation Results with Less Voltage-Dependent Loads
In Case 3, the constant current load with the rated power of 81-kW was taken into consideration at the Dong-Mak bus (see Figure 2); np was reduced to approximately 1.65 at t = 0 s.After the constant impedance load of 180-kW was connected at the Dong-Yuk bus at t = 3 s, np increased from 1.65 to 1.81.The power shortage then led to larger decreases in the feeder voltages and consequently in the microgrid frequency during t ≥ 9 s, compared to the original condition (i.e., Case 2) where only the constant impedance loads were considered.Figures 16-19 and Table 2 show that the lower np, the lower active power output of the BESS, further reducing the bus voltage, the frequency, and actual total load demand, particularly when the diesel generator failed to completely follow the command of the master BESS owing to the insufficient reserve capacity.In Figures 16-19, the full and dotted lines represent the cases of np = 2 and 1.81, respectively.As shown in Cases 2-3 and 2*-4, the voltage drop becomes larger as n p is reduced, particularly, under the power shortage condition.This implies that the proposed controller is more effective in alleviating the power shortage problem and voltage stability issue for a remote microgrid with less voltage-dependent load.The effect of the proposed controller becomes more evident when the slave units have sufficient reserve capacities.

Discussion
The CVCF control enables the grid-forming BESS to maintain the active power balance of the microgrid immediately by utilising the fast time response of the inverter.The grid-forming BESS is solely responsible for the active power balance in the microgrid at the primary level.Therefore, a cooperative method to induce the reserve provision of other DGs is required particularly when the limit of the BESS is reached.The simulation results in Section 4.2 show that when the primary active power reserve of the BESS is insufficient, and the load demand exceeds the power supply (after t = 9 s), the grid voltage is then greatly reduced overall, which reduces the load demand by the voltage-dependent characteristics of the loads.Furthermore, the active power reserve of the BESS is also reduced by the voltage drop at the BESS, exacerbating the active power imbalance in the microgrid.
The proposed VFPC operates only when the primary active power reserve of the microgrid is not enough by measuring the AC voltage of the BESS under the low-voltage condition.Under the normal condition (until t = 9 s in Section 4.1), the proposed method is able to reduce the microgrid frequency variation and the active power fluctuation, compared to the conventional f-P droop control method of the grid-forming BESS.In addition, this control method adjusts the frequency, which is proportional to the bus voltage of the BESS by the VFPC, to react to the diesel generator with active power droop control in the microgrid.Therefore, case studies results show that this method does not require any communication and can be easily applied with other conventional control methods such as CVCF and conventional droop control of other DERs.
Simulation results suggest that the conventional f-P droop control of the grid-forming BESS cannot operate properly when a large change in active power, such as a generator trip and step-load change, instantaneously occurs in the microgrid.These changes induce an instantaneous voltage drop, which reduces the maximum active power output of the grid-forming BESS.In this case, the conventional f-P controller receives the reduced active power of the BESS due to the voltage drop as an input signal, outputting the less reduced frequency.Then other DGs using P-f droop controllers cannot increase their active power outputs enough due to the frequency not being sufficiently reduced in the transient state.
It needs to be noted that in practice, it is likely for the microgrid operator to limit the reactive power supply to ensure the stable operation of the microgrid without significantly affecting the overall performance of the proposed active power management.In addition, due to the independent control of active and reactive power, the proposed method does not prevent the normal operation of the conventional reactive power controllers, mitigating the excessive compensation even for the case where the active power reserve is not sufficient.

Conclusions
In this paper, the VFPC has been proposed as an additional controller that can be easily integrated with the conventional CVCF controller of the BESS in the isolated microgrid.This effectively assists the microgrid operator to resolve the under-voltage problem owing to the limited reserve of the grid-forming BESS.This method uses the microgrid frequency as a global bus signal, enabling the indirect control of other DERs without communications systems.Moreover, the detailed simulation model was implemented in MATLAB/Simulink using actual system parameters to verify the effectiveness of the proposed active power management strategy.The simulation results show that the proposed VFPC method can mitigate the active power shortage and the bus voltage reduction using the frequency-based operation of the DERs in the microgrid.From the simulation results, the main advantages of the proposed controller can be summarised as follows:

•
The proposed VFPC can be easily applied to the existing CVCF controller of the grid-forming BESS and enables the coordinated control with other DERs that operate with conventional P-f droop controllers.

•
The proposed VFPC can be activated based on the local measurement of its bus voltage, not active power, even when sudden and severe imbalance of active power takes place in the microgrid.

•
The proposed controller is activated only during the period of active power imbalance Unlike the conventional f -P droop method, the CVCF controller can still reduce the fluctuation of frequency and active power under the normal microgrid condition.

Figure 3 .
Figure 3.A schematic diagram of the grid-forming BESS and its device-level controllers.

Figure 3 .
Figure 3.A schematic diagram of the grid-forming BESS and its device-level controllers.

Figure 4 .
Figure 4.A schematic diagram for the active power controller of the diesel generator.

Figure 5 .
Figure 5.A schematic diagram for the reactive power controller of the diesel generator.

Figure 4 .Figure 4 .
Figure 4.A schematic diagram for the active power controller of the diesel generator.

Figure 5 .
Figure 5.A schematic diagram for the reactive power controller of the diesel generator.

Figure 5 .
Figure 5.A schematic diagram for the reactive power controller of the diesel generator.

Figure 6 .
Figure 6.Flow chart of the proposed VFPC for the autonomous active power management at a primary control level.

Figure 6 .
Figure 6.Flow chart of the proposed VFPC for the autonomous active power management at a primary control level.

Figure 7 .
Figure 7.A schematic diagram of the V-f proportional controller for the grid-forming BESS.

Figure 8 .
Figure 8.Comparison between (Left) the proposed control strategy (i.e., VFPC) of the grid-forming BESS) and (Right) the conventional control strategy (i.e., droop controller) of the diesel generators.

Figure 7 .
Figure 7.A schematic diagram of the V-f proportional controller for the grid-forming BESS.

Figure 7 .
Figure 7.A schematic diagram of the V-f proportional controller for the grid-forming BESS.

Figure 8 .
Figure 8.Comparison between (Left) the proposed control strategy (i.e., VFPC) of the grid-forming BESS) and (Right) the conventional control strategy (i.e., droop controller) of the diesel generators.

Figure 8 .
Figure 8.Comparison between (Left) the proposed control strategy (i.e., VFPC) of the grid-forming BESS) and (Right) the conventional control strategy (i.e., droop controller) of the diesel generators.
d-axis current in the BESS I d_max 1 pu d-axis voltage reference of the BESS V d * 1 pu q-axis voltage reference of the BESS V q * 0 pu Sample time of the simulation T s 5 × 10 −5 s

Figure 10 .
Figure 10.Profiles of the active power outputs of the BESS, WT, PV, and diesel generator.

Figure 11 .
Figure 11.Profiles of the input voltages of the BESS, WT, PV, and diesel generator.

Figure 10 .
Figure 10.Profiles of the active power outputs of the BESS, WT, PV, and diesel generator.

Figure 10 .
Figure 10.Profiles of the active power outputs of the BESS, WT, PV, and diesel generator.

Figure 11 .
Figure 11.Profiles of the input voltages of the BESS, WT, PV, and diesel generator.Figure 11.Profiles of the input voltages of the BESS, WT, PV, and diesel generator.

Figure 11 .
Figure 11.Profiles of the input voltages of the BESS, WT, PV, and diesel generator.Figure 11.Profiles of the input voltages of the BESS, WT, PV, and diesel generator.

Figure 12 .
Figure 12.Comparison of the grid frequency profiles in the Geocha microgrid.

Figure 13 .
Figure 13.Comparison of the reference frequency profiles of the BESS in the Geocha microgrid.

Figure 14 .
Figure 14.Comparison of the total load demand profiles in the Geocha microgrid.

Figure 15 .
Figure 15.Profiles of the reactive power outputs of the BESS, WT, PV, and diesel generator.

Figure 12 . 22 Figure 12 .
Figure 12.Comparison of the grid frequency profiles in the Geocha microgrid.

Figure 13 .
Figure 13.Comparison of the reference frequency profiles of the BESS in the Geocha microgrid.

Figure 14 .
Figure 14.Comparison of the total load demand profiles in the Geocha microgrid.

Figure 15 .
Figure 15.Profiles of the reactive power outputs of the BESS, WT, PV, and diesel generator.

Figure 13 . 22 Figure 12 .
Figure 13.Comparison of the reference frequency profiles of the BESS in the Geocha microgrid.

Figure 13 .
Figure 13.Comparison of the reference frequency profiles of the BESS in the Geocha microgrid.

Figure 14 .
Figure 14.Comparison of the total load demand profiles in the Geocha microgrid.

Figure 15 .
Figure 15.Profiles of the reactive power outputs of the BESS, WT, PV, and diesel generator.

Figure 14 . 22 Figure 12 .
Figure 14.Comparison of the total load demand profiles in the Geocha microgrid.

Figure 13 .
Figure 13.Comparison of the reference frequency profiles of the BESS in the Geocha microgrid.

Figure 14 .
Figure 14.Comparison of the total load demand profiles in the Geocha microgrid.

Figure 15 .
Figure 15.Profiles of the reactive power outputs of the BESS, WT, PV, and diesel generator.Figure 15.Profiles of the reactive power outputs of the BESS, WT, PV, and diesel generator.

Figure 15 .
Figure 15.Profiles of the reactive power outputs of the BESS, WT, PV, and diesel generator.Figure 15.Profiles of the reactive power outputs of the BESS, WT, PV, and diesel generator.

Figure 16 .
Figure 16.Profiles of the active power outputs of the BESS and diesel generator in Cases 2 and 3.

Figure 17 .
Figure 17.Profiles of the input voltages of the BESS and diesel generator in Cases 2 and 3.

Figure 16 .
Figure 16.Profiles of the active power outputs of the BESS and diesel generator in Cases 2 and 3.

Figure 16 .
Figure 16.Profiles of the active power outputs of the BESS and diesel generator in Cases 2 and 3.

Figure 17 .
Figure 17.Profiles of the input voltages of the BESS and diesel generator in Cases 2 and 3.Figure 17.Profiles of the input voltages of the BESS and diesel generator in Cases 2 and 3.

Figure 17 .
Figure 17.Profiles of the input voltages of the BESS and diesel generator in Cases 2 and 3.Figure 17.Profiles of the input voltages of the BESS and diesel generator in Cases 2 and 3.

Figure 20 .
Figure 20.Profiles of the active power outputs of the BESS and diesel generator in Cases 2* and 4.

Figure 21 .
Figure 21.Profiles of the input voltages of the BESS and diesel generator in Cases 2* and 4.

Figure 22 .
Figure 22.Comparisons of the frequency profiles at the MTR and BESS in Cases 2* and 4.

Figure 23 .
Figure 23.Comparisons of the total load demand profiles in Cases 2* and 4.

Figure 20 . 22 Figure 20 .
Figure 20.Profiles of the active power outputs of the BESS and diesel generator in Cases 2* and 4.

Figure 21 .
Figure 21.Profiles of the input voltages of the BESS and diesel generator in Cases 2* and 4.

Figure 22 .
Figure 22.Comparisons of the frequency profiles at the MTR and BESS in Cases 2* and 4.

Figure 23 .
Figure 23.Comparisons of the total load demand profiles in Cases 2* and 4.

Figure 21 . 22 Figure 20 .
Figure 21.Profiles of the input voltages of the BESS and diesel generator in Cases 2* and 4.

Figure 21 .
Figure 21.Profiles of the input voltages of the BESS and diesel generator in Cases 2* and 4.

Figure 22 .
Figure 22.Comparisons of the frequency profiles at the MTR and BESS in Cases 2* and 4.

Figure 23 .
Figure 23.Comparisons of the total load demand profiles in Cases 2* and 4.

Figure 22 . 22 Figure 20 .
Figure 22.Comparisons of the frequency profiles at the MTR and BESS in Cases 2* and 4.

Figure 21 .
Figure 21.Profiles of the input voltages of the BESS and diesel generator in Cases 2* and 4.

Figure 22 .
Figure 22.Comparisons of the frequency profiles at the MTR and BESS in Cases 2* and 4.

Figure 23 .
Figure 23.Comparisons of the total load demand profiles in Cases 2* and 4.Figure 23.Comparisons of the total load demand profiles in Cases 2* and 4.

Figure 23 .
Figure 23.Comparisons of the total load demand profiles in Cases 2* and 4.Figure 23.Comparisons of the total load demand profiles in Cases 2* and 4.

Table 1 .
Parameters used for the simulation model of the isolated microgrid on Geocha Island.
Energies 2019, 11, x FOR PEER REVIEW 15 of 22 microgrid voltage to rise by acquiring additional primary active power reserve in the microgrid.The compensation of the diesel generator for the reactive power was mitigated as the feeder voltage was gradually recovered.The microgrid frequency measured by a PLL was gradually restored to 59.68 Hz by increased power outputs of the diesel generator and the BESS.As shown in Figures11 and 14, the proposed VFPC successfully mitigated the voltage drop (VaBESS = 0.944 pu, VaDiesel = 0.926 pu, VaWT = 0.913 pu, and VaPV = 0.905 pu) and the load reduction (about 72 kW, about 17% of the nominal demand).