You are currently viewing a new version of our website. To view the old version click .
Applied Sciences
  • Article
  • Open Access

19 October 2023

An Optimal Scheduling Technique for Smart Grid Communications over 5G Networks

and
1
Department of Mechanical and Mechatronic Engineering, Cape Peninsula University of Technology, Cape Town 7535, South Africa
2
Centre for Distributed Power and Electronic Systems, Cape Peninsula University of Technology, Cape Town 7535, South Africa
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue 5G/6G Mechanisms, Services, and Applications

Abstract

The latest wireless network technology, Fifth Generation (5G) new radio (NR), is considered to be an emerging wireless network solution for smart grid (SG) communications owing to its ultra-reliable low latency and larger bandwidth properties. Packet scheduling is one of the mechanisms that plays a vital function in the performance of smart grid communications since it is highly responsible for the bandwidth resource allocation processes. The union of a scheduling approach and a beamforming technique can, however, boost the performance of multi-users in the communication system. Since 5G communication is not intended for smart grid communications, the performance of a scheduling approach must be properly utilized and effectively optimized. This paper evaluates and examines the Deadline Scheduling with Commitment (DSC) scheduling approach and further demonstrates that the performance of the popular Earliest Deadline First (EDF) scheduling approach can be richly enhanced by our modification and improvement of the approach. A novel Optimal Usage and Dropping Scheduling (OUD) approach for proper utilization and assigning of Resource Blocks (RBs) is also proposed to meet the stringent requirements of smart grid communications. Several performance indexes are employed to ascertain the performance of these scheduling approaches, and the results indicate that our proposed OUD approach shows a superior scheduling performance. It is concluded that 5G communications can be effectively employed in smart grids while utilizing the proposed OUD scheduling approach.

1. Introduction

