Next Article in Journal
Viable Recycling of Polystyrene via Hydrothermal Liquefaction and Pyrolysis
Previous Article in Journal
Design for a Heat Pump with Sink Temperatures of 200 °C Using a Radial Compressor
Previous Article in Special Issue
Hybrid Wind-Solar Power System with a Battery-Assisted Quasi-Z-Source Inverter: Optimal Power Generation by Deploying Minimum Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Flexible Smart Energy-Management Systems Using an Online Tendering Process Framework for Microgrids

1
MCIA Center, Electronic Engineering Department, Universitat Politecnica de Catalunya, 08222 Terrassa, Spain
2
Technology Area, Control and Algorithm Group, Hybrid Energy-Storage Solutions (HESStec), 46980 Valencia, Spain
3
Electrical Power and Control Systems Research Group, Northumbria University, Ellison Place, Newcastle upon Tyne NE1 8ST, UK
*
Author to whom correspondence should be addressed.
Energies 2023, 16(13), 4914; https://doi.org/10.3390/en16134914
Submission received: 20 May 2023 / Revised: 19 June 2023 / Accepted: 22 June 2023 / Published: 24 June 2023
(This article belongs to the Special Issue Power Converter Control Applications in Low-Inertia Power Systems)

Abstract

:
Currently, modern power grids are evolving into complex cyber-physical systems integrated with distributed energy resources that can be controlled and monitored by computer-based algorithms. Given the increasing prevalence of artificial intelligence algorithms, it is essential to explore the possibility of energy management in microgrids by implementing control methodologies with advanced processing centers. This study proposes a novel smart multi-agent-based framework under a tendering process framework with a bottom-up approach to control and manage the flow of energy into a grid-connected microgrid (MG). The tendering organization in this structure as an upstream agent allocates demand among generators, creates a balance between supply and demand, and provides optimal energy cost for the MG. To optimize the electricity cost and decrease the use of grid power, the first-price sealed-bid (FPSB) algorithm is implemented over the tendering process. The proposed approach from one side optimally allocates energy among generators, and, from the other side, guarantees the system from blackouts. Theoretical analysis and results demonstrate that the proposed technique is easy to implement and provides a robust and stable control for MGs, which can guarantee energy management as well as flexible and online control. Furthermore, results show the proposed framework besides the real-time allocation of power among providers to optimize the injected power from the grid so that the total injected power by the grid is 146.92 kWh and the injected power to the grid is 214.34 kWh.

1. Introduction

The global desire to increase the penetration of distributed energy resources (DERs) such as WT and PV needs to have an energy-management system focused on the intermittency of renewable generation [1,2]. In particular, the unpredictable change in demand profiles creates more concern regarding the stability, reliability, and supply–demand balance of the electrical system [3,4]. Aggregating energy-storage systems (ESSs) can mitigate this concern. However, this also presents challenges regarding maintaining reliability and stability, which require the regulation of power output of converters [5,6,7,8].

1.1. Literature Review

Over the past decade, several approaches have been presented, such as demand response and day-ahead scheduling, to control and manage the energy in microgrids (MGs) [9,10,11,12,13]. In [14], a day-ahead scheduling approach based on a probability sequence was presented to minimize the cost of electricity purchased from the grid. In [15], the author presented an optimal power scheduling for seaport microgrids using a scalable decomposed method. A multi-objective optimal model was presented by the authors in [16] to manage the demand side and meet consumer satisfaction indicators. Generally, the authors in all studies focus on prediction and optimization by considering various uncertainties without investigating instant control. Therefore, any sudden change can affect the stability and reliability of the power system [17]. Additionally, in such systems, due to designing the system using a top-down approach, the redevelopment of MGs can be challengeable [18]. Therefore, separating control and using distributed energy management based on a multi-agent system can guarantee stability and reliability as well as expandability [19]. A multi-agent system (MAS) as a smart control framework can be introduced to solve this problem in such systems, where individual generators are controlled by autonomous agents [20,21,22]. In MAS, agents can sense the environment, make their own decisions based on their ability, and act on the environment using their actuators [23]. Accordingly, using these properties, a large complex management system can be divided into a set of small management subsystems that can be controlled separately [24,25]. Furthermore, response time is reduced due to parallel processing [26]. Additionally, the autonomous units in the system increase stability and reliability and cause the MAS to act as a decentralized and autonomous control system [27]. The aim of implementing MAS over power systems is to build complex systems composed of autonomous units, called agents, which will operate based on local knowledge and possess a restricted ability, which is capable of pushing the system to the desired global aims. The goal of using online control is to obligate quick responses to sudden changes and improve fault tolerance in the system [28]. Previous studies on energy management have identified the following shortcomings:
  • A lack of a comprehensive online energy-management system for minimizing cost function and maximizing the use of DERs. Most of the presented approaches focus on off-line control and scheduling over day-ahead [29,30,31,32,33]
  • An absence of an intelligent approach for providing a structure that guarantees stability and reliability [34,35,36]. Generally, most studies in smart grids mainly focus on the generation and demand side without investigating the structure of the control units. However, in smart grids, greater attention must be given to the structure of smart units, control algorithms, and communication among agents, and more research in this direction is quite merited.
  • The majority of studies focus on top-down approaches, where central unit controls set points [37,38,39]. However, in smart grids, especially in MASs, this necessitates that the agent regulates set points based on its own abilities.

1.2. Contributions

