Next Article in Journal
Double-Track One-Direction Operation Mode for Overnight Trains on High-Speed Railway
Next Article in Special Issue
Optimal Power Flow of Hybrid Wind/Solar/Thermal Energy Integrated Power Systems Considering Costs and Emissions via a Novel and Efficient Search Optimization Algorithm
Previous Article in Journal
Analysis and Visualization of Production Bottlenecks as Part of a Digital Twin in Industrial IoT
Previous Article in Special Issue
Techno-Economics and the Identification of Environmental Barriers to the Development of Concentrated Solar Thermal Power Plants in India
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Energy Hub Optimal Scheduling and Management in the Day-Ahead Market Considering Renewable Energy Sources, CHP, Electric Vehicles, and Storage Systems Using Improved Fick’s Law Algorithm

1
Department of Electrical Engineering, College of Engineering, Majmaah University, Al-Majmaah 11952, Saudi Arabia
2
Department of Electrical Engineering, College of Engineering, Jouf University, Sakaka 72341, Saudi Arabia
3
Department of Electrical Engineering, College of Engineering, Northern Border University, Ar’Ar 73222, Saudi Arabia
4
Automation and Control Department, College of Engineering Technology, University of Doha for Science and Technology, Doha 24449, Qatar
5
Department of Electrical and Computer Engineering, College of Engineering and Information Technology, Ajman University, Ajman 20550, United Arab Emirates
6
Department of Physics, College of Science, Imam Abdulrahman Bin Faisal University, P.O. Box 1982, Dammam 31441, Saudi Arabia
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(6), 3526; https://doi.org/10.3390/app13063526
Submission received: 9 February 2023 / Revised: 1 March 2023 / Accepted: 2 March 2023 / Published: 9 March 2023

Abstract

:
Coordinated energy scheduling and management strategies in the energy hub plan are essential to achieve optimal economic performance. In this paper, the scheduling and management framework of an energy hub (EH) is presented with the aim of energy profit maximization in partnership with electricity, natural gas, and district heating networks (EGHNs) considering the coordinated multi-energy management based on the day-ahead market. The optimum capacity of EH equipment, including photovoltaic and wind renewable energy sources, a combined heat and power system (CHP), a boiler, energy storage, and electric vehicles is determined in the day-ahead market using the improved Fick’s law algorithm (IFLA), considering the energy profit maximization and also satisfying the linear network and hub constraints. The conventional FLA is inspired by the concept of Fick’s diffusion law, and, in this study, its performance against premature convergence is improved by using Rosenbrock’s direct rotational method. The performance of the IFLA when applied to EH coordinated scheduling and management problems with the aim of profit maximization is compared with the conventional FLA, particle swarm optimization (PSO), and manta ray foraging optimization (MRFO) methods. The results show that the proposed scheduling and multi-energy management framework achieves more energy profit in the day-ahead electricity, gas, and heating markets by satisfying the operation and EH constraints compared to other methods. Furthermore, according to the findings, the increased (decreased) demand and the forced outage rate caused a decrease (increase) in the EH profit. The results show the effectiveness of the proposed framework to obtain the EH maximum energy profit in the day-ahead market.

1. Introduction

Industrial, commercial, and residential consumers are connected to energy networks, such as electricity, natural gas, and district heating or cooling [1]. Therefore, integrating these networks with each other and using the merits of each will increase the efficiency and reliability of the system, as well as optimal performance [2,3]. In recent years, a general framework has been proposed that combines various energy carriers and performs conversion and storage in them in order to provide the required load on the consumer side; it is called an EH [4,5]. The input to an EH is various types of energy, and the output is another form of energy demanded by different local or remote end-users [6]. An EH model can include CHP equipment, distributed generation, renewable energy sources, electrical and heating energy storage and boilers, and active loads. On the other hand, simultaneous and coordinated planning of all energy equipment at the point of consumption can improve network performance and system flexibility in cooperation with various types of electric, gas, and heating networks [7,8].
Various studies have been conducted in the field of EH. In [9], the EH had various sources including cogeneration units, steam boilers, renewable resources, electric chillers, and absorption chillers, as well as electric, heating, and cooling energy storage devices in order to improve the flexibility of EHs. The results showed that, unlike the balance-based methods that do not guarantee the optimality of the response, in [10], the operation of a multi-carrier local distribution system in the case of islands that were separated from the main grid due to faults or important incidents was achieved. This network consisted of three EHs, each of which, while planning to optimally meet their demand, could minimize operating costs by exchanging with other EHs. In [11], a framework for the optimal operation of interconnected EHs to reduce costs, provide the energy needed by consumers, reduce greenhouse gas emissions, and strengthen the interaction of electricity and gas networks was presented using electricity to gas converters. In [12], a decentralized energy management framework was developed based on the interaction that enables coordination between EHs. In this research, to improve the economic performance of the integrated EH system, a trading platform was created to facilitate the self-organized trade of the integrated EH system. In [13], a two-level optimization framework was created to determine the optimal strategy of interaction between EHs and the distribution company, in which the total cost of operating the distribution network was minimized according to the limitations of the network at the upper level, and the total cost of each EH connected to the distribution network was minimized at the lower level. In [14], it was also investigated that the grid-connected EH system is a key model for the optimal modeling of multi-carrier energy systems. However, the direct calculation of the operating mode of this model is very time-consuming and challenging due to its nonlinear and multidimensional functions. To solve the above problem in the proposed method of this research, methods were adopted to approximate one-dimensional and multi-dimensional linear singularities for linearizing the non-convex functions of natural gas transmission, generator costs, and compressor performance. In [15], a new framework for the optimal management of EHs was presented. On this basis, each EH manages its production resources to plan the supply of demand to reduce the cost and emission of pollutants. In [16], it was reported that residential and commercial buildings with different consumption patterns could be controlled together and the distributed generation (DG) resources available in each of these hubs could be used to cover the lack of capacity in another hub. In [17], the linear approximation method was used to simplify the model of an interconnected system, including three EHs, to mitigate the computational costs. Moreover, a group of residential houses were exploited as an interconnected EH system with the aim of reducing the daily costs and in terms of the cost function of the battery life with the particle swarm optimization (PSO) method. The study in [18] provided a two-level optimization model of optimal planning. An active distribution system that consisted of DGs and several EHs could supply its surplus electricity to the market and was used daily. In [19], the planning of an integrated energy system with the participation of electricity, gas, and several smart EHs along with the consumer was presented using the hierarchical game method. In [20], an optimal planning model based on reliability was presented in order to connect EHs employing multi-carrier energy infrastructures. In [21], the planning of energy production in a smart energy network consisting of five examples of EHs to minimize the cost of energy supply and greenhouse gas emissions was investigated, and in [22], a hierarchical energy management system for minimizing the cost and peak shaving of the upstream network was presented in the local network consisting of different residential EHs. In [23], an EH optimization method was presented in the demand response energy market. The planning model for the performance of energy sources and energy storage by satisfying the constraints of the electricity and natural gas network considering the responsive load was presented using the water wave optimization (WWO) algorithm. In [24], EH system planning using wind and photovoltaic sources with optimal interaction between different sources to supply different system loads was investigated using quantum particle swarm optimization (QPSO) to minimize the total system cost. In [25], energy planning in a storage-based residential system was presented based on a multi-criteria optimization method with the participation of the demand side for minimizing production costs and maximizing the level of consumer satisfaction using the shuffled frog leaping algorithm (SFLA). In [26], the optimization of the EH to minimize operating costs, carbon emission, and energy efficiency based on a multi-objective optimization model was presented using VlseKriterijumska Optimizacija I Kompromisno Resenje (VIKOR). In [27], EH management was developed with the participation of electricity, gas, and heating networks with the aim of minimizing the cost of operation in the presence of energy and storage resources using an ant-lion optimizer and krill herd optimization (ALO-KHO) algorithm.
The review of the literature makes the necessity of an economic approach to the planning of interconnected EHs even more clear. In addition, economic analysis and evaluation based on the market model for interconnected EHs can be very effective in maximizing their profitability in the day-ahead electricity, gas, and heating markets, which have not been well addressed in previous studies. Furthermore, considering that optimal and coordinated planning of EH equipment improves network performance and system flexibility in cooperation with various types of electric, gas, and heating networks, the importance of using a powerful solver is felt. The key model for optimal modeling of multi-carrier EH systems is very time-consuming and challenging due to its nonlinear and multi-dimensional functions. To solve the problem mentioned in the literature, methods to approximate one-dimensional and multi-dimensional linear singularities to linearize the non-convex functions of natural gas transfer, generator cost, and compressor performance have been adopted, while using meta-heuristic algorithms, the linearization is not needed. The use of intelligent meta-heuristic algorithms based on iteration with high computing and optimization power can provide the conditions for achieving the maximum benefit of the EH by accurately determining the optimal capacity of EH equipment and, as a result, optimal and coordinated planning.
The present study investigates the optimal planning of the EH to achieve the maximum benefit of energy generation in the day-ahead market in partnership with EGHNs. In this study, the size of EH equipment, including photovoltaic and solar renewable energy sources, CHP, boilers, energy storage, and electric vehicles, is determined using a new and improved Fick’s law algorithm. According to NFL theory [28], a meta-heuristic algorithm may work well in solving some optimization problems, but the same algorithm cannot achieve the optimal solution in solving other problems. On the other hand, improving the performance of meta-heuristic algorithms by using special techniques can prevent them from premature convergence and strengthen their ability to quickly reach the global optimal solution. For this reason, in this article, a new meta-heuristic algorithm is adopted to find a solution to the EH scheduling problem. The conventional FLA [29] imitates Fick’s diffusion law. Traditional FLA has problems in the form of an imbalance between exploration and exploitation, as well as being caught in premature convergence. In this study, to improve the performance of the traditional FLA against these problems, Rosenbrock’s direct rotational (RDR) method [30] is used. In this study, the performance of the suggested IFLA to solve the optimal and coordinated EH scheduling problem with the aim of profit maximization is compared with the conventional FLA, PSO, and MRFO methods. The changes in daily power and profit for different energies for electricity, heating, and gas markets, the impact of different load levels, and also the exit rate of equipment on energy profit are evaluated.
The major highlights of this paper are listed below:
  • Coordinated energy scheduling and management strategy in the energy hub considering the economic optimal performance based on profit maximization.
  • Investigation of the load levels and forced output rate of renewable energy resources and CHP equipment on the energy hub economic performance.
  • Use of a new meta-heuristic algorithm named the improved Fick’s law algorithm (IFLA) algorithm based on Rosenbrock’s direct rotational method to solve EH scheduling.
  • Evaluating the superiority of the proposed EH scheduling framework compared with conventional FLA, PSO, and MRFO.