The conventional power system is gradually being substituted with a modern-based technological infrastructure that utilizes a recent and emerging communication system known as smart grid (SG). Smart grids ensure more secure distributed generation options, adequate power storage, and state-of-the-art communication technologies. Smart grid also fuses and combines several technological advancements like sensor measurement technologies, computer technologies, control technologies, and communication technologies with the conventional grid facilities to form an innovative type of electric grid that represents a developmental stride of the upcoming power grid [1]. In modern times, smart grids have proven to be self-healing, economically viable, clean, safe, and armed with the capabilities of delivering high-grade power networks suited for the digital age. Unlike the conventional electric power grids that only allow a single passage flow of electricity, smart grids permit a two-way electricity passage between electricity customers and power grids. Furthermore, and most significantly, the integration of Information Communication Technologies (ICTs) into the grid presents a two-way passage of information, thereby enabling the grid to possess digital capabilities and transforming electricity consumers to become active contributors and participators.
The diagram in Figure 1 depicts an ideal model of a typical smart grid, as considered in [2]. It comprises seven different sectional domains with information flowing between them. The four main domains below practically depict the physical facilities of a conventional power grid representing the generating, transmitting, and distributing sectors coupled with the customers. There is also a flow of energy that exists between them which is denoted by the solid red line in the figure. The three other domains located at the top are primarily associated with the information communication technology infrastructure and other electricity facilities comprising service providers, power markets, and operations. The flow of information is represented by dashed blue lines in the figure serving as a source of interaction between the domains, thereby arming the power grid with smartness and intelligence.
Figure 1. A typical smart grid model [2].
Developing an adaptable communication infrastructure with the existing wireless communication technologies can be very beneficial and favorable to smart grids. This will no doubt provide advanced technological infrastructure, thereby avoiding extra cost and time and will further provide growth in communication technologies and the inclusion of additional applications.
Wireless communication technologies have become a significant part of smart grids since they are largely responsible for monitoring, controlling, and delivering commands amongst power-generating processes, substations, and the end user [3]. Regardless, numerous communication networks can be deployed in smart grids, for instance, Long-Term Evolution, WiMAX, and 5G networks. In a practical scenario, a single wireless communication network cannot successfully cater for the whole entirety of smart grid applications [4]. The 5G network is, however, perceived to be one of the most ideal wireless communication technologies for the next generation of electrical grids owing to its ultra-low latency, high security, data rates, and high performance [5].
The emergence of fifth-generation mobile networks (5G) as a technological means of communication in smart grids can, however, bring about an unparalleled opportunity to proffer and improve on a countless number of promising applications like Demand Response, Smart Homes, Vehicle-to-Grid (V2G), and Advanced Metering Infrastructure (AMI) [6,7]. Fifth Generation is a revolutionary mobile communication that delivers a ubiquitous and ultra-broadband fiber-like experience to customers to utilize emerging swift mobile services such as ultrahigh definition video sharing, Intelligent Transportation Systems (ITSs) [8], machine-type communications [9], and low latency. Fifth-Generation technology will no doubt offer smart and suitable servicing support for real-time applications necessary for the functional operation of an organization just like the ones envisaged for smart grids in evaluating performance [10].
In addition to the basic 20 Gbps downlink and the 10 Gbps uplink data rate that 5G promises, it can also successfully accommodate 1000 times more data traffic while hosting 60 billion or more “online things” such as smart home appliances, sensors, wearable devices, vehicles, and many more. This, however, makes 5G a suitable candidate to successfully introduce Internet of Things (IoTs) to smart grids where multiple devices can serve every user [11]. To ensure more than enough bandwidth, 5G is moving towards the mmWave spectrum and also opportunistically utilizing WiFi’s unlicensed spectrum in the 5 GHz band and also making use of MIMO technologies to ensure adequate spectral efficiency for more bits/s/Hz per node.
One of the most crucial but challenging aspects of smart grid communications over 5G networks is usually task (resource) scheduling. Tasks (user request) submitted by a user equipment to the communication network are processed by a scheduling algorithm and distributed immediately for execution. This article aims to propose a novel algorithm called the Optimal Usage and Dropping Scheduling technique, and the motivation behind this work is as follows:
-
When static scheduling techniques are employed, the network load becomes quite heavy, rendering the resource utilization process less effective.
-
In smart grid communications, the priority of data flow is that the essence and service requirements must be met to avoid packet delay and ensure the reliable scheduling of packets.
-
As much as 5G networks aim to offer high-speed data transfer with low latency, the gradual increase in the number of active users, however, puts a strain on the resource distribution and allocation processes when employing conventional resource allocation techniques.
-
In assigning dedicated resources for transmissions and retransmissions in a typical smart grid, the unstable signal quality causes the resources required for retransmission to be uncertain. This can be a cause of great concern, especially when high-criticality packets or high-priority data cannot be transmitted.
These, therefore, motivate the need to develop an optimal scheduling technique to increase the probability of assigning available Resource Blocks (RBs) to smart grid users. In a typical 5G-enabled network, the least allocatable resource unit in the network is known as a resource block which spans through the sub-1 GHz to millimeter wave bands with a frame duration of 10 ms consisting of 10 subframes, as seen in Figure 2, with scheduling decisions updated at each Transmission Time Interval (TTI). From the figure, the left-hand side depicts the waveform, numerology, and frame structure, while the right-hand side illustrates the resource carrier and bandwidth. It is seen that the duration of the slots of a subframe in milliseconds is dependent on the network numerology. Hence, for a 15 kHz subcarrier, a slot has the same structure as a typical 5G subframe. Each of the sub-frames consists of 2 μ slots of 14 OFDM symbols each. Resource management in a 5G-enabled network can be improved by enabling transmission to begin at any OFDM symbol and only last as many symbols as is needed for a specified communication. This no doubt brings about low latency for data and also minimal interference in the network. It is noteworthy to mention that the operation of 5G in millimeter wave bands benefits significantly when complemented by a low-frequency carrier to ensure good coverage, especially in the uplink (UL). In as much as that, the poor management of the resources of 5G can also lead to performance degradation in a communication system. Hence, supplementary UL can be used as low bands complement to the cell’s UL when operating in high-frequency bands and a supplementary DL in a cell’s DL in the spectrum [12]. Radio resource scheduling and management play a vital role in a typical smart grid communication system since it is responsible for allocating radio spectrum resources while guaranteeing the several types of available services. Since 5G networks are not particularly intended for smart grids and because requirements are different amongst devices in a typical smart grid network, it is imperative to formulate and develop efficient scheduling algorithms to meet the requirements of smart grids.
Figure 2. Typical illustration of 5G new radio frame structure and resource block [12].
In this paper, the best possible packet scheduling approaches are proposed and examined, and their suitability for smart grid communications is ascertained and established. The main contributions and highlights of this study are as follows:
-
Elucidate the differences between the operation mode and execution of different scheduling algorithms employed in various environments, including computing, process systems, and smart grid environment.
-
Develop a Deadline Scheduling with Commitment algorithm and evaluate the DSC technique as a possible scheduling candidate for smart grid communications over 5G networks.
-
EDF scheduler is a popular scheduling approach employed in various queuing models; however, its performance has not been too superior due to its inability to prioritize packets. In this work, the present EDF scheduling technique (I-EDF) is improved and modified by including an optimal queuing technique and the knowledge of servicing time upon arrival and other favorable characteristics to enhance its performance.
-
Propose an optimal usage and dropping scheduler that can conveniently accommodate smart grid communications and allocate resources to achieve maximum rewards.
-
Develop a suitable RB allocator that is responsible for allocating the available channels to packets.
The rest of this paper is organized as follows: In Section 2, a review of the works that are related to this area is conducted. Section 3 presents the system model, and Section 4 illustrates the packet scheduling architecture. The simulation results obtained are discussed in Section 5, while Section 6 concludes the work.

3. System Model

In this work, a typical smart grid communication model that is primarily based on a 5G network system is considered. We also consider a sub-system in the network, which is composed of a cellular access network, Next Generation Node B (gNodeB), a radio bearer, and user equipment (UE), as shown in Figure 3. The smart grid user or UE as the case maybe is meant to establish a wireless link with the gNodeB to secure direct access to the evolved packet core, and in a smart grid communication setting, the UEs are considered as AMI devices. In our system model, the following assumptions have been made:
Figure 3. System model architecture.
-
That the gNodeB employs a static beam-forming technique;
-
That each of the UEs can be served by a lone optimal beam;
-
That each of the packets is specifically targeted to a particular UE;
-
That the number of UEs in the system is finite;
-
That the UEs are randomly distributed around the gNodeB.

3.1. Packet Arrival Model