To create a system with the aforementioned characteristics, the design and structure of a multi-agent system (MAS) is crucial. It ensures the proper operation of the system while promoting cooperation among agents. Therefore, it is necessary to implement a framework that allocates tasks between agents and also design distributed decision units that manage agents in the framework. In this research, a grid-connected DC microgrid is designed where demand is supplied by PV, WT, ESS, MT, and the grid. To control the system, MAS is implemented over the generation and demand side. To manage the MAS, a tendering process framework as a smart contract is implemented where an agent as a tendering organization is responsible for creating coordination and allocating power among agents. Any agent on the generation side is considered to be a bidder to control the power converter by regulating set points. An agent is designed on the demand side that senses load changes and informs the tendering organization. Every one-hour period with changing demand in the MG, the tendering organization holds a new tender among bidders. To encourage bidders to participate in a tender, an award is defined and bidders, after evaluating the condition, send their requested reward to the tendering organization. Bidders in the proposed framework want to increase their pay-off by participating in the tender and satisfying demand. Furthermore, bidders in the tendering process compete to share their service and gain more awards. Because the tender agent’s offer price should be secure from spies, bidders must send their bids in a sealed envelope to the tenderer. To optimize electricity cost in the proposed smart contract, the first-price sealed-bid (FPSB) algorithm is implemented, which allocates power among agents using an iterative algorithm. As a tender is presented by the tendering organization, any producer agent as a bidder sends its offer price based on ability and cost function. The main contribution of this research can be summarized as follows:
  • Implementation of a robust online smart energy-management system that enables the control of agents in real time, without requiring any prediction.
  • To increase the use of DRSs in the MG, the FPSB algorithm as a competitive algorithm is used to encourage the DER agent to meet demand. This algorithm, by defining awards and iterating the optimal process, enhances the total MG pay-off and decreases power drawn from the grid.
  • To have flexible smart control over the system, a MAS structure is implemented that allows users to easily add and remove agents. This feature allows users to redevelop the system without re-configuring the whole structure of the EMS, just by adding or removing the control structure.
  • The proposed framework presents an easy implementation and easy redevelopment structure, which provides an indirect interaction construction among agents in the MAS.
  • In the proposed approach, decision-making for the agents is completely independent; consequently, this framework can be used in those microgrids that need to redevelop in the future.
  • As decision-making in the proposed approach is online, it is not necessary to consider uncertainty, and, at each time period, the tendering organization optimizes the electricity cost. Therefore, it is not necessary to employ day-ahead scheduling in the system.

1.3. Paper Structure

The rest of the paper is organized as follows. Section 2 describes the problem formulation, which covers EMS and the constraint of the system. The framework of energy management, the control algorithm, and the structure of the decision in the MAS are introduced in Section 3. The results are discussed in Section 4, and finally, the conclusions of the research based on the presented results are presented in Section 5.

2. Problem Formulation

To study the proposed method, as shown in Figure 1, a grid-connected DC microgrid is considered with WT and PV as renewable energy resources, a microturbine (MT) as an auxiliary power unit, and a battery as an energy-storage (ES) system to satisfy demand. The generator, through a converter, is connected to the DC load and can be controlled by set points. The system should be able to operate in an isolated and grid-connected mode. Therefore, when the system is in the isolated mode, it must be able to support a balance between supply and demand.
To control generation units in the system, a MAS framework is designed where, for any generation, a smart control unit is considered that can sense a signal in the system and act based on its utility and constraints. In the following, the mathematical model of the microgrid and constraints in each component are described.

2.1. Energy Balance Constraint

To stabilize the voltage in the MG, the total generated power should be equal to the total demand.
P t P V + P t W T + P t E S + + P t M T + P t G r + = P t E S + P t L + P t G r

2.2. WT Constraints

The output power of WT depends on wind speed and can be described by Equation (2). Therefore, its variations can be performed between minimum and maximum generated power, as shown in Equation (3).
P t W T = P _ W T = 0   if   v t v _   or   v _ v t ( v t v _ ) / ( v ^ W T v _ ) P ^ W T   if   v _ v t v ^ W T P _ W T = P ^ W T   if   v ^ W T v t v _
P ̲ W T P t W T P ¯ W T

2.3. PV Constraints

The power generated by PV depends on solar radiation on the area of the PV module and can be calculated using Equation (4), where β is the cell efficiency of the PV system. The output power of PV can oscillate between minimum and maximum values, as shown in Equation (5).
P t P V = β P V A P V I t
P ̲ P V P t P V P ¯ P V

2.4. MG Constraints

The following constraints can be considered for MT:
-
Turn-on/turn-off constraints
π t M T π t 1 M T ϵ t M T + α t M T = 0
α t M T + k = t δ t 1 ϵ t M T 1 , δ t 1 = m i n { t + T M T , o n , T }
ϵ t M T + k = t δ t 2 α t M T 1 , δ t 2 = m i n { t + T M T , o f f , T }
π t M T is a binary variable that represents the off or on condition of MT at time t. When the unit is on, it allocates the value as one to itself, otherwise its value is zero. α t M T and ϵ t M T are also binary variables whose condition, regarding the unit exploitation conditions, changes. If π t M T = 1 , then ( α t M T = 1 will become one, and ϵ t M T = 1 if π t 1 M T = 0 and π t M T when α t M T = ϵ t M T = 0 if π t M T = 1 and π t 1 M T = 0 ) .
-
Ramp up and down limit
R L ( P t M T P t 1 M T ) R H
-
Generation and fuel constraints
The power of MT is constrained between the minimum and maximum generated power (Equation (10)). The delivered power of MT to the system depends on its efficiency and can be calculated by Equation (11).
π t M T · P ̲ M T P t M T π t M T · P ¯ M T , π t M T { 0 , 1 }
F t M T = P t M T / η M T

2.5. ES Constraints