The following presents the organization of the paper. In Section 2, the formulation of the problem including the profit function and the operation and hub constraints are presented. Section 3 describes the current meta-heuristic algorithm and how it can be used to solve the problem. Section 4 presents the simulation results and the study findings are concluded in Section 5.

2. Problem Formulation

In this section, the optimal EH scheduling is presented with participation in EGHNs, taking into account the day-ahead market with the objective function of maximizing energy profit and with the constraints of network operation and hubs. In the following, the EH model and objective framework are described.

2.1. EH System

The optimal EH scheduling framework is presented in Figure 1 for EH scheduling in the electricity, gas, and heating day-ahead market. The provided EH includes photovoltaic energy sources, wind energy sources, CHP, boilers, storage elements, and electric parking lots based on electric vehicles (EVs), which work together to maximize the profit of the EH in the electricity, gas, and district heating day-ahead market. In this model, different electricity and natural gas, and district heating networks are considered. The purpose of the presented model is the optimal planning and simultaneous management of different energy hub equipment to achieve the best economic performance in the day-ahead market, and the system profit is affected by the price of electricity, natural gas, and heating energy. Therefore, all the equipment participates together under the hub energy planning and management in different networks to achieve maximum profit.

2.2. Objective Function

In this study, EH scheduling is presented in the market-facing EGHNs for profit maximization. The objective function of profit maximization of the EH includes the sale of active and reactive power in the electricity market, as well as the income of the EH in the day-ahead markets of natural gas and district heating, which is defined as follows:
M a x         P r o f i t = t = Ω t m Ω H u b λ t e ( H m , t p + k q H m , t q ) + λ t g H m , t g + λ t h H m , t h

2.3. Constraints of the Problem

In solving the optimization problem of hub energy scheduling, the objective function of the problem should be optimized under constraints. In other words, the problem is presented as a constrained optimization, taking into account various constraints, including network operation constraints and hub energy. In other words, the constraints of the problem must be satisfied in the process of solving the optimization problem in order to achieve a feasible solution. Here, the minimum and maximum capacity of each of the energy hub equipment is presented to the program, in which case the optimization program is allowed to explore to determine the optimal capacity of each equipment in the defined search space. On the other hand, other constraints include the current and voltage constraints of the power grid, which must be within the minimum and maximum allowed limits in the process of solving the optimization problem. In the optimization program, for linking constraints to the program, a penalty value is defined as a very large number for each constraint. To escape from that penalty value, the optimization program tries to maintain the capacity of the equipment and the network flow at its allowed value. In this way, the problem of scheduling is bound.
In the following, the network operation and EH constraints are presented.

2.3.1. Power Flow Constraint

The power flow constraints in EGHNs are presented below [25,26,27].
  • The active and reactive power balance in different buses
D S e , t p S e , t p + m H u b A H e , m e H m , t p = j Ω e A e , j e F e , j , t p               e , t
D S e , t q S e , t q + m H u b A H e , m e H m , t q = j Ω e A e , j e F e , j , t q               e , t
  • Active and reactive power flow of lines
F e , j , t p = G e , j ( V e , t ) 2 V e , t V j , t G e , j cos ( δ e , t δ j , t ) + B e , j sin ( δ e , t δ j , t )               e , t
F e , j , t q = B e , j ( V e , t ) 2 + V e , t V j , t B e , j cos ( δ e , t δ j , t ) G e , j sin ( δ e , t δ j , t )               e , t
  • Voltage angle in the base bus
The voltage angle in the base bus should follow the δ e , t = 0                   e = S l a c k   b u s , t .
  • Balance of gas power and flow
The balance of gas power in different buses and gas flow through the pipeline at hour t is as follows:
G S g , t L g , t g + m H u b A H g , m g H m , t g = j Ω g A g , j g F g , j , t g               g , t
F g , j , t g = κ g , j si g n ( π g , t , π j , t ) s i g n ( π g , t , π j , t ) ( π g , t 2 , π j , t 2 )               g , j , t
  • The heating power balance in buses
H S h , t L h , t h + m H u b A H h , m h H m , t h = j Ω g A h , j h F h , j , t h               h , t
  • Heat power flow
Heat power flow through a pipeline at time t is as follows:
F h , j , t h = c h , j m ˙ h , j ( T h , t T j , t )             h , j , t

2.3.2. Network Operation Constraints

