Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent Hybrid Renewable Energy System

*Akawu Shekari Biliyok and Salawudeen Ahmed Tijani*

#### **Abstract**

This chapter discuss an improvement on the novel computational intelligent algorithm using the smell phenomenon. In the standard smell agent optimization algorithm, the olfactory capacity is constant thereby assuming that every smell agent has the same sensing capacity. In the improved smell agent optimization algorithm, that is changed to account for the difference in smell agent capacity. The algorithm was run against the standard smell agent optimization on Matlab to find the best HRES design using annual cost, Levelized cost of electricity (LCE), loss of power supply probability (LPSP) and excess energy. It was shown after the comparative analysis that there was a 79%, 99.9% and 53.4% improvement for annual cost, LCE and LPSP respectively. Statistically, results showed that the iSAO obtained the most cost effective HRES design compared to the benchmarked algorithms.

**Keywords:** smell agent optimization (SAO), improved smell agent optimization (iSAO), hybrid renewable energy system (HRES), levelized cost of electricity (LCE), loss of power supply probability (LPSP)

#### **1. Introduction**

Technological and societal developments can be observed as the drivers of the changes in interconnected systems like Mini-grids or hybrid renewable energy systems (HRES). HRES consists of two or more renewable sources used to provide system efficiency as well as create better balance in energy tied to the conventional grid or off-grid with battery storage [1, 2] and there are various optimization sizing techniques for such systems namely;


Over the years, optimization has developed into an established field of computation intelligence (CI) inspired by various natural behavioral rules. Some of these natural behavioral based optimization methods of imitating evolution, ecology, animal activities and apparatus of human culture were established to ease solving several categories of complicated social, economic, scientific and engineering design problems. Such as:


Each branch has a comprehensive theoretical basis and is highlighted by a collection of sophisticated algorithms and software like Genetic Algorithm (GA) which is a heuristic search technique used in artificial intelligence and computing. In this approach, evolution is performed through Elitism, Crossover, Mutation [5].

Artificial intelligence (AI) techniques are suitable as substitute methods to conventional techniques or as mechanisms of integrated systems. These are applied in solving complicated practical problems in various areas and are popular nowadays. AI-techniques have the following features;


The smell agent optimization technique (SAO) is a newly developed metaheuristic algorithm using the phenomenon of smell perceptions. The concept of SAO is developed in three distinct modes; sniffing, trailing and random mode [6].

One of the five senses through which the world is perceived is the sense of smell (olfactory). Through the sense of smell, humans and other animals can perceive a large number of chemicals in the external world which enables us to perceive the molecular concentration or smell and intuitively trace this concentration in order the identify the source [7]. In the conventional SAO, the olfaction capacity is set to a

*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

constant value which assumes that the smell agent sense of smell cannot change and this assumption comes with certain drawbacks like longer computational time.

#### **2. Case study**

This case study proposed an improved SAO technique algorithm that makes the olfaction capacity a dynamic variable thereby improving speed and precision of solving the combinatorial problem of selecting the optimal combination between a hybrid renewable energy system at best annual cost, loss of power supply probability (LPSP) and levelized cost of energy (LCE) (**Figures 1**, **5**–**10**).

A mathematical model may fail due to any or all of the following reasons:


All these characteristics are exhibited by most real-life problems [8]. To address this challenge, researchers have employed computational intelligence techniques under different environments and promising results have been achieved.

To achieve the stated aim, the following objectives were adopted.


**Figure 1.** *Illustrates schematic diagram of the proposed hybrid renewable energy system [1].*


#### **2.1 Significance of study**

A lot of research has been done on efficient sizing utilizing artificial intelligence however, this research proposes an artificial intelligence smell agent optimizing sizing technique for a solar PV, wind turbine and battery storage system. The contributions are as follows;


Load data was collected with the help of questionnaires to understand energy demand patterns and from a reputable independent power provider (IPP). The algorithm was modeled for the following configurations:


In the end, the modified smell agent optimization technique was validated on Matlab Simulink and compared to the standard smell agent optimization technique with annual cost of maintenance, Levelized cost of energy, loss of power supply probability and excess energy as the unit of measure.

#### **3. Smell agent optimization**