In this packet arrival model, a renewal reward process is employed as defined in [33]. Every packet possesses a time of arrival, a UE, priority and deadline, and a packet size. The parameter K i is taken to be the data packet arriving in the cell at time t i , while B i is taken to be the time of inter-arrival of the reward renewal process B , t i = t i 1 + B i = j = 1 i B j . The size of the packet is denoted as S i , and the deadline is denoted as D i . The time t i is calculated from the time of arrival to the end of when a packet is successfully delivered. The priority of the packet K i is represented as P i , and upon a successful packet delivery, the priority becomes the reward, while C i is the designated UE. The n-tuple representing a single packet with its random parameter is taken as K i = b i ,   s i ,   d i ,   p i ,   q i ,   r i . Let b i ,   s i ,   d i , and p i be the realizations of B i , S i ,   D i , and P i , and let q i = t i + d i , which is considered as the reward. Let J ´ t σ represent the set of already processed tasks by the policy σ up to the time t .
The renewal reward process which is a recurrent event process with independent identically distributed interevent times is employed as a strategy to effectively analyze the system’s performance. The cumulative rewards function is one of the simplest ways to correlate the performance of various algorithms.
Definition 1.
The cumulative rewards function for time t and policy σ can be defined as:
F t σ = K i J t σ p i
Let t = t ´ n and t ^ = t ´ n 1 ; then, the rewards difference function is computed as:
F t σ = F t σ F t ^ σ
The objective is to locate the policy σ that tends to maximize the cumulative rewards function. If the reward is deterministic and P i = 1 , the cumulative reward function then calculates the number of tasks that were serviced.

3.2. Resource Blocks and Structure

Fifth Generation NR is highly dependent on Orthogonal Frequency-Division Multiplexing (OFDM) and can also coexist with LTE on the same frequency band. The 5G NR frame has a time length of 10 ms consisting of 10 subframes, each having a time length of 1 ms. In an OFDM network, 5G NR can enable transmission to begin at any OFDM symbol and will continue on several symbols that are required for the communication, and the data transmitted in the downlink (DL) are split into RBs. The amount of radio resources in a subframe of 1 ms in a specific sub-carrier spacing of a carrier can be perceived as a resource grid composed of subcarriers in frequency and OFDM symbol in time. Hence, each resource element in the resource grid occupies a subcarrier in frequency and another in OFDM symbol in time, which is often regarded as the Transmission Time Interval (TTI). A sub-frame is also regarded as the frequency blocks at a given TTI.
In a 5G NR frame structure, each sub-frame comprises 2 η time slots to handle a broad variety of applications for which it was created for and of course the large spectrum availability. Each TTI contains 14 OFDM symbols or resource elements (12 resource elements in the event of when extended cyclic prefix is used). Consequently, symbol duration is equal to ( 14 × 2 η ) 1   m s or ( 12 × 2 η ) 1   m s if extended cyclic prefix is used [12]. Therefore, the number of symbols constituting each subframe greatly depends on η . This means a larger value of η will lead to more sub-carrier spacing. The RB spacing and period ensure that there is feedback on the quality of the channel and also ensures that the DL scheduler optimizes the utilization of the channel. RBs are the scheduling units in a 5G NR system and are devoted to a particular UE. The RB scheduler ensures that RBs are allocated to connections between the cells and the UEs while maximizing the bearer’s utilization [34].
The antenna system of the cell comprises the an array of Y a elements consisting of Y b static beam. For simplicity of our system model, we employ 14 sub-carriers in a single resource block, assuming that they all possess the same characteristics.
-
The parameter n is considered to be the number of user equipment, the number of antennas involved in the beamforming is considered to be Y a , while the number of sub-channels is taken as u .
-
g n , k = g 1 n , k     g Y a n , k T   Y a × 1 is considered to be the gain vector.
-
While z n , k = g 1 n , k     g Y a n , k T   Y a × 1 is considered to be the steering vector.
-
w n , k is considered to be the information signal and P n , k = A w n , k 2 to be the transmission power.
-
l n , k is considered as the additive noise under the assumption that the noise is white additive Gaussian noise (AWGN) with a variance of N 0 .
-
With the assumption that the channel coefficients for the different UEs are independent, the received signal by a specific UE n on a particular subcarrier k , r n , k , is given by:
r n , k = g n , k G z n , k w n , k + m n g n , k G z m , k w m , k + l n , k
The signal-to-interference and noise ratio (SINR) of the UE is given by:
S N I R n , k = g n , k G z n , k 2 P n m n g n , k G z m , k 2 P m + N 0
While the achievable bit rate R n , k is expressed by the following equation
R n , k = l o g 2 ( 1 + S N I R n , k )
Attenuation matrixes permit the sending of one or multiple signals to one or multiple outputs, while changing the power level of each of the signals. The attenuation matrix A n n = 1 N R K × Y a is, however, computed as
A n = g n , 1 G z 1 2 g n , 1 G z Y a 2 g n , K G z 1 2 g n , K G z Y a 2
The selection of beams is, however, decided based on the attenuation matrix for each of the users in the smart grid.

4. The Scheduler Architecture

The packet scheduling architecture in the 5G NR system is depicted in Figure 4. The system is characterized by selecting a beam, a queue management system, deadline possibility check, and RB allocation before the packet is finally transmitted. During the initial stage, the system picks the ideal beam that will serve the UE. A queue management system is organized in which priority scheduling is decided based on the priority of users (priority level 1 (PL1) and priority level 2 (PL2)). For instance, in smart grid communication, when PL2 users occur, regardless of their channel quality, they will occupy the system resources first before users are placed at PL1. Priority Level 1 users will be scheduled when there are no PL2 users in buffer. Data are transmitted by gNodeB through the downlink time-varying channel. Data packets from the upper layer of gNodeB are taken through the queue management system before the packets are delivered to the several UEs based on priority levels with the aid of the resource block allocation controller. Just before scheduling, the system also goes through a deadline possibility check to determine whether to transmit the packet or not. To ascertain which UE is to be scheduled in the scheduler, the scheduler can employ a scheduling technique coupled with additional information, including channel quality information or any other important information. After the packet is transmitted, the reward is, however, collected if the deadline is met. The UE measures the SNIR of the DL channel between the gNodeB and the UE as the basis of the state of the quality of the channel at the next allocation of resources.
Figure 4. The scheduling architectural in 5G NR system.

4.1. Queue Management System