As shown by Equation (12), the stored energy in ES cannot exceed the minimum and maximum capacity, and every time its SOC can be calculated through Equation (13).
E ̲ E S E t E S E ¯ E S
S O C t E S = E t E S / E E S
The energy balance of ES during Δ t depends on its charge and discharge state and is gained by Equation (14).
E t E S = E t 1 E S + ( π t E S · P t E S + ( 1 π t E S ) · P t E S + ) Δ t
where π t E S is a binary variable that shows the charge and discharge mode:
π t E S { 0 , 1 }
When the ES is in charging mode ( π t E S = 1 ) , the charging power cannot exceed the maximum charge rate, and a similar condition is defined for the discharging mode by Equation (17).
( 1 π t E S ) · P t E S + P ¯ E S + , P t E S + 0
π t E S · P t E S P ¯ E S , P t E S 0
As shown in Equations (18) and (19), when the ES is in charging mode, its energy cannot exceed the maximum stored energy. In discharge mode, the discharging energy cannot exceed the total available energy.
π t E S · P t E S · Δ t + E t 1 E S E ¯ E S
( 1 π t E S ) · P t E S + · Δ t E t 1 E S

2.6. Grid Constraints

The exchanging power between the grid and MG cannot exceed the minimum and maximum exchanging power of the inverter.
P ¯ G R P t G R P ¯ G R +
( 1 π t G R ) · P t G R P ¯ G R , P ¯ G R < 0
π t G R · P t G R + P ¯ G R + , P ¯ G R + > 0

3. Energy-Management Framework

The tendering process framework is generally used by companies and governments to allocate services [40], as well as in robotics [41,42,43] to allocate tasks among robots. Recently, the blockchain has also begun using it to create smart contracts [44,45]. In this paper, to control and manage energy in the system and also to create interaction among agents, the tendering process framework is used. In the proposed framework, there is a tenderer to allocate items, and provider agents as bidders for those who want to sell their provided power as a service. The general schematic of the aforementioned framework is presented in Figure 2. Bidders in each item can express how much their service is worth using their bids. Here, s is a set of items, u i ( s ) is used to refer to the utility that agent i derives from item s, and v i ( s ) is the evaluation of agent i about item s. The bidder has a valuation function over the item that is presented by the tenderer, and it is the minimum amount that agent i is willing to take for item s. Therefore, the bidder tries to offer an amount that is more than its evaluation to receive more possible profit from each tender.
s S , b i ( s ) v i ( s )

3.1. First-Price Sealed-Bid Algorithm

In this research, to allocate demand among generators, a tendering process framework is proposed where bidders request rewards to share power in the MG. In the proposed framework, the tenderer is responsible for allocating demand among generation agents. Figure 3 represents the structure of the framework where all generators are taken into account as bidders who have interactions with the tendering organization, as well as, in some cases, together. To minimize electricity cost in the MG, the FPSB algorithm is used, which allocates power among bidders based on an iterative process. It is assumed that, every hour, a consumer agent reveals the consumed power to the tenderer. As shown in Figure 4, in the beginning, the tendering organization takes demand from the consumer agent and considers it as an item. Then, it announces the requested power ( p t T ) to the bidders (generator agents). Every bidder sends its offer price and power supply to the tendering organization based on its evaluation and available power. Offer prices are given to the tendering organization, which then picks the optimum bid. The tenderer iterates the process to achieve a balance between supply and demand.
After choosing the winner agent using the tenderer, its provided power is subtracted from the requested power. The tenderer checks the supply–demand balance in the microgrid based on Equation (24). If there is still demand, another tender will be held. If there is extra power in the system, it can be injected into the ES or grid.

3.2. Structure of Decision in the PV/WT Agents

When a tender is announced by the tendering organization, PV and WT agents, based on their own cost functions shown by Equations (25) and (26), send their offer prices. Then, they wait for the tender to be held. Each one is chosen as the winner and sends its own available power to the tenderer. The tenderer considers the supply–demand balance. If there is still demand, the next tender will be held. This will be done until balancing between supply and demand is satisfied. Then, the winners send their suitable set points to their own converters. Algorithm 1 shows the decision structure in PV and WT agents. For these two agents, the decision is similar, but the difference is in their bid amount. After participating in the tender, their revenue can be calculated using Equation (27).
P t i P t L = 0 i = 1 , 2 , · · · , n
b t P V = C P V , i n v + C P V , o & m + C P V , i n s + C P V , p a n
b t W T = I r ( 1 + r ) n ( 1 + r ) n 1 + C W T , o & m P ^ W T C F W T 8760 P W T t
Algorithm 1: Decision structure of the PV/WT agent.
Energies 16 04914 i001

3.3. Structure of Decision in the ES Agent

As mentioned, several tenders may be announced for requested power. If the ES bidder for the first and second tenders is not selected as the winning agent, in the third tender, it will decrease its bid based on Equation (28). Therefore, the cooperation of ES agents in satisfying demand could be increased. Based on Algorithm 2, while there is demand in the system, ES injects power into the system, and when extra power exists in the MG, ES can absorb it.
Algorithm 2: Decision structure of the ES agent.
Energies 16 04914 i002
During charging mode, based on existing capacity, it can store all the extra power or, as shown in Equation (29), part of the energy. When an ES bidder wins a tender, the tendering organization obtains information regarding the amount of power that can be supplied. At peak prices, if ES loses the tender, it will offer a percentage of the stored power to the grid based on the selling price of the electricity. Otherwise, if ES is not in discharge mode and can store energy, it will be charged by the grid according to TOU. The ES agent sends suitable set points to the converter after ending a tender. At the end of each tender, the ES agent calculates its revenue from each tender and updates its offer price for the next bid using Equations (30) and (31), respectively.