In this section, operation constraints in EGHNs are presented. These constraints are defined in Equations (10)–(18).
  • Voltage range of buses
V e min V e , t V e max             e , t
  • Allowed capacity of lines and stations
( F e , j , t p ) 2 + ( F e , j , t q ) 2 F e , j e , max             e , j , t
( D S e , t p ) 2 + ( D S e , t q ) 2 D S e max             e , t
  • Bus pressure limit
π g min π g , t π g max             g , t
  • The capacity of gas pipes and station
F g , j g , max F g , j , t g F g , j g , max             g , j , t
G S g max G S g , t G S g max             g , t
  • The thermal limit of buses
T h min T h , t T h max             h , t
  • The capacity of the station and heating pipeline
F h , j h , max F h , j , t h F h , j h , max             h , j , t
H S h max H S h , t H S h max             h , t

2.3.3. EH Constraints

In this study, the presented EH includes photovoltaic and wind renewable energy sources, storage, electric parking, CHP, and boilers, and is connected to the electricity, gas, and regional heating network for the ability to deliver/receive energies. The active powers of gas output and heating of the hub are calculated based on Equations (19)–(22).
H m , t p = C H P m , t p + R E S m , t + ( S T m , t p , d c h S T m , t p , c h ) + ( E V m , t p , d c h E V m , t p , c h ) H D m , t p               m , t
H m , t q = C H P m , t q + S T m , t q + E V m , t q H D m , t q               m , t
H m , t g = C H P m , t g + B O m , t g H D m , t g               m , t
H m , t h = C H P m , t h + B O m , t h H D m , t h               m , t
The power balance equation of the CHP is presented in Equation (23) concerning the CHP power boundaries in the gas network (Equation (24)), in the electricity network (Equation (25)), and the heating network (Equation (26)).
C H P m , t g = ( C H P m , t g + C H P m , t h ) η C H P               m , t
0 C H P m , t h C H P m h , max               m , t
( C H P m , t p ) 2 + ( C H P m , t q ) 2 C H P m e , max               m , t
0 C H P m , t h C H P m , t h , max               m , t
The constraints related to the storage system are presented based on Equations (27)–(32). These constraints are based on the stored energy (Equation (25)), charge and discharge range (Equations (28) and (29)), primary energy range (Equation (30)), stored energy range (Equation (31)), as the limit of the charger (Equation (32)).
E m , t + 1 S T = E m , t S T + η S T , c h S T m , t p , c h 1 η S T , d c h S T m , t p , d c h               m , t
0 S T m , t p , c h C R m S T s t m , t               e , t
0 S T m , t p , d c h D R m S T ( 1 s t m , t )               m , t
E m , t S T = E m i n i                       m , t = 1
E m min E m , t S T E m max                       m , t
( S T m , t p , d c h S T m , t p , c h ) 2 + ( S T m , t q ) 2 S T m max               m , t
The constraints related to the parking of EVs are presented as Equations (33)–(38) [25,26,27,28]. The energy stored in the battery of EVs is calculated using Equation (33). The charging and discharging capacity of EVs are defined in Equations (34) and (35). The specification of the battery banks when EVs enter and exit the parking lot can be provided by Equations (36) and (37) and the specification of the EV charger capacity is presented in (38).
E m , t + 1 E V = E m , t E V + η E V , c h E m , t p , c h E m , t p , d c h η E V , d c h               m , t
0 E m , t E V , p , c h C R m , t E V e v m , t               m , t
0 E m , t E V , p , d c h D R m , t E V ( 1 e v m , t )               m , t
E m , t E V = E m , t a r r             m , t = A r r i v a l   t i m e
E m , t E V = E m , t d e p             m , t = D e p a r t u r e   t i m e
( E V m , t p , d c h E V m , t p , c h ) 2 + ( E V m , t q ) 2 E V m , t max             m , t
In addition, the power balance equation of the boiler and size limits can be defined based on Equations (39)–(40) [18].
B O m , t g = B O m , t h η B O             m , t
0 B O m , t g B O m max             m , t
E V max is equivalent to i = 1 N 1 t C C i e v , which indicates C C e v is the charging capacity of the EVs. E a r r / E d e p is equivalent to i = 1 N 2 t S O C i B C i / i = 1 N 3 t B C i , in which SOC expresses the state of charge and B C is the battery capacity of any EVs. N 2 t and N 3 t also refer to the arrival and departure times of EVs.

3. Proposed Optimization Method

3.1. Overview of the FLA

The Fick diffusion law has been adopted in structuring a new optimization tool and is employed in the present research for optimal scheduling of the EH. The FLA includes diffusion, equilibrium, and steady-state phases. The FLA is a powerful optimization method that can fairly perform exploration and exploitation processes by balancing these phases [31].

3.1.1. Inspiration

The motion of particles between different concentrated points in the space follows the Fick diffusion equations. It states that “diffusion speed is directly related to surface area and concentration difference and has a reverse relationship with the membrane thickness”. Diffusion based on the rules of Fick is called normal propagation or Fick. In the FLA algorithm, Fick’s law is simulated so that stable positions of molecules are found. In this algorithm, three motion operators including (1) a diffusion operator (DO), (2) an equilibrium operator (EO), and (3) a steady-state operator (SSO) are provided. In the DO phase, it is assumed that there are two regions at the beginning of the experiment with considerable concentration differences, which forces the particles to move and replace other particles’ positions. In the EO phase, the two concentrations are approximately the same and the particles attempt to find an equilibrium. The SSO phase happens when particles change their positions region based on the most desirable location.

3.1.2. Formulation of FLA

The FLA algorithm is mathematically presented as described below.
  • Step 1: Initialization. In the FLA, optimization starts based on several preferred solutions, shown by X, according to Equation (41). The generation of solutions is random and in each iteration, the best solution is selected as the best current almost optimal solution [29].
    X = x 1 , 1 x 1 , j x 2 , 1 x 2 , j x N , 1 x N , j x N , D 1 x 1 , D x 1 , D x N , D
    where N represents the number of solutions (population size), D represents the dimension of the problem (number of variables), and j refers to the jth decision variable.
  • Step 2: Clustering. In this step, the population of the algorithm is divided into two equal groups, N1 and N2.
  • Step 3: Transfer function (TF). The efficiency of any algorithm is highly dependent on the transition from discovery to exploitation, and vice versa. In the FLA, a nonlinear transfer function (TF) is provided for this problem. TF function is defined as Equation (42) [29].
    T F t = sinh ( t / T ) c 1
Here, t and T show the number of iterations and the maximum number of iterations, and C1 is considered 0.5.
  • Step 4: Update the molecule position: In this step, three phases based on transfer operators, namely DO, EO, and SSO, are presented. The transition process between the three phases is based on the following equation [31]:
    X i t = D O                 T F t < 0.9 E O                 T F t 1 S S O             T F t > 1

3.1.3. DO Operator (Discovery Phase)