In this section, we put forward modern scheduling techniques which are modeled for the scheduling of packets with deadlines and rewards. The Deadline Scheduling with Commitment (DSC) and improved and upgraded EDF scheduling techniques are examined here as the reference techniques for the proposed Optimal Usage and Dropping (OUD) scheduling technique, which is also analyzed in this paper.

4.1.1. Reference Scheduling Technique

The primary reason behind the DSC technique [32] is to maximize profit as it evaluates the decision on admission on the basis of comparing the potential profits relating to the acceptance or declining of a task. There is a difference between this technique and other previously existing and related algorithms [35,36,37], in which it processes a situation without commitment, and the job values are subtracted from the penalties. The DSC scheduling technique upholds a tentative schedule most of the time. During the processing of a task request, the DSC scheduler ascertains if there is a possibility of appending a new task at the end of the ongoing tentative schedule while trying to meet its deadline. The task is, however, admitted and appended should the deadline be met; if not, the scheduler calculates if it is reasonable in admitting the task based on the profit of either to accept and decline the task. Should the profit that is related with acceptance not be sufficient enough, then the task is, however, rejected. If it is sufficiently large, then the task is scheduled to another time interval. The DSC algorithm is defined as seen in the pseudocode in Algorithm 1 below. Let the T a be the tasks to be released and the threshold as ( 1 + α ) . As in line 4, T a gets added and appended to the current schedule if appendable. Otherwise, the P r o f i t a c c e p t and P r o f i t d e c l i n e related to admitting or declining T a are compared. In line 6, if a better profit is yielded in admitting T a , then T a is admitted at the end by d a , and the current schedule after d a p a is moved and adjusted accordingly. Otherwise, if admitting T a does not yield a better profit, T a is a declined service. The threshold 1 + α will be optimized after deriving the competitive ratio as a function of α .
Algorithm 1 DSC Scheduling Algorithm
1: l o o p
2: u p o n   e v e n t :   T a s k   T a   i s   r e l e a s e d
3: i f   T a   i s   a p p e n d a b l e   t h e n
4: A p p e n d   T a   t o   t h e   e n d   o f   t h e   t e n t a t i v e   s c h e d u l e
5: e l s e 6: i f   P r o f i t a c c e p t > ( 1 + α ) P r o f i t d e c l i n e   t h e n
7: a p p e n d   T a   a t   t h e   e n d   b y   d a
8: m o v e   a n d   m o d i f y   t h e   s c h e d u l e   a f t e r   d a p a   a c c o r d i n g l y
9: e l s e
10: drop T a
11: end if
12: end if
13: e n d   l o o p
EDF scheduling is a popular policy and has consistently been employed for most scheduling policies, showing itself to be quite optimal under different matrices [20,22,25]. When executing any task in EDF, the task can be pre-empted if any other periodic instance with an earlier deadline is ready for execution and becomes active. EDF is also priority driven and dynamic. Hence, priorities are calculated and changed while the processes are running. Another scheduling mechanism that can be utilized as a standard for comparison purposes is the c μ θ scheduling mechanism in [38]. This technique assumes there are J queues in the system in which a selection must be made from the queue to be served. It is also assumed that there are J groups or levels of rewards each against a queue. Two essential steps make up the c μ θ scheduling technique, which are
-
Inserting the new task to j according to its rewards in the first come first serve order upon arrival.
-
When the server is not in use, the mechanism chooses the queue to be served according to c μ k θ k and processes the task that is in front of the queue.
In the case of EDF scheduling, is it assumed that there is no prior information about the servicing times, while c μ θ scheduling assumes that the deadline is statistically known based on the probability of abandonment. This, however, is very key in terms of the case of non-deterministic service time. Therefore, there is a possibility case that shows the advantage of employing the knowledge of servicing time upon arrival in the EDF case presented. We fuse the EDF scheduling technique with the c μ θ policy to propose a new and improved EDF technique that takes advantage of the knowledge of deadline information as presented in Algorithm 2. In the case of the c μ θ mechanism, when the deadlines are known upon arrival, it allows the modification of the queue order to adequately utilize the EDF policy.
Algorithm 2 An Improved EDF version (I-EDF)
  • Arrival of new task A i
  • k   : = w i
  • Insert the A i at the end of queue k
  • Initialize  c μ θ service
  • k 0   : = argmax k = 1 K ( c k μ k θ k )
  • P i = argmin A j J ^ t k 0 ( q j )
  • If  ( q i < t ) then drop A i
  • Else provide service to A i
  • Return to 1

4.1.2. Optimal Usage and Dropping (OUD) Scheduling Technique

