Next Article in Journal
A Review of the Mathematical Models for the Flow and Heat Transfer of Microencapsulated Phase Change Slurry (MEPCS)
Previous Article in Journal
Energy Management System (EMS) Based on Model Predictive Control (MPC) for an Isolated DC Microgrid
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Frequency Stabilization in an Interconnected Micro-Grid Using Smell Agent Optimization Algorithm-Tuned Classical Controllers Considering Electric Vehicles and Wind Turbines

1
Maulana Azad National Institute of Technology Bhopal, Bhopal 462003, India
2
Power Engineering Department, Faculty of Electrical Engineering, Computer Science and Information Technology, J. J. Strossmayer University of Osijek, K. Trpimira 2B, HR-31000 Osijek, Croatia
3
Department of Electrical and Electronics Engineering, National Institute of Technology Tiruchirappalli, Tiruchirappalli 620015, India
4
Electrical and Instrumentation Engineering Department, Thapar Institute of Engineering and Technology, Patiala 147004, India
*
Authors to whom correspondence should be addressed.
Energies 2023, 16(6), 2913; https://doi.org/10.3390/en16062913
Submission received: 29 December 2022 / Revised: 17 March 2023 / Accepted: 20 March 2023 / Published: 22 March 2023
(This article belongs to the Special Issue Smart Grids: Operation, Planning, and Management II)

Abstract

:
In micro-grids (MGs), renewable energy resources (RESs) supply a major portion of the consumer demand. The intermittent nature of these RESs and the stochastic characteristics of the loads cause a frequency stabilization issue in MGs. Owing to this, in the present manuscript, the authors try to uncover the frequency stabilization/regulation issue (FRI) in a two-area MG system comprising wind turbines (WTs), an aqua-electrolyzer, a fuel cell, a bio-gas plant, a bio-diesel plant, diesel generation (DG), ship DG, electric vehicles and their energy storage devices, flywheels, and batteries in each control area. With these sources, the assessment of the FRI is carried out using different classical controllers, namely, the integral (I), proportional plus I (PI), and PI plus derivative (PID) controllers. The gain values of these I, PI, and PID controllers are tuned using the recently proposed smell agent optimization (SAO) algorithm. The simulation studies reveal the outstanding performance of the later controller compared with the former ones in view of the minimum settling period and peak amplitude deviations (overshoots and undershoots). The SAO algorithm shows superior convergence behavior when tested against particle swarm optimization and the firefly algorithm. The SAO-PID controller effectively performs in continuously changing and increased demand situations. The SAO-PID controller designed in nominal conditions was found to be insensitive to wide deviations in load demands and WT time constants.

1. Introduction