3.4. Structure of Decision in the MT Agent

To decrease the start-up costs of MT, as a tender is announced, the MT agent considers its situation at the previous time. If, at the previous time, it was the supplier, it would offer the maximum price to the tenderer, as shown in Equation (32). If it is off-peak, MT based on Equation (33) would use a discount to compete with the grid. According to Algorithm 3, an MT agent can offer different powers that depend on the requested power, as well as on-peak and off-peak prices. However, its offer power is fixed between minimum and maximum instantaneous power. To gain more profit, it considers the possibility of injecting power into the grid at the on-peak price. If there is not any constraint between the grid and the microgrid, the MT agent will sell power to the grid. When MT is selected as the winning agent, it sends set points to the converter. At the end of each tender, the MT agent calculates its participation revenue using Equation (34).
b ¯ t M T = C M T , f u + C M T , o & m + C M T , s t + C M T , i n v

3.5. Structure of Decision in the Grid Agent

Algorithm 4 represents the cooperation of the grid agent in the system. The grid agent clarifies its offer price based on TOU in the tender. It can inject and receive power as much as its constraints allow. The grid bidder can support the microgrid at any time, to guarantee that there is supply–demand balance in the system. In each step, when the tender is completed, it regulates the set point of the grid-connected inverter. It also updates its revenue from the microgrid using Equation (35).
Algorithm 3: Decision structure of the MT agent.
Energies 16 04914 i003
Algorithm 4: Decision structure of the grid agent.
Energies 16 04914 i004

4. Results

4.1. System Description and Specification

This section evaluates the effectiveness of the proposed algorithm, which was tested on a DC microgrid composed of WT, PV, MT, and ES. These resources are connected to the load through their converters to satisfy demand and transfer power between themselves. In addition, a 30-kW inverter is connected between the microgrid and the utility grid, which supports the balance between supply and demand. Figure 5 represents the selling price of electricity to the grid and the time of electricity consumption. Profiles of the power generated by PV and WT as well as the power demanded are shown in Figure 6 and Figure 7, respectively. Additional required data, i.e., about limitations of generators and bid parameters, are presented in Table 1, Table 2 and Table 3.

4.2. Results and Discussions

Figure 8 illustrates the operation results of PV, WT, and MT. It can be recognized that PV and WT agents inject the generated power into the microgrid over 24 h. This is expected in reality because they have the cheapest energy compared to others, but the MT agent behaves smarter than PV and WT. During off-peak, the MT agent does not have any desire to participate in the tender. However, during peak times, as shown, MT is more interested in cooperating in sharing power. During these times, it prefers to produce the highest power to sell to the grid. Through this performance, MT gains more profit at on-peak times rather than off-peak times. For this reason, during peak times, the maximum power is generated and, for the rest of the time, it is in off mode or provides the requested power. From 1400 h to 1900 h, due to the selling price of electricity to the grid being close to its offer price, the strategy of the MT agent is to provide minimum power and stay in reserve. Because of the starting time, the MT agent prefers to be in on mode during these times and have a quick reaction to sudden changes.
Figure 9 shows a grid agent operating over 24 h. It can be perceived that the injected power from the grid is strongly related to electricity price. During off-peak times, it can compete with the rest of the agents and offer low prices. Therefore, the grid agent has more chance to win during off-peak times than on-peak times. However, during on-peak times, the grid agent offers the highest price to the tendering organization. Therefore, it is not able to compete with others. On the other hand, during on-peak times, agents who can provide extra power (as the MT agent can) try to deliver it to the grid and increase their profit. It can be perceived that in reality, such power exchanges between the microgrid and the grid are to be expected.
It is clear from Figure 10 and Figure 11 that ES is charged only seven times during 24 one-hour period. The performance of ES is accepted because, during this period, while the ES agent participates in the tender, the consumption price for the use of electricity at that time is high. Therefore, during peak times, it can support the microgrid and also inject energy into the grid. Furthermore, due to having less charge/discharge, the life cycle of ES can be guaranteed.
In the tendering process, there is a high probability that RESs are selected as a winning agent due to producing cost-effective energy. As shown in Table 4, PV and WT support demand during the day by presenting low-cost energy. At each period, several tenders may be held by the tendering organization to meet demand. The MT agent just participates in the tender during peak times; during off-peak times, its offer power can be zero or minimum because of its higher offer price rather than the others. The grid agent during on-peak times absorbs energy from the microgrid and injects power into the system during off-peak times. The ES agent, based on its capacity and offer price, participates in the tender to meet demand during the day.
Figure 12 shows the offer price of agents during 24 one-hour periods. The ES agent does not participate in the tender during the charge period, and when its SOC is minimum (for example at 0700, 1000, 1400, 1600, and 1800 h). In the beginning, the SOC of ES is 70% and its offer price is 0.13 $/kW. It is charged by WT and its offer price decreases based on Equation (33). When holding the tender, the ES agent tries to compete with the MT and grid agents, for instance at 0200 hrs, ES reduces 5% of its offer price to win the tender (Equation (30)). The ES agent, over 24 h, tries to reduce its offer price to sell power and gain more profit. The MT agent also offers discounts when it is in the reserve state (here between 1500 and 1900 h). During this period, it needs to produce its minimum instantaneous power to be on standby.
Figure 13 shows the revenue of agents during a day. A negative amount clarifies that energy is purchased, and a positive defines energy is sold. It is clear that, during peak times, ES and MT agents have high revenue as a result of selling power to the grid. On the contrary, during off-peak times, MT and ES have less desire to participate in the tender and satisfy demand. Therefore, in this period, demand is supported by the grid.
Across 24 one-hour periods, the total amount of power exchanged among agents is 1076 kW. Figure 14 shows the contribution of agents in satisfying demand. During a 24 h period, the power exchanged by the grid is 14%. The total delivered power to the grid is 214.34 kWh, and the absorbed energy from the grid is 146.92 kWh. Therefore, the total price of the absorbed energy is $14.18, and the total price of the injected power is $33.73. Table 5 shows the total revenue of agents by implementing the proposed algorithm. As shown, all the agents make a profit during the day, except for the grid agent (the amount for ES is a pay-off). Selling energy to the grid during on-peak times and purchasing during off-peak times is to be expected.

5. Conclusions

In this study, online flexible energy management based on a multi-agent system supervised by a smart contract has been presented and discussed to support the supply–demand balance of a microgrid. In the proposed system, a tendering process framework as a smart contract is used to allocate power among generators. In this framework, the agent as a bidder participates in the tender to share power. To encourage the agent to participate in the tender, an award is used to encourage the agent against satisfying demand. According to the context presented in Section 3, agents must interact with each other to share power between MG and the utility grid to gain more awards during on-peak times. To avoid spying on bidders and optimize electricity costs, the FPSB algorithm was presented, which motivates agents to propose fair prices. In the proposed method, distributed decision structures were implemented in the MAS to control agent interaction in a competitive environment. The proposed framework presents a real-time intelligent energy-management system to optimize the total energy purchases from the grid across a day. The results presented in Section 4 show that the proposed approach allocates power between providers very well and optimizes energy in the system without any prediction and uncertainty consideration. In summary, according to the obtained results, the proposed framework offers the following advantages:
  • The proposed mechanism presents an online smart energy-management system without any prediction or day-ahead scheduling.
  • The presented approach is easy to implement, even for large-scale systems.
  • The tendering process is flexible and scalable, for adding and removing generation devices.
  • This structure has high reliability, as the system can continue its operation if some agents fail.
  • The implemented smart energy-management system can be easily redeveloped to add new agents into the system due to having distributed decision structures in the MAS.
  • The proposed approach optimizes electricity costs in the MG thanks to the use of the FPSB algorithm.
  • According to the results, the total power injected into the grid was 146.92 kWh, and the total absorbed power by the grid was 214.34 kWh. Therefore, the proposed approach optimized the purchased energy from the grid.
The challenge for implementing such an intelligent energy-management system over the microgrid is communication among agents and considering the response time in sending and receiving signals to the powered electronic devices. Therefore, studying and implementing a communication protocol among agents in this structure, and analyzing the real-time reliability, should be introduced in future work.

Author Contributions

Conceptualization, methodology, software, investigation, analysis and writing M.S.J.; resources, visualization, supervision, L.R.; resources, writing, preparation, revision E.R.; resources, revision, M.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Acknowledgments

This work was supported by the Secretaria d’Universitats i Recerca del Departament d’Empresa i Coneixement de la Generalitat de Catalunya under 2021 SGR 00392.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
Acronyms
DERDistributed energy resource
EMSEnergy-management system
ESSEnergy-storage systems
FPSBFirst-price sealed-bid
Constants
A P V Aperture area of PV module (m 2 )
β P V Cell efficiency of PV
b ¯ M T Maximum offered price of MT ($/kWh)
E ¯ E S , E ̲ E S Maximum and minimum stored energy in ES (kWh)
nLifetime of unit
P ¯ E S + , P ¯ E S Maximum discharge and charge rate of ES (kW)
P ¯ G R , P ¯ G R + Maximum injected power to/ by the grid (kW)
P ¯ M T , P ̲ M T Maximum and minimum instantaneous power for MT (kW)
P ¯ P V , P ̲ P V Maximum and minimum generated power by PV (kW)
P ¯ W T , P ̲ W T Maximum and minimum instantaneous power for WT (kW)
rInterest rate
R L , R H Ramp up and down limit (kW)
T M T , o n , T M T , o f f Turn-on and turn-off time (min)
v ̲ , v ¯ Maximum and minimum wind speed for WT (m/s)
η M T MT efficiency (%)
π t E S Binary variable of ES
π t M T Binary variable of MT (shows on/off condition of MT)
α t M T , ϵ t M T Binary variable of MT (shows exploitation condition of MT)
η M T MT efficiency
π t G R Binary variable that shows absorbing or injecting condition in the grid
Indices
Δ tTime step (h)
Parameters
C i , i n v Investment cost of generator i ($)
C i , o & m Operation and maintenance cost of generator i ($)
C P V , i n s Installation cost of PV ($)
C P V , p a n Solar panel cost ($)
C M T , f u Fuel cost ($)
C M T , s t Start-up cost ($)
C F W T Capacity factor of WT
E t E S Stored energy in ES at time t (kWh)
F t M T Fuel consumption rate
I t Solar radiation at time t (W/m 2 )
P t T Requested power by the Tenderer (kW)
P ^ W T , v ^ W T WT rated power (kW) and speed (m/s)
v t Wind speed (m/s)
α t E S Discount applied by ES at time t (%)
γ E S Constraint of ES for delivering power to the grid (%)
ζ E S Profit of ES in selling energy (%)
ζ t M T Discount applied by MT at time t (%)
ϕ t E S Offer price for buying energy by ES ($/kWh)
Variables
b t i Offered price by bidder i at time t ($/kWh)
C i Cost to purchase energy
p t E S + , p t E S Discharging/Charging power of ES at time t (kW)
p t G R , p t G R + Injected power to/by the grid at time t
p t i Offered power by bidder i at time t
R t i Revenue gained by bidder i at time t ($)
S O C t E S State of charge of battery at time t (%)

References

  1. Silva, C.; Faria, P.; Vale, Z. Demand Response Implementation: Overview of Europe and United States Status. Energies 2023, 16, 4043. [Google Scholar] [CrossRef]
  2. Kumar, N.; Singh, G. Comparative Study of Performance About the Integrated Power Quality and Optimized Framework for Smart Grid. J. Technol. Innov. Energy 2022, 1, 33–39. [Google Scholar] [CrossRef]
  3. Amir, A.; Shareef, H.; Awwad, F. Energy Management in a Standalone Microgrid: A Split-Horizon Dual-Stage Dispatch Strategy. Energies 2023, 16, 3400. [Google Scholar] [CrossRef]
  4. Mishra, S.; Bordin, C.; Tomasgard, A.; Palu, I. A multi-agent system approach for optimal microgrid expansion planning under uncertainty. Int. J. Electr. Power Energy Syst. 2019, 109, 696–709. [Google Scholar] [CrossRef]
  5. Habib, M.; Bollin, E.; Wang, Q. Battery Energy Management System Using Edge-Driven Fuzzy Logic. Energies 2023, 16, 3539. [Google Scholar] [CrossRef]
  6. Rekioua, D. Energy Storage Systems for Photovoltaic and Wind Systems: A Review. Energies 2023, 16, 3893. [Google Scholar] [CrossRef]
  7. Raihan, A.; Voumik, L.C. Carbon emission reduction potential of renewable energy, remittance, and technological innovation: Empirical evidence from China. J. Technol. Innov. Energy 2022, 1, 25–36. [Google Scholar] [CrossRef]
  8. Padmanabhan, N.; Ahmed, M.; Bhattacharya, K. Battery energy storage systems in energy and reserve markets. IEEE Trans. Power Syst. 2019, 35, 215–226. [Google Scholar] [CrossRef]
  9. Zhang, R.; Jiang, T.; Li, W.; Li, G.; Chen, H.; Li, X. Day-ahead scheduling of integrated electricity and district heating system with an aggregated model of buildings for wind power accommodation. IET Renew. Power Gener. 2019, 13, 982–989. [Google Scholar] [CrossRef]
  10. Gao, C.; Zhang, Z.; Wang, P. Day-Ahead Scheduling Strategy Optimization of Electric–Thermal Integrated Energy System to Improve the Proportion of New Energy. Energies 2023, 16, 3781. [Google Scholar] [CrossRef]
  11. Zeng, A.; Ho, H.; Yu, Y. Prediction of building electricity usage using Gaussian Process Regression. J. Build. Eng. 2020, 28, 101054. [Google Scholar] [CrossRef]
  12. Chen, L.; Xu, Q.; Yang, Y.; Song, J. Optimal energy management of smart building for peak shaving considering multi-energy flexibility measures. Energy Build. 2021, 241, 110932. [Google Scholar] [CrossRef]
  13. Ouammi, A.; Achour, Y.; Dagdougui, H.; Zejli, D. Optimal operation scheduling for a smart greenhouse integrated microgrid. Energy Sustain. Dev. 2020, 58, 129–137. [Google Scholar] [CrossRef]
  14. Liu, H.; Zhang, Y.; Ge, S.; Gu, C.; Li, F. Day-ahead scheduling for an electric vehicle PV-based battery swapping station considering the dual uncertainties. IEEE Access 2019, 7, 115625–115636. [Google Scholar] [CrossRef]
  15. Fang, S.; Wang, C.; Liao, R.; Zhao, C. Optimal power scheduling of seaport microgrids with flexible logistic loads. IET Renew. Power Gener. 2022, 16, 2711–2720. [Google Scholar] [CrossRef]
  16. Li, Y.; Yang, Z.; Zhao, D.; Lei, H.; Cui, B.; Li, S. Incorporating energy storage and user experience in isolated microgrid dispatch using a multi-objective model. IET Renew. Power Gener. 2019, 13, 973–981. [Google Scholar] [CrossRef] [Green Version]
  17. Selseleh Jonban, M.; Akbarimajd, A.; Javidan, J. Intelligent fault tolerant energy management system with layered architecture for a photovoltaic power plant. J. Sol. Energy Eng. 2015, 137. [Google Scholar] [CrossRef]
  18. Caspari, A.; Tsay, C.; Mhamdi, A.; Baldea, M.; Mitsos, A. The integration of scheduling and control: Top-down vs. bottom-up. J. Process Control 2020, 91, 50–62. [Google Scholar] [CrossRef]
  19. Dorri, A.; Kanhere, S.S.; Jurdak, R. Multi-agent systems: A survey. IEEE Access 2018, 6, 28573–28593. [Google Scholar] [CrossRef]
  20. Mocci, S.; Natale, N.; Pilo, F.; Ruggeri, S. Demand side integration in LV smart grids with multi-agent control system. Electr. Power Syst. Res. 2015, 125, 23–33. [Google Scholar] [CrossRef]
  21. Sun, F.; Yu, M.; Wu, Q.; Wei, W. A multi-time scale energy management method for active distribution networks with multiple terminal soft open point. Int. J. Electr. Power Energy Syst. 2021, 128, 106767. [Google Scholar] [CrossRef]
  22. Anvari-Moghaddam, A.; Rahimi-Kian, A.; Mirian, M.S.; Guerrero, J.M. A multi-agent based energy management solution for integrated buildings and microgrid system. Appl. Energy 2017, 203, 41–56. [Google Scholar] [CrossRef] [Green Version]
  23. Ferber, J.; Weiss, G. Multi-Agent Systems: An Introduction to Distributed Artificial Intelligence; Addison-Wesley: Reading, MA, USA, 1999; Volume 1. [Google Scholar]
  24. Altin, N.; Eyimaya, S.E.; Nasiri, A. Multi-Agent-Based Controller for Microgrids: An Overview and Case Study. Energies 2023, 16, 2445. [Google Scholar] [CrossRef]
  25. Gomez-Sanz, J.J.; Garcia-Rodriguez, S.; Cuartero-Soler, N.; Hernandez-Callejo, L. Reviewing microgrids from a multi-agent systems perspective. Energies 2014, 7, 3355–3382. [Google Scholar] [CrossRef] [Green Version]
  26. Yao, R.; Hu, Y.; Varga, L. Applications of Agent-Based Methods in Multi-Energy Systems—A Systematic Literature Review. Energies 2023, 16, 2456. [Google Scholar] [CrossRef]
  27. Soukaina, B.; Mohamed, M. Multi Agent System Solution to Microgrid Implementation; Elsevier: Amsterdam, The Netherlands, 2018; Volume 39, pp. 252–261. [Google Scholar]
  28. Jonban, M.S.; Romeral, L.; Akbarimajd, A.; Ali, Z.; Ghazimirsaeid, S.S.; Marzband, M.; Putrus, G. Autonomous energy management system with self-healing capabilities for green buildings (microgrids). J. Build. Eng. 2021, 34, 101604. [Google Scholar] [CrossRef]
  29. Huang, C.M.; Chen, S.J.; Yang, S.P.; Chen, H.J. One-Day-Ahead Hourly Wind Power Forecasting Using Optimized Ensemble Prediction Methods. Energies 2023, 16, 2688. [Google Scholar] [CrossRef]
  30. Rocha, H.R.; Honorato, I.H.; Fiorotti, R.; Celeste, W.C.; Silvestre, L.J.; Silva, J.A. An Artificial Intelligence based scheduling algorithm for demand-side energy management in Smart Homes. Appl. Energy 2021, 282, 116145. [Google Scholar] [CrossRef]
  31. Seyednouri, S.R.; Safari, A.; Farrokhifar, M.; Ravadanegh, S.N.; Quteishat, A.; Younis, M. Day-Ahead Scheduling of Multi-Energy Microgrids Based on a Stochastic Multi-Objective Optimization Model. Energies 2023, 16, 1802. [Google Scholar] [CrossRef]
  32. Luo, L.; Abdulkareem, S.S.; Rezvani, A.; Miveh, M.R.; Samad, S.; Aljojo, N.; Pazhoohesh, M. Optimal scheduling of a renewable based microgrid considering photovoltaic system and battery energy storage under uncertainty. J. Energy Storage 2020, 28, 101306. [Google Scholar] [CrossRef]
  33. Khani, H.; Sawas, A.; Farag, H.E. An estimation—Based optimal scheduling model for settable renewable penetration level in energy hubs. Electr. Power Syst. Res. 2021, 196, 107230. [Google Scholar] [CrossRef]
  34. Iqbal, S.; Mehran, K. A Day-Ahead Energy Management for Multi MicroGrid System to Optimize the Energy Storage Charge and Grid Dependency—A Comparative Analysis. Energies 2022, 15, 4062. [Google Scholar] [CrossRef]
  35. Zou, H.; Tao, J.; Elsayed, S.K.; Elattar, E.E.; Almalaq, A.; Mohamed, M.A. Stochastic multi-carrier energy management in the smart islands using reinforcement learning and unscented transform. Int. J. Electr. Power Energy Syst. 2021, 130, 106988. [Google Scholar] [CrossRef]
  36. Fulhu, M.; Mohamed, M.; Krumdieck, S. Voluntary demand participation (VDP) for security of essential energy activities in remote communities with case study in Maldives. Energy Sustain. Dev. 2019, 49, 27–38. [Google Scholar] [CrossRef]
  37. Dorahaki, S.; Dashti, R.; Shaker, H.R. Optimal energy management in the smart microgrid considering the electrical energy storage system and the demand-side energy efficiency program. J. Energy Storage 2020, 28, 101229. [Google Scholar] [CrossRef]
  38. Hakimi, S.M.; Hasankhani, A. Intelligent energy management in off-grid smart buildings with energy interaction. J. Clean. Prod. 2020, 244, 118906. [Google Scholar] [CrossRef]
  39. Ghazimirsaeid, S.S.; Jonban, M.S.; Mudiyanselage, M.W.; Marzband, M.; Martinez, J.L.R.; Abusorrah, A. Multi-agent-based Energy Management of multiple Grid-connected green buildings. J. Build. Eng. 2023, 74, 106866. [Google Scholar] [CrossRef]
  40. Cheaitou, A.; Larbi, R.; Al Housani, B. Decision making framework for tender evaluation and contractor selection in public organizations with risk considerations. Socio-Econ. Plan. Sci. 2019, 68, 100620. [Google Scholar] [CrossRef]
  41. Akbarimajd, A.; Lotfi, A.; Jonban, M.S.; Hassanpour, M. A combinatorial auction algorithm for a multi-robot transportation problem. In Proceedings of the 3rd International Conference on Machine Learning and Computer Science (IMLCS’2014), Beijing, China, 22–24 June 2014. [Google Scholar]
  42. Hooshangi, N.; Alesheikh, A.A. Agent-based task allocation under uncertainties in disaster environments: An approach to interval uncertainty. Int. J. Disaster Risk Reduct. 2017, 24, 160–171. [Google Scholar] [CrossRef]
  43. Jonban, M.S.; Akbarimajd, A.; Hassanpour, M. A combined auction mechanism for online instant planning in multi-robot transportation problem. Adv. Robot. Res. 2018, 2, 247. [Google Scholar]
  44. Hassija, V.; Chamola, V.; Krishna, D.N.G.; Kumar, N.; Guizani, M. A Blockchain and Edge Computing-based Secure Framework for Government Tender Allocation. IEEE Internet Things J. 2020. [Google Scholar] [CrossRef]
  45. Jain, P.; Gangan, S.; Rane, S.; Jain, Y.; Patel, D. Tenders 2.0—A Stake-Based Blockchain Solution for Tender Procurement System. In IC-BCT 2019; Springer: Berlin/Heidelberg, Germany, 2020; pp. 215–227. [Google Scholar]