In this segment, a scheduling technique called the Optimal Usage and Dropping technique (OUD) is proposed and presented. This technique incorporates a schedule and drop mechanism into the system. During scheduling, the following approach is followed. Upon arrival, the technique places the new task into the queue while maintaining the predefined order. If placing a task in the queue results in the task missing its deadline, the technique drops the data packet with the lowest throughput ratio p i s i in the queue. The task that should be eventually selected is one that possesses the highest throughput ratio in as much as it will not cause the succeeding task to miss its deadline. The complexity of adding a new job to the queue is made straightforward by the OUD technique. The technique employs its dropping approach to maintain the queue by using J t i O = R m a x S m i n , where S m i n S i S m a x is the processing time required by A i , and R m i n R i R m a x is the deadline of A i . Time is measured from the arrival time to the beginning of the service. The symbol J t O is employed to introduce the OUD parameter with the assumption that h A i ,   t and y A i ,   t are the functions that describe the predefined order of A i in the queue potential at time t .
-
h A i ,   t is the index of task A i in J t O .   h A i ,   t = 1 indicates that A i is at the front of the queue.
-
y A i ,   t : =   A k : h ( A k ,   t ) < h A i ,   t s i is the time a task is put on hold before processing with the assumption that no new task arrives until processing starts.
Algorithm 3 below describes how the OUD technique manages a task arrival. The new task is taken as A i , which is introduced to the queue J t i 1 O at time a t i .
It is worth noting that the values of h A k , t i and y A k , t i change after introducing a new task A i at time t i as follows. If h A k , t i > h A i , t i , then y A k , t i y A k , t i 1 + s i and h A k , t i = h A k , t i 1 + 1 ; otherwise, no change exists.
Algorithm 3 OUD Scheduling
1: Arrival of a new task A i
2: If J t i O = and the server is not busy, then A i is processed and return to 1.
3: A i added to the queue using the order of shortest time of expiry. If there exist task with the same time of expiry, order is taken in descending manner of their rewards.
4: Locate the first task ( A k ) that will miss its deadline as a result of the inserting A i into the queue ( h ( A k ,   t ) h A i ,   t )
h k min q j < y A j ,   t i ( h A j ,   t i )                       j : q j y A i ,   t                                                                                           o t h e r w i s e .  
5: If h k then return to 1.
6: Locate the task A r that has the lowest reward per servicing time. If there exist several, select the one that has the shortest time of expiry. A r min h ( A j , t i ) h k p i s i
7: Drop   task   A r from queue
8: Go to 1
Table 1 below shows the summary of different scheduling algorithms, the type of workflow scheduling employed, and the tools and objectives of the algorithms.
Table 1. Scheduling Algorithms employed in Different Environments.

4.2. Checking the Possibility of Deadline

This is where the system takes a decision on whether to transmit packets or not or if the packets meet their deadline upon transmission. The main reason for dropping a packet that misses its deadline is to conserve RF bearer resources. Prior to commencing transmission, the transmission throughput is unknown up till the end of the transmission. Therefore, the possibility of a deadline check needs to be against a throughput estimate. These assumptions can be the maximum interference from neighboring transmitting beams, the average throughput, or the highest theoretical throughput calculated in the system. Each of these approaches has its pros and cons since in the scenario of a false positive, the system drops packets that are unable to reach the UE on time or, conversely, the packets consume resources that are put to waste.

4.3. Allocation of Resource Blocks

In the system, a beam is needed to be selected for the purpose of packets transmission. In this work, the beams are taken to be static while each of the beams possesses at least one or several queues that store packets that are meant for transmission. The mechanism responsible for selection automatically selects the beam that delivers the optimal channel performance. The metric employed to determine the optimal beam is the one that delivers the maximum SINR as amply illustrated in equation 4. The Resource Block Allocator oversees allocating available channels to the packets. Channels with a higher bit rate are usually allocated before channels with lower bit rates. The process is then brought to a halt when the UE transmission is allocated to Y R B sub-channels. When the transmission of packets ends, the resource blocks is then vacated. These RBs are then assigned to the packet that has the shortest deadline.
Algorithm 4 describes the module in charge of the resource block allocation process of the system. The matrix E characterizes the allocation of Resource Blocks; that is, each element E k ,     p j demonstrates if the sub-channel and the corresponding beam are available ( E k ,     p j = 0 ) or if it is in use by a UE, n   ( E k ,     p j = u ) . At every iteration, the RB allocation process for the transmission of packet A i is carried out until Y R B subchannels have been allocated for transmitting packets. χ A i is considered as the number of subchannels which are allocated for transmitting packet A i .
Algorithm 4 RBA Algorithm
1: For   k = 1 K
2: If   E k ,     p j = 0 and χ A i < Y R B
3: then   E k ,     p j = n
4: End for

5. Evaluation and Results

In this section, numerical results are presented from the simulations by evaluating and comparing the performance of the presented scheduling techniques. The parameter for the cell with a radius of transmission r is taken as 50   m , with Y n taken as 30 , which is the UEs randomly distributed inside the cell and sub-channels Y s of 12, with a B W of 3 MHz. The cell also contains Y b = 8 one-dimensional antenna arrays in the sense that each of the arrays comprises Y a = 32 antennas. For the DL transmission with beamforming, the number of static beams Y b is set at 8 for each of the antenna arrays, with 0.15   m as the distance between Y a and a departure angle of σ 12 . In simulating the channel coefficient for each user, the Winner II+ channel model is employed. The power spectral density of the additive white Gaussian noise is taken as 170   d B m / H z . Algorithm 4 is employed for the RB allocation process, in which four sub-channels are allocated to each transmission of packet. In total, 2500 packets were run with their times of arrival distributed exponentially and their packet destinations distributed uniformly over a finite number of UEs.
Since in [25], the EDF algorithm has been proven not to be an ideal technique in scheduling; we then compare the performances of the improved EDF (I-EDF) algorithm, which was upgraded earlier, and proposed the DSC algorithm [32] as well as our proposed OUD algorithm. In Figure 5, the number of packets that were received over the rate of arrival is presented, while the total reward collection for the various techniques is presented in Figure 6. In both figures, it is observed that the techniques behave differently in terms of employing their respective scheduling decisions. There are more packets received by the OUD technique when compared to the DSC and the improved EDF algorithms, and this is attributed to the fact that the task parameters are already known upon arrival and jobs are selected based on the highest output ratio. It is also seen that the total reward collected is considerably higher for the OUD technique than the other two techniques.
Figure 5. Total number of received packets.
Figure 6. Total number of rewards collected.
Figure 7 displays the average throughput for different amounts of users in the system. By throughput, it simply means the average rate of successful packet delivery over a dedicated communication channel. It is noticed from the figure that the average throughput is almost the same for all the techniques when the number of UEs is lower than 30. However, the OUD technique indicates an improved performance compared to the other two techniques when the number of UEs exceeds a certain range of 30. This is because there are more data packets transmitted utilizing this technique since it has already picked priority users based on the algorithm. The OUD technique also proved superior since tasks are being selected using the shortest time to expiry approach.
Figure 7. The average throughput for the techniques.
To assess the performance of the schedulability of the techniques, we verify if some of the jobs miss their deadlines during execution. Hence, the schedulability of the technique is measured by the success ratio, which is taken as
S u c c e s s   r a t i o = n u m b e r   o f   t a s k s   w i t h   n o   m i s s e d   d e a d l i n e s n u m b e r   o f   g e n e r a t e d   t a s k
In Figure 8, the results for the success ratio for the various techniques are shown. From the figure, all three scheduling approaches can successfully manage up to 30 tasks sets before their performance begins to plummet as deadline misses start to appear for increasing task sets. With the drop in the success ratio, the OUD technique still manages to outperform the other two techniques due to the fact that handling the scheduling overheads becomes a bottleneck for the I-EDF and DSC techniques. In other words, an additional set of tasks that are not readily deemed schedulable by I-EDF and DSC are gradually schedulable by OUD. Even so, the OUD technique is seen to improve schedulability, and it can be maximized when the number of task sets is not loaded.
Figure 8. Schedulability for the different number of tasks.
Lastly, the scheduling techniques are also evaluated based on the percentage of jobs executed when set at different priority levels in different scenarios. The jobs submitted to the schedulers are assigned to two different priority levels, in which PL1 is a lower priority that can be assigned to a job when compared to a higher priority level PL2. Figure 9a considers a scenario in which there is an equal job distribution and displays the jobs that have been executed at priority levels (PL) 1 and 2. It is observed that jobs executed based on a higher priority yield more than 50% of total job executed for the various techniques. Since there is an equal number of jobs requests, the various techniques at PL1 processes less jobs due to the fact that there is less capability in differentiating these jobs into priorities and more overhead in determining which job to execute in the queue.
Figure 9. (a) Scenario 1—Percentage of jobs executed based on priority level. (b) Scenario 2—Percentage of jobs executed based on priority level.
From Figure 9b, the percentage of jobs executed in the two priority levels when there is a random job distribution is displayed. In this scenario, there is no prior knowledge of the rate of arrival of jobs. The DSC scheduling does not schedule jobs in a fair manner; hence, it selects the first job request and executes it regardless of its main priority, thereby having more jobs to execute but not taking into consideration its optimal priority before execution. Most of the techniques perform almost equally with a minimal difference owing to the fair manner in which the jobs are being processed. Although more jobs are being processed in priority level 2, most of the processed jobs might not be the optimal ones in the queue.
In summary, the OUD technique has shown itself to be the best implementation choice in all the performance indexes considered and hence recommended to be suitable for implementation in 5G-based smart grid communications.

6. Conclusions

The 5G communication network is currently one of the best wireless transmission platforms, that would be a part of future cellular networks and can be incorporated in other communication systems. The employment of 5G in a typical smart grid communication system will offer high-speed data transfer with low latency and ensure enough bandwidth for various users. However, scheduling data packets and resource distribution and allocation processes are some of the major issues that must be overcome to ensure the efficient assigning of available Resource Blocks (RB) to smart grid users. Although several scheduling techniques have been employed to carry out these tasks, most of them fall short of maintaining an efficient scheduling approach that ensures that a series of tasks need to be executed before their deadlines. Amongst the most popular scheduling techniques is the EDF (Earliest Deadline First) technique, which is employed to meet the timing constraints of a given set of tasks. It unfortunately does not meet time constraints when the system is unaware of the future release patterns of the tasks. In order to improve the efficacy of the EDF scheduling technique, we improved on this technique by fusing a c μ θ policy into an existing EDF scheduling technique to ensure that the deadlines are known upon arrival and also boost its performance. A DSC scheduling approach is also evaluated in this paper, while a novel Optimal Usage and Dropping Scheduling (OUD) technique is proposed. The proposed technique utilizes a smart schedule and drop mechanism in the system and ensures that the needed task remains in the queue while maintaining a predefined order.
The OUD scheduling technique is compared with the DSC technique as well as the improved EDF scheduling technique over several performance indexes so as to evaluate their performance. Simulation results show that the OUD scheduling technique gives a better performance when compared to the improved EDF technique and the DSC scheduling approach. However, the DSC scheduling technique displays poorer schedulability performance when compared to the improved EDF scheduling technique. It is expected that the OUD scheduling approach can be employed in actual smart grid communication systems that require real-time guarantees. When employed in these systems, it will improve its schedulable performance, and the system can accommodate more sets of tasks in real-time.
In the future, artificial intelligence tools like the Genetic Algorithm may be used to modify the proposed OUD algorithm so as to make the proposed algorithm more general, flexible, and smarter.

Author Contributions

Conceptualization, methodology, software, validation, formal analysis, investigation, resources, data curation, and writing—original draft preparation—E.F.O., writing—review and editing, visualization, supervision, project administration, funding acquisition—K.A.-A.-E. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The authors are not allowed to publish the data.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Colak, I.; Bayindir, R.; Sagiroglu, S. The Effects of the Smart Grid System on the National Grids. In Proceedings of the 2020 8th International Conference on Smart Grid (icSmartGrid), Paris, France, 17–19 June 2020; pp. 122–126. [Google Scholar] [CrossRef]
  2. NIST. NIST Framework and Roadmap for Smart Grid Interoperability Standards, Release 3.0; Technical Report; NIST: Gaithersburg, MD, USA, 2014. [Google Scholar]
  3. Yi, P.; Dong, X.; Iwayemi, A.; Zhou, C.; Li, S. Real-time opportunistic scheduling for residential demand response. IEEE Trans. Smart Grid 2013, 4, 227–234. [Google Scholar] [CrossRef]
  4. Al-Khatib, O.; Hardjawana, W.; Vucetic, B. Queuing analysis for smart grid communications in wireless access networks. In Proceedings of the IEEE International Conference on Smart Grid Communications, Venice, Italy, 3–6 November 2014; pp. 374–379. [Google Scholar] [CrossRef]
  5. Liu, Y.; Yang, X.; Wen, W.; Xia, M. Smarter Grid in the 5G Era: A Framework Integrating Power Internet of Things with a Cyber Physical System. Front. Commun. Netw. 2021, 2, 689590. [Google Scholar] [CrossRef]
  6. Fang, X.; Misra, S.; Xue, G.; Yang, D. Smart grid—The new and improved power grid: A survey. IEEE Commun. Surv. Tutor. 2012, 14, 944–980. [Google Scholar] [CrossRef]
  7. Saghezchi, F.B.; Nascimento, A.; Rodriguez, J. Game-theoretic based scheduling for demand-side management in 5G smart grids. In Proceedings of the 2015 IEEE Symposium on Computers and Communication (ISCC), Larnaca, Cyprus, 6–9 July 2015; pp. 8–12. [Google Scholar] [CrossRef]
  8. Saghezchi, F.B.; Rodriguez, J.; Mumtaz, S.; Radwan, A.; Lee, W.C.Y.; Ai, B.; Islam, M.T.; Akl, S.; Taha, A.M. Drivers for 5G; John Wiley & Sons, Ltd.: Hoboken, NJ, USA, 2015; pp. 1–27. [Google Scholar] [CrossRef]
  9. Sucasas, V.; Mantas, G.; Saghezchi, F.B.; Radwan, A.; Rodriguez, J. An autonomous privacy-preserving authentication scheme for intelligent transportation systems. Comput. Secur. 2016, 60, 193–205. [Google Scholar] [CrossRef]
  10. Elayoubi, S.; Maternia, M. 5G-PPP use cases and performance evaluation modeling. In 5G PPP White Paper, Version 1.0; 5G-PPP project collaboration; 5G-PPP: Brussels, Belgium, 2016. [Google Scholar]
  11. Saghezchi, F.B.; Radwan, A.; Rodriguez, J. Energy-aware relay selection in cooperative wireless networks: An assignment game approach. Ad Hoc Netw. 2016, 56, 96–108. [Google Scholar] [CrossRef]
  12. Lin, X.; Grovlen, A.; Werner, K.; Li, J.; Baldemair, R.; Cheng, J.-F.T.; Parkvall, S.; Larsson, D.C.; Koorapaty, H.; Frenne, M.; et al. 5G New Radio: Unveiling the Essentials of the Next Generation Wireless Access Technology. IEEE Commun. Stand. Mag. 2019, 3, 30–37. [Google Scholar] [CrossRef]
  13. Hu, Y.; Gong, L.; Li, X.; Li, H.; Zhang, R.; Gu, A. A Carrying Method for 5G Network Slicing in Smart Grid Communications Services based on Neural Network. Future Internet 2023, 15, 247. [Google Scholar] [CrossRef]
  14. Jamshidi, M.; Yahya, S.; Nouri, L.; Hashemi-Dezaki, H.; Abbas, R.; Muhammad, A. A super-efficient GSM Triplexer for 5G-Enabled IoT in Sustainable Smart Grid Edge Computing and the Metaverse. Sensors 2023, 23, 3775. [Google Scholar] [CrossRef]
  15. Shreedhar, M.; Varghese, G. Efficient fair queuing using deficit round-robin. IEEE/ACM Trans. Netw. 1996, 4, 375–385. [Google Scholar] [CrossRef]
  16. Kimbrel, T.; Schieber, B.; Sviridenko, M. Minimizing migrations in fair multiprocessor scheduling of persistent tasks. J. Sched. 2006, 9, 365–379. [Google Scholar] [CrossRef]
  17. Choffnes, D.; Astley, M.; Ward, M.J. Migration policies for multi-core fair-share scheduling. ACM SIGOPS Oper. Syst. Rev. 2008, 42, 92–93. [Google Scholar] [CrossRef]
  18. Taheri, G.; Khonsari, A.; Entezari-Maleki, R.; Sousa, L. A hybrid algorithm for task scheduling on heterogeneous multiprocessor embedded systems. Appl. Soft Comput. 2020, 91, 106202. [Google Scholar] [CrossRef]
  19. Stankovic, J.A.; Spuri, M.; Di Natale, M.; Buttazzo, G.C. Implications of classical scheduling results for real-time systems. Computer 1995, 28, 16–25. [Google Scholar] [CrossRef]
  20. Abugchem, F.; Short, M.; Xu, D. A hybrid EDF algorithm for implementing resource-constrained real-time control applications. In Proceedings of the 2012 IEEE 17th International Conference on Emerging Technologies & Factory Automation (ETFA 2012), Krakow, Poland, 17–21 September 2012; pp. 1–4. [Google Scholar] [CrossRef]
  21. Srikant, R.; Ying, L. Communication Networks: An Optimization, Control, and Stochastic Networks Perspective; Cambridge University Press: Cambridge, UK, 2013; ISBN 978-1-107-03605-5. [Google Scholar]
  22. Stankovic, J.A.; Spuri, M.; Ramamritham, K.; Buttazzo, G.C. Deadline Scheduling for Real-Time Systems: EDF and Related Algorithms; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2012; p. 460. [Google Scholar]
  23. Katzir, R.L.C. Scheduling of voice packets in a low-bandwidth shared medium access network. IEEE/ACM Trans. Netw. TON 2007, 15, 932–943. [Google Scholar]
  24. Brucker, P. Scheduling Algorithms, 5th ed.; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar] [CrossRef]
  25. Raviv, L.; Leshem, A. Maximizing Service Reward for Queues with Deadlines. IEEE/ACM Trans. Netw. 2018, 26, 2296–2308. [Google Scholar] [CrossRef]
  26. Keerthana, C.; Poongothai, M. Improved priority-based scheduling algorithm for real time embedded systems. In Proceedings of the International Conference on Circuit, Power and Computing Technologies (ICCPCT), Nagercoil, India, 18–19 March 2016. [Google Scholar] [CrossRef]
  27. Trabelsi, S.; Belghith, A.; Zarai, F.; Obaidat, M.S. Performance Evaluation of a Decoupled-Level with QoS-Aware Downlink Scheduling Algorithm for LTE Networks. In Proceedings of the IEEE International Conference on Data Science and Data Intensive Systems, Sydney, NSW, Australia, 11–13 December 2015; pp. 696–704. [Google Scholar] [CrossRef]
  28. Iosif, O.; Ion, B. On the Analysis of Packet Scheduling in Downlink 3GPP LTE System. In Proceedings of the Fourth International Conference on Communication Theory, Reliability, and Quality of Service, Barcelona, Spain, 23–29 October 2011; pp. 99–102. [Google Scholar]
  29. Mushtaq, A.S.; Haider, A.Z.; Orest, L.; Mykhailo, K. Improving QoS in MAX C/I scheduling using resource allocation type 1 of LTE. In Proceedings of the Experience of Designing and Application of CAD Systems in Microelectronics, Lviv, Ukraine, 24–27 February 2015; pp. 12–14. [Google Scholar] [CrossRef]
  30. Yu, Z.; Xu, Y.; Tong, L. Deadline scheduling as restless bandits. IEEE Trans. Autom. Control. 2018, 63, 2343–2358. [Google Scholar] [CrossRef]
  31. Abdelmula, H.S.B.; Warip, M.M.; Lynn, O.B.; Yaakob, N. An efficient scheduling scheme for heterogeneous services in OFDMA based 5G LTE-advanced network with carrier aggregation. In Proceedings of the 2018 IEEE Symposium on Computer Applications & Industrial Electronics (ISCAIE), Penang, Malaysia, 28–29 April 2018; IEEE: New York, NY, USA, 2018. [Google Scholar] [CrossRef]
  32. Chen, S.; Tong, L.; He, T. Optimal deadline scheduling with commitment. In Proceedings of the 49th Annual Allerton Conference on Communication, Control and Computing (Allerton), Monticello, IL, USA, 28–30 September 2011. [Google Scholar] [CrossRef]
  33. Grimmett, G.; Stirzaker, D. Probability and Random Processes; Oxford University Press: Oxford, UK, 2001. [Google Scholar]
  34. Kamal, M.; Raza, H.; Alam, M.M.; Su’ud, M.M.; Sajak, A.B. Resource Allocation Schemes for 5G Network: A Systematic Review. Sensors 2021, 21, 6588. [Google Scholar] [CrossRef]
  35. Baruah, S.; Koren, G.; Mao, D.; Mishra, B.; Raghunathan, A.; Rosier, L.; Shasha, D.; Wang, F. On the competitiveness of on-line real-time task scheduling. Real Time Syst. 1992, 4, 125–144. [Google Scholar] [CrossRef]
  36. Koren, G.; Shasha, D. Dover: An optimal on-line scheduling algorithm for overloaded uniprocessor real-time systems. SIAM J. Comput. 1995, 24, 318–339. [Google Scholar] [CrossRef]
  37. Zheng, Z.; Han, Y.; Chi, Y.; Yuan, F.; Cui, W.; Zhu, H.; Zhang, Y.; Zhang, P. Network Resource Allocation Algorithm using Reinforcement Learning Policy-based Network in a Smart Grid Scenario. Electronics 2023, 12, 3330. [Google Scholar] [CrossRef]
  38. Atar, R.; Giat, C.; Shimkin, N. The c_/_ rule for many-server queues with abandonment. Oper. Res. 2010, 58, 1427–1439. [Google Scholar] [CrossRef]
  39. Madej, A.; Wang, N.; Athanasopoulos, N.; Ranjan, R.; Varghese, B. Priority-based Fair Scheduling in Edge Computing. In Proceedings of the 2020 IEEE 4th International Conference on Fog and Edge Computing (ICFEC), Melbourne, VIC, Australia, 11–14 May 2020; pp. 39–48. [Google Scholar] [CrossRef]
  40. Sarangal, A.; Kaur, N.; Kaur, R. List scheduling algorithms classification: An analytical study. Int. J. Adv. Res. Comput. Sci. 2018, 9, 385. [Google Scholar] [CrossRef]
  41. Ogedengbe, M.T.; Agana, M.A. New fuzzy techniques for real-time task scheduling on multiprocessor systems. Int. J. Comput. Trends Technol. 2017, 47, 189–196. [Google Scholar] [CrossRef]
  42. Hassan, H.E.; Nagib, G.; Ibrahiem, K.H. A novel task scheduling approach for dependent non-preemptive tasks using fuzzy logic. IET Comput. Digit. Tech. 2021, 15, 214–222. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.