Cloud-Fog-Based Smart Grid Model For Efficient Resource Management
Cloud-Fog-Based Smart Grid Model For Efficient Resource Management
Abstract: A smart grid (SG) is a modernized electric grid that enhances the reliability, efficiency,
sustainability, and economics of electricity services. Moreover, it plays a vital role in modern
energy infrastructure. The core challenge faced by SGs is how to efficiently utilize different kinds
of front-end smart devices, such as smart meters and power assets, and in what manner to process
the enormous volume of data received from these devices. Furthermore, cloud and fog computing
provide on-demand resources for computation, which is a good solution to overcome SG hurdles.
Fog-based cloud computing has numerous good characteristics, such as cost-saving, energy-saving,
scalability, flexibility, and agility. Resource management is one of the big issues in SGs. In this paper,
we propose a cloud–fog–based model for resource management in SGs. The key idea of the proposed
work is to determine a hierarchical structure of cloud–fog computing to provide different types of
computing services for SG resource management. Regarding the performance enhancement of cloud
computing, different load balancing techniques are used. For load balancing between an SG user’s
requests and service providers, five algorithms are implemented: round robin, throttled, artificial
bee colony (ABC), ant colony optimization (ACO), and particle swarm optimization. Moreover, we
propose a hybrid approach of ACO and ABC known as hybrid artificial bee ant colony optimization
(HABACO). Simulation results show that our proposed technique HABACO outperformed the
other techniques.
Keywords: cloud computing; smart grid; fog; resource management; smart devices; load balancing
1. Introduction
The emergence of the internet of things (IoT) raises the concept of smart connected communities.
These communities have smart transportation systems, smart homes, smart learning, smart health care
services, and smart grids (SGs). All the components are tied to each other via an Internet connection.
The SG is one of the important components in a smart connected community. An SG is an intelligent
scattered infrastructure that controls energy requirements in a supportable and economic way with
the facility of reliable communication systems for controlling and monitoring which is described
by Ghasemkhani and Signorini et al. in [1,2]. Whereas, Blanco-Novoa et al. in [3] discuss that the
merging of SGs and the IoT is called the internet of energy (IoE), which can act as an expansion of the
SG. The objective of the IoE is to give an efficient framework for energy trading between consumers.
Scattered intermittent energy generation and storage need to be controlled and observed logically via
the Internet.
To tackle growing complications and the huge volume of data produced by the immense usage of
devices (i.e., sensors, smart meters, and actuators), robust processing resources are required, which
must be processed, accessed, stored, and managed by cloud computing (CC). Moreover, the grouping
of CC with IoT for the formation of an IoE platform can be considered as pervasive sensing facilities by
Al Faruque et al. in [4]. CC allows the sensing information to be stored and utilized coherently for smart
observation and strong handling of the detected information streams. However, the response time and
latency in CC are increased by increasing the number of smart devices, which causes deviations for
some delay-sensitive applications and smart devices.
The fog computing concept is recommended in [5] by Aazam et al. to overcome the above-
mentioned challenges. Fog or edge computing extends the CC at the corner or edge of the network.
Fog computing allows the information to be preprocessed, where a latency constraint is needed.
The stated characteristics of fog computing are most beneficial such as: location awareness, minimum
latency, geographical distribution, massive number of devices, mobility, real-time applications, and
heterogeneity as discussed by Bonomi et al. in [6]. Some challenges arise when using smart devices,
system copes some challenges, such as latency requirements, resource-constrained devices, network
bandwidth, and cyber-physical systems. When smart devices are connected to the Internet, new security
challenges are raised, such as protecting resource-constrained devices and maintaining security status.
Moreover, up-to-date software for all smart devices which can assessing the security status of large
distributed systems in a reliable way and respond to security compromises without creating insufferable
troubles are not fulfilled by CC. To overcome the challenges of CC, Chiang et al. [7] presents a fog-based
architecture which dispenses computing, storage, control, and system administration nearer to the
end-user devices. Therefore, this paper presents a viable architecture for SGs in light of consolidating
two emerging technologies: cloud and fog computing.
1.1. Motivation
A cloud–fog–based platform is presented by Suryawanshi and Luan et al. in [8,9], where fog
devices are installed inside a multi-floor shopping center and an interstate bus to provide better
services to end users. The work in [10,11] by Luo and Gan in et al. have considered for efficient
resource allocation regarding electricity consumers in a SG. Luo et al. in [10] have discussed a cloud
computing-based infrastructure for a future generation power grid. However, the concept of fog
computing has not incorporated in [10], which could improve the latency and response time for efficient
resource allocation In addition, Gan et al. in [11] presents a decentralized algorithm for optimally
scheduling of electric vehicle (EV) charging. The power in the EV can be provided by a collector system
from off-vehicle sources: a battery, solar panels or an electric generator, etc. However, authors have not
consider the cloud and fog platforms in this scheme and no on-demand services were considered for
the consumers, which creates a high latency and slow response time in the system. Furthermore, Hao et
al. in [12] have considered the objectives of load shuffling facility by optimally scheduling the charging
and discharging behavior of EVs in a decentralized manner. However, the cloud and fog platforms
have not integrated in this study to schedule the demands of EV consumers in terms of minimizing cost,
response time, processing time, and request loading time. Based on these studies, we incorporate the
concepts of fog and cloud computing in order to effectively schedule resources in residential buildings
to enhance the response, request loading time, and processing time with minimum latency. Moreover, it
can be predicted that by integrating a cloud–fog–based platform in SGs, users will be furnished with
less complexity described by Mohamed et al. in [13]. However, in this platform, by increasing the
number of consumers, the resource management problem is also increased. Several load balancing
techniques are described in the literature by Dam and Chen et al. in [14,15] for resource management
in cloud environments. A cloud–fog–based SG model for resource management is presented in this
study to handle SG consumers’ (end users’) requests, and various load balancing policies are also
Sustainability 2018, 10, 2079 3 of 21
implemented. A graphical representation of this concept is depicted in Figure 1. This figure illustrates
the mechanism of information sharing between the consumers and the utility through the services
of cloud–fog–based servers. According to Luan et al. [9], the physical distance is shorter than the
communication distance because users access the services of the cloud via an internet protocol (IP)
network. The physical distance is kept equivalent to the communication distance for fog servers due
to the involvement of single-hop wireless connection. The proposed scenario considers fog servers to
reduce the latency and improve the response time to consumer requests.
Cloud
Fo
g
to
clo
n
nc tio
du
sta ica
e
di un
Fog
m
m
device
Co
A complex
og
ef
system, with
at
gr
large number
te
In
of users d
an e
s ical tanc
y dis
Phys ph
ical d
ist t he ation
ance th ic
Bo mun
SG com
1.2. Contributions
To get benefits from the SG, a cloud–fog–based model is integrated (an extension of
Saman et al. [16]) for efficient resource management in smart buildings. The main contributions
of our work are:
• A new cloud–fog–based model is presented to optimally allocate the consumers’ requests in the
cloud–fog environment.
• Fog devices are integrated with the cloud environment in order to minimize the system latency
because fog devices are placed nearer to the end users and can respond faster than the cloud server.
• Providing location awareness services through connected fog devices.
• A new hybrid artificial bee ant colony optimization (HABACO) algorithm is proposed to optimize
the allocation of requests to the available virtual machines (VMs) in the cloud–fog–based SG
model to deal with the request scheduling problem.
• In a residential area, two scenarios are considered, where renewable energy sources are used to
overcome the environmental concerns.
• Extensive simulations are conducted in order to demonstrate that the cloud–fog–based SG model
can fundamentally supplement the SG with minimum communication time.
Sustainability 2018, 10, 2079 4 of 21
• The performance of the proposed algorithm “HABACO” is evaluated and compared in order to
demonstrate its effectiveness by estimating the performance parameters with other approaches:
particle swarm optimization (PSO), artificial bee colony (ABC), ant colony optimization (ACO),
round robin (RR), and throttled.
The rest of the paper is organized as follows: Section 2 provides an overview of related work.
Section 3 introduces the system model. Section 4 presents the simulation results and discussion. Finally,
conclusions are drawn in Section 5.
2. Related Works
Multiple solutions have been presented in order to cope with real-time management, energy
efficiency, and to provide cost-effective solutions in power grid systems. These studies can be classified
into three classes pursuant to already-defined architectures.
environment. This optimization approach is based on the equivalent distribution of fog nodes.
The main purpose of this study is to obtain the tradeoff between the CPU execution time and the
storage utilized by the fog nodes. The response time and cost for this system is also evaluated and
compared with the previous PSO and genetic algorithms. In this case, it outperformed both of the
previous algorithms.
3. System Model
Cloud service providers generally have several DCs (reserved for computation and storage) in
geographically scattered locations. The proposed system model of a cloud–fog environment contains
multiple fog DCs and a cloud DC. The geo-distributed cloud–fog environment-based SG framework is
depicted in Figure 2. The proposed model is comprised of three layers: end user layer, fog layer, and
core cloud layer.
Number of buildings
Separate layers
communication
Core cloud layer
Two-way
Exchange servers
cloud
Core
Utility
VM
Fog-2
Fog-3
Fog-L
Fog-1
Fog layer
VM
VMM
VM
ESS
ESS
WT
WT
Home-2
Home-3
Home-M
Home-1
PV
PV
End user layer
Building-N
Building-1
Building-2
Figure 2. System model of cloud–fog–based SG. ESS: energy storage system; PV: photovoltaic; VM:
virtual machine; VMM: VM monitor; WT: wind turbine.
Sustainability 2018, 10, 2079 8 of 21
We assume that the end user layer consists of N number of buildings B = {b1 , b2 , b3 , ..., b N },
and each building has multiple homes H = { h1 , h2 , h3 , ..., h M }. Every home has a renewable energy
generation unit and an energy storage system (ESS) to fulfill the electricity demand. This type of
generator has no emission or fuel cost and they are environmentally friendly due to the extraction of
energy from natural sources. Further, the excessive generated energy is stored in the ESS to fulfill the
load demand of the home in low generation hours. All information about a home energy consumption,
energy generation, and scheduling of appliances is sent to the fog layer. This layer accesses numerous
cloud resources to run their applications. The defined smart buildings or homes communicate with the
fog devices via smart meters. All of the homes share their deficit and excessive power information with
each other through the cloud–fog environment. The smart meters interact via local area network, wide
area network, or metropolitan area network. There are numerous wireless solutions for communication
link in the SG, such as Wi-Fi, Z-Wave, or ZigBee.
The second layer is the fog layer, which is used to effectively manage the latency issue and network
resource management. The fog layer physically exists in the consumers’ local region (i.e., in region 1,
region 2, etc.), which is nearer to the consumers. In short, the fog node is situated closer to the consumer
(i.e., one hop away from the consumer), as shown in Figure 1 where physical and communication
distances are equivalent. These fogs are managed by the internet service providers as in [5,7]. The
fog layer consists of F = { f 1 , f 2 , f 3 , ..., f L } number of fogs. Here, each smart building is connected
with a fog device. The fog devices consist of hardware (H/W) resources (i.e., main memory, storage,
network bandwidth, and processor) which are virtualized. In a single physical machine, different
numbers of VMs are working according to the virtualization concept which are managed by a virtual
machine monitor (VMM). The VMM sustains various operating systems (OSs) to run applications on a
single H/W platform simultaneously. The hypervisor (VMWare, Xen, UML, etc.) or VMM operates
as an interface between the VMs and the guest OSs. A large number of heterogeneous applications
are running on each VM or guest OS, which is the basic unit to execute an application or a request.
Let V M = {vm1 , vm2 , vm3 , ..., vmn } be the set of VMs utilized in the fog devices. The fog layer is used
for communication and works as an intermediate layer between the end user and the cloud. The last
layer is the core cloud layer. The main components in this layer are the DCs which are used to facilitate
the demanded storage and computing capability to the end users. They work on a pay-as-you-go basis
as per the requirements of the applications.
The most important feature of CC is the computational load profile characteristics of the
computing applications. When a large number of applications run on a single platform, it overburdens
the server. To tackle this issue, various techniques are used. This concept is easily understood from
Figure 3, where end users generate a large number of requests to access the service provider. Moreover,
for efficient load balancing or resource utilization in VMs, a load balancer is used. For efficient
computational load profile management in CC, different load balancing techniques are used. In SGs,
the computational load profile is similar to the electricity load profile concept. So, when we integrate
the SG with the cloud–fog–based environment, then efficient management of the computational load
profile of all SG-related tasks is also necessary as well. In this work, five heuristic algorithms are
implemented to solve the load balancing problem. Moreover, when this system model works for
all regions of the world, every region has multiple numbers of buildings and fogs. These buildings
may be in residential, commercial, or industrial areas. For performance evaluation, two scenarios are
considered in this system model, which will be discussed in detail in the simulation section.
Sustainability 2018, 10, 2079 9 of 21
VM VM VM VM
1 2 3 n
Load balancer
Service
provider
Figure 3. System model of load balancing considering fixed number of requests to cloud and
fog environment.
However, some explanation of the algorithms used for efficient load balancing is provided here.
When an algorithm works on equal time slicing, it is known as RR. Here, resources are allocated to
each host by an equal time slicing mechanism for their efficient utilization. This algorithm is used to
balance the load of requests coming from end users and allocate them to VMs. The throttled algorithm
also maintains the resources. In this algorithm, all VMs’ information is available at the start and it
maintains the indexes table of VMs. However, these algorithms are sequential, and they do not work
on local best or global best results. To overcome this issue, the PSO algorithm is used here. PSO gives
us both the local best and global best results. In this algorithm, in every iteration, the current best
(local best) value is compared with the previous best (global best) value, and if it meets the fitness
criteria, the current best is selected as the global best. Otherwise, the previous one remains as the best
value.
VM uses its own resources (running in parallel). A VM does not share its resources with other VMs.
To find the total number of tasks TV for N buildings:
N
TV = ∑ (Vi ). (1)
i =1
Further, mapping of these TV to “n” VMs affects numerous performance parameters [34]:
processing time, response time, and different types of costs. The mathematical modeling of these
performance parameters are written as outlined hereafter.
where
Length o f ith task
Pi,j = × Pe . (4)
Capacity o f jth V M
3.1.3. Costs
Each and every system must pay some cost according to the resource usage. As mentioned above,
we calculate different types of costs, which are stated as below.
VM cost is calculated by:
TTotal
CostV M = , (6)
CostV M per hour × U
where TTotal is the end time minus the start time of the VM and “U” represents the value of converting
time from the milliseconds (ms) to hours.
DTC is calculated as:
DTC cost is the amount of data sent to the service provider in GBs. When we multiply the data
sent in GBs with the per-GB cost, the cost of DTC is obtained.
After calculating the VM and DTC costs, total cost is calculated by Equation (8):
(τij )α .(ηij ) β
Probij = , (9)
∑(τij )α .(ηij ) β
where τij denotes the pheromone value related to task i and resource j, ηij denotes the heuristic
function, and α and β are the constant coefficients. After calculating the probability of each step, each
ant builds a solution for assigning all the tasks to the resources. The pheromone value is initially set as
a positive constant, then at the end of every iteration, the ants change this value. The ABC algorithm
was proposed by Dervis Karaboga in 2005 [36]. It mimics the behavior of honey bees to achieve the
best food source, called “nectar”. For task scheduling in SGs, we assume that the number of bees are
equal to the number of tasks and the number of food sources are equal to the number of VMs. Each
ant starts with an arbitrary task and resource (VM) for processing this task. Furthermore, the task to be
executed and the resource on which it has to be performed are calculated by the probability function
Equation (10):
Fit j
Prob j = V , (10)
∑i=1 Fiti
where Fit j is the fitness of source j, Fiti is the fitness of the task or the fitness of the requests from the
users i, and V is the total number of tasks or requests. The proposed load balancing strategy depends
on the best features of ABC and ACO to make the hybrid (HABACO) in order to increase the efficiency
of the system for efficient resource management. Here, for load balancing, ACO is used in search of
new sources of food (VM) based on best source utilization. However, it cannot change the obtained
pheromone value for the VM in some iterations. So, as a result, an optimal solution is not found due to
local optima. To find the best optimal solution (which task is assigned to which VM), we integrate the
ABC fitness function (waggle dance) step into ACO to find the global optimum solution.
The description of smart grid scenarios is mapped to fog computing in the proposed system
along with the integration of the heuristic algorithms: PSO, ABC, ACO, and our proposed hybrid
HABACO. Fog is used in the local region in order to facilitate the local consumers’ requests, and
helps in minimizing the response time and latency of the consumers. It also helps in efficient resource
allocation. Although CC provides the on-demand delivery of the resources, it increases the latency of
the system. So, fog computing is integrated in this system to minimize the latency of the consumers’
services (i.e., consumers’ energy consumption requests), and allocation of the SGs’ resources using
the cloud and fog platform is performed by the existing algorithms: PSO, ABC, ACO, and the newly
proposed algorithm HABACO. Since different homes (in one building (considered in our work) or in
multiple buildings (taken as an example)) are different load requests and these algorithms are also
stochastic in nature, handling the consumers’ requests through the heuristic algorithms results in a
more appropriate approach.
For load balancing, Algorithm 1 illustrates the steps to efficiently allocate the incoming tasks
to the VMs. In this algorithm, every resource (i.e., VM, fogs, cloud datacenters, consumers’ load
requests from the SG environment, etc.) is visited once, which is based on expected processing time
and response time of task i on VM j. According to these expected outcomes, we achieve the global
optimal solution by using the bee fitness function.
Sustainability 2018, 10, 2079 12 of 21
etc.) of VMs
11: Initially, set all the VMs in working mode
12: Set the broker policy (i.e., optimized response time is chosen in this work)
13: Step-3: Resource allocation
14: for VM = 1; VM ≤ length (VM list); VM++ do
considered. A cloud analyst simulator was used to evaluate the efficiency of the proposed algorithm.
This simulator is the extended version of cloudsim, which provides us with a real-world environment.
In this experimental setup, the whole world was divided into six regions [34]. Here, we evaluated
performance parameters in two scenarios. This work is the extension of Saman et al. [16], where
scenario 1 was considered only for a single region. Scenario 1 consists of one region—namely, region 2.
This region further considers two buildings and two fogs, and each building has ten homes in
it. This scenario was simulated using the four algorithms: PSO, ACO, ABC, and our proposed
algorithm HABACO. The performance metrics considered in this case were: hourly response time
of buildings, processing time of data centres, and costs of VMs, DTC, and TC. However, in scenario
II, we enhanced our system in terms of five regions and each region has a fog and a building. Every
building has 60–160 homes in it. In this scenario, results were further obtained for 2 VMs and 5 VMs.
The performance parameters for this scenario were: response time of buildings, processing time of fogs,
VM costs, DTC, and TC. The results of the proposed algorithm were compared with the PSO, ACO,
and ABC using the considered performance metrics. The aim of these assumptions was to check the
performance of the proposed model that how efficiently it works for a single region and for multiple
regions. The optimized response time service broker policy was used as a resource allocation policy.
The input parameters for both scenarios were: VM bandwidth was 1000 MB, DC architecture
Was X86, VMM was Xen, memory per machine was 2048 MB, storage per machine was 100,000 MB,
DC available bandwidth per machine was 10,000, DC number of processors per machine was 4,
DC processor speed was 100 MIPS, users grouping factors were 100, requests grouping factors
were 100, and executable task size was 250. According to these assumptions, results were obtained
through simulations.
performance as compared to PSO and ACO. The overall response time of this scenario is depicted in
Table 1, where HABACO performed better than its counterpart algorithms.
40
35 PSO-2-VM
15
10
0
Building-1 Building-2
Number of Buildings
Figure 4. Average response time of buildings in scenario 1. ABC: artificial bee colony; ACO:
ant colony optimization; HABACO: hybrid artificial bee ant colony optimization; PSO: particle
swarm optimization.
250
PSO-2-VM
ABC-2-VM
ACO-2-VM
200 HABACO-2-VM
Average Response Time (ms)
PSO-5-VM
ABC-5-VM
ACO-5-VM
150 HABACO-5-VM
100
50
0
Building-1 Building-2 Building-3 Building-4 Building-5
Number of Buildings
VMs Load Balancing Algorithm Average (ms) Minimum (ms) Maximum (ms)
PSO 154.83 38.07 66,055.39
ABC 153.55 38.07 66,045.38
2
ACO 79.64 39.53 223.17
HABACO 53.67 38.07 72.13
PSO 140.27 38.51 72,051.46
ABC 109.33 39.39 54,954.1
5
ACO 52.64 38.42 69.49
HABACO 52.63 38.42 69.49
Sustainability 2018, 10, 2079 15 of 21
30
25
Average Processing Time (ms)
PSO-2-VM
ABC-2-VM
ACO-2-VM
20 HABACO-2-VM
PSO-5-VM
ABC-5-VM
15 ACO-5-VM
HABACO-5-VM
10
0
Fog-1 Fog-2
Number of Fogs
200
PSO-2-VM
180 ABC-2-VM
ACO-2-VM
160 HABACO-2-VM
100
80
60
40
20
0
Fog-1 Fog-2 Fog-3 Fog-4 Fog-5
Number of Fogs
VMs Load Balancing Algorithm Average (ms) Minimum (ms) Maximum (ms)
PSO 103.86 0.05 66,000.85
ABC 102.58 0.05 66,000.85
2
ACO 21.67 0.05 61.92
HABACO 2.64 0.04 10.98
PSO 89.29 0.06 71,998.92
ABC 58.48 0.06 54,904.24
5
ACO 1.56 0.05 8.62
HABACO 1.56 0.03 10.41
4.3. Cost
In this section, three types of costs are calculated: VM cost, DTC, and TC. In any system, consumers
have to pay some cost according to resource usage. So, the cost computed in this system is based on the
number of fogs, cloud datacenters, the number of buildings, and the number of homes. Cost was also
calculated for the two scenarios: scenario 1 and scenario 2. For scenario 1: VMs cost was optimized
by using the PSO, ABC, ACO and our proposed algorithm, yielding values of upto $8, $9, $10, and
$7, respectively, using 2 VMs. Our proposed algorithm gave the best optimal results in scenario 1, as
shown in Figure 8. Using 5 VMs, the PSO, ABC, ACO, and HABACO, all algorithms gave the results
upto $12, $13, $11, and $10.5, respectively. DTC was computed as $152, $151, $150, and $149 using
PSO, ABC, ACO, and HABACO algorithms, respectively, considering 2 VMs as displayed in Figure 9.
For 5 VMs, DTC was computed as $148, $147, $154, and $146. TC was calculated as $170, $175, $168,
and $167 for all algorithms using 2 VMs as shown in Figure 10. For 5 VMs, TC was computed as $172,
$167, $172, and $167, respectively, for PCO, ABC, ACO, and HABACO in scenario 1. Our proposed
algorithm gave cost-effective results throughout scenario 1 of the proposed system.
Sustainability 2018, 10, 2079 17 of 21
15
10
VM Cost ($) 5
0
M
-V -V
M
- VM -V
M
-V
M
-V
M
-V
M
- VM
-2 -2 -2 -2 -5 -5 -5 -5
O C O O O C O O
PS AB AC AC PS AB AC AC
AB AB
H H
200
150
DTC ($)
100
50
0
M VM
-V
M
-V - - VM -V
M
-V
M
-V
M
-VM
-2 -2 -2 -2 -5 -5 -5 -5
O C O O O C O O
PS AB AC AC PS AB AC AC
AB AB
H H
200
150
TC ($)
100
50
0
M M M
-V
M
-V -V -VM -V
M
-V
M -V -V
M
-2 -2 -2 -2 -5 -5 -5 -5
O BC O O O C O O
PS A AC AC PS AB AC AC
AB AB
H H
For scenario 2, VM cost was calculated for both 2 and 5 VMs, as displayed in Figure 11. As the
number of VMs increased, the cost of the system also increased. However, service providers can tackle
this issue by efficiently managing energy, as discussed earlier. Four algorithms were implemented for
effective resource management; however, our proposed HABACO algorithm showed high performance
as compared to its counterpart algorithms. The total DTC is shown in Figure 12. DTC is related to VMs
Sustainability 2018, 10, 2079 18 of 21
and techniques. According to these resources, if consumers’ requests are efficiently managed, then
they have to pay less cost. Here, with five VMs, DTC was less than with two VMs. Moreover, the cost
with HABACO was minimum as compared to the other algorithms. The TC of this system with both
numbers of VMs is presented in Figure 13.
70
60
50
VM Cost ($)
40
30
20
10
0
VM
VM
VM
VM
VM
VM
VM
VM
-2
-5
-2
-5
-2
-5
-2
-5
AC
AC
C
C
O
O
O
O
AB
AB
PS
PS
AC
AC
AB
AB
H
H
Figure 11. VM cost in scenario 2.
800
700
600
500
DTC ($)
400
300
200
100
0
VM
VM
VM
VM
VM
VM
VM
VM
-2
-5
-2
-5
-2
-5
-2
-5
AC
AC
C
C
O
O
O
O
AB
AB
PS
PS
AC
AC
AB
AB
H
Based on the simulation results, we can conclude that the proposed algorithm HABACO
outperformed ABC, ACO, and PSO. The reason behind HABACO’s superior performance is that
it is a mixture of the best features of the ABC and ACO algorithms. PSO and ABC gave global best and
local best solutions, respectively; however, response time, processing time, execution time, and cost
were slightly higher due to their slow convergence. However, ACO sometimes becomes stuck in local
optima, so it cannot find the global optimal solution. To overcome this issue, the ABC fitness step is
added in the ACO algorithm, which yields better response time, processing time, cost, and execution
time due to its higher convergence rate.
Sustainability 2018, 10, 2079 19 of 21
900
800
700
600
500
TC ($) 400
300
200
100
VM
VM
VM
VM
VM
VM
VM
VM
-2
-5
-2
-5
-2
-5
-2
-5
AC
AC
C
C
O
O
O
O
AB
AB
PS
PS
AC
AC
AB
AB
H
H
Figure 13. TC in scenario 2.
References
1. Ghasemkhani, A.; Hassan, M.; Ashkan R.-K.; Amjad A.-M. Optimal design of a wide area measurement
system for improvement of power network monitoring using a dynamic multiobjective shortest path
algorithm. IEEE Syst. J. 2015, 11, 2303–2314. [CrossRef]
2. Signorini, M. Towards an Internet of Trust: Issues and Solutions for Identification and Authentication in the
Internet of Things. Ph.D. Dissertation, University of Pompeu Fabra, Barcelona, Spain, 2015.
3. Blanco-Novoa, Ó.; Fernández-Caramés, T.M.; Fraga-Lamas, P.; Castedo, L. An Electricity Price-Aware
Open-Source Smart Socket for the Internet of Energy. Sensors 2017, 17, 643. [CrossRef] [PubMed]
4. Al Faruque, M.A.; Korosh, V. Energy management-as-a-service over fog computing platform. IEEE Int.
Things J. 2016, 3, 161–169. [CrossRef]
5. Aazam, M.; Eui-Nam, H. Fog Computing and Smart Gateway Based Communication for Cloud of Things.
In Proceedings of the 2014 International Conference on Future Internet of Things and Cloud (FiCloud),
Barcelona, Spain, 27–29 August 2014.
6. Bonomi, F.; Rodolfo, M.; Jiang, Z.; Sateesh, A. Fog Computing and its Role in the Internet of Things.
In Proceedings of the First Edition of the MCC Workshop on Mobile Cloud Computing, Helsinki, Finland,
17 August 2012.
7. Chiang, M.; Tao, Z. Fog and IoT: An overview of research opportunities. IEEE Int. Things J. 2016, 3, 854–864.
[CrossRef]
8. Suryawanshi, R.; Ganesh, M. Focusing on mobile users at the edge of internet of things using fog computing.
Int. J. Sci. Eng. Technol. Res. 2015, 4, 3225–3231.
9. Luan, T.H.; Gao, L.; Li, Z.; Xiang, Y.; Wei, G.; Sun, L. Fog computing: Focusing on mobile users at the edge.
arXiv Preprint 2015, arXiv:1502.01815.
10. Luo, F.; Zhao, J.; Dong, Z.Y.; Chen, Y.; Xu, Y.; Zhang, X.; Wong, K.P. Cloud-based information infrastructure
for next-generation power grid: Conception, architecture, and applications. IEEE Trans. Smart Grid 2016, 7,
1896–1912. [CrossRef]
11. Gan, L.; Ufuk, T.; Steven, H.L. Optimal decentralized protocol for electric vehicle charging. IEEE Trans.
Power Syst. 2013, 28, 940–951. [CrossRef]
12. Hao, X.; Fu, M.; Lin, Z.; Mou, Y. Decentralized optimal scheduling for charging and discharging of plug-in
electric vehicles in smart grids. IEEE Trans. Power Syst. 2016, 31, 4118–4127.
13. Mohamed, N.; Jameela, A.-J.; Imad, J.; Sanja, L.-M.; Sara, M. SmartCityWare: A Service-Oriented Middleware
for Cloud and Fog Enabled Smart City Services. IEEE Access 2017, 5, 17576–17588. [CrossRef]
14. Dam, S.; Gopa, M.; Kousik, D.; Parmartha, D. An Ant-Colony-Based Meta-Heuristic Approach for Load
Balancing in Cloud Computing. Appl. Comput. Int. Soft Comput. Eng. 2017, 204. [CrossRef]
15. Chen, S.-L.; Chen, Y.-Y.; Kuo, S.-H. CLB: A novel load balancing architecture and algorithm for cloud services.
Comput. Electr. Eng. 2017, 58, 154–160. [CrossRef]
16. Saman, Z.; Nadeem, J.; Asif, K.; Bibi, R.; Fatima, J.M.; Maida, Z. A Cloud-Fog-Based Smart Grid Model for
Efficient Resource Utilization. In Proceedings of the 14th IEEE International Wireless Communications and
Mobile Computing Conference (IWCMC-2018), Limassol, Cyprus, 25 June 2018.
17. Hussain, B.; Hasan, Q.U.; Javaid, N.; Guizani, M.; Almogren, A.; Alamri, A. An Innovative Heuristic
Algorithm for IoT-enabled Smart Homes for Developing Countries. IEEE Access 2018, 6, 15550–15575.
[CrossRef]
18. Yoldas, Y.; Ahmet, O.S.M.; Muyeen, A.V.V.; Irfan, A. Enhancing smart grid with microgrids: Challenges and
opportunities. Renew. Sustain. Energy Rev. 2017, 72, 205–214. [CrossRef]
19. Rajarajeswari, R.K.V.; Ashutosh, M. Demand Side Management in Smart Grid using Optimization Technique
for Residential, Commercial and Industrial Load. Indian J. Sci. Technol. 2016, 9, 43. [CrossRef]
20. Barbato, A.; Antonio, C.; Lin, C.; Fabio, M.; Stefano, P. A distributed demand-side management framework
for the smart grid. Comput. Commun. 2015, 57, 13–24. [CrossRef]
21. Mora, M.; O’Connor, R.V.; Tsui, F.; Marx Gómez, J. Design methods for software architectures in the
service-oriented computing and cloud paradigms. Softw. Pract. Exp. 2018, 48, 263–267. [CrossRef]
22. Armbrust, M.; Armando, F.; Rean, G.; Anthony, D.; Joseph, R.K.; Andy, K.; Gunho, L.; David, P.; Ariel, R.;
Ion, S.; et al. A view of cloud computing. Commun. ACM 2010, 53, 50–58. [CrossRef]
Sustainability 2018, 10, 2079 21 of 21
23. Xia, Z.; Wang, X.; Zhang, L.; Qin, Z.; Sun, X.; Ren, K. A privacy-preserving and copy-deterrence content-based
image retrieval scheme in cloud computing. IEEE Trans. Inform. Forensics Secur. 2016, 11, 2594–2608.
[CrossRef]
24. Fu, Z.; Ren, K.; Shu, J.; Sun, X.; Huang, F. Enabling personalized search over encrypted outsourced data with
efficiency improvement. IEEE Trans. Parallel Distrib. Syst. 2016, 27, 2546–2559. [CrossRef]
25. Xia, Z.; Wang, X.; Sun, X.; Wang, Q. A secure and dynamic multi-keyword ranked search scheme over
encrypted cloud data. IEEE Trans. Parallel Distrib. Syst. 2016, 27, 340–352. [CrossRef]
26. Khiyaita, A.; El Bakkali, H.; Zbakh, M.; El Kettani, D. Load balancing cloud computing: state of art.
In Proceedings of the 2012 National Days of Network Security and Systems (JNS2), Marrakech, Morocco,
20–21 April 2012.
27. Sambit, K.M.; Bibhudatta, S.; Priti, P.P. Load Balancing in Cloud Computing: A big Picture. J. King Saud
Univ.-Comput. Inform. Sci. 2018, 1–32. [CrossRef]
28. Nikhit, P.; Umesh, K.L.; Nitin, A. A Hybrid ACHBDF Load Balancing Method for Optimum Resource
Utilization In Cloud Computing. Int. J. Sci. Res. Comput. Sci. Eng. Inform. Technol. 2017, 2, 367–373.
29. Bitam, S.; Sherali, Z.; Abdelhamid, M. Fog computing job scheduling optimization based on bees swarm.
Enter. Inform. Syst. 2017, 12, 373–397. [CrossRef]
30. Reka, S.S.; Ramesh, V. Demand side management scheme in smart grid with cloud computing approach
using stochastic dynamic programming. Perspect. Sci. 2016, 8, 169–171. [CrossRef]
31. Moghaddam, M.H.Y.; Alberto, L.-G.; Morteza, M. On the performance of distributed and cloud-based
demand response in smart grid. IEEE Trans. Smart Grid 2017, 1–14. [CrossRef]
32. Chekired, D.A.; Lyes, K. Smart Grid Solution for Charging and Discharging Services Based on Cloud
Computing Scheduling. IEEE Trans. Ind. Inform. 2017, 13, 3312–3321. [CrossRef]
33. Gu, C.; Fan, L.; Wu, W.; Huang, H.; Jia, X. Greening cloud data centers in an economical way by energy
trading with power grid. Future Gener. Comput. Syst. 2018, 78, 89–101. [CrossRef]
34. Wickremasinghe, B.; Rajkumar, B. CloudAnalyst: A CloudSim-based tool for modelling and analysis of large
scale cloud computing environments. MEDC Proj. Rep. 2009, 22, 433–659.
35. Kousalya, K.; Balasubramanie, P. To improve ant algorithm’s grid scheduling using local search. Int. J.
Comput. Cogn. 2009, 7, 47–57.
36. Karaboga, D. An Idea Based on Honey Bee Swarm for Numerical Optimization; Technical Report-tr06; Erciyes
University: Kayseri, Turkey, 2005; Volume 200.
c 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access
article distributed under the terms and conditions of the Creative Commons Attribution
(CC BY) license (http://creativecommons.org/licenses/by/4.0/).