The continuous utilization of fossil-fuel-based energy sources over the past few decades has not only depleted their available levels but also raised environmental concerns about, for example, global warming, air pollution, the greenhouse gas effect, etc. Owing to this, in recent years, renewable energy resources (RESs) have been promoted in place of fossil fuels for the generation of power. A micro-grid (MG) can supply power to remote areas that are difficult to feed from conventional coal-based sources due to geographical conditions. An MG mainly comprises RESs, resulting in cleaner power production and a reduction in power losses. Despite the cleaner energy production using RESs, their intermittent nature and associated uncertainties make the operation of a micro-grid difficult, particularly due to the oscillations in frequency and power that require proper regulation [1]. Storage devices act as the supplement solution for the frequency regulation issue (FRI) in the event of a mismatch between the load demand and generation, including the intermittent nature of RESs [2,3]. A micro-grid comprises various distributed energy resources (DERs) that include RESs such as solar photovoltaic systems and wind turbines, storage devices, and connected loads.
Electric vehicles (EVs) play an important role in the future automotive industry as they facilitate environmentally friendly technology with significant reductions in hazardous greenhouse gas emissions and energy-saving features. Furthermore, EVs can be used for energy storage (ES) in power grids that can exchange power with the grid bi-directionally, i.e., during charging, an EV functions as a consumer in the grid, while during discharging, as a power producer. Hence, EVs play an important role in enhancing the operation of micro-grids. The main challenge in a micro-grid is that it accumulates intermittent RESs whose behavior is unpredictable and creates continuous frequency fluctuations, which needs to be addressed.
A critical literature survey reveals that a considerable amount of research work on addressing micro-grid frequency regulation has been reported [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]. Frequency stabilization in isolated micro-grids is addressed in [2,4,5,6,7,8,9,10,11,12,13,24], and that in interconnected environments is explored in [3,14,15,16,17,18,19,20,21,22,23]. The investigation in [4] took wind turbines (WTs), bio-diesel (BD), solar-thermal (ST) plants, fuel cells (FCs), and water heaters (WHs) into consideration. In [5,6,7,8,9], the studies considered photovoltaics (PV), diesel generators (DGs), WTs, FCs, and/or AEs, along with battery and flywheel storage. The investigation in [10] explored the micro-grid stability issue with an ST plant, WTs, DG, an AE, an FC, and battery storage. With electric vehicles (EVs), DG, and WTs, the micro-grid frequency problem is addressed in [11,12]. WTs, DG, and battery storage were studied in [13]. A two-zone MG system interconnected with DG, WTs, an FC, PV, and EVs was studied in [3]. A two-area-based WT, PV, DG, and battery storage MG system was investigated by Lal et al. [14]. Bio-diesel, micro-hydro turbines, and ST plants in an interconnected environment were considered by the authors of [15]. WTs, PV, and DG with a storage system interconnected micro-grid is considered in [16]. Ranjan et al. [17] studied a three-zone interconnected micro-grid with WT, ST, bio-gas, and PV units. Latif et al. [18] applied a strategy to stabilize the dynamics in a two-zone micro-grid with a WT, DG, a heat pump, and a freezer. A two-zone micro-grid with ST, WP, AE, FC, and battery storage units was studied in [19]. A multi-micro-grid with WP, PV, and DG plants is considered in [20]. In [21] and [22], a two-zone micro-grid with DG, WP, and PV plants and a storage system was studied. Bhuyan et al. [23] investigated a two-zone micro-grid system with ST, BD, battery, and super-conducting magnetic storage units.
Energy storage devices play an important role in frequency stabilization in micro-grids. They store the excess power generated in off-peak hours while releasing energy during peak demand hours. Owing to these advantages, the studies in [5,6,7,8,9] utilized both flywheel and battery storage, whereas the authors of [10,13] considered a battery storage system alone.
To stabilize fluctuations due to the randomized behavior of RESs and loads, a suitable controller is necessary for a micro-grid system. Owing to this, in the literature, different controllers have been applied to the FRI pertaining to MGs [2,4,5,6,8,10,12,13,14,15,16,17,18,19,21,22,23]. The studies in [5,8,13,16,17,19,21] addressed the FRI using a proportional–integral–derivative (PID) controller. A dual-degree PID (DD-PID or 2DOF-PID) controller was implemented in [10]. The utilization of non-integer controllers, i.e., fractional-order controllers, is observed in [18,22]. A cascade control mechanism with master and slave controllers was applied to solve the FRI in micro-grids by the researchers in [6,15,23]. PI controllers have been applied in investigations [13,24]. Intelligent-based fuzzy logic controllers were used in [12,14,15]. A two-stage controller was also implemented in the investigations carried out in [4]. The PID controller is versatile and popularly used owing to its superior dynamic and robust performance [8]. It is simple in structure, easy in tuning, reliable, requires minimal expertise, and offers a balance between performance and cost [1].
Once the controller is selected, it is expected that the controller adapts itself to varied system conditions, particularly in a micro-grid with intermittent RESs. To achieve the robust and adaptive nature of the controller, its knobs (gains or parameters) should be gained through a global optimization algorithm. In literature, the techniques such as genetic algorithm (GA) [25], particle swarm optimization (PSO)-based robust optimization [26], the firefly algorithm (FA) [8], cuckoo search (CS) methods [13], social spider optimization (SSA) [16], mine blast algorithm (MBA) [17], teaching–learning-based optimization (TLBO) [21], hybrid PSO–gravitational search algorithm [5], etc., have been applied to obtain the optimal knobs of the controller.
By critically analyzing the literature survey, the following research gaps have been identified:
i.
Frequency stabilization for a micro-grid system comprising bio-gas [17] and a ship diesel generator (SDG) [27] is in infancy and needs further investigations.
ii.
The comparative analysis of classical controllers, namely, the integral (I), proportional plus I (PI), and PI plus derivative (PID) controllers, has not been performed for a micro-grid system with BD, a SDG, WTs, an AE, an FC, DG, EVs, and storage (BES and FES).
iii.
The recently proposed smell agent optimization (SAO) algorithm offers advantages in finding the global optimum for 76% of benchmark functions and the cost-effective design of a hybrid renewable energy system [28]. The SAO algorithm has not been applied for tuning different controller knobs, which guarantees better micro-grid performance.
iv.
The effectiveness of the SAO algorithm has not been tested against particle swarm optimization (PSO) and firefly algorithm (FA) for the stabilization of micro-grid oscillations.
Based on the findings of the research gaps and literature survey, the major contributions of this manuscript are as follows:
i.
We model the dual-area interconnected small-signal analysis model of a micro-grid system comprising wind turbines (WTs), an aqua-electrolyzer (AE), fuel cell (FC), bio-gas (BG) plant, bio-diesel (BD) plant, diesel generation (DG), ship DG, electric vehicles (EVs) and their energy storage devices, flywheels, and batteries in each control area.
ii.
We apply various classical controllers, namely, the integral (I), proportional plus I (PI), and PI plus derivative (PID) controllers, to regulate the frequency of the micro-grid system.
iii.
We apply the smell agent optimization (SAO) algorithm for the first time to optimize the above controller parameters to regulate oscillations in the MG system considered in i.
iv.
We study the comparative behavior of these classical controllers to decide the best among them.
v.
We show the effectiveness of the SAO algorithm compared with the commonly employed particle swarm optimization (PSO) and firefly algorithm (FA).
vi.
We observe the SAO-tuned PID controller performance compared with the I and PI controllers for randomized load demand patterns.
vii.
We observe the toughness of the SAO-tuned PID controller parameters with a larger load demand and deviations in the time constant values of WTs.
The rest of the manuscript is described as follows. In Section 2, the system considered for evaluation is described. The various controllers are explained in Section 3. The detailed SAO algorithm is discussed in Section 4. In Section 5, the analysis of the obtained results is discussed. Finally, the conclusions are described in Section 6.

2. System under Investigation

In the present manuscript, a multi-source interconnected micro-grid system is considered for investigation that has a biodiesel generator (BDG), a ship diesel generator (SDG), wind turbines (WTs), an aqua-electrolyzer, a fuel cell, a diesel generator (DG), electric vehicles (EVs), a biogas (BG) plant, and a storage system (battery energy storage (BES) and flywheel energy storage (FES)) in both areas. The effectiveness of various classical controllers (I, PI, and PID) in stabilizing/regulating the frequency and power is addressed. The nominal gain and time constant values of the various components considered are mentioned in Appendix A.

2.1. Electric Vehicle