The Smell Agent Optimization (SAO) is a recently developed algorithm from the idea of how a smelling agent learns to identify a smell source. The authors of the algorithm argue that, with a well-developed olfaction capacity, an organism (including humans) can perceive smell substance and intuitively follows the smell substance to identify its source [11, 12]. This idea is modeled into three classifiable modes

*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

namely; the sniffing, trailing and random modes. These modes interact together to form the smell agent optimization. The detailed information about these modes is discussed as follows:

#### i. Sniffing Mode

The idea of sniffing mode hinges on the ability of a smell agent (i.e. human) to first perceive the presence of smell molecules around its surrounding while the molecules constantly diffuse from its smell source. This analogy can be further portrayed as, when a smell molecule evaporates from a smell source in the direction of an agent, the agent sniff (sense or perceive) and decide whether it's a pleasant smell or a harmful smell. After this decision is made, the agent either moves towards the direction of the smell molecules or moves away from the smell molecules. Assuming *N* is the total number of smell molecules evaporating from a smell source and *D* is the size of the search spacing where the smell molecules have occupied (dimension). The initial positions of smell molecules can be generated as follows:

$$\mathbf{x}\_{i}^{t} = \begin{bmatrix} \mathbf{x}\_{N,1}^{t}, \mathbf{x}\_{N,2}^{t}, \dots, \mathbf{x}\_{N,D}^{t} \end{bmatrix} \tag{1}$$

Meanwhile, the smell molecule's evaporation from the source is in Brownian form, to sustain this Brownian evaporation, each molecule is assigned an initial velocity to aid their movement in the search space. This is achieved using the following equation

$$\boldsymbol{v}\_{i}^{t} = \begin{bmatrix} \boldsymbol{v}\_{N,1}^{t}, \boldsymbol{v}\_{N,2}^{t}, \dots, \boldsymbol{v}\_{N,D}^{t} \end{bmatrix} \tag{2}$$

From Eqs. (1) and (2), the evaporation of smell molecules can therefore be represented as follows:

$$\mathbf{x}\_{i}^{t+1} = \mathbf{x}\_{i}^{t} + \left(\boldsymbol{\nu}\_{i}^{t+1} \times \boldsymbol{\Delta t}\right) \tag{3}$$

where *vt*þ<sup>1</sup> *<sup>i</sup>* is the change in velocity and Δ*t* is the change in time? Note that for the optimization process, change in time is always 1, i.e., an algorithm moves from one iteration to another with a constant step of 1.

For the molecules to evaporate from one point to another, the velocity of every molecule is updated as follows:

$$v\_{i}^{t+1} = v\_{i}^{t} + a\_{1} \times \sqrt{\frac{3kT}{m}}\tag{4}$$

Thus,

$$\mathbf{x}\_{i}^{t+1} = \mathbf{x}\_{i}^{t} + \boldsymbol{\nu}\_{i}^{t+1} \tag{5}$$

where *α*<sup>1</sup> is a random number generator, *k* is Boltzmann's constant given by 1.38 x10�23*JK*�*<sup>1</sup>* ,*T* and *m* are the temperature and mass of smell molecules respectively.

The agent snorts these smell molecules by estimating the fitness of Eq. (5) and decide whether to track the source of the smell molecules or not.

#### ii. Trailing Mode

From the implementation of the sniffing mode, the fitness of each smell molecule is evaluated, then the position of the agent *x<sup>t</sup> agent* and the position of worst molecules *xt worst* are determined as the positions of molecules with best and worst sniffing fitness respectively. These positions are used to model the trailing behavior of the agent towards the smell source as follows:

$$\mathbf{x}\_{i}^{t+1} = \mathbf{x}\_{i}^{t} + a\_{2} \times \boldsymbol{\eta} \times \left(\mathbf{x}\_{i}^{t} - \mathbf{x}\_{\text{agent}}^{t}\right) - a\_{3} \times \boldsymbol{\eta} \times \left(\mathbf{x}\_{i}^{t} - \mathbf{x}\_{\text{worst}}^{t}\right) \tag{6}$$

where *η* which is also called *olf* is the olfaction capacity of the agent, *α*<sup>2</sup> and *α*<sup>3</sup> are random numbers used to penalize the influence *η x<sup>t</sup> agent* on and *x<sup>t</sup> worst* respectively.

#### iii. Random Mode