If there is a high concentration difference between two regions, molecules change their position according to the region concentration. T D O t is defined as follows [29].
T D O t = C 5 × T F t r ,       C 5 = 2
The flow direction is determined according to the value of T D O t as follows [29]:
X p , i t = f r o m     i     t o     j     r e g i o n           T D 0 t <   r a n d f r o m     j     t o     i     r e g i o n           o t h e r w i s e
If the concentration of region i is higher than that of region j, some molecules will migrate from region i to region j, and other remaining molecules in region i are influenced by this movement. The number of molecules transferred ( N T i j ) and the number of remaining molecules within molecular group i ( N R i j ) can be defined as follows [31]:
N T i j N i × r 1 × ( C 4 C 3 ) + N i × C 3 ,                     N R i j N i N T i j
NTij means transferred molecules then move to another region and their position is mainly updated concerning the most favorable equilibrium molecule in area j as follows [29]:
X p , i t + 1 = X E O , j t + D F p , j t × D O F × r 2 × ( J i , j t × X E O , j t X p , j t + 1 )
Furthermore, DOF indicates the time-varying flow direction, which is defined as Equation (48) [29].
D O F = exp ( C 2 ( T F t r 1 ) ) ,       C 2 = 2
Jti,j refers to the diffusion flux considering effective diffusion constant (D) and concentration gradient (concentration gradient), which is presented as follows [29]:
J i , j t = D d c i , j t d x i , j t
d c i , j t and d x i , j t are obtained considering the average position of the molecule in regions i and j (Xtm,j and Xtm,i) as follows [29]:
d c i , j t = X m , j t X m , i t
d x i , j t = ( x E O , j t ) 2 ( x p , i t ) 2 + e p s
The position of remaining molecules in the ith group in region i is updated based on the movement between distinct stages (equilibrium positions in regions i and j and problem boundary and no change in the positions). This strategy can be described by Equation (52) [29] considering the equilibrium point in area i (XtEO,i) and upper (U) and lower (L) limits of the problem:
X p , j t + 1 = X E O , i t                                                                                                                             r a n d < 0.8 X E O , i t + D O F × ( r 3 × ( U L ) + L                         r a n d < 0.9 X p , i t + 1                                                                                                                                 o t h e r w i s e
Molecules in region j modify their position in the same region due to their higher concentration without traveling; that is, their position is updated relative to the equilibrium point. The problem boundary is defined by Equation (53) [29]:
X p , j t + 1 = X E O , j t + D O F × ( r 4 × ( U L ) + L

3.1.4. EO Operator (Transition Stage from Exploration to Exploitation)

In this step, the exploration phase is transferred to exploitation. The position of molecules is updated considering the location of particle p in the group (Xtp,g) and the equilibrium position in group g (XtEO,g), based on Equation (54) [29].
X p , g t + 1 = X E O , p t + Q E O , g t × X p , g t + Q E O , g t × ( M S p , E O t × X E O , g t X p , g t )
The relative quantity of the region in group g (QtEO,g) and the diffusion rate coefficient in group (DRFtEO,g), as in Equations (55) and (60) [29], are defined as follows:
Q E O , g t = R 1 t × D F g t × D R F E O , g t
D R F E O , g t = exp   ( J p , E O t T F t )
J p , E O t = D d c g , E O t d x p , E O t
dctg,EO and dxtp,EO are determined as follows [29]:
d c g , E O t = x g , E O t X m , g t
d x p , E O t = ( x g , E O t ) 2 ( x p , g t ) 2 + e p s
D F g t = ± 1     d i r e c t i o n     f a c t o r
M S p , E O t = exp ( F S g , E O t F S p , g t + e p s )     m o t i o n     s t e p
R 1 t = r a n d [ 0 , 1 ] d         d = 1   :       dim e n s i o n

3.1.5. Steady State Operator (SSO) (Exploitation Phase)

The exploitation phase is the final step in the optimization problem. In this step, the position of the molecules will be updated considering the location of the steady state (XtSS) and the position of the p particle (Xtp,g) based on the following equation [29]:
X p , g t + 1 = X s s t + Q g t × X p , g t + Q g t × ( M S p , g t × X s s t X p , g t )
Qtg and MStp,EO express the relative quantity of area g and refer to the transition phase, which is determined by [29]
Q g t = R 1 t × D F g t × D R F g t
In Equation (64), DFtp represents the direction factor equal to ±1, Rt1 randomly varies between [0, 1] and DRFtp expresses the signal diffusion speed factor, which is obtained as follows [29]:
D R F g t = exp ( J p , s s t T F t )
M S p , g t = exp ( F S s s t F S p , g t + e p s )
Jtp,ss is determined as follows [29]:
J p , s s t = d c g , s s t d x p , s s t
dctg,ss and dxtp,ss are calculated based on the following equations [29]:
d c g , s s t = x m , g t X s s t d x p , s s t = ( x s s t ) 2 ( x p , g t ) 2 + e p s

3.1.6. Balancing the Exploration and Exploitation Phases

Establishing a balance between the exploration and exploitation phases is essential when dealing with optimization algorithms. The FLA consists of diffusion, equilibrium, and steady-state steps. Exploration is based on a simulated diffusion phase, by which molecules discover the entire search domain. Then, the transition between exploration and exploitation can be implemented based on the equilibrium stage. Finally, following the steady state stage, the exploitation of molecules from promising areas is established.

3.1.7. FLA Pseudo Code

Algorithm 1 shows the step-by-step process of the FLA.
Algorithm 1. Steps of implementation of the FLA
1: Initialization;
2: Insert parameters  of D, C1, C2, C3, C4, C5;
3: Initiate the population Xi (i = 1, 2, … N) as random;
4: Clustering: Dividing the population into two groups N1, and N2;
5: for s = 1:2 do
6: Calculate the fitness of each group molecule Ns;
7: Determining the best molecule is the best fitness value;
8: end for
9: while FES ≤ MAXFES do
10: if If TF is greater than 0.9 then: (SSO)
11: for op = 1: nop do
12: Compute the rate of diffusion via Equation (65)
13: Compute the step of motion factor via Equation (66)
14: Update the position of the population via Equation (63)
15: end for
16: else if TF is fewer than rand then (EO)
17: for op = 1: nop do
18: Compute rate of diffusion via Equation (56)
19: Compute quantity of group relative via Equation (55)
20: Update position of the population via Equation (54)
21: end for
22: else (EO)
23: Compute flow direction via Equation (48)
24: calculate molecules number tending to move to region via Equation (46)
25: Update position of the population via Equation (47)
26: Update remained molecules in the region i via Equation (52)
27: Update the region j molecules via Equation (53)
28: Update FES ← FES + NP
29: end while
30: Return best solution.

3.2. Overview of the IFLA

The traditional FLA algorithm has problems in the form of an imbalance between exploration and exploitation, as well as getting caught in premature convergence. In this study, to improve the performance of the traditional FLA algorithm against these problems, Rosenbrock’s direct rotational (RDR) method [30] is used. In this method, the coordinate axes are the initial search path in the RDR local search method, which rotates along these directions before moving to a new set point where effective steps are generated until at least one effective process and one unsuccessful step in any search direction.
In this case, the current phase is finished and the identification basis is checked to calculate the cumulative effect of all successful phases in all dimensions [30]. The orthonormal basis is updated as follows [30]:
x k + 1 x k + = i = 1 n λ i . d i
In the equation below, a set of instructions is provided. Where λi represents the total number of successful variables, and x k + 1 x k + represents the point with the most useful search direction. Therefore, it is placed in the corrected search direction [30].
p i = d i ,                                         λ i = 0 j = 0 n λ j . d j                     λ i 0
Next, the search results based on the Gram-Schmidt normalization process are updated as the following equation [30].
q i = p i ,                                                                   i = 1 p i j = 1 i 1 q j T . p i q j T . q j                           i 2
The modified and normalized search guidelines are defined as follows [30].
d i = q i q i ,   i = 1 , 2 , 3 , , n .
After updating the local search, this method performs the search operation until the convergence condition of the algorithm is met in the new opposite direction.

4. Simulation Results and Discussion

Here, the results obtained from EH scheduling and management in different networks in the day-ahead markets facing EGHNs are presented. The EH scheduling problem is presented as an optimization problem with the aim of maximizing the profit of hubs. In this study, the IFLA algorithm has been employed to optimize the problem under study, and a comparison is made between the suggested algorithm and conventional FLA, PSO, and MRFO. Population size, maximum iteration, and independent executions of each algorithm are selected as 100, 200, and 25, respectively. Table 1 lists the control parameters of the algorithms. It should be noted that the control parameters of different methods are the values provided by their authors in reference papers. In this study, the parameters of the conventional FLA algorithm are considered the same as the parameters set by its authors. Although the authors have checked the setting of these parameters and found that the parameters set by the authors of the algorithm provide the best results for base simulation with the FLA.

4.1. System under Study and Data

The studied system is a nine-bus electrical network, the number of lines of which is twelve, and it has four buses and five pipelines in the gas network and the urban heating network has nine buses and also has nine pipelines (Figure 2). Line/pipeline data, by assuming 1 MW as base power, a 1 kV base voltage, a 10-bar base pressure, and a 100 °C base temperature, are presented in Table 2 [31]. Furthermore, the amplitude of voltage, pressure, and temperature can vary between 0.9 and 1.1 p.u. Moreover, the data of the system load in the electric load peak hour [31] is considered. These data include active and reactive load power (p.u) and heating load power (p.u). In the rest of the hours, the load percentage value is multiplied by the load value at 20:00.
The load curve (the share of peak load) of electric and heating networks is shown in Figure 3. Furthermore, Figure 4 illustrates the daily energy price curve in the day-ahead market for electricity, gas, and district heating energy. The size of electricity, gas, and heating stations is assumed to be 7, 11, and 3 p.u. The system under study consists of seven hubs, the location and characteristics of which can be found in Figure 2 and Table 3, respectively.
Hubs’ renewable energy sources include photovoltaic and wind sources, the predicted power of which is presented in Figure 5 and Figure 6, respectively [31]. These figures show the forecasted changes in photovoltaic and wind power for the day-ahead. In addition, the number of EVs for hubs 1, 2, 3, 5, 6, and 7 is considered to be 60. The data of battery SOC, BC, charge/discharge rate and EV efficiency, and penetration rate are considered every hour [28,34]. For an electric storage system in which the charger size is 0.5 p.u, minimum and maximum sizes of 0.5 and 2 p.u, charge/discharge rate, and efficiency are considered to be 0.3 and 0.88, respectively. Furthermore, the size of the CHP in EGHNs is 2.5, 1, 1 with an overall efficiency of 80% [32]. The size and efficiency of the boiler system are 1 and 0.8 p.u.

4.2. Superior Optimization Method

In this section, optimal energy scheduling and management of EH with the aim of maximizing profit are presented in the day-ahead markets in EGHNs by satisfying network operation constraints and hub constraints using IFLA’s new meta-heuristic algorithm. The performance of the proposed algorithm has been compared with conventional FLA, PSO, and MRFO. The convergence curve obtained from solving the problem by different algorithms is shown in Figure 7. Here, the value of the objective function represents the profit of the EH. According to the minimization in Matlab software and the objective of profit maximization, a negative sign is included in the objective function. As can be seen, the proposed method based on IFLA has obtained the optimal global solution with a higher profit value, higher convergence speed, and lower convergence tolerance in fewer convergence iterations compared to other methods. The numerical results of EH scheduling based on the proposed methodology are given in Table 4. As is noted, the suggested approach based on IFLA achieved a profit of $472.13 in the 30th iteration, while other methods are stuck in the local optimum and are not able to achieve the global optimum. It can also be seen that the performance improvement of the conventional FLA method based on Rosenbrock’s direct rotational (RDR) method prevents the premature convergence of its improved version, while the traditional FLA method with a profit value of $435.34 has experienced premature convergence. Furthermore, in a statistical analysis of the performance of different algorithms according to Table 5, the superior capability of the proposed algorithm has been confirmed in terms of achieving better statistical indices. The difference in the IFLA results compared to other methods is to achieve more profit of hub energy in the day-ahead electricity market. The proposed method has been able to get more profit from energy exchange with more accurate planning between energy resources and storage sources of the energy hub. The results showed that the proposed scheduling framework based on the IFLA based on a meta-heuristic algorithm has the ability to create a favorable balance between the phases of exploration and exploitation and is less able to determine the optimal solution in the convergence iteration. The results show that the use of a powerful optimization method can guarantee the optimal economic operation of the EH by satisfying the many constraints of the operation and the EH.

4.2.1. System Power and Profit

Figure 8 and Figure 9 show the power curve and daily profit for different energies, respectively. The optimal scheduling of the EH has been carried out by satisfying the operation and hub constraints using the IFLA algorithm. According to Figure 8, the active power of all EH equipment is not positive during the early hours of the program; i.e., 1:00 to 7:00. These conditions have been created because EVs are charging and energy is stored due to the low price of electricity in this period. On the other hand, the demand for hub equipment has been answered by CHP due to the low price of gas in the hours of 1:00 to 4:00. On the other hand, Figure 8 shows that due to the high price of electricity during the hours of 8:00 to 24:00, the electricity required by the networks is supplied by CHP equipment, renewable energy sources, storage systems, and electric vehicles during these hours. On the other hand, due to the higher price of heating energy compared to gas, the maximum allowed heating power has been delivered to the heating network during the full day. Therefore, from 1:00 to 4:00, power received in the hub equipment from the upstream network exceeds that of CHP, photovoltaic, and wind energy sources, and the power of the hub equipment is negative during these hours. Furthermore, in the hours of 8:00 to 24:00, the power of the hub equipment is positive. Therefore, according to the mentioned cases, energy management has been carried out to maximize the profit of the system.
The daily changes in the profit hub are presented in Figure 9. The results show that the profit of the system in the day-ahead market of different networks is affected by the price of energy. According to Figure 9, the benefit from heating is variable due to the variable price of heating energy in different periods. On the other hand, based on Figure 9, it is observed that the profit of the electricity market is negative in the hours 1:00 to 7:00 due to energy storage by the EVs, and it is positive in the rest of the hours. Furthermore, the profit earned in the gas market is not positive because of receiving gas energy from CHP and steam boilers, as well as the higher profit in the heating market compared to the gas market at all hours. The profit from the forward market includes the set of profits of all hubs in different forward markets in such a way that the negative profit means the positive cost.

4.2.2. Network Loss and Deviations

Figure 10 shows the power loss changes in the electricity, heating, and gas markets. Due to the constant gas power in the hub and gas station, gas power losses are constant. According to Figure 10, the heating power loss from 1:00 to 15:00, which is low, has an increasing behavior over time, from 16:00 to 24:00. It can also be seen that the electric power loss is high between 1:00 and 7:00, which is due to the high demand of the EH during these hours.
In Figure 11, the daily changes in voltage deviation, pressure, and temperature in EGHNs are presented. For the gas network, the rate of change of 0.1 p.u for 24 h is reported because of the high gas demand in the EH. The temperature difference is also low for the hours from 1:00 to 15:00 and for the hours from 16:00 to 24:00, which is 0.1 p.u. In addition, the maximum voltage deviation occurred due to the demand of the EH and the power system in the time period 1:00 to 15:00 and 23:00 to 24:00, and the lowest voltage deviation occurred in the hours of 16:00 to 22:00, because of the delivery of active and reactive power above the hub into the power grid has been achieved.

4.2.3. Impact of Different Loading Conditions

In this section, the energy profit has been evaluated by considering different load levels; i.e., low load, normal load, and high load, equivalent to 80%, 100%, and 120% of peak load, respectively. The results of the profit evaluation of EH considering different load levels are presented in Figure 12. As can be seen, with a 20% increase in the demand compared to the base state, the profit has decreased from $472.13 to $236.89, and with a 20% decrease in load demand, it has increased to $763.46. Therefore, the increase (decrease) in the load demand causes a decrease (increase) in the profit of the EH.

4.2.4. Impact of Forced Outage Rate

In this section, the energy profit is examined by considering the effect of the equipment-forced outage rate (FOR). The results of evaluating the profit of EH, taking into account the FOR of renewable energy sources and CHP equipment, are presented in Table 6. As we know, the production capacity of resources depends on their availability and probability of functioning in healthy working conditions. Anticipated or anticipated failure of equipment for any reason reduces its availability in the system. In the previous simulations and for the base case, the FOR of renewable energy resources and CHP equipment was considered to be zero, or the probability of their operation was considered 100%. In this section, the energy profit of the system is calculated for FOR from 0% to 10% according to Table 6. It can be seen that with the increase (decrease) in the FOR of renewable energy sources and CHP, the profit of the hub has decreased (increased). For example, the profit of the system in the base state (FOR = 0%) has decreased from $472.13 to $379.46 for FOR = 5%, and has also declined to $297.09 for FOR = 10%.

5. Conclusions

The present paper addresses the optimal scheduling and management of EHs in day-ahead energy markets for participation with EGHNs to maximize energy profit using the new IFLA algorithm and satisfying the operating and hub constraints. The research findings are listed below:
  • The results showed that the IFLA, FLA, PSO, and MRFO methods obtained energy profits of $472.13, $435.34, $442.17, and $467.62, respectively, in the day-ahead market, which indicates the better performance of the proposed framework based on IFLA in achieving more energy profit.
  • The system’s profit is significantly affected by the price of electricity, natural gas, and heating energy. The profit of the heating market of the day-ahead is negative in the hours of electric energy storage and positive in the rest of the hours. Furthermore, the profit of the day-ahead gas market in the day-ahead heating market is negative compared to the day-ahead gas.
  • With a 20% increase in load demand compared to the base state, the profit decreases from $472.13 to $236.89, and with a 20% decrease in load demand, it increases to $763.46. Therefore, the increase (decrease) in load demand causes a decrease (increase) in the profitability of the EH.
  • With the increase (decrease) in the FOR of renewable energy sources and CHP, the system profit decreases (increases). The system profit in the base state (FOR = 0%) decreases from $472.13 to $379.46 for FOR = 5%, and also declines to $297.09 for FOR = 10%.

Author Contributions

Conceptualization, M.A., A.A., Y.Q., A.S.A., M.Z., A.B.A. and M.G.B.A.; methodology, M.A. and A.A.; software, M.A. and A.S.A.; validation, M.A, Y.Q. and A.A.; formal analysis, M.A., Y.Q., A.S.A., M.Z., A.B.A. and M.G.B.A.; investigation, M.A., A.A., Y.Q., A.S.A., M.Z., A.B.A. and M.G.B.A.; resources, M.A., A.A., Y.Q., A.S.A., M.Z., A.B.A. and M.G.B.A.; data curation, M.A., A.A., Y.Q., A.S.A., M.Z., A.B.A. and M.G.B.A.; writing—original draft preparation, A.S.A. and A.A.; writing—review and editing, M.A., A.A., Y.Q., A.S.A., M.Z., A.B.A. and M.G.B.A.; visualization, M.A., A.A., Y.Q., A.S.A., M.Z., A.B.A. and M.G.B.A.; supervision, A.A., Y.Q., A.S.A., M.Z., A.B.A. and M.G.B.A.; project administration, M.A., A.A., Y.Q., A.S.A., M.Z., A.B.A. and M.G.B.A.; All authors have read and agreed to the published version of the manuscript.

Funding

This research supported by the deputyship for research and innovation, ministry of education in Saudi Arabia under project number (IFP-2022-35).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data will be available on request.

Acknowledgments

The authors extend their appreciation to the deputyship for research and innovation, ministry of education in Saudi Arabia for funding this research work through the project number (IFP-2022-35).

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

AeBus and line incidence matrix for electrical network
AgBus and line incidence matrix for natural gas network
AhBus and line incidence matrix for district heating network
AHeBus and hub incidence matrix for electrical network
AHgBus and hub incidence matrix for natural gas network
AHhBus and hub incidence matrix for district heating network
BSusceptance of a line (p.u)
BOmaxThe maximum capacity of boiler (p.u)
CHPgGas of CHP (p.u)
CHPhHeating power of CHP (p.u)
CHPPThe active power of CHP (p.u)
CHPqThe reactive power of CHP (p.u)
CHPe,maxThe maximum CHP capacity in electrical part (p.u)
DSpThe active power of electrical station (p.u)
DSqThe reactive power of electrical station (p.u)
EiniInitial energy in the storage system (p.u)
EminMinimum energy of storage system (p.u)
EmaxMaximum energy of storage system (p.u)
EVp,chCharging active power of EVs batteries in the parking lot (p.u)
EVp,dchDischarging active power of EVs batteries in the parking lot (p.u)
FpActive power flow from a line (p.u)
FqReactive power flow from a line (p.u)
FgThe gas power flow from a pipeline (p.u)
FhThe heating power flow from a pipeline (p.u)
GSThe gas station power (p.u)
GSmaxMaximum capacity of gas station (p.u)
HDpActive demand power in the hub (p.u)
CHh,maxThe maximum CHP capacity in heating part (p.u)
HDhHeating demand power in the hub (p.u)
HDgGas demand power in the hub (p.u)
HDqReactive demand power in the hub (p.u)
HSThe heating station power (p.u)
HSmaxMaximum capacity heating station (p.u)
LP, LqActive and reactive load power (p.u)
Lg, LhGas and heating load power (p.u)
MIndice of hub
STp,ch, STp,dchCharging and discharging active power of storage system (p.u)
STqReactive power of storage system (p.u)
TTemperature (p.u)
Tmin, TmaxMinimum and maximum allowed temperature (p.u)
Vmin, VmaxMinimum and maximum acceptable voltage magnitude (p.u)
ηEV, ch, ηEV, dchEVs charging and discharging efficiency
ηST, ch, ηST, dchStorage system charging and discharging efficiency
λe, λg, λhDA market price for electrical, gas and heating energies ($/MWh)
πmin, πmaxMinimum and maximum allowed gas pressure magnitude (p.u)
Ωe, Ωg, ΩhSets of electrical bus, gas node, heating node

References

  1. Mohammadi, M.; Noorollahi, Y.; Mohammadi-Ivatloo, B.; Yousefi, H. Energy hub: From a model to a concept–A review. Renew. Sustain. Energy Rev. 2017, 80, 1512–1527. [Google Scholar] [CrossRef]
  2. Naderipour, A.; Kamyab, H.; Klemeš, J.J.; Ebrahimi, R.; Chelliapan, S.; Nowdeh, S.A.; Abdullah, A.; Marzbali, M.H. Optimal design of hybrid grid-connected photovoltaic/wind/battery sustainable energy system improving reliability, cost and emission. Energy 2022, 257, 124679. [Google Scholar] [CrossRef]
  3. Davatgaran, V.; Saniei, M.; Mortazavi, S.S. Optimal bidding strategy for an energy hub in energy market. Energy 2018, 148, 482–493. [Google Scholar] [CrossRef]
  4. Zhang, G.; Ge, Y.; Ye, Z.; Al-Bahrani, M. Multi-objective planning of energy hub on economic aspects and resources with heat and power sources, energizable, electric vehicle and hydrogen storage system due to uncertainties and demand response. J. Energy Storage. 2023, 57, 106160. [Google Scholar] [CrossRef]
  5. Naderipour, A.; Abdul-Malek, Z.; Arabi Nowdeh, S.; Gandoman, F.H.; Hadidian Moghaddam, M.J. A multi-objective optimization problem for optimal site selection of wind turbines for reduce losses and improve voltage profile of distribution grids. Energies 2019, 12, 2621. [Google Scholar] [CrossRef] [Green Version]
  6. Lu, X.; Li, H.; Zhou, K.; Yang, S. Optimal load dispatch of energy hub considering uncertainties of renewable energy and demand response. Energy 2023, 262, 125564. [Google Scholar] [CrossRef]
  7. Naderipour, A.; Abdul-Malek, Z.; Nowdeh, S.A.; Ramachandaramurthy, V.K.; Kalam, A.; Guerrero, J.M. Optimal allocation for combined heat and power system with respect to maximum allowable capacity for reduced losses and improved voltage profile and reliability of microgrids considering loading condition. Energy 2020, 196, 117124. [Google Scholar] [CrossRef]
  8. Wen, P.; Xie, Y.; Huo, L.; Tohidi, A. Optimal and stochastic performance of an energy hub-based microgrid consisting of a solar-powered compressed-air energy storage system and cooling storage system by modified grasshopper optimization algorithm. Int. J. Hydrog. Energy 2022, 47, 13351–13370. [Google Scholar] [CrossRef]
  9. Bahmani, R.; Karimi, H.; Jadid, S. Cooperative energy management of multi-energy hub systems considering demand response programs and ice storage. Int. J. Electr. Power Energy Syst. 2021, 130, 106904. [Google Scholar] [CrossRef]
  10. Rahmatian, M.R.; Shamim, A.G.; Bahramara, S. Optimal operation of the energy hubs in the islanded multi-carrier energy system using Cournot model. Appl. Therm. Eng. 2021, 191, 116837. [Google Scholar] [CrossRef]
  11. Ghanbari, A.; Karimi, H.; Jadid, S. Optimal planning and operation of multi-carrier networked microgrids considering multi-energy hubs in distribution networks. Energy 2020, 204, 117936. [Google Scholar] [CrossRef]
  12. Wang, X.; Liu, Y.; Liu, C.; Liu, J. Coordinating energy management for multiple energy hubs: From a transaction perspective. Int. J. Electr. Power Energy Syst. 2020, 121, 106060. [Google Scholar] [CrossRef]
  13. Mirzapour-Kamanaj, A.; Majidi, M.; Zare, K.; Kazemzadeh, R. Optimal strategic coordination of distribution networks and interconnected energy hubs: A linear multi-follower bi-level optimization model. Int. J. Electr. Power Energy Syst. 2020, 119, 105925. [Google Scholar] [CrossRef]
  14. Liu, T.; Zhang, D.; Wu, T. Standardised modelling and optimisation of a system of interconnected energy hubs considering multiple energies—Electricity, gas, heating, and cooling. Energy Convers. Manag. 2020, 205, 112410. [Google Scholar] [CrossRef]
  15. Khorasany, M.; Najafi-Ghalelou, A.; Razzaghi, R.; Mohammadi-Ivatloo, B. Transactive energy framework for optimal energy management of multi-carrier energy hubs under local electrical, thermal, and cooling market constraints. Int. J. Electr. Power Energy Syst. 2021, 129, 106803. [Google Scholar] [CrossRef]
  16. Mohammadi, M.; Noorollahi, Y.; Mohammadi-ivatloo, B.; Hosseinzadeh, M.; Yousefi, H.; Khorasani, S.T. Optimal management of energy hubs and smart energy hubs—A review. Renew. Sustain. Energy Rev. 2018, 89, 33–50. [Google Scholar] [CrossRef]
  17. Huo, D.; Le Blond, S.; Gu, C.; Wei, W.; Yu, D. Optimal operation of interconnected energy hubs by using decomposed hybrid particle swarm and interior-point approach. Int. J. Electr. Power Energy Syst. 2018, 95, 36–46. [Google Scholar] [CrossRef]
  18. Bostan, A.; Nazar, M.S.; Shafie-Khah, M.; Catalão, J.P. Optimal scheduling of distribution systems considering multiple downward energy hubs and demand response programs. Energy 2020, 190, 116349. [Google Scholar] [CrossRef]
  19. Luo, X.; Liu, Y.; Liu, J.; Liu, X. Energy scheduling for a three-level integrated energy system based on energy hub models: A hierarchical Stackelberg game approach. Sustain. Cities Soc. 2020, 52, 101814. [Google Scholar] [CrossRef]
  20. Zhang, X.; Che, L.; Shahidehpour, M.; Alabdulwahab, A.S.; Abusorrah, A. Reliability-based optimal planning of electricity and natural gas interconnections for multiple energy hubs. IEEE Trans. Smart Grid 2015, 8, 1658–1667. [Google Scholar] [CrossRef]
  21. Ghorab, M. Energy hubs optimization for smart energy network system to minimize economic and environmental impact at Canadian community. Appl. Therm. Eng. 2019, 151, 214–230. [Google Scholar] [CrossRef]
  22. Gholinejad, H.R.; Loni, A.; Adabi, J.; Marzband, M. A hierarchical energy management system for multiple home energy hubs in neighborhood grids. J. Build. Eng. 2020, 28, 101028. [Google Scholar] [CrossRef]
  23. Jiang, W.; Wang, X.; Huang, H.; Zhang, D.; Ghadimi, N. Optimal economic scheduling of microgrids considering renewable energy sources based on energy hub model using demand response and improved water wave optimization algorithm. J. Energy Storage 2022, 55, 105311. [Google Scholar] [CrossRef]
  24. Shahrabi, E.; Hakimi, S.M.; Hasankhani, A.; Derakhshan, G.; Abdi, B. Developing optimal energy management of energy hub in the presence of stochastic renewable energy resources. Sustain. Energy Grids Netw. 2021, 26, 100428. [Google Scholar] [CrossRef]
  25. Enayati, M.; Derakhshan, G.; mehdi Hakimi, S. Optimal energy scheduling of storage-based residential energy hub considering smart participation of demand side. J. Energy Storage 2022, 49, 104062. [Google Scholar] [CrossRef]
  26. Lu, Q.; Zeng, W.; Guo, Q.; Lü, S. Optimal operation scheduling of household energy hub: A multi-objective optimization model considering integrated demand response. Energy Rep. 2022, 8, 15173–15188. [Google Scholar] [CrossRef]
  27. AkbaiZadeh, M.; Niknam, T.; Kavousi-Fard, A. Adaptive robust optimization for the energy management of the grid-connected energy hubs based on hybrid meta-heuristic algorithm. Energy 2021, 235, 121171. [Google Scholar] [CrossRef]
  28. Wolpert, D.H.; Macready, W.G. No free lunch theorems for optimization. IEEE Trans. Evol. Comput. 1997, 1, 67–82. [Google Scholar] [CrossRef] [Green Version]
  29. Hashim, F.A.; Mostafa, R.R.; Hussien, A.G.; Mirjalili, S.; Sallam, K.M. Fick’s Law Algorithm: A physical law-based algorithm for numerical optimization. Knowl.-Based Syst. 2023, 260, 110146. [Google Scholar] [CrossRef]
  30. Abualigah, L.; Diabat, A.; Zitar, R.A. Orthogonal Learning Rosenbrock’s Direct Rotation with the Gazelle Optimization Algorithm for Global Optimization. Mathematics 2022, 10, 4509. [Google Scholar] [CrossRef]
  31. Shabanpour-Haghighi, A.; Seifi, A.R. Simultaneous integrated optimal energy flow of electricity, gas, and heat. Energy Convers. Manag. 2015, 101, 579–591. [Google Scholar] [CrossRef]
  32. Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the Name of ICNN’95-International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar]
  33. Zhao, W.; Zhang, Z.; Wang, L. Manta ray foraging optimization: An effective bio-inspired optimizer for engineering applications. Eng. Appl. Artif. Intell. 2020, 87, 103300. [Google Scholar] [CrossRef]
  34. Kohansal, O.; Zadehbagheri, M.; Kiani, M.J.; Nejatian, S. Participation of Grid-Connected Energy Hubs and Energy Distribution Companies in the Day-Ahead Energy Wholesale and Retail Markets Constrained to Network Operation Indices. Int. Trans. Electr. Energy Syst. 2022, 2022, 2463003. [Google Scholar] [CrossRef]
Figure 1. The presented framework of optimal energy scheduling of the EH.
Figure 1. The presented framework of optimal energy scheduling of the EH.
Applsci 13 03526 g001
Figure 2. Schematic of the studied system.
Figure 2. Schematic of the studied system.
Applsci 13 03526 g002
Figure 3. The daily curve of network load percentage [31].
Figure 3. The daily curve of network load percentage [31].
Applsci 13 03526 g003
Figure 4. The daily curve of energy prices in the DA market [31,34].
Figure 4. The daily curve of energy prices in the DA market [31,34].
Applsci 13 03526 g004
Figure 5. The daily curve of irradiance.
Figure 5. The daily curve of irradiance.
Applsci 13 03526 g005
Figure 6. The daily curve of wind speed.
Figure 6. The daily curve of wind speed.
Applsci 13 03526 g006
Figure 7. Convergence behavior of various algorithms when applied to solve the problem.
Figure 7. Convergence behavior of various algorithms when applied to solve the problem.
Applsci 13 03526 g007
Figure 8. Daily changes of hub power for different energy equipment.
Figure 8. Daily changes of hub power for different energy equipment.
Applsci 13 03526 g008
Figure 9. Daily changes in the profit hub.
Figure 9. Daily changes in the profit hub.
Applsci 13 03526 g009
Figure 10. Daily power loss curve in EGHNs.
Figure 10. Daily power loss curve in EGHNs.
Applsci 13 03526 g010
Figure 11. Maximum daily variations in voltage, pressure, and temperature curves.
Figure 11. Maximum daily variations in voltage, pressure, and temperature curves.
Applsci 13 03526 g011
Figure 12. Energy profit considering different load levels.
Figure 12. Energy profit considering different load levels.
Applsci 13 03526 g012
Table 1. Control parameters of different algorithms.
Table 1. Control parameters of different algorithms.
AlgorithmParameterValue
FLA [29]C0.1
PSO [32]C12
C22
Inertia weightLinearly reduction from 0.9 to 0.1
MRFO [33]S2
Table 2. Data of transmission lines, gas, and heating pipelines (p.u).
Table 2. Data of transmission lines, gas, and heating pipelines (p.u).
Electrical NetworkNatural Gas NetworkDistrict Heating Network
LineRXFe,maxPipeline κ signFg,maxPipeline c × m ˙ Fh,max
1-20.020.060.901-2311.11-2151.00
1-50.050.120.501-33.513.01-318.51.30
2-30.050.120.651-4411.22-317.50.20
2-40.060.080.752-34.5-10.62-718.50.50
2-50.060.110.803-44.510.83-419.50.65
3-40.070.111.20 3-6190.20
4-50.010.040.65 4-5150.35
4-70.010.030.90 5-6190.10
5-60.020.051.10 6-719.50.20
6-90.100.090.30
7-80.020.071.30
8-90.080.120.35
Table 3. Hub specifications.
Table 3. Hub specifications.
System Location * RESStorageEVsCHPBoiler Load + (p.u)
EGhHD PHD qHD hHD g
Hub 12-- 0.80.400
Hub 23-- 0.50.300
Hub 37-- 0.60.400
Hub 4547 0.20.10.30
Hub 58-- 0.40.200
Hub 66360.40.20.20
Hub 79250.40.20.20
* E: Electrical, G: gas, h: district heating. + HD and HD are the active and reactive demand power in the hub (p.u), HD and HD are the gas and heating demand power in the hub (p.u).
Table 4. The numerical results obtained for various approaches to scheduling the EH.
Table 4. The numerical results obtained for various approaches to scheduling the EH.
Algorithm/ItemConvergence IterationProfit ($)Algorithm StatusCPU Time (S)
IFLA30472.13Globally optimal155
FLA91435.34Locally optimal186
MRFO66442.17Locally optimal178
PSO59467.62Locally optimal167
Table 5. The statistical analysis results of different methods in scheduling the EH.
Table 5. The statistical analysis results of different methods in scheduling the EH.
Algorithm/IndexBest ($)Worst ($)Mean ($)Std ($)
IFLA472.13461.78469.2446.37
FLA435.34419.65428.0394.46
MRFO442.17425.22432.9376.21
PSO467.62458.50462.7463.54
Table 6. Energy profit considering the FOR changes.
Table 6. Energy profit considering the FOR changes.
FORProfit ($)
0%472.13
1%445.43
2%428.92
3%412.43
4%395.94
5%379.46
6%362.98
7%346.51
8%330.03
9%313.56
10%297.09
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alghamdi, A.S.; Alanazi, M.; Alanazi, A.; Qasaymeh, Y.; Zubair, M.; Awan, A.B.; Ashiq, M.G.B. Energy Hub Optimal Scheduling and Management in the Day-Ahead Market Considering Renewable Energy Sources, CHP, Electric Vehicles, and Storage Systems Using Improved Fick’s Law Algorithm. Appl. Sci. 2023, 13, 3526. https://doi.org/10.3390/app13063526

AMA Style

Alghamdi AS, Alanazi M, Alanazi A, Qasaymeh Y, Zubair M, Awan AB, Ashiq MGB. Energy Hub Optimal Scheduling and Management in the Day-Ahead Market Considering Renewable Energy Sources, CHP, Electric Vehicles, and Storage Systems Using Improved Fick’s Law Algorithm. Applied Sciences. 2023; 13(6):3526. https://doi.org/10.3390/app13063526

Chicago/Turabian Style

Alghamdi, Ali S., Mohana Alanazi, Abdulaziz Alanazi, Yazeed Qasaymeh, Muhammad Zubair, Ahmed Bilal Awan, and Muhammad Gul Bahar Ashiq. 2023. "Energy Hub Optimal Scheduling and Management in the Day-Ahead Market Considering Renewable Energy Sources, CHP, Electric Vehicles, and Storage Systems Using Improved Fick’s Law Algorithm" Applied Sciences 13, no. 6: 3526. https://doi.org/10.3390/app13063526

APA Style

Alghamdi, A. S., Alanazi, M., Alanazi, A., Qasaymeh, Y., Zubair, M., Awan, A. B., & Ashiq, M. G. B. (2023). Energy Hub Optimal Scheduling and Management in the Day-Ahead Market Considering Renewable Energy Sources, CHP, Electric Vehicles, and Storage Systems Using Improved Fick’s Law Algorithm. Applied Sciences, 13(6), 3526. https://doi.org/10.3390/app13063526

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