There are basically three principal states of an EV, namely, driving, charging, and controllable states. After plugging in an EV, it enters into the driving state, and its state transitions from the controllable to the driving state. Each EV has a battery of 3 kW/15 kWh (CkW = 3 and CkWh = 15). After the trip, when the EV is plugged into a charging mode to charge its battery, this is referred to as the charging state of the EV. During this state of the EV, it is uncontrollable, i.e., it does not respond to frequency regulation (FR) signals. In the controllable state, the EV responds to FR signals, whereby the SOC of the EV fluctuates depending on the FR signal. The control-in rate is calculated using a random function so that the average of the driving period and energy loss from plug-out can be found. The charge and discharge of controllable EVs are limited by their MW (±CkW) and MWh (80–90% of the SOC) limits. Each EV informs its local control center about its state of control, whether they are controlled-in or plugged-out. The model for the FR of EVs is given in Figure 1 [11]. This model replicates the behavior of one EV battery. This EV model can be used to calculate the total charging or discharging power in a controllable state. In Figure 1, The terms T, μe, and δe denote the time constant, inverter capacity, and power ramp rate constraints, respectively, of an EV. EMAX and EMIN denote the maximum and minimum controllable energy of the EV battery. ΔPEV shows the amount of charging/discharging power. When ΔPEV = 0, the EV is said to be in idle mode; if ΔPEV > 0, the EV stays in discharging mode; and ΔPEV < 0 means the EV is in charging mode. EVs can be charged and discharged within the limits of ±μe. However, it should be noted that when the stored energy of the EV exceeds the upper limit (EMAX), the EV may no longer be charged, and, thus, it can only be discharged within the range of 0 to μe. Similarly, if the stored energy of the EV is less than the lower limit (EMIN), the EV can only be charged within the range of −μe to 0. The terms K1 and K2 denote the difference between the limited energy and current energy of the EV battery, respectively, which can be estimated as K1 = EEMAX and K2 = EEMIN, respectively, where, E is the current energy of the EV battery.
Several EVs are used in a charging station; therefore, there is a need for considering an aggregate equivalent EV model that considers each EV with dissimilar inverter capacities, which is called the total energy model (TEM) of an EV. The TEM used for frequency regulation is shown in Figure 2 [3,29]. In the present study, a TEM with 50,000 EVs is assumed, in which 10% of them are treated as being in the vehicle-to-grid (V2G) controllable state. The EVs have a bidirectional nature and can be connected in either a series or parallel arrangement. If the EVs are charged, they respond to the load frequency control (LFC), i.e., frequency regulation (FR) signals within the energy capacity limits, i.e., the MWh limits expressed as E C O N T R O L M I N E C O N T R O L E C O N T R O L M A X . The energy of the controllable EVs is denoted as E C O N T R O L . The lower and upper energy capacity limits are represented by E C O N T R O L M I N and E C O N T R O L M A X , respectively. These limits are estimated from Equations (1) and (2) and depend on the SOC, i.e., the control strategy [29].
E C O N T R O L M I N = N C O N T R O L C k W h 1000 0.8
E C O N T R O L M A X = N C O N T R O L C k W h 1000 0.95
The entire energy stored in all EVs, ECONTROL, can be obtained from Equation (3), which shows the relation between the control-in energy (ECONTROL-IN), plug-out energy (EPLUG-OUT), initial energy (E0), and energy associated with frequency regulation (EFR).
E C O N T R O L = E F R + E C O N T R O L - I N + E 0 + E P L U G - O U T
The number of plug-out EVs is taken as 10,000 and that of the control-in EVs is taken as 40,000, and the initial SOC of the EVs in the TEM is considered as 0.8. The number of controllable EVs can be calculated with the help of the control-in rate (RCONTROL-IN), the plug-out rate (RPLUG-OUT) that denotes the number of EVs entering the controllable state, and the number of initial controllable EVs (N0), as shown in Figure 3.

2.2. Biodiesel Generator [30]

Biodiesel is an esterified product, which can be obtained from biofuel basics (sugar, starch, or vegetable oil). It is an environmentally friendly and sustainable source of energy, and, hence, it does not affect the environment in a negative manner. The first-order transfer function of a biodiesel generator is given using Equation (4).
Biodiesel   Generator :   G B D G = K V A · K B E ( 1 + s T V A ) ( 1 + s T B E )

2.3. Storage System [9]

A battery energy storage system (BESS) is used to manage short-term power fluctuations, which can occur in a micro-grid due to various unavoidable reasons. The BESS effectively handles these situations to keep the frequency variation within suitable limits. The time constants of a BESS are limited to several seconds as it takes time to charge. On the other hand, a flywheel energy storage system (FESS) plays a crucial role in supplying the requisite energy in peak load periods quickly by storing energy in a kinetic energy form during off-peak periods. The linearized transfer functions are denoted in Equations (5) and (6).
Battery   storage :   G B E S = K B E S S 1 + s T B E S S
Flywheel   storage :   G F E S = K F E S 1 + s T F E S

2.4. Ship Diesel System [27,31]

Due to several advantages, such as a quick start, high efficiency, and minimum maintenance, a ship diesel system (SDG) acts as the backup choice for shipboard micro-grids. Uncontrollable oscillations in a micro-grid system can be effectively controlled using an SDG [31], whose first-order transfer function is given using Equation (7) [27].
G S D G = 1 ( 1 + s T g ) ( 1 + s T )

2.5. Wind Turbine Generator (WTG) [9]

A WTG is a renewable resource, and its power generation depends on the speed of wind, as expressed in Equation (8).
P W T = 1 2 ρ A r C P V W 3
where ρ , A r , C P , and V W 3 are the air density (=1.25 kg/m3), blades’ swept area, power coefficient, and cube of wind speed, respectively. The linearized WTG model is given using Equation (9).
G W T = 1 1 + s T W T

2.6. Aqua-Electrolyzer (AE) and Fuel Cell (FC) [9,32]

An aqua-electrolyzer (AE) uses a part of a WTG to produce hydrogen gas, which is used for the generation of power in a fuel cell (FC). A fuel cell uses the chemical energy of hydrogen to generate electricity by combining air with gaseous hydrogen in the absence of combustion. FCs offer several advantages, such as a low pollution level, high efficiency, etc. [32]. The small-signal representations of AE and FC are given using Equations (10) and (11).
G A E = K A E 1 + s T A E
G F C = K F C 1 + s T F C

2.7. Diesel Generator (DG) [11]

A DG produces power on a small scale and has advantages such as a high starting speed, durability, and higher efficiency. When load demand varies, a DG adjusts its output and contributes to frequency stabilization through fuel regulation [11], whose linearized transfer function is given using Equation (12).
G D G = K D G 1 + s T D G

2.8. Bio-Gas Generator (BGG) [15]

Biogas is produced by biochemically compositing the organic waste in O2-free environments, which can be utilized as a substitute for existing traditional DGs. The small-signal-based transfer function of a BGG is given in Equation (13).
G B G G = K B G 1 + s X c ( 1 + s Y c ) ( 1 + s b B ) · 1 + s T C R 1 + s T B G · 1 1 + s T B T
The micro-grid under study is shown in Figure 4, in which different controllers are applied to obtain a better system stabilization of oscillations subjected to the minimization of the figure of merit JMIN given using Equation (14).
J M I N = 0 T i m e { Δ f 1 2 + Δ f 2 2 + Δ P t i e 2 } d t
where Δ f 1 2 , Δ f 2 2 , and Δ P t i e 2 denote the squares of the variations in the frequencies in areas 1, 2, and the tie-line power connecting these areas.