The random mode, which is like a savior strategy the agent employed to avoid getting stuck in local minima. This mode only becomes active when the agent could not obtain the global solution to the optimization problem after implementing the trailing mode. The model is expressed as:

$$\mathbf{x}\_{i}^{t+1} = \mathbf{x}\_{i}^{t} + a\_{4} \times \boldsymbol{\Phi} \tag{7}$$

where Φ a constant step taking by the agent and*α*<sup>4</sup> is a random number used to penalize the influence of Φ.

#### **3.1 Objective function formulation**

The objective function considered in this work is a tri-objective optimization problem where the aim is to minimize the Levelized Cost of Energy (LCOE), Loss of Power Supply Probability (LPSP) and Excess Energy Generated. This is expressed in Eq. (8):

$$\text{minf} = \min \left( \mathcal{L} \text{LCOE} + \mathcal{L} \text{LPSP} + \mathcal{L} \text{EE} \right) \tag{8}$$

Where: ⋌ *is penalty factor*.

These individual objective functions can be expressed as follows:

$$\text{LCOE} = \frac{\text{C}\_{\text{A}\_{\text{-total}}}}{\text{E}\_{\text{total}}} \tag{9}$$

$$\text{LPSP} = \frac{\sum\_{0}^{T} \mathbf{P}\_{\text{Load}} - \mathbf{P}\_{\text{pv}} - \mathbf{P}\_{\text{wind}} - \mathbf{P}\_{\text{SOC}\_{\text{M}}}}{\sum\_{0}^{T} \mathbf{P}\_{\text{Load}}} \tag{10}$$

$$\text{EE} = \sum\_{0}^{\text{T}} \frac{\mathbf{P\_{Load}} - \mathbf{P\_{pv}} - \mathbf{P\_{wind}}}{\mathbf{P\_{pv}} + \mathbf{P\_{wind}}} \tag{11}$$

where; *CA*\_*total* is the total cost of the hybrid systems, *Etotal* is the total cost of energy generation, *PLoad* is the load demand, *Ppv* is the output power from the PV generation

*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

units, *Pwind* is the output power from the wind turbine generation unit and T is the total time.

To achieve these tri-objectives, the total annual cost given in equation Eq. (12) must also be minimized.

$$\text{TAC} = \sum\_{i=1}^{N} \text{AMC} + \sum\_{i=1}^{N} \text{ACC} \tag{12}$$

where *N* is the total hours considered, TAC is the total annual cost, AMC is the annual maintenance cost and ACC is the annual capital cost. The annual maintenance cost is expressed as:

$$\mathbf{AMC} = \mathbf{n}\_{\rm pv} \mathbf{P}\_{\rm pvm} + \mathbf{n}\_{\rm wt} \mathbf{P}\_{\rm wtm} \tag{13}$$

Whereas, the total capital cost is calculated as:

$$\text{ACC} = \text{CFR} \times \left[ \mathbf{n}\_{\text{pv}} \mathbf{C}\_{\text{pv}} + \mathbf{n}\_{\text{wt}} \mathbf{C}\_{\text{wt}} + \mathbf{n}\_{\text{Bat}} \mathbf{C}\_{\text{Bat}} + \mathbf{n}\_{\text{Inv}} \mathbf{C}\_{\text{Inv}} \right] \tag{14}$$

where *npv* is the number of PV panels, *Cpv* is the unit cost of PV panel, *nwt* is the number of wind turbines, *Cwt* is the unit cost of a wind turbine, *nBat* is the number of batteries, *CBat* is the present worth of battery, *nInv* is the number of converters/ inverters, *CInv* is the present worth of converter/inverter and CRF is the Capital Recovery Factor.

The system implemented for hybrid system design consisting of PV/Wind/Battery configuration. The order configurations considered in the study include PV/Battery and Wind/Battery. For PV/Battery systems design, the wind turbine generators shut down and equation Eqs. (15) and (16) is modified as:

$$\mathbf{A}\mathbf{M}\mathbf{C} = \mathbf{n}\_{\mathrm{pv}}\mathbf{P}\_{\mathrm{pvm}} \tag{15}$$

Whereas, the total capital cost is calculated as:

$$\mathbf{ACC} = \mathbf{CFR} \times \left[ \mathbf{n}\_{\rm PV} \mathbf{C}\_{\rm PV} + \mathbf{n}\_{\rm But} \mathbf{C}\_{\rm But} + \mathbf{n}\_{\rm Inv} \mathbf{C}\_{\rm Inv} \right] \tag{16}$$

Similarly, for the Wind/Battery hybrid system design, the equations are modified as:

$$\mathbf{A}\mathbf{M}\mathbf{C} = \mathbf{n}\_{\text{wt}}\mathbf{P}\_{\text{wtm}} \tag{17}$$

Whereas, the total capital cost is calculated as:

$$\text{ACC} = \text{CFR} \times \left[ \mathbf{n}\_{\text{wt}} \mathbf{C}\_{\text{wt}} + \mathbf{n}\_{\text{Bat}} \mathbf{C}\_{\text{Bat}} + \mathbf{n}\_{\text{Inv}} \mathbf{C}\_{\text{Inv}} \right] \tag{18}$$

In all the configurations, the number of each hybrid component is selected as the decision variables using the following boundary constraints:

$$\mathbf{n}\_{\rm pv-max} \le \mathbf{n}\_{\rm pv} \le \mathbf{n}\_{\rm pv-min} \tag{19}$$

$$\mathbf{n}\_{\rm wt-max} \le \mathbf{n}\_{\rm wt} \le \mathbf{n}\_{\rm wt-min} \tag{20}$$

$$\mathbf{n}\_{\text{Bat}-\max} \le \mathbf{n}\_{\text{Bat}} \le \mathbf{n}\_{\text{Bat}-\min} \tag{21}$$

The number of inverters is selected as 4 and 3 for PV/Wind/Battery and the other two configurations respectively.

#### **3.2 Constrain formulation**

The optimization problem of the hybrid renewable system is to determine the right combination of PV panels, wind turbines and batteries which gives the minimum ACC and AMC. The ACC and AMC should, in turn, minimize the TAC given in Eq. (22) while satisfying the following constraints:

*npv*\_ min ≤*npv* ≤ *npv*\_ max *nwt*\_ min ≤ *nwt* ≤ *nwt*\_ max *nBat*\_ min ≤*nBat* ≤*nBat*\_ max and, *npv*, *nwtand nBat* ¼ *Integer* (22)

From Eq. (10), *npv*\_ min and *npv*\_ max are the lower and upper limit of *npv*; *nwt*\_ min and*nwt*\_ max are the lower and upper bound of *nwt* and, *nBat*\_ min and *nBat*\_ max are the lower and upper bound of*nBat*.

The charge quantity of the battery bank at any time should satisfy the following constraints

$$\text{SOC}(t\_{\text{min}}) \le \text{SOC}(t) \le \text{SOC}(t\_{\text{max}}) \tag{23}$$

The SOC whose maximum and minimum charge quantity is defined by *SOC t*ð Þ min *and SOC t*ð Þ max and is the battery State of Charge, determined by Eq. (8)

$$\text{SOC}(t) = \text{SOC}(t-1) \times (1 - \alpha) + \left[\frac{P\_L(t)}{\eta\_{Inv}} - (P\_{PV}(t) - P\_{WT}(t))\right] \times \eta\_{BC} \tag{24}$$

where *ω* is the hourly self-discharge rate of the battery, *ηBC* is the battery bank discharge efficiency, *ηInv* is the inverter efficiency.

The maximum charge quantity of the battery bank SOC (tmax) takes the value of the nominal capacity of the battery (SBat) and the minimum charge quantity of the battery bank SOC (tmin) is obtained from the maximum Depth of Discharge (DOD) as in Eq. (9).

$$\text{SOC}(t\_{\text{min}}) = (\mathbf{1} - DOD) \times \mathbf{S}\_{\text{But}} \tag{25}$$

#### **4. Modified smell agent optimization**

Studies have shown that one of the control parameters which affect the overall performance of smell agent optimization is the olfaction capacity of the agent. Since the ability of the agent to perceive a smell molecule largely depend on the size of the olfactory lobe, proper choice of olfaction capacity will influence the searching ability of Smell Agent Optimization positively. Unlike in the original SAO, where the olfaction capacity is selected arbitrarily, this research developed a model to select the olfaction capacity dynamically. This is to ensure that, the olfaction capacity changes as the algorithm iterate through the optimization process. Assuming the initial olfaction

*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

capacity assigned to an agent is given as *olf,* then the dynamic *olf* which is donated as *olf dyn* can be calculated as

$$\left.olf\right|\_{\text{dyn}} = \left.olf \times \mathcal{e}^{\left(\frac{\text{ibr}}{\text{itr}\_{\text{max}}}\right)}\right.$$

The dynamic olfaction capacity given in Eq. (26) is formulated such that, the perception capability of the agent exponentially as the agent approaches the object generating the smell molecules (i.e., optimal solution). The equation is used to modify the trailing mode solution search of SAO. The flow chart for the implementation of the dynamic SAO called the iSAO is given in figure below.

Note: From **Figure 2**, the part highlighted in red shows the improvement added to the standard smell agent optimization.

Step 1: The parameters required to implement the algorithm are initialized. These parameters are the population (positions) of the smell molecules, the initial velocity, search dimension, temperature, Boltzmann constant, random mode step movement and the number of iterations.

Step 2: Randomly generate the initial position of the smell molecules in the search space and assign the velocity of each molecule.

Step 3: The fitness of the generated molecules position and velocity in step 2 are evaluated.

Step 4: The velocity of each molecule is updated.

Step 5: The fitness of the sniffing mode and position of the agent in step 2 with the position of the molecule having the best sniffing fitness are evaluated.

Step 6: The dynamic olfaction capacity is calculated, the position of the molecules with the worst sniffing fitness is determined and the trailing mode behavior is performed.

Step 7: The fitness of the trailing mode is evaluated.

Step 8: The fitness of the trailing mode with the fitness obtained during the fitness mode are compared.

Step 9: If the trailing mode fitness is better than the sniffing mode fitness, step 6 is repeated to step 8 until the smell source is determined. If the sniffing mode fitness is better than the trailing mode fitness, then move to step 10.

Step 10: Random mode behavior is performed.

Step 11: The fitness of the random mode is evaluated.

Step 12: If the fitness of the random mode is better than the fitness of the trailing mode, then determine the new random position of the agent and the worst random position of the molecule and perform the trailing mode again, otherwise repeat step 4 to step 9.

Step 13: Terminate if the stopping condition is satisfied else repeat step 1 to step 12 until the stopping criteria are met.

#### **5. Important assumptions**

Highlighted below are some of the important assumptions adopted for the development of the proposed iSAO;


#### **6. Overview of data collection**

The data from **Table 1** were compiled from first a questionnaire distributed around Abuja environs to understand the energy behavior of the Nigerian household


*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

#### **Table 1.**

*Data collected for the project.*

and from data collected by Sunergy, the renewable energy department of Anjeed Innova group.

**Table 1** is the data for the daily wind speed, solar insolation and the required daily load. The load peaks at 22.2 kW with a minimum of 5.8 kW.

The graph of **Figure 3** shows a plot of the load required in kW on the y-axis against and the hours of the day. The load steadily climbs from about 6 am at 7.3 kW and maintains by 9 am at about 13 kW then starts to rise again at 5 pm to 16.3 kW then peaks at 22.3 kW by 7 pm then drops till around 6 kW till the next day. This is typical of the average Nigerian family activity.

The graph **Figure 4** below shows a plot of wind speed in m/s and the solar insolation in W/m2 on the y-axis against the hours of the day on the x-axis. Because of the intermittent nature of solar and wind energy, sunlight is to be expected for about 12 hours and the wind speed rises and falls rapidly throughout the day.

**Figure 3.** *Illustrating hourly load requirement [1].*

#### **7. Results and discussion**

The algorithms attempt to find the optimum number of PV panels, wind turbines, and batteries (NBatt) in PV/WT/battery, PV/battery and WT/battery configurations. The minimum and maximum numbers of each component are set to 0 and 100 for the solar PV and wind turbines, respectively the 50 for the battery storage.

Also, the olfaction capacity is dynamic with a total of 100 iterations and to calculate the accuracy of results, 10 independent runs are performed and the results are reported below.

#### **8. Analysis**

i. Standard smell agent optimization

**Table 2** illustrates the iterations 7 for the PV, wind turbine and battery and from the results, the algorithm finds the best and the worst combination economically with optimum reliability.

This program was run on Matlab R2017a and the graph is plotted with the annual cost on the y-axis with the iteration number on the x-axis (**Figure 5**).

*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

**Figure 4.** *Illustrating daily wind speed and solar insolation [1].*

**Table 3** WT and battery using the improved smell agent optimization. and battery. From the results, the algorithm finds the best and the worst combination economically with optimum reliability and the graph is plotted with the annual cost on the y-axis with the iteration number on the x-axis (**Figure 6**).

**Table 4** illustrates the iterations for the wind turbine and battery. From the results, the algorithm finds the best and the worst combination economically with optimum reliability and the graph is plotted with the annual cost on the y-axis with the iteration number on the x-axis (**Figure 7**).

ii. Improved smell agent optimization

**Table 5** illustrates the iterations for the PV/WT and battery using the improved smell agent optimization. From the results, the algorithm finds the best and the worst combination economically with optimum reliability and the graph is plotted with the annual cost on the y-axis with the iteration number on the x-axis (**Figure 8**).

**Table 6** illustrates the iterations for the PV and battery using the improved smell agent optimization. From the results, the algorithm finds the best and the worst combination economically with optimum reliability and the graph is plotted with the annual cost on the y-axis with the iteration number on the x-axis (**Figure 9**).

**Table 7** illustrates the iterations for the WT and battery using the improved smell agent optimization. From the results, the algorithm finds the best and the



*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

**Figure 5.** *Illustration of annual cost against iteration number for PV/wt/battery configurations [1].*


#### **Table 3.**

*Summary of the results for the hybrid systems obtained by SAO algorithm for 10 runs of the PV/BAT configurations.*

worst combination economically with optimum reliability and the graph is plotted with the annual cost on the y-axis with the iteration number on the x-axis (**Figure 10**).

**Figure 6.** *Illustration of annual cost against iteration number for PV/battery configurations [1].*


#### **Table 4.**

*Summary of the results for the hybrid systems obtained by SAO algorithm for 10 runs of the WT/BAT configurations.*

*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

**Figure 7.** *Illustration of annual cost against iteration number for wt/battery configurations [1].*

#### **9. Comparative analysis**

It should be noted from the table that only the best results obtained by each algorithm are used as a metric for comparing the performance of the algorithm. The algorithm is developed by the phenomenon of smell and the trailing behavior of agents in identifying smell sources. The results showed that the improved SAO is efficient and can compete with other computational intelligent algorithms.

**Table 8** illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the standard SAO PV/WT/batt configurations.

**Table 9** illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the standard SAO PV/batt configurations.

**Table 10** illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the standard SAO WT/batt configurations.

**Table 11** illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the improved SAO PV/WT/batt configuration.



*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

#### **Figure 8.**

*Illustration of annual cost against iteration number for PV/wt/battery configurations using the improved smell agent optimization [1].*


#### **Table 6.**

*Summary of the results for the hybrid systems obtained by improved smell agent algorithm for 10 runs of the PVBAT configurations.*

**Table 12** illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the improved SAO PV/batt configurations.

#### **Figure 9.**

*Illustration of annual cost against iteration number for PV/battery configurations using the improved smell agent optimization [1].*


#### **Table 7.**

*Summary of the results for the hybrid systems obtained by improved smell agent algorithm for 10 runs of the WT/ BAT configurations.*

**Table 13** illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the improved SAO WT/batt configurations.

*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

#### **Figure 10.**

*Illustration of annual cost against iteration number for wt/battery configurations using the improved smell agent optimization [1].*


#### **Table 8.**

*Illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the standard SAO PV/WT/batt configurations.*


#### **Table 9.**

*Illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the standard SAO PV/batt configurations.*

#### *Renewable Energy – Recent Advances*


**Table 10.**

*Illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the standard SAO WT/batt configurations.*


#### **Table 11.**

*Illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the improved SAO PV/WT/batt configuration.*


#### **Table 12.**

*Illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the improved SAO PV/batt configurations.*


**Table 13.**

*Illustrating the best, average and the standard deviation values for the total annual cost, Levelized cost of energy, loss of power supply probability and excess energy of the improved SAO WT/batt configurations.*

#### **10. Findings of the study**

The findings of this study are as follows:


#### **11. Conclusions**

Unlike in the original SAO, where the olfaction capacity is selected arbitrarily, this research developed a model to select the olfaction capacity dynamically. This is to ensure that, the olfaction capacity changes as the algorithm iterate through the optimization process.

This simple modification improved the trailing and tracking to obtain the cost effective HRES design.

#### **12. Recommendations**

The improved SAO has both constant and dynamic variables which play a significant role in the general performance of the algorithm. For this reason, the following areas are highlighted for consideration.


#### **13. Limitations**

The aim of the research is the development of an improved smell agent optimization sizing technique algorithm for a hybrid renewable energy system for off-grid use to obtain the most cost effective HRES design. This was achieved by modifying the smell agent optimization technique and this has been successfully achieved. However, it could not establish that all the molecules evaporating from a smell source are accounted for by the agent. It is assumed that the agent only makes its decision on the smell molecules it perceived.

### **Author details**

Akawu Shekari Biliyok<sup>1</sup> \* and Salawudeen Ahmed Tijani<sup>2</sup>

1 Department of Elect/Elect Engineering, Nile University of Nigeria, Abuja, Nigeria

2 Department of Elect/Elect Engineering, University of Jos, Nigeria

\*Address all correspondence to: scottyonline36@gmail.com

© 2022 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

*Improved Smell Agent Optimization Sizing Technique Algorithm for a Grid-Independent… DOI: http://dx.doi.org/10.5772/intechopen.105489*

#### **References**

[1] Biliyok AS. Developing an Improved Smell Agent Optimization Sizing Technique for a Grid-Independent Hybrid Renewable Energy System [thesis]. Abuja, Nigeria: Department of Electrical Electronic Engineering, Nile University of Nigeria, Abuja; 2021

[2] Wikipedia. Hybrid Renewable Energy System. 2020. Available from: https:// en.wikipedia.org/wiki/Hybrid\_renewable\_ energy\_system [Accessed: 09 November 2020]

[3] Chung CJ. Knowledge-Based Approaches to Self-Adaptation in Cultural Algorithms [thesis]. MI, USA: Wayne State University; 1997

[4] Baba Yachilla Alhaji. Development of an Intelligent Pid Controller Using an Improved Artificial Fish Swarm Optimization Algorithm for the Control of DC-Motor [thesis]. Abuja, Nigeria: Department of Computer Engineering, Nile University of Nigeria, Abuja; 2016

[5] Chedid R, Sawwas A. Optimal placement and sizing of photovoltaics and battery storage in distribution network. Energy Storage. 2019;**1**:e46

[6] Maleki A, Khajeh MG, Ameri M. Optimal sizing of a grid-independent hybrid renewable energy system incorporating resource uncertainty, and load uncertainty. International Journal of Electrical Power and Energy Systems. 2016;**83**:514-524

[7] Vinod Chandra SS. Smell detection agent-based optimization algorithm. Journal of the Institution of Engineers (India). 2016;**97**(Issue 3):431-436

[8] Iwayemi A. Nigeria's Dual Energy Problems: Policy Issues and Challenges. International Association for Energy Economics; 2008

[9] Sambaiah KS, Jayabarathi T. Loss minimization techniques for optimal operation and planning of distribution systems: A review of different methodologies. International Transactions on Electrical Energy Systems. 2019;**30**(Issue 2):e12230

[10] Okanlawon L. The Potential of Nigeria's Residential Solar Rooftop Systems. 2015. Available from: https:// www.renewableenergyworld.com/ storage/the-potential-of-nigerias-reside ntial-solar-rooftop-systems/#gref [Accessed: 04 March 2021]

[11] Salawudeen AT, Mu'azu MB, Yusuf A, Adedokun AE. A novel smell agent optimization (SAO): An extensive CEC study and engineering application. Knowledge-Based Systems. 2021;**232**: 107486

[12] Salawudeen AT, Mu'azu MB, Yusuf A, Adedokun AE. From smell phenomenon to smell agent optimization (SAO): A feasibility study. In: Proceedings of ICGET. 2018

[13] Salawudeen AT. Development of a Smell Agent Optimization Algorithm for Combinatorial Optimization Problems. Zaria, Nigeria: Department of Computer Engineering, Faculty of Engineering, ABU Zaria; 2018

#### **Chapter 4**