Figure 1. Simplified model of the microgrid.
Figure 1. Simplified model of the microgrid.
Energies 16 04914 g001
Figure 2. General schematic of the tender framework.
Figure 2. General schematic of the tender framework.
Energies 16 04914 g002
Figure 3. The implemented framework based on the tendering process on the MAS.
Figure 3. The implemented framework based on the tendering process on the MAS.
Energies 16 04914 g003
Figure 4. The flow chart of the FPSB algorithm.
Figure 4. The flow chart of the FPSB algorithm.
Energies 16 04914 g004
Figure 5. Electricity exchange price ( T O U t , S P O T t ).
Figure 5. Electricity exchange price ( T O U t , S P O T t ).
Energies 16 04914 g005
Figure 6. Generated power of PV and WT.
Figure 6. Generated power of PV and WT.
Energies 16 04914 g006
Figure 7. Profile of the load (P t L o a d ).
Figure 7. Profile of the load (P t L o a d ).
Energies 16 04914 g007
Figure 8. Operation results of PV, WT, and MT.
Figure 8. Operation results of PV, WT, and MT.
Energies 16 04914 g008
Figure 9. Injected power from the grid.
Figure 9. Injected power from the grid.
Energies 16 04914 g009
Figure 10. State of charge of the ES.
Figure 10. State of charge of the ES.
Energies 16 04914 g010
Figure 11. Evolution power of the ES.
Figure 11. Evolution power of the ES.
Energies 16 04914 g011
Figure 12. Offer price of agents.
Figure 12. Offer price of agents.
Energies 16 04914 g012
Figure 13. Revenue of agents over 24 h.
Figure 13. Revenue of agents over 24 h.
Energies 16 04914 g013
Figure 14. Percentage of agent participation.
Figure 14. Percentage of agent participation.
Energies 16 04914 g014
Table 1. Constraints of PV and WT agents.
Table 1. Constraints of PV and WT agents.
P ̲ PV P ¯ PV b PV P ¯ WT b WT
0 kW25 kW$0.125 kW$0.083
Table 2. Constraints of ES agents.
Table 2. Constraints of ES agents.
E ̲ ES E ¯ ES P ̲ ES P ¯ ES α ES γ ES ζ ES
0 kWh10 kWh2 kW8 kW%5%10%10
Table 3. Constraints of MT agents.
Table 3. Constraints of MT agents.
P ̲ MT P ¯ MT b ¯ MT ζ MT
12 kW40 kW$0.15%15
Table 4. Supplied power by agents across 24 h.
Table 4. Supplied power by agents across 24 h.
t12345678
P t P V 000001.742.383.3
P t W T 15.9412.3900.1510.434.852.1320.79
P t T 15.1614.0615.515.0915.0916.214.922.48
P t E S −0.7800005.78−60
P t M T 00000000
P t G R 01.6715.514.94.663.8316.39−1.61
t910111213141516
P t P V 5.6510.331822.3421.3616146.6
P t W T 9.6619.724.9522.510.91227.323
P t T 62.7463.5862.8442.6740.8945.716262
P t E S 6−65.4−2.172.77−66−6
P t M T 4040401235.8537.711212
P t G R 1.43−0.45−20.11−30−30−2422.726.4
t1718192021222324
P t P V 0.50000000
P t W T 8.5254.9192515.9521.68
P t T 62333327.332.634.751515.36
P t E S 6−4−2005.4−5.40
P t M T 23124038.337.64000
P t G R 240−9.9−30−30−21.1515.4−6.32
Table 5. Constraints of the MT agent.
Table 5. Constraints of the MT agent.
Agent iPower (kW)Revenue (USD)
PVP p v , t o t = 122.2 R P V , t o t = 12.30
WTP W T , t o t = 331.68 R W T , t o t = 27.53
ESP E S + , t o t = 37.35 R E S , t o t = 6.07
P E S , t o t = 38.35 R E S , t o t = 5.29
MTP M T , t o t = 438.46 R M T , t o t = 74.75
GridP G R + , t o t = 146.92 R G R + , t o t = 14.18
P G R , t o t = 214.34 R G R , t o t = 33.73
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

Selseleh Jonban, M.; Romeral, L.; Rakhshani, E.; Marzband, M. Flexible Smart Energy-Management Systems Using an Online Tendering Process Framework for Microgrids. Energies 2023, 16, 4914. https://doi.org/10.3390/en16134914

AMA Style

Selseleh Jonban M, Romeral L, Rakhshani E, Marzband M. Flexible Smart Energy-Management Systems Using an Online Tendering Process Framework for Microgrids. Energies. 2023; 16(13):4914. https://doi.org/10.3390/en16134914

Chicago/Turabian Style

Selseleh Jonban, Mansour, Luis Romeral, Elyas Rakhshani, and Mousa Marzband. 2023. "Flexible Smart Energy-Management Systems Using an Online Tendering Process Framework for Microgrids" Energies 16, no. 13: 4914. https://doi.org/10.3390/en16134914

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