3. Controllers Utilized

In the present study, to stabilize/regulate the oscillations, the classical controllers named integral (I), proportional plus I (PI), and PI plus derivative (PID) are applied in both control areas. The I controller has one tunable parameter (KI), the PI controller has two parameters, (KI and KP), and the PID controller has three tunable knobs (KI, KP, and KD). These classical controllers’ structures are shown in Figure 5. The PID control process can be described in the time domain as Equation (15).
R ( t ) = K P A C E + K I A C E d t + K D d d t A C E
where, ACE denotes the area control error, which is the combination of the changes in the frequency (Δf) and tie-line powers (ΔPtie), and R(s) is the output of the controller.
In the Laplace domain, it can be written as Equation (16) or Equation (17).
R ( s ) = K P A C E + K I s A C E + s K D A C E
R ( s ) A C E = K P + K I s + s K D

4. SAO Algorithm

The SAO algorithm is a recent optimization technique proposed by Salawudeen et al. [28]. It is based on the connection between smell agents and the objects that evaporate the smell molecules. This SAO algorithm is governed by three modes, namely, sniffing, trailing, and random. In the sniffing mode, the agent distinguishes smell molecules, finds their positions, and makes the decision to find the source or not. In the trailing mode, based on the conclusion from the sniffing mode, the agent follows the smell molecules. The random mode helps the agent in avoiding the local optimum solutions. The SAO algorithm flow chart is given in Figure 6, and its processes are given in Figure 7.

4.1. Sniffing Mode

The initialization of smell molecules is given using Equation (18).
X i ( m ) = [ x ( 1 , 1 ) x ( 1 , 2 ) x ( 1 , D ) x ( N , 1 ) x ( N , 2 ) x ( N , D ) ]
The terms N, D, and m denote the total number of variables, decision variables, and iteration count, respectively.
The best position of the agent can be generated using Equation (19).
X i ( m ) = L B + r 0 × ( U B i L B i )
where LB, UB, and r0 denote the lower and upper bounds and random value ∈ (0,1].
The velocity with which smell molecules diffuse from the origin or source is given using Equation (20).
v i ( m ) = [ v ( 1 , 1 ) v ( 1 , 2 ) v ( 1 , D ) v ( N , 1 ) v ( N , 2 ) v ( N , D ) ]
The Brownian-form diffused molecule velocity updating is performed using Equation (21).
x i m + 1 = x i m + v i m + 1 × Δ t
where Δt assumed to be 1.
The velocity update in the smell molecules is evaluated using Equation (22).
v i t + 1 = v i t + v
where the updated component of the velocity, v, is given using (23).
v = r 1 3 k T M
where k, M, and T denote the smell constant, the mass of the molecule, and the temperature, respectively.

4.2. Trailing Mode

This mode models the searching nature of the agents toward smell sources. The agent motion towards smell sources is given using Equation (24).
x i m + 1 = x i m + r 2 × o l f × ( x a g e n t m x i m ) r 3 × o l f × ( x w o r s t m x i m )
The notations r2 and r3 are random numbers ∈ (0,1] that penalize the influence of the olfaction capacity (olf) on x a g e n t m and the effect of olf on x w o r s t m .

4.3. Random Mode

The random motion of the smell agent is given using Equation (25).
x i m + 1 = x i m + r 4 × S L
where, SL denotes the step length, and r4 is a random value that penalizes r4.
For the optimization of the various parameters of the classical controllers, the SAO algorithm parameters considered are olf = 0.9, k = 0.6, M = 0.9, T = 0.95, SL = 0.02, the smell molecule number (N) = 5, and iterations (m) = 100 subjected to obtain JMIN discussed in Equation (14).

5. Analysis of Results

5.1. Nominal Conditions

This case study is evaluated in the MG system (Figure 4) with consideration of a 2% step-natured disturbance (SND) in both areas. With a 2% SND, the parameters of the classical controllers, namely, I, PI, and PID, are tuned using the SAO algorithm and are given in Table 1. With these values, the regulation of frequency and tie-line power changes are plotted and compared in Figure 8. The various measures of performance such as settling duration (SD), highest magnitude (HM) and lowest magnitude (LM) of oscillations are indicated in Table 2 among these controllers.
It is clear from Figure 8 and Table 2 that between the three classical controllers, the PID controller is superior in terms of the SD, HM, and LM measures. The critical evaluations of the results for this case are explained herein.
The Δf (Area 1) graph shows a 53.76% and 20.17% improvement in the SD with PID in comparison with the I and PI controllers. With the PID controller, a 6.25% and 1.03% superior response in the SD of Δf (Area 2) is witnessed compared with the I and PI controllers. Similarly, the settling durations (SDs) are improved by 22.14% and 16.81% compared with earlier controllers for ΔPtie.
The highest magnitudes (HMs) of oscillations are reduced by 43.16% and 20.38% in Δf (Area 1) and 88.11% and 0.542% in Δf (Area 2) for the PID controller compared with the I and PI controllers. The effectiveness of the PID controller is found in the lowest magnitudes (LMs) of oscillations, measured as 49.83% and 10.25% in Δf (Area 1) and 40.58% and 11.48% in Δf (Area 2) with the other controllers.
A comparative scrutiny is evaluated between these controllers in view of their convergence behavior. In Figure 9, the convergence characteristics are plotted, and it can be witnessed that the PID controller not only converges quickly but also provides a minimum objective function value (JMIN) compared with the other controllers. A magnitude analysis is represented in Figure 10 to support this statement.

5.2. Varied Load Demand Pattern

In the above Section 5.1, the step-natured disturbance (SND) is considered as the load. However, in practice, the disturbance in the micro-grid system varies continuously. To analyze the performance of the I, PI, and PID controllers in the event of a continuously varied load demand, randomized-nature disturbance (RND), as shown in Figure 11, is applied as the disturbance in Area 1. With the RND as the load demand, the I, PI, and PID controllers’ parameters are again tuned with the SAO algorithm and given in Table 3. With these numerical values, the dynamic responses among these controllers are plotted and compared in Figure 12. Critical observations of these dynamics prove the efficiency of the PID controller in view of the HM, LM, and oscillations compared with the I and PI controllers.

5.3. Evaluation of Performances of SAO, FA, and PSO Techniques

In all the above studies, the SAO algorithm is used to tune all the parameters of the controllers. Herein, an attempt is made to compare the SAO algorithm with the recently used firefly algorithm and particle swarm optimization methods. From the above studies, the superior PID controller is taken for this purpose, and its parameters are individually obtained with all these controllers and shown in Table 4 (the SAO-PID values are already given in Table 1). The convergence nature of PSO [33]-PID and FA [34]-PID are evaluated against the proposed SAO-PID in Figure 13. The critical evaluation in Figure 13 shows that SAO-PID provides quick convergence along with a minimized JMIN, which confirms the efficiency of SAO-PID compared with FA-PID and PSO-PID.

5.4. Insensitiveness of SAO-PID Parameters

From the above studies, the SAO-PID is found to be superior to all the other controllers. However, it is expected that the system conditions will change, and in those changed conditions, whether SAO-PID retains its efficiency or not is tested in this case. For this, in this section, two types of investigations are performed: firstly, with larger load demands and later, with variations in the time constant of the WTs.

5.4.1. In Larger Load Demand Condition

In this condition, the PID controller is judged for its insensitiveness with larger load demands in the control areas. In nominal conditions, the assumed SND is 2% in both areas. The SND values are raised to 3% and 5% in control areas 1 and 2, separately. With these larger amplitudes of SND, the PID controller parameters (KP, KI, and KD) are again tuned using the SAO algorithm, and the values are shown in Table 5. With these numerical parameters, the obtained dynamics are compared with those responses plotted using the optimum gains given in Table 1 in Figure 14 and Figure 15.
In Figure 14 and Figure 15, it is seen that the responses with the nominal and obtained parameters are not deviating too much, i.e., they are almost the same, which proves the insensitiveness (robustness) of the optimal PID parameters obtained at the nominal SND (2%) for wide variations in SND (3% and 5%).

5.4.2. With Changed Time Constants of WTs

In this study, the time constant (TWT = 1.5 s) of intermittent WTs is changed by ±25%, i.e., to 1.125 s and 1.875 s, and, again, the PID parameters are tuned with the SAO algorithm, separately, for 1.125 s and 1.875 s and are shown in Table 6. In these changed conditions, i.e., TWT = 1.125 s and TWT = 1.875 s, the dynamics are compared with the nominal WT time constant value (TWT = 1.5 s) using the gains given in Table 1 and are shown in Figure 16 and Figure 17.
The observations of the comparative dynamics shown in Figure 16 and Figure 17 reveal that they are almost identical, which proves the stiffness of the SAO-PID parameters against wind turbine generator time constant (TWT) variations by ±25%.

6. Conclusions

In this article, the frequency stabilization/regulation issue is performed using a smell agent optimization (SAO)-algorithm-based PID, i.e., a SAO-PID controller in a micro-grid system comprising wind turbines, an aqua-electrolyzer, a fuel cell, a biogas plant, a bio-diesel plant, diesel generation (DG), ship DG, electric vehicles, energy storage devices, flywheels, and batteries. The prime findings of the present research are as follows:
  • The SAO-PID controller performs well when compared with the SAO-PI and SAO-I controllers in view of the settling duration and highest and lowest magnitudes of oscillations.
  • The minimum cost function value is evidenced with the SAO-PID controller in comparison with the SAO-based I and PI controllers.
  • The efficacy of the SAO-PID controller is observed for randomized-nature disturbance, also in view of the minimal highest and lowest magnitudes of deviations.
  • The SAO technique performance was found to be efficient compared with the PSO and FA techniques with the measures of both convergence and minimum cost values.
  • The parameters of the SAO-tuned PID controller obtained at nominal conditions are insensitive for larger amplitudes of step-natured disturbances.
  • The SAO-based PID controller parameters were found to be stiff for wide variations in the time constant values of wind turbines by ±25%.

Future Scope

This study can be extended with the utilization of intelligent controllers such as fuzzy logic and neural network controllers for further effective frequency regulation in micro-grids. The various degrees-of-freedom controllers, namely, the two-degrees- and three-degrees-of-freedom controllers, can also be implemented for the above study. Generalized PID controllers, so-called fractional-order controllers, can be applied for effective frequency stabilization/regulation in a micro-grid system. The selection of the gains of these controllers can be performed using other optimization methods that can perform better than the SAO technique in providing optimal solutions.

Author Contributions

Conceptualization, S.V. and M.R.; Methodology, S.V. and A.S.R.; Software, M.K.K. and P.K.; Validation, S.V. and S.N.; Formal analysis, M.R. and P.K.; Resources, M.R. and M.K.K.; Data curation, S.N., A.S.R. and P.K.; Writing—original draft, S.V. and M.R.; Writing—review & editing, S.N., A.S.R. and P.K.; Visualization, P.K.; Supervision, P.K.; Project administration, S.N., A.S.R. and P.K.; Funding acquisition, M.R. and M.K.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. System parametric values and nomenclature.
Table A1. System parametric values and nomenclature.
Symbols/NotationsDescriptionNumerical Values
Tgs, Td, and RsTime constants and governor parameters of ship diesel generator (s)0.5, 0.25, 3
Kg, Kt, Tg, Tt, and RGain, time constant, and governor parameters of diesel generator1, 1, 0.1 s, 8 s, 2.5
KVA, KBE, TVA, TBE, and RGain, time constant, and governor parameters of bio-diesel generator1, 1, 0.05 s, 0.5 s, 2.4
KBG, XC, YC, TCR, TBG, and TBTGain, reactance, admittance, and time constants of bio-gas turbine0.5, 0.6, 1, 0.05, 0.01 s, 0.23 s, 0.2 s
KAE and TAEGain and time constant of aqua-electrolyzer1/500, 0.5 s
KFC and TFCGain and time constant of fuel cell1/100, 4 s
KBES and TBESGain and time constant of battery energy storage−1/300, 0.1 s
KFES and TFESGain and time constant of flywheel energy storage system−1/100, 0.1 s
M and DInertia and damping constants of MG system.0.012, 0.2
T12Synchronizing power co-efficient0.0867 s
ΔDeviation------
f and PtieFrequency and tie-line power------
μEInverter capacity limit0.025
δEPower ramp rate limit0.01
EmaxMaximum controllable energy of EV0.95
EminMinimum controllable energy of EV0.80
TTime constant of EV1 s
CkWhEnergy capacity of EV battery15 kWh
KP, KI, and KDProportional, integral, and derivative gains of I, PI, and PID controllers-----------
ACEArea control error
TWTWind turbine time constant1.5 s

References

  1. Heidary, J.; Gheisarnejad, M.; Rastegar, H.; Khooban, M.H. Survey on microgrids frequency regulation: Modeling and control systems. Electr. Power Syst. Res. 2022, 213, 108719. [Google Scholar] [CrossRef]
  2. Khooban, M.H. Secondary Load Frequency Control of Time-Delay Stand-Alone Microgrids With Electric Vehicles. IEEE Trans. Ind. Electron. 2018, 65, 7416–7422. [Google Scholar] [CrossRef]
  3. Shayeghi, H.; Rahnama, A.; Mohajery, R.; Bizon, N.; Mazare, A.G.; Ionescu, L.M. Multi-Area Microgrid Load-Frequency Control Using Combined Fractional and Integer Order Master–Slave Controller Considering Electric Vehicle Aggregator Effects. Electronics 2022, 11, 3440. [Google Scholar] [CrossRef]
  4. Latif, A.; Hussain, S.M.S.; Das, D.C.; Ustun, T.S. Optimization of Two-Stage IPD-(1+I) Controllers for Frequency Regulation of Sustainable Energy Based Hybrid Microgrid Network. Electronics 2021, 10, 919. [Google Scholar] [CrossRef]
  5. Zishan, F.; Akbari, E.; Montoya, O.D.; Giral-Ramírez, D.A.; Molina-Cabrera, A. Efficient PID Control Design for Frequency Regulation in an Independent Microgrid Based on the Hybrid PSO-GSA Algorithm. Electronics 2022, 11, 3886. [Google Scholar] [CrossRef]
  6. Oshnoei, S.; Aghamohammadi, M.; Oshnoei, S.; Oshnoei, A.; Mohammadi-Ivatloo, B. Provision of Frequency Stability of an Islanded Microgrid Using a Novel Virtual Inertia Control and a Fractional Order Cascade Controller. Energies 2021, 14, 4152. [Google Scholar] [CrossRef]
  7. Bagheri, A.; Jabbari, A.; Mobayen, S. An intelligent ABC-based terminal sliding mode controller for load-frequency control of islanded micro-grids. Sustain. Cities Soc. 2021, 64, 102544. [Google Scholar] [CrossRef]
  8. Ray, P.K.; Mohanty, A. A robust firefly–swarm hybrid optimization for frequency control in wind/PV/FC based microgrid. Appl. Soft Comput. 2019, 85, 105823. [Google Scholar] [CrossRef]
  9. Lee, D.J.; Wang, L. Small-Signal Stability Analysis of an Autonomous Hybrid Renewable Energy Power Generation/Energy Storage System Part I: Time-Domain Simulations. IEEE Trans. Energy Convers. 2008, 23, 311–320. [Google Scholar] [CrossRef]
  10. Hussain, I.; Das, D.C.; Latif, A.; Sinha, N.; Hussain, S.M.S.; Ustun, T.S. Active power control of autonomous hybrid power system using two degree of freedom PID controller. Energy Rep. 2022, 8, 973–981. [Google Scholar] [CrossRef]
  11. Yang, J.; Zeng, Z.; Tang, Y.; Yan, J.; He, H.; Wu, Y. Load Frequency Control in Isolated Micro-Grids with Electrical Vehicles Based on Multivariable Generalized Predictive Theory. Energies 2015, 8, 2145–2164. [Google Scholar] [CrossRef]
  12. Khooban, M.H.; Niknam, T.; Blaabjerg, F.; Dragičević, T. A new load frequency control strategy for micro-grids with considering electrical vehicles. Electr. Power Syst. Res. 2017, 143, 585–598. [Google Scholar] [CrossRef] [Green Version]
  13. Latif, A.; Pramanik, A.; Das, D.C.; Hussain, I.; Ranjan, S. Plug in hybrid vehicle-wind-diesel autonomous hybrid power system: Frequency control using FA and CSA optimized controller. Int. J. Syst. Assur. Eng. Manag. 2018, 9, 1147–1158. [Google Scholar] [CrossRef]
  14. Lal, D.K.; Barisal, A.K.; Tripathy, M. Load Frequency Control of Multi Area Interconnected Microgrid Power System using Grasshopper Optimization Algorithm Optimized Fuzzy PID Controller. In Proceedings of the 2018 Recent Advances on Engineering, Technology and Computational Sciences (RAETCS), Allahabad, India, 6–8 February 2018; pp. 1–6. [Google Scholar]
  15. Shayeghi, H.; Rahnama, A.; Alhelou, H.H. Frequency control of fully-renewable interconnected microgrid using fuzzy cascade controller with demand response program considering. Energy Rep. 2021, 7, 6077–6094. [Google Scholar] [CrossRef]
  16. El-Fergany, A.A.; El-Hameed, M.A. Efficient frequency controllers for autonomous two-area hybrid microgrid system using social-spider optimiser. IET Gener. Transm. Distrib. 2017, 11, 637–648. [Google Scholar] [CrossRef]
  17. Ranjan, S.; Das, D.C.; Latif, A.; Sinha, N. Electric vehicles to renewable-three unequal areas-hybrid microgrid to contain system frequency using mine blast algorithm based control strategy. Int. J. Syst. Assur. Eng. Manag. 2021, 12, 961–975. [Google Scholar] [CrossRef]
  18. Latif, A.; Das, D.C.; Ranjan, S.; Barik, A.K. Comparative performance evaluation of WCA-optimised non-integer controller employed with WPG–DSPG–PHEV based isolated two-area interconnected microgrid system. IET Renew. Power Gener. 2019, 13, 725–736. [Google Scholar] [CrossRef]
  19. Kandasamy, J.; Ramachandran, R.; Veerasamy, V. Automatic Load Frequency Control for Interconnected Micro-Grid System. In Proceedings of the 2022 International Conference on Electronics and Renewable Systems (ICEARS), Tuticorin, India, 16–18 March 2022; pp. 222–227. [Google Scholar]
  20. Beura, S.; Soni, D.K.; Padhy, B.P. Load Frequency Control of Two Area Microgrid Using Reinforcement Learning Controller. In Proceedings of the 2021 9th IEEE International Conference on Power Systems (ICPS), Kharagpur, India, 16–18 December 2021; pp. 1–6. [Google Scholar]
  21. Yammani, S.C.C.; Maheswarapu, S. Frequency control of Autonomous Hybrid Multi-Microgrid System. In Proceedings of the 2019 National Power Electronics Conference (NPEC), Tiruchirappalli, India, 13–15 December 2019; pp. 1–6. [Google Scholar]
  22. Singh, K.; Amir, M.; Ahmad, F.; Khan, M.A. An Integral Tilt Derivative Control Strategy for Frequency Control in Multimicrogrid System. IEEE Syst. J. 2021, 15, 1477–1488. [Google Scholar] [CrossRef]
  23. Bhuyan, M.; Das, D.C.; Barik, A.K.; Sahoo, S.C. Performance Assessment of Novel Solar Thermal-Based Dual Hybrid Microgrid System Using CBOA Optimized Cascaded PI-TID Controller. IETE J. Res. 2022, 1–18. [Google Scholar] [CrossRef]
  24. Nandar, C.S.A. Robust PI control of smart controllable load for frequency stabilization of microgrid power system. Renew. Energy 2013, 56, 16–23. [Google Scholar] [CrossRef]
  25. Das, D.C.; Roy, A.K.; Sinha, N. GA based frequency controller for solar thermal–diesel–wind hybrid energy generation/energy storage system. Int. J. Electr. Power Energy Syst. 2012, 43, 262–279. [Google Scholar] [CrossRef]
  26. Pan, I.; Das, S. Fractional Order AGC for Distributed Energy Resources Using Robust Optimization. IEEE Trans. Smart Grid 2016, 7, 2175–2186. [Google Scholar] [CrossRef] [Green Version]
  27. Gheisarnejad, M.; Khooban, M.H.; Boudjadar, J. Adaptive Network Based Fuzzy Inference System for Frequency Regulation in Modern Maritime Power Systems. In Proceedings of the 2019 IEEE 5th International forum on Research and Technology for Society and Industry (RTSI), Florence, Italy, 9–12 September 2019; pp. 302–307. [Google Scholar]
  28. Salawudeen, A.T.; Mu’azu, M.B.; Sha’aban, Y.A.; Adedokun, A.E. A Novel Smell Agent Optimization (SAO): An extensive CEC study and engineering application. Knowl.-Based Syst. 2021, 232, 107486. [Google Scholar] [CrossRef]
  29. Shimizu, K.; Masuta, T.; Ota, Y.; Yokoyama, A. Load Frequency Control in power system using Vehicle-to-Grid system considering the customer convenience of Electric Vehicles. In Proceedings of the 2010 International Conference on Power System Technology, Zhejiang, China, 24–28 October 2010; pp. 1–8. [Google Scholar]
  30. Bhuyan, M.; Barik, A.K.; Das, D.C. GOA optimised frequency control of solar-thermal/sea-wave/biodiesel generator based interconnected hybrid microgrids with DC link. Int. J. Sustain. Energy 2020, 39, 615–633. [Google Scholar] [CrossRef]
  31. Khooban, M.H.; Niknam, T.; Blaabjerg, F.; Dragičević, T. Shipboard microgrids: A novel approach to load frequency control. IEEE Trans. Sustain. Energy 2018, 9, 843–852. [Google Scholar] [CrossRef]
  32. Pandey, S.K.; Mohanty, S.R.; Kishor, N.; Catalão, J.P. Frequency regulation in hybrid power systems using particle swarm optimization and linear matrix inequalities based robust controller design. Int. J. Electr. Power Energy Syst. 2014, 63, 887–900. [Google Scholar] [CrossRef]
  33. Shukla, H.; Nikolovski, S.; Raju, M.; Rana, A.S.; Kumar, P. A Particle Swarm Optimization Technique Tuned TID Controller for Frequency and Voltage Regulation with Penetration of Electric Vehicles and Distributed Generations. Energies 2022, 15, 8225. [Google Scholar] [CrossRef]
  34. Raju, M.; Sarma, U.; Saikia, L.C. Application of Firefly Algorithm Optimized Fuzzy 2DOFPID Controller for Diverse-Sourced Multi-area LFC. In Algorithms for Intelligent Systems, Proceedings of the Computing Algorithms with Applications in Engineering: Proceedings of ICCAEEE 2019, Sonbhadra, India, 30–31 August 2019; Springer: Singapore, 2020. [Google Scholar] [CrossRef]
Figure 1. Frequency regulation model of EVs.
Figure 1. Frequency regulation model of EVs.
Energies 16 02913 g001
Figure 2. The total energy model (TEM) of an EV.
Figure 2. The total energy model (TEM) of an EV.
Energies 16 02913 g002
Figure 3. Number of controllable EVs.
Figure 3. Number of controllable EVs.
Energies 16 02913 g003
Figure 4. The micro-grid system under investigation.
Figure 4. The micro-grid system under investigation.
Energies 16 02913 g004
Figure 5. The classical controllers. (a) I controller; (b) PI controller; and (c) PID controller.
Figure 5. The classical controllers. (a) I controller; (b) PI controller; and (c) PID controller.
Energies 16 02913 g005
Figure 6. Flowchart of SAO algorithm [28].
Figure 6. Flowchart of SAO algorithm [28].
Energies 16 02913 g006
Figure 7. Different stages in SAO algorithm [28].
Figure 7. Different stages in SAO algorithm [28].
Energies 16 02913 g007
Figure 8. Comparison of SAO-tuned classical controllers’ dynamics. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Figure 8. Comparison of SAO-tuned classical controllers’ dynamics. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Energies 16 02913 g008aEnergies 16 02913 g008b
Figure 9. Convergence (JMIN vs. iterations) curve.
Figure 9. Convergence (JMIN vs. iterations) curve.
Energies 16 02913 g009
Figure 10. JMIN analysis of I, PI, and PID controllers.
Figure 10. JMIN analysis of I, PI, and PID controllers.
Energies 16 02913 g010
Figure 11. The randomized-nature disturbance.
Figure 11. The randomized-nature disturbance.
Energies 16 02913 g011
Figure 12. System responses for randomized nature disturbance. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Figure 12. System responses for randomized nature disturbance. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Energies 16 02913 g012
Figure 13. Convergence nature of PSO-PID, FA-PID, and SAO-PID controllers.
Figure 13. Convergence nature of PSO-PID, FA-PID, and SAO-PID controllers.
Energies 16 02913 g013
Figure 14. Insensitiveness of PID controller at 3% SND. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Figure 14. Insensitiveness of PID controller at 3% SND. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Energies 16 02913 g014aEnergies 16 02913 g014b
Figure 15. Insensitiveness of PID controller at 5% SND. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Figure 15. Insensitiveness of PID controller at 5% SND. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Energies 16 02913 g015aEnergies 16 02913 g015b
Figure 16. Insensitiveness of PID controller with −25% variations in WTs time constant. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Figure 16. Insensitiveness of PID controller with −25% variations in WTs time constant. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Energies 16 02913 g016aEnergies 16 02913 g016b
Figure 17. Insensitiveness of PID controller with +25% variations in time constants of WTs. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Figure 17. Insensitiveness of PID controller with +25% variations in time constants of WTs. (a) Δf1; (b) Δf2; and (c) ΔPtie.
Energies 16 02913 g017aEnergies 16 02913 g017b
Table 1. The SAO-tuned I, PI, and PID controllers’ parameters.
Table 1. The SAO-tuned I, PI, and PID controllers’ parameters.
Parameter/ControllerIPIPID
KP (Area 1)-----0.99800.9080
KI (Area 1)0.36440.8690.9200
KD (Area 1)----------0.8170
KP (Area 2)-----0.22770.8660
KI (Area 2)0.14500.99890.9912
KD (Area 2)----------0.9500
Table 2. The settling durations and highest and lowest magnitudes of Figure 8 responses.
Table 2. The settling durations and highest and lowest magnitudes of Figure 8 responses.
Response/Dynamic MeasuresSettling DurationHighest Magnitude (10−3)Lowest Magnitude (−10−3)
IPIPIDIPIPIDIPIPID
Response, Δf115.9312.4510.3618.5415.5912.9513.449.898.97
Response, Δf28.6998.2728.18734.6518.5218.4216.2812.9111.58
Response, ΔPtie21.5720.6317.6603.6402.520.730.380.350.16
Table 3. The SAO-I, SAO-PI, and SAO-PID parameters with RND.
Table 3. The SAO-I, SAO-PI, and SAO-PID parameters with RND.
Title 1IPIPID
KP (Area 1)-----0.99000.3700
KI (Area 1)0.99800.86900.9990
KD (Area 1)----------0.5810
KP (Area 2)-----0.22770.2660
KI (Area 2)0.90500.99800.2199
KD (Area 2)----------0.9970
Table 4. The PSO-PID and FA-PID controller parameters.
Table 4. The PSO-PID and FA-PID controller parameters.
Parameter/AlgorithmPSOFA
KP (Area 1)0.91290.9995
KI (Area 1)0.43870.9998
KD (Area 1)0.70060.9171
KP (Area 2)0.66160.9998
KI (Area 2)0.82620.4220
KD (Area 2)0.85530.9979
Table 5. The SAO-PID gains at different magnitudes of SND.
Table 5. The SAO-PID gains at different magnitudes of SND.
Parameter/SND Magnitude3% SND5% SND
KP (Area 1)0.37000.9650
KI (Area 1)0.99800.9800
KD (Area 1)0.58100.8900
KP (Area 2)0.26600.8600
KI (Area 2)0.21990.9760
KD (Area 2)0.99000.9890
Table 6. The SAO-PID gains for ±25% deviations in TWT.
Table 6. The SAO-PID gains for ±25% deviations in TWT.
Parameter/% Change in TWT−25%+25%
KP (Area 1)0.58000.7300
KI (Area 1)0.85100.9900
KD (Area 1)0.78100.8010
KP (Area 2)0.92000.9160
KI (Area 2)0.68000.6200
KD (Area 2)0.99600.8300
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Vishnoi, S.; Nikolovski, S.; Raju, M.; Kirar, M.K.; Rana, A.S.; Kumar, P. Frequency Stabilization in an Interconnected Micro-Grid Using Smell Agent Optimization Algorithm-Tuned Classical Controllers Considering Electric Vehicles and Wind Turbines. Energies 2023, 16, 2913. https://doi.org/10.3390/en16062913

AMA Style

Vishnoi S, Nikolovski S, Raju M, Kirar MK, Rana AS, Kumar P. Frequency Stabilization in an Interconnected Micro-Grid Using Smell Agent Optimization Algorithm-Tuned Classical Controllers Considering Electric Vehicles and Wind Turbines. Energies. 2023; 16(6):2913. https://doi.org/10.3390/en16062913

Chicago/Turabian Style

Vishnoi, Shreya, Srete Nikolovski, More Raju, Mukesh Kumar Kirar, Ankur Singh Rana, and Pawan Kumar. 2023. "Frequency Stabilization in an Interconnected Micro-Grid Using Smell Agent Optimization Algorithm-Tuned Classical Controllers Considering Electric Vehicles and Wind Turbines" Energies 16, no. 6: 2913. https://doi.org/10.3390/en16062913

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop