Next Article in Journal
Analysis of the RES Potential in Accordance with the Energy Policy of the European Union
Next Article in Special Issue
Network Cost Estimation for Mini-Grids in Large-Scale Rural Electrification Planning
Previous Article in Journal
Carbon Emissions Reduction and Corporate Financial Performance: The Influence of Country-Level Characteristics
Previous Article in Special Issue
Metaheuristics and Transmission Expansion Planning: A Comparative Case Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Optimal Energy Management System for University Campus Using the Hybrid Firefly Lion Algorithm (FLA)

1
Faculty of Electrical & Computer Engineering, University of Engineering and Technology, Peshawar 25000, Pakistan
2
School of Telecommunication Engineering, Suranaree University of Technology, Nakhon Ratchasima 30000, Thailand
*
Authors to whom correspondence should be addressed.
Energies 2021, 14(19), 6028; https://doi.org/10.3390/en14196028
Submission received: 13 August 2021 / Revised: 2 September 2021 / Accepted: 17 September 2021 / Published: 22 September 2021
(This article belongs to the Special Issue Design and Optimization of Sustainable Energy Systems)

Abstract

:
As the world population and its dependency on energy is growing exponentially day by day, the existing energy generating resources are not enough to fulfill their needs. In the conventional grid system, most of the generated energy is wasted because of improper demand side management (DSM). This leads to a difficulty in keeping the equilibrium between the user need and electric power production. To overcome these difficulties, smart grid (SG) is introduced, which is composed of the integration of two-way communication between the user and utility. To utilize the existing energy resources in a better way, SG is the best option since a large portion of the generated energy is consumed by the educational institutes. Such institutes also need un-interrupted power supply at the lowest cost. Therefore, in this paper, we have taken a university campus load. We have not only applied two bio-inspired heuristic algorithms for energy scheduling—namely, the Firefly Algorithm (FA) and the Lion Algorithm (LA)—but also proposed a hybrid version, FLA, for more optimal results. Our main objectives are a reduction in both, that is, the cost of energy and the waiting time of consumers or end users. For this purpose, in our proposed model, we have divided all appliances into two categories—shiftable appliances and non-shiftable appliances. Shiftable appliances are feasible to be used in any of the time slots and can be planned according to the day-ahead pricing signal (DAP), provided by the utility, while non-shiftable appliances can be used for a specified duration and cannot be planned with the respective DAP signal. So, we have scheduled shiftable appliances only. We have also used renewable energy sources (RES) for achieving maximum end user benefits. The simulation results show that our proposed hybrid algorithm, FLA, has reduced the cost excellently. We have also taken into consideration the consumers’ waiting times, due to scheduling of appliances.

1. Introduction

Due to the recent advancements in technology, almost every walk of life is becoming altered by the technological revolution. Due to these fast paced advancements, people are reshaping their lifestyles as a result of utility providers, and industrialists and researchers are focused on making the customer’s life easy and more comfortable. Most researchers and innovators are working to find new ways to improve the performance, reliability, efficiency, and comfort of the existing system, but all these attributes of a system have to be cost-effective in terms of optimized energy consumption. Energy optimization is a very important research area in many engineering fields. In this modern world, electrical energy is used in our homes (lights, air-conditioners, freezers, etc.), offices (computer, fan, lights, etc.), factories (heavy machines), most businesses (trade, company, etc.), universities, schools, colleges, laboratories, and hospitals, and so forth. It is also important to remember that energy consumption rises day by day. New houses, power consumption centers such as new factories, computers, machinery, and vehicles are manufactured every day. However, the energy-generating resources cannot be increased by the same proportion. All energy generating stations provide only a given quantity of energy for a limited time duration. Because of the intensification of energy demand, one cannot alter the whole structure. Instead, all power-consuming appliances must be supplied with electricity. Educational institutes are the most important energy consumers, and need an uninterrupted power supply. They also participate in the increase of carbon emissions [1]. The excessive and wasteful usage of electrical energy brings ecological problems such as economic progress, toxic emissions, and global warming to the forefront. Therefore, we must turn the traditional electric power grid (TEPG) into the smart grid (SG).
The integration of information and communication technology (ICT) into the TEPG is known as SG [2]. Controlling the system, information management and cyber protection are some of the advanced functionalities of SG. In TEPG, the energy flow is unidirectional while in the Smart Grid, the energy flows bi-directionally [3]. This enables consumers to take energy from the utility in times of need and supply it back to the utility provider when extra energy is generated at the consumer end. SG is a complex system that includes numerous smart devices; however, it provides beneficial services to both the consumer and the utility provider.
To minimize electricity consumption, reduce electricity bills, PAR, and the waiting time for the comfort of consumers are the main objectives of demand-side management (DSM). DSM is a service provided by SG that operates appliances as per the pricing signal of the utility. DSM has several techniques that help with peak cutting, load ever-changing, planned preservation, adjustable load ever-changing, and planned load progress, which resolves the energy optimization problem. Such techniques help with shifting the load from ON-peak hours to the Off-peak hours [4]. DSM is based on ‘Energy Management (EM)’ and ‘Demand Response (DR). DR is the economic tactic, where the utility providers force their customers to decrease or change their energy usage from expensive hours to inexpensive hours. DSM mainly focuses on the usage of smart energy resources. DR uses two methods: Incentive-based [5] and price-based [6]. In the incentive-based method, consumers’ devices are interrupted to an ON/Off state by sending a quick note to the smart house (SH) or Smart Building (SB). The consumers’ devices are turned OFF in Peak Hours and after passing this phase the devices are switched ON in the Off-Peak hours when they are needed. This decreases the PAR of corporations, which is the key feature of the SG. During inexpensive hours or off-peak hours, the customer is encouraged to use their devices in the market-based program. As a result, customers could easily plan their use in inexpensive hours, which helps them to minimize their per-unit price and, as a result, there is a substantial reduction in their electricity bill. The Smart Grid does this all bidirectionally by exploiting its various components such as smart devices, that is, Smart Meters (SM), Energy Management Controllers (EMC), Self-Operated Devices (SODs), and secure communication infrastructure.
EMC gathers information regarding all connected users, then sets a proper energy usage plan as per the given pricing signal. SM transmits the pricing signal from utility to EMC, at the same time SM gathers the information about energy consumption of customers and sends these data to the utility provider. The communication of SM with the company is accomplished via radio communication links, for example, WiMAX, Bluetooth, ZigBee, WiFi, GSM, GPRS, or through Power Line Carrier Communication (PLCC) [3]. It enables the EMC to plan the operation of Smart Homes and Self Operated Devices (SODs) in an efficient and optimized way by exploiting various energy optimization algorithms. The working principle of some algorithms is based on mathematical models, while some other algorithms are nature-inspired and some are bio-inspired. These algorithms help researchers to find an optimized solution to the desired problem, modeled by the experts/researchers. In the last twenty years, these bio-inspired optimization algorithms have played a major role in solving many optimization problems, due to which they have become very popular. The following section provides a comprehensive literature review. Most researchers have focused only on the minimization of energy cost (electricity bill of the consumer), by scheduling appliances in the residential, commercial or industrial sectors. Usually, they have ignored the consumer frustration due to the scheduling of the appliances. When electricity price decreases, waiting time will increase. Therefore, an adoptive nature algorithm is needed to work for both types of consumers, that is, some consumers want to reduce their electricity bill, while others’ priority is the minimization of their waiting time. That is why a hybrid algorithm can provide choice to the consumer. Secondly, it combines the benefits of both algorithms in a single platform. Therefore, in this work, we have proposed a novel hybrid algorithm, that is, a combination of FA and LA—namely, FLA—to achieve the advantages of both parent algorithms.
The rest of the paper is organized as follows. The literature review is presented in Section 2. The proposed system model architecture is shown in Section 3. Appliances’ categorization and their specifications are tabulated in Section 4. Section 5 discusses the proposed algorithms, that is, FA, LA and FLA (hybridization of FA and LA). Section 6 presents the simulation results, that is, Pricing Signal, Hourly Load, Hourly electricity cost, Daily average load, Daily average cost, Total energy cost, Average waiting time, PAR and integration of RES. The conclusions and future work are presented in the last section of the paper.

2. Literature Review

Much research is carried out in the area of energy optimization in smart grids. Different algorithms are used for this purpose. Here, we mention a comprehensive study of existing techniques, along with their achievements and shortcomings.
In [1], the authors used the bacterial foraging algorithm (BFA) and the grass-hopper optimization algorithm (GOA). They reduced the electricity cost by 34.69% and 37.47% and PAR by 56.20% and 20.87% using GOA and BFA scheduling, respectively, for a single office. In [7], the author mixed integer non-linear programming to reduce PAR and electricity bills. With this method they have reduced the cost, but they do not give any importance to PAR reduction. In [8], the author discussed cost reduction and the storage of energy resources. They enable the end users to store extra energy during Off-peak hours and sell them to the utility provider during ON-peak hours, which is a very beneficial technique for both users and utility providers.
In [9], the author used two nature-inspired algorithms, named the Moth flame optimization algorithm (MFO) and the Genetic algorithm (GA). They reduced the PAR and electricity cost to a greater extent but the waiting time results are not good in the case of the MFO algorithm, while in the case of GA algorithm they reduced the waiting time as well as PAR, but the electricity cost increased in the simulation results. Similarly in [10], the author used a hybrid technique, BFA and GA, for energy optimization. When two or more algorithms are merged into a single one, it is called a hybrid algorithm. The simulation results of this algorithm show that the cost and PAR achieved by using a hybrid is less as compared to GA and BFA. While in case of GA and BFA, the cost achieved through BFA is low compared to GA while on the other hand, the PAR of BFA is greater as compared to GA. Thus, the cost and PAR achieved through the hybrid approach is far better and, similarly, the user waiting time response through the hybrid approach is also good.
In [11] the author used the cuckoo search algorithm (CSA) and the grasshopper optimization algorithm (GOA) to reduce the cost and PAR for the optimal usage of industry machines. They selected a woollen mill and proposed a model and conducted scheduling for the same model. Their cost and PAR using GOA is good as compared to CSA, but the waiting time for GOA is very high as compared to CSA. In [12], the authors used mechanisms to balance the load in commercial, residential and industrial areas. In DSM, they showed a comparison of electricity utilising GA against not using GA. They lowered peak-hour electricity use by employing GA-based DSM. They have, however, overlooked PAR and end-user comfort.
For most of the optimization problems the cuckoo search algorithm (CSA) is quite effective as a result of its generic and durable nature. The cuckoo search algorithm outperforms the genetic algorithm and the particle swarm optimization technique (PSO). In [13], the author used TLBO, Linear programming, the TLBO algorithm and GA for the scheduling of appliances to reduce PAR and electricity costs. In [14], the author used the swarm optimization algorithm and an improved adaptive evolutionary algorithm. They worked on the optimal economic dispatch solution for a micro grid by using the improved artificial bee colony optimization.
In [15], the authors used the multi-verse optimization (MVO) algorithm and sine-cosine algorithm (SCA), and have extracted better results in terms of low PAR and electricity cost. The authors maintained a desired threshold level between the cost of electricity and the amount of time users must wait. The author of [16] employed a cooperative multi-swarm particle swarm optimization (PSO) technique to lower the PAR, but they overlooked the waiting time for appliances as well as the cost of electricity. The authors of [17] discussed the importance of smart grids in the future and highlighted some of the optimization techniques that could be used to solve various optimization problems, such as GA, Memetic Algorithm, PSO, ACO Algorithm, and Artificial Neural Networks. In [18], with the objective of achieving lower electricity costs and PAR, the authors used an autonomous and optimal domestic energy consumption scheduling technique. For various load scenarios, their simulation results demonstrate a considerable reduction in electricity costs. Both users and utility providers benefit from the implementation of their proposed methods. In [19], the author has taken a model of seven different appliances and made a scheduling mechanism for it by using GA. They divided the load into three categories: flexible, inflexible, and nighttime loads. Their simulation results reveal a cost reduction of 8% and a reduction in energy use of 2%.
DSM is a crucial function in a smart grid because it allows end-users to change their energy consumption in a variety of ways. In [20], in order to reduce PAR and electricity, a demand side management strategy was used; they created energy for users by employing RES or distribution generators. They used to charge their storage devices during low-cost hours and then use them during peak-cost hours. As a result, both the cost of electricity and the PAR were reduced.
In [21], the author used a demand response technique. Demand response is actually a method of shifting load or using appliances within a beneficial time duration, meaning in off-peak hours, so that the consumer would not suffer from ON-peak hours. The author of this research demonstrated that, by moving the load, unexpected peaks might be noticed at off-peak hours. They used multi-CPP (Critical Peak Pricing) and multi-TOU (Time of Use Pricing) pricing schemes, as well as DAP (Day Ahead Pricing) signal concepts, to analyse this later peak creation. In [22], the author used a demand side load management technique building in such a way as to increase the user satisfaction at a low cost. The author used the GA-based optimization technique to achieve their objective.
In [23], the author shifted the load from ON-peak hours to OFF-peak hours and used different meta-heuristic techniques, such as EDE, HSA, BFA, and GA. They achieved lower electricity costs and low PAR, but ignored user waiting time. In [24] the author used two algorithms, QoE-aware Cost Saving Appliance Scheduling (Q-CSAS) and QoE-aware Renewable Source Power Allocation (Q-RSPA), to reduce the electricity cost. Simulation results showed that the average energy cost savings using the proposed algorithms are 22% when there were no RES installed, and they increased it up-to 30% using RES.
In [25], the author used three heuristic algorithms, the GA, BPSO and ACO algorithms, to reduce electricity cost, PAR and user waiting time. Simulation results show that the GA based energy management controller performed very much more efficiently than the BPSO and ACO based energy management controller for the reduction of electricity cost, PAR and user waiting time. In [26], the author used a hybrid GA and PSO for energy management, and to minimize the user waiting time in smart homes.

3. Proposed System Model Architecture

DSM is responsible for the effective performance of SG. Through the DSM, we can manage our energy consumption and all the other activities that may take place on the customer side. In this section, we propose a model that will work on the scheduling of appliances for a university campus to achieve beneficial results by optimal scheduling of the appliances. The load is divided into two sessions—morning session and evening session. We have further distributed morning session load into classrooms, offices, labs, the main hall, staff hostel, students-hostel, canteen and search light as shown in Table 1. We considered that the campus is receiving a DAP signal from the utility provider, according to which we have to schedule our appliances to achieve our desired objectives. As discussed earlier, we divided the campus load into different blocks, as load units. These blocks have some non-shiftable appliances such as fans, tube lights, energy savers, exhaust fans, air conditions. All of them can be used in a specified time slot. Similarly, we have some shiftable appliances such as geysers, lab equipment, water pumps, water coolers, and so forth. We can shift all these appliances to another time slot if needed, to help in the reduction of PAR, cost and customer waiting time. This scheduling is beneficial for both consumer and utility provider. Smart meters are placed in each apartment to compute each hour’s power consumption. The utility provider shares the price information with the users for the required energy consumption.
In order to meet our objectives, we have distributed our 24-h load into a morning session and an evening session. The morning session is 8 h from 8 am to 4 pm, and the evening session is 16 h from 4 pm to 8 am (next day morning). Each hour represents a single time slot, that is, eight slots and 16 slots respectively. Our proposed system architecture is shown in Figure 1.

4. Appliances Categorization

We have categorized our load into two groups, Group A and Group B. We call the group “A” appliances shiftable appliances and group “B” appliances non-shiftable appliances. Let A n represents all the appliances so that,
A n = A s + A n s
where, “ A s ” represents shiftable appliances and “ A n s ” represents non-shiftable appliances. We can schedule all these appliances in the 24-h time duration as follows;
t ϵ T , , T = { t 1 , t 2 , t 3 . t 24 } .
Table 1 depicts the campus load units, their power ratings, starting timings, finishing timings and the average length of operations times (LOTs).

5. Algorithms

5.1. Firefly Algorithm (FA)

The firefly is an insect that mostly lives in humid environments [27]. They generate limited intensity flashing lights of colors such as green, yellow and pale-red. They use their unique flashing light pattern for the purpose of communication. As a defensive cautionary mechanism, they use scent to lure their companions and potential prey. This flashing light mating pattern is used by some female species to track down other species. There are more than 2000 different species of fireflies in this biosphere. FA is used for the solution of optimization problems, in various fields, as FA generates precise and accurate results with respect to time and optimality [28]. The two main features of FA are attractiveness and movement.

5.1.1. Attractiveness

In FA, the attractiveness depends upon the intensity of light and the distance between two fireflies. The attractiveness of two fireflies, that is, fireflies “i” and “j”, is related to the intensity of light and is inversely proportional to the square of their distance. i.e.,
I ( I 0 , γ , d i j ) = I 0 d i j 2
where, I o shows the intensity of the flashing light at the origin and d i j represents the distance between firefly i and firefly j. The fireflies’ flashing light intensity is inversely proportional to the distance between them and depends on the absorption of the medium ( γ ). So the above equation can be re-written as;
I ( I 0 , γ , d i j ) = I 0 e γ d i j 2

5.1.2. The Movement

The distance between any two fireflies i and j in 2-D can be found as;
d i j = ( x i x j ) 2 + ( y i y j ) 2
The movement of a firefly “i” towards a more attractive firefly “j” can be found using the following equation;
x i = x i + β 0 e γ d i j 2 ( x j x i ) + α ( r a n d 1 2 )
The term β 0 e γ d i j 2 ( x j x i ) in the above equation shows the attraction while the term α ( r a n d 1 2 ) is known as the randomization term with a randomization parameter α , while r a n d is known as the random number generator.

5.2. Lion Algorithm

Unlike other felines, like cats, leopards, and so forth, lions have interesting behavior to keep the animals strong in every generation. There is a term used for lions’ social systems, and that is pride, in which the females live and give birth to their off-springs. A cub needs 2–4 years to become mature. In between these 2–4 years, nomadic lions may try to take a pride, which is called a territorial defense. To defend the territory a war may start between the territorial lions and the nomadic lions. When the nomadic lion defeats the territorial lion, the nomadic lion kills the territorial lion or takes him out of the pride, and the nomadic lion becomes the territorial lion by killing his cubs and taking his female and using her to give birth to his offspring. Once the cubs of the pride become mature and stronger enough to defeat the territorial lion, they attack and take their pride back. On the basis of this nature, the Lion algorithm is composed of four major components. These are:
  • Pride Generation, which is responsible for generating solutions;
  • Mating, to derive new solutions;
    Territorial Defense;
  • Territorial Takeover, indicates finding the new best solution if the existing solution is not good.
The searching procedure of the lion algorithm follows the basic structure of an algorithm. Consider an objective function:
a r g m i n f ( c 1 , c 2 , . . . . . . . , c n ) ; n 1
where
c i ( c i m i n , c i m a x ) .
To indicate a search procedure, we have to generate a pride. It consists of C m a l e and C f e m a l e , with the structure:
C m a l e = [ c 1 m a l e , c 2 m a l e , . . . . . . , c L m a l e ] a n d C f e m a l e = [ c 1 f e m a l e , c 2 f e m a l e , . . . . . . , c L f e m a l e ]
where “L” defines the length of the solution vector.
The strength of the entire pride can be calculated as:
f ( C p r i d e ) = 1 2 ( 1 + | | C m C u b s | | ) ( f ( C m a l e ) + f ( C f e m a l e ) + A g e m a t a g e ( c u b ) + 1 b = 1 | | X m C u b s | | f ( C b m C u b s ) + f ( C b f C u b s ) | | X m C u b s | | )
where ( f ( C b m a l e ) and ( f ( C b f e m a l e ) show the strength of male and female cubs respectively. While the number of male cubs in the pride is shown as | | C m C u b s | | , the A g e m a t shows the maturity age for mating.

5.3. Firefly-Lion Algorithm (FLA)

Hybrid algorithms are made up of two or more algorithms that work together and complement one another to create a profitable synergy. Hybridization tries to utilize the benefits of each method. The Firefly Algorithm is one the most simple, easy to implement and efficient bio-inspired meta-heuristic algorithms. On the other hand, researchers have put it in the slow convergence rate algorithms group. It also usually is trapped in the local optimum, particularly in multi-model operations. However, it is very appropriate for the parallel applications. LA is one of the bio-inspired meta-heuristic algorithms, used for optimization problems, especially in multi-model operations [29]. Therefore, making a hybrid version of both these algorithms, namely, FLA, to obtain the benefits of both, while evading their shortcomings, is currently needed. FLA not only handles multi-mode operations but also has a very short convergence time and is easy to implement. Therefore, In this paper, we have studied the nature of both these algorithms and introduced the combination of firefly and lion algorithms, namely, the Firefly Lion algorithm (FLA). We have achieved better results through the hybrid approach. In FLA, first, we applied FA for finding the local optimum solution. Then, we applied LA on these local best ( l b e s t ). Meanwhile, we generated random data as well, (as done at the start also), and compared the local best generated by FA with this randomly generated data. We have the condition that if l b e s t is less than the generated data values, then it is considered to be l b e s t , otherwise LA starts its own operation and finds its own l b e s t . By moving forward, the global best g b e s t is found.

6. Results and Discussions

In this section, the MATLAB simulation results are discussed. We have extracted better results from FLA and compared them with its variants FA and LA. The PAR reduction, cost minimization and reduction in the average waiting time for the user are the main focus of this work.

6.1. Energy Pricing Signals

Different energy pricing schemes are used in the literature to give energy costs either on a daily basis or an hourly basis such as time of use (TOU), inclined block rate (IBR), critical peak pricing (CPP) and day ahead pricing (DAP). We have used the DAP signal depicted in Figure 2d, reproduced from [30], for manipulation of the energy cost.

6.1.1. TOU

TOU is the energy pricing scheme that is used for a wide block of hours as shown in Figure 2a.

6.1.2. IBR

IBR is the electricity pricing model which divides the pricing scheme into several steps. The first step has a low cost and then the cost increases or decreases step wise as shown in Figure 2b.

6.1.3. CPP

CPP is the electricity pricing signal which shows the high electricity rate at a specific peak duration as shown in Figure 2c.

6.1.4. DAP

DAP is the hourly consumption rate of electricity. It is regulated by the utility provider in two parts—base bill and hourly prices, as shown in Figure 2d.

6.2. Hourly Load

Figure 3 depicts the hourly load distribution for the unscheduled and scheduled with FA, LA and FLA algorithms. It is clear in the Figure that FLA excellently distributes the load on 24 h, while avoiding the peak hours’ higher energy cost.

6.3. Hourly Energy Cost

Figure 4 shows the hourly energy cost distribution for the unscheduled and scheduled with FA, LA and FLA algorithms. As compared to its variants algorithms, FA and LA, FLA reduced the hourly cost excellently.

6.4. Daily Average Load

The daily average load for the unscheduled and scheduled with FA, LA and FLA algorithm is shown in Figure 5. The Figure clearly shows that the daily average load, scheduled by all algorithms, remained the same.

6.5. Daily Average Energy Cost

The daily average energy cost for the unscheduled and scheduled with FA, LA and FLA algorithm is shown in Figure 6. It can be observed that, due to the scheduling of the load, the cost is reduced.

6.6. Total Energy Cost

The unscheduled and scheduled energy costs with FA, LA and FLA algorithms are shown in Figure 7. The simulation results show that the electricity cost of FLA is much less, as compared to the unscheduled load cost and the other Bio-Inspired algorithms.

6.7. Average Waiting Time

Waiting time plays an important role in the scheduling of appliances. Usually, when we reduce the cost, as a result, waiting time increases. A user cannot use an appliance when they desire, and has to wait for their scheduled time. Our simulation results show that consumer waiting time is reduced to a greater extent, which was our main objective. Figure 8 shows the average waiting time for scheduled appliances with FA, LA and FLA algorithms.

6.8. PAR

Not only average waiting time, but also PAR plays an important role in the optimal scheduling of smart appliances. During ON-Peak hours, high peaks of load are produced, due to which the utility provider uses extra generating sources, due to which per unit cost increases. Therefore, most researchers try to reduce PAR to find an economical solution for the user. Figure 9 shows a comparison between the unscheduled and scheduled with FA, LA and FLA algorithms. The simulation results show that we have not achieved better results in the case of PAR reduction, because of the cost and waiting time reductions.

6.9. RES

The use of renewable energy resources (RES) is the need of the day. It not only reduces our daily load demand, but also, the extra generated energy can be given back to the grid for the peak hours’ high energy demand. So, PAR can also be reduced, and hence we can reduce the electricity cost to a greater extent. Figure 10 shows the estimated day-time solar energy generation, while Figure 11 depicts the unscheduled load without RES and with RES. It is clear from the figure that the load demand is not only fulfilled, but the extra generated energy is either stored or given back to the grid, using the two-way energy meter.
Table 2 and Table 3 depict the control parameters for FA and LA, respectively.
Table 4 summarizes the performance of the proposed FLA algorithm in comparison to the unscheduled-load and the load scheduled with FA and LA algorithms.

7. Conclusions and Future Work

In this paper, we have applied two bio-inspired algorithms, the Firefly Algorithm (FA) and the Lion Algorithm (LA), and proposed the hybrid version of these two algorithms—called the Firefly-Lion Algorithm (FLA)—for University campus appliances to extract beneficial results. We have compared their results in two different timing sessions, that is, a morning-session and an evening-session. We have taken the starting and finishing times for different appliances and have different power ratings and LOTs for different appliances. We have conducted our simulations using the day ahead pricing (DAP) signal. Our results show that we have reduced the total energy cost to a great extent. While there is always a bargain between electricity cost and waiting time—that is, when cost is decreased, the waiting time increases—in our FLA, we have reduced the cost without affecting the waiting time for the consumer. The cost and waiting time are very much lower as compared to the other algorithms used for comparison. In future, more efficient bio-inspired algorithms will be explored and hybridized to achieve better results.

Author Contributions

H.U. designed the system model, M.K. and I.U. wrote the manuscript, I.H. did editing and N.K. developed methodology, while, P.U. and I.H. technically supervised the whole work. All of the authors equally contributed, edited, revised and approved the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by Suranaree University of Technology (SUT) Research and Deveolpment funds and by Thailand Science Research and Innovation (TSRI).

Acknowledgments

The authors are extremely thankful to Suranaree University of Technology (SUT) Thailand and Govt. of Pakistan.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ullah, I.; Khitab, Z.; Khan, M.N.; Hussain, S. An Efficient Energy Management in Office Using Bio-Inspired Energy Optimization Algorithms. Processes 2019, 7, 142. [Google Scholar] [CrossRef] [Green Version]
  2. Sesana, M.M.; Salvalai, G. Overview on life cycle methodologies and economic feasibility for nZEBs. Build. Environ. 2013, 67, 211–216. [Google Scholar] [CrossRef]
  3. Lo, C.-H.; Ansari, N. The progressive smart grid system from both power and communications aspects. IEEE Commun. Surv. Tutor. 2011, 14, 799–821. [Google Scholar] [CrossRef] [Green Version]
  4. Hashmi, M.H.; Hänninen, S.; Mäki, K. Survey of smart grid concepts, architectures, and technological demonstrations worldwide. In Proceedings of the 2011 IEEE PES conference on innovative smart grid technologies Latin America (ISGT LA), Medellin, Colombia, 19–21 October 2011. [Google Scholar]
  5. Avci, M.; Erkoc, M.; Rahmani, A.; Asfour, S. Model predictive HVAC load control in buildings using real-time electricity pricing. Energy Build. 2013, 60, 199–209. [Google Scholar] [CrossRef]
  6. Jie, Y.; Zhang, G.; Kai, M. Matching supply with demand: A power control and real time pricing approach. Int. J. Electr. Power Energy Syst. 2014, 61, 111–117. [Google Scholar]
  7. Christopher, A.O.; Wang, L. Smart charging and appliance scheduling approaches to demand side management. Int. J. Electr. Power Energy Syst. 2014, 57, 232–240. [Google Scholar]
  8. Huang, Y.; Tian, H.; Wang, L. Demand response for home energy management system. Int. J. Electr. Power Energy Syst. 2015, 73, 448–455. [Google Scholar] [CrossRef]
  9. Ullah, I.; Hussain, I. Time-constrained nature-inspired optimization algorithms for an efficient energy management system in smart homes and buildings. Appl. Sci. 2019, 9, 792. [Google Scholar] [CrossRef] [Green Version]
  10. Khalid, A.; Javaid, N.; Mateen, A.; Khalid, B.; Khan, Z.A.; Qasim, U. Demand side management using hybrid bacterial foraging and genetic algorithm optimization techniques. In Proceedings of the 10th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS), Fukuoka, Japan, 6–8 July 2016; pp. 494–502. [Google Scholar]
  11. Ullah, I.; Hussain, I.; Singh, M. Exploiting grasshopper and cuckoo search bio-inspired optimization algorithms for industrial energy management system: Smart industries. Electronics 2020, 9, 105. [Google Scholar] [CrossRef] [Green Version]
  12. Shi, K.; Li, D.; Gong, T.; Dong, M.; Gong, F.; Sun, Y. Smart community energy cost optimization taking user comfort level and renewable energy consumption rate into consideration. Processes 2019, 7, 63. [Google Scholar] [CrossRef] [Green Version]
  13. Manzoor, A.; Javaid, N.; Ullah, I.; Abdul, W.; Almogren, A.; Alamri, A. An intelligent hybrid heuristic scheme for smart metering based demand side management in smart homes. Energies 2017, 10, 1258. [Google Scholar] [CrossRef] [Green Version]
  14. Gao, R.; Wu, J.; Hu, W.; Zhang, Y. An improved ABC algorithm for energy management of microgrid. Int. J. Comput. Commun. Control 2018, 13, 477–491. [Google Scholar] [CrossRef] [Green Version]
  15. Ullah, I.; Hussain, I.; Uthansakul, P.; Riaz, M.; Khan, M.N.; Lloret, J. Exploiting Multi-Verse Optimization and Sine-Cosine Algorithms for Energy Management in Smart Cities. Appl. Sci. 2020, 10, 2095. [Google Scholar] [CrossRef] [Green Version]
  16. Ma, K.; Hu, S.; Yang, J.; Xu, X.; Guan, X. Appliances scheduling via cooperative multi-swarm PSO under day-ahead prices and photovoltaic generation. Appl. Soft Comput. 2018, 62, 504–513. [Google Scholar] [CrossRef]
  17. Khan, N.; Riaz, M. Reliable and Secure Advanced Metering Infrastructure for Smart Grid Network. In Proceedings of the 2018 International Conference on Computing, Electronic and Electrical Engineering (ICE Cube), Quetta, Pakistan, 12–13 November 2018; pp. 1–6. [Google Scholar] [CrossRef]
  18. Shirazi, E.; Jadid, S. Optimal residential appliance scheduling under dynamic pricing scheme via HEMDAS. Energy Build. 2015, 93, 40–49. [Google Scholar] [CrossRef]
  19. Setlhaolo, D.; Xia, X. Optimal scheduling of household appliances incorporating appliance coordination. Energy Procedia 2014, 61, 198–202. [Google Scholar] [CrossRef] [Green Version]
  20. Manasseh, E.; Ohno, S.; Kalegele, K.; Tariq, R. Demand side management to minimize peak-to-average ratio in smart grid. In Proceedings of the ISCIE International Symposium on Stochastic Systems Theory and Its Applications, Kyoto, Japan, 1–2 November 2014; pp. 102–107. [Google Scholar]
  21. Muratori, M.; Rizzoni, G. Residential demand response: Dynamic energy management and time-varying electricity pricing. IEEE Trans. Power Syst. 2015, 31, 1108–1117. [Google Scholar] [CrossRef]
  22. Muratori, M.; Rizzoni, G. User satisfaction-induced demand side load management in residential buildings with user budget constraint. Appl. Energy 2017, 187, 352–366. [Google Scholar]
  23. Ansar, S.; Ansar, W.; Ansar, K.; Mehmood, M.H.; Raja, M.Z.U.; Javaid, N. Demand side management using meta-heuristic techniques and ToU in smart grid. In International Conference on Network-Based Information Systems; Springer: Cham, Switzerland, 2017. [Google Scholar]
  24. Pilloni, V.; Floris, A.; Meloni, A.; Atzori, L. Smart home energy management including renewable sources: A qoe-driven approach. IEEE Trans. Smart Grid 2016, 9, 2006–2018. [Google Scholar] [CrossRef] [Green Version]
  25. Rahim, S.; Javaid, N.; Ahmad, A.; Khan, S.A.; Khan, Z.A.; Alrajeh, N.; Qasim, U. Exploiting heuristic algorithms to efficiently utilize energy management controllers with renewable energy sources. Energy Build. 2016, 129, 452–470. [Google Scholar] [CrossRef]
  26. Hussain, I.; Ullah, M.; Ullah, I.; Bibi, A.; Naeem, M.; Singh, M.; Singh, D. Optimizing energy consumption in the home energy management system via a bio-inspired dragonfly algorithm and the genetic algorithm. Electronics 2020, 9, 406. [Google Scholar] [CrossRef]
  27. Hussain, I.; Khan, F.; Ahmad, I.; Khan, S.; Saeed, M. Power loss reduction via distributed generation system injected in a radial feeder. Mehran Univ. Res. J. Eng. Technol. 2021, 40, 160–168. [Google Scholar] [CrossRef]
  28. Dey, N.; Chaki, J.; Moraru, L.; Fong, S.; Yang, X.S. Firefly algorithm and its variants in digital image processing: A comprehensive review. In Applications of Firefly Algorithm and Its Variants; Springer: Singapore, 2020; pp. 1–28. [Google Scholar]
  29. Rajakumar, B.R. Lion Algorithm and Its Applications. In Frontier Applications of Nature Inspired Computation; Springer: Singapore, 2020; pp. 100–118. [Google Scholar]
  30. Day-Ahead Pricing (DAP), NYISO (New York Independent System Operator). Available online: http://www.energyonline.com/Data/GenericData.aspx?DataId=11&NYISO-Day-Ahead-Energy-Price (accessed on 6 August 2021).
Figure 1. System Model Architecture.
Figure 1. System Model Architecture.
Energies 14 06028 g001
Figure 2. (Different Pricing Signals used in the literature: (a) ToU, (b) IBR, (c) CPP and (d) DAPM.
Figure 2. (Different Pricing Signals used in the literature: (a) ToU, (b) IBR, (c) CPP and (d) DAPM.
Energies 14 06028 g002
Figure 3. Hourly load distribution graph.
Figure 3. Hourly load distribution graph.
Energies 14 06028 g003
Figure 4. Hourly energy cost distribution.
Figure 4. Hourly energy cost distribution.
Energies 14 06028 g004
Figure 5. The daily average load.
Figure 5. The daily average load.
Energies 14 06028 g005
Figure 6. The daily average energy cost.
Figure 6. The daily average energy cost.
Energies 14 06028 g006
Figure 7. Total energy cost.
Figure 7. Total energy cost.
Energies 14 06028 g007
Figure 8. Average Waiting Time.
Figure 8. Average Waiting Time.
Energies 14 06028 g008
Figure 9. Peak to Average power Ratio (PAR).
Figure 9. Peak to Average power Ratio (PAR).
Energies 14 06028 g009
Figure 10. The estimated day-time solar energy generation.
Figure 10. The estimated day-time solar energy generation.
Energies 14 06028 g010
Figure 11. Un-scheduled load with and without RES.
Figure 11. Un-scheduled load with and without RES.
Energies 14 06028 g011
Table 1. Campus load units and their specifications.
Table 1. Campus load units and their specifications.
Time SessionsSerial No.Load UnitsPower Rating ( λ s ) (KW)Starting Time ( T s )Finishing Time ( T f )Time-Span ( T f T s ) (h)Average LOT (h)
1.Offices26.308160805
2.Labs20.508160805
3.Classrooms13.108160804
Morning4.Library4.9608160806
session5.Main hall9.3208160802
6.Wash rooms6.308160806
7.Canteen10.408160806
8.Staff Hostel32.316081612
Evening9.Student Hostel33.416081614
session10.Search lights9.8216081610
11.Canteen11.316081612
Table 2. Control parameters for Firefly Algorithm.
Table 2. Control parameters for Firefly Algorithm.
S. No.ParameterValue
1Randomness Parameter ( α )0.2
2Attractiveness ( β )2
3Absorption coefficient ( γ )1
Table 3. Control parameters for Lion’s Algorithm.
Table 3. Control parameters for Lion’s Algorithm.
S. No.ParameterValue
1n11
2Maturity age ( A g e M a t )5
3Female max. breeding strength ( B S t r e n g t h )5
4Max. generation ( g e n m a x )100
5Crossover prob. ( P C r o s s o v e r )0.2, 0.6
6Mutation prob. ( P M u t a t i o n )0.5
Table 4. Comparison of FLA with unscheduled load and the load scheduled with FA and LA algorithms.
Table 4. Comparison of FLA with unscheduled load and the load scheduled with FA and LA algorithms.
TechniquesCost ($)%Cost ReductionWaiting Time (h)PAR%PAR Reduction
Un-Schedule16,328.241.384
FA Scheduled15,419.375.566%7.681.2499.754%
LA Scheduled15,748.913.548%8.261.22811.271%
FLA Scheduled14,498.1411.208%4.271.2479.898%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ullah, H.; Khan, M.; Hussain, I.; Ullah, I.; Uthansakul, P.; Khan, N. An Optimal Energy Management System for University Campus Using the Hybrid Firefly Lion Algorithm (FLA). Energies 2021, 14, 6028. https://doi.org/10.3390/en14196028

AMA Style

Ullah H, Khan M, Hussain I, Ullah I, Uthansakul P, Khan N. An Optimal Energy Management System for University Campus Using the Hybrid Firefly Lion Algorithm (FLA). Energies. 2021; 14(19):6028. https://doi.org/10.3390/en14196028

Chicago/Turabian Style

Ullah, Haneef, Murad Khan, Irshad Hussain, Ibrar Ullah, Peerapong Uthansakul, and Naeem Khan. 2021. "An Optimal Energy Management System for University Campus Using the Hybrid Firefly Lion Algorithm (FLA)" Energies 14, no. 19: 6028. https://doi.org/10.3390/en14196028

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