Next Article in Journal
Experimental Determination of an Optimal Performance Map of a Steam Ejector Refrigeration System
Previous Article in Journal
Reduction of Power Consumption and CO2 Emissions as a Result of Putting into Service High-Speed Trains: Polish Case
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Energy Management Optimization Method for Commercial Users Based on Hybrid Simulation of Electricity Market Bidding

1
Key Laboratory of Smart Grid of Ministry of Education, Tianjin University, Tianjin 300072, China
2
Chengnan District Power Supply Company of State Grid Tianjin Electric Power Company, Tianjin 300201, China
*
Author to whom correspondence should be addressed.
Energies 2022, 15(12), 4207; https://doi.org/10.3390/en15124207
Submission received: 13 April 2022 / Revised: 4 June 2022 / Accepted: 6 June 2022 / Published: 7 June 2022

Abstract

:
Energy management and utilization for commercial users is becoming increasingly intelligent and refined, fostering a closer and growing connection with the electricity market. In this paper, a novel energy management optimization theoretical framework for commercial users is proposed based on the hybrid simulation of electricity market bidding. The hybrid simulation model based on Multi-Agent Simulation (MAS) with reinforcement learning and System Dynamic Simulation (SDS) is established to solve the problem using a single simulation method: it cannot adjust the clearing price when considering the whole market; considering the uncertainty of Electric Vehicles (EVs) travel and Lighting Loads (LLs), the multi-objective optimization model of energy management for commercial users is constructed to minimize the total energy cost of commercial users, as well as maximize the lighting comfort of indoor office staff, which compensates for the lack of the single-objective optimization of the power consumption for commercial users. A multi-objective optimization model of energy management for commercial users is established based on the hybrid simulation of electricity market bidding. By running the multi-objective optimization model based on hybrid simulation, the results show that the proposed method can realize the optimization of energy management for commercial users considering electricity market bidding.

1. Introduction

At present, the construction of the smart grid and Energy Internet has become the strategic direction of global energy development [1]. As an essential part of the smart grid, intelligent power consumption realizes the flexible two-way interaction between the grid and its users, significantly changing the users’ power consumption mode [2]. As a powerful eco-friendly initiative, the number of EVs with good interoperability regarding intelligent power consumption is rapidly rising worldwide. If well-integrated with the urban environment, they will become a key component of the smart city concept [3]. Vehicle-to-grid technology breaks through the mode in which EVs can only be charged as load, and realizes the two-way energy flow between EVs and the power grid. The disorderly charging/discharging of EVs will lead to increased power consumption expenditure and low energy utilization among power users [4].
Additionally, the urbanization process has led to the continuous emergence of commercial buildings, and the proportion of energy consumption in commercial buildings continues to rise. Especially under the severe situation of the energy crisis and environmental pollution, it is particularly important to implement power management on the commercial user side. With the increasingly intelligent and refined energy management and utilization in commercial buildings, managing various electrical equipment to reduce total energy costs becomes a key issue. Additionally, a close relationship between user-side power management and electricity market bidding should be established to form a benign interaction mechanism. Compared with residential and industrial users [5], commercial users have the characteristics of large power consumption, a high degree of automation and significant participation in power grid demand response [6]. At the same time, the business hours determine that the electricity load is an important part of the peak load of the power system. However, the literature on its management optimization is limited [7]. Therefore, research on the optimization strategy of power consumption management for commercial users considering EV travel is of great significance in guiding users to use electricity responsibly, reduce their electricity expenditure and improve their energy utilization [6].
An overview of recent energy management methods is provided in [8]. An unconstrained, large-scale, global energy management optimization problem was effectively solved through the adaptive particle swarm optimization algorithm in [9]. Moreover, a mixed integer linear programming model, which can optimize the forecast uncertainty intervals of wind power, was proposed in [10]. In [11], the research group proposed a User Dominated Demand Side Response (UDDSR)-based energy management optimization method for Integrated Energy Systems (IES), taking the willingness of consumers into account. A real-time algorithm for cost optimization was presented in [12] to achieve the demand-side energy management of a renewable energy source-integrated microgrid. The above ideas can effectively guide research on optimizing power management for commercial power consumption.
The overall operation of electricity markets is a complex system, involving a large number of different entities. Therefore, it is necessary to study the electricity market based on establishing the complex system model and using the complex system simulation method. The main complex system simulation methods, Multi-Agent Simulation (MAS) and System Dynamics Simulation (SDS) [13] are often used to simulate the electricity market. As the key to the electricity market, electricity price is used by Ciferri et al. to integrate multiple electricity markets [14]. System Dynamics Simulation (SDS) studies the behavior of the system at the macro level by analyzing the feedback relationship between the variables in the complex system [15]. While simulating the dynamic environment, in order to reflect the homogeneity and heterogeneity of complex socio-economic systems, a hybrid simulation method based on the SDS top-down modelling method and MAS bottom-up modelling method are proposed. Over the past two decades, an increasing number of scholars have begun to explore the integration of SDS and MAS for modelling and simulation [16].
The interaction between the electricity market and user-side power consumption management represents a popular research direction in recent years. Current research results mainly focus on the interaction between fixed day-ahead electricity prices and the user-side management, without considering the impact of dynamic price changes in the electricity market on the optimization of user-side energy management. Using the proposed industrial energy management scheme, in [17], electricity demand is transferred during peak hours to off-peak hours to save energy costs of industrial equipment, based on day-ahead hourly electricity prices. In [18], the peak–valley difference of the user-side power grid is taken as the objective function, optimizes the user-side power consumption behavior using the particle swarm optimization algorithm and obtains a reasonable time-sharing electricity price strategy. In [19], a multi-energy transaction decision-making model for a commercial park operator was constructed, considering electric energy substitution, as well as a game, which formulates the energy sales price and mobilizes the user-side interaction. Considering the interaction between the real-time electricity price and the electricity demand between the electricity retailer and the user, a real-time pricing mechanism that is updated with the electricity demand forecast can be developed [20], to increase the electricity retailer’s profit. In the process of forecasting and pricing, the asymmetry in the information between power suppliers and consumers cannot be ignored. In [21], a practical framework for this feature is proposed. Linking electricity market bidding with demand response, that is, guiding commercial users to optimize their power consumption behavior through electricity price signals, can strengthen the role of the demand side in the balance of supply and demand in the market. Fully introducing competition on the power generation side and the power sales side can improve the production efficiency of the power generation side and reduce the electricity price on the user side. Users can employ intelligent power technology to control power equipment, change power consumption patterns to participate in demand response and thus interact with the power system. While saving on power costs, they can also alleviate power supply shortages, promote intermittent renewable energy and optimize power generation and consumption allocation. Therefore, this paper studies energy management optimization for commercial users based on the hybrid simulation of electricity market bidding.
The contributions of this paper are as follows: (1) A novel energy management optimization theoretical framework for commercial users is proposed based on the hybrid simulation of electricity market bidding, and energy management for commercial users considering electricity market bidding is realized by using a simulation-based optimization method. (2) A hybrid simulation model of electricity market bidding is established based on Multi-Agent Simulation (MAS) with Reinforcement Learning (RL) and System Dynamic Simulation (SDS). The model solves the problem where a single simulation method cannot adjust the clearing price considering the whole market. (3) For commercial users, considering the travel and load uncertainty of Electric Vehicles (EVs) and Lighting Loads (LLs), a multi-objective optimization model of energy management for commercial users is proposed, which compensates for the lack of the single-objective optimization of commercial power consumption. (4) A multi-objective optimization model for commercial users based on the hybrid simulation of electricity market bidding is established, and power management for commercial users considering electricity market bidding is realized through the simulation-based optimization method.

2. Energy Management Optimization Theoretical Framework Based on Hybrid Bidding Simulation

Based on the research results of the authors’ research group on energy management and electricity market bidding simulation [6,22], referring to the operation mode of the Texas power market in the United States [23] and the trading mode of China’s spot market [24], we propose a novel energy management optimization theoretical framework for commercial users based on the hybrid simulation of electricity market bidding, as shown in Figure 1. Different from the previous research, this paper adds the commercial user agent and commercial power management optimization on the basis of the hybrid simulation model established in the authors’ previous research paper [22]. In addition, our research focuses on the combination of electricity market bidding simulation and intelligent power consumption optimization management. A simulation and optimization-based analysis of the impact of the electricity market on the management of commercial electricity consumption is studied in our manuscript. The electricity market directly provides hourly updated price information for commercial buildings, shortens the transaction cycle, and provides more refined management optimization for commercial buildings, enabling them to achieve goals such as power consumption optimization, and cost reduction. It is worth mentioning that there is currently no literature that considers the visual comfort of commercial office buildings.
Figure 1 shows the electricity market environment in which information can be exchanged among multi-agents composed of power plant agents, the Independent System Operator (ISO) agent and the commercial user agent, which jointly realize electricity market bidding and energy management optimization for commercial users. The power plant agent is used for intelligent quotation, the ISO agent performs the function of market clearing and the commercial user agent optimizes energy management. In this process, not only is ISO uniform allocation required to avoid the formation of a monopoly, and to instead achieve a reasonable allocation of resources, but government supervision and macro control are also required. In particular, government regulation is included in the ISO agent, represented by the variable HHI (Herfindahl–Hirschman Index). Two electricity market bidding simulation methods, System Dynamics-based Simulation (SDS) and Multi-Agent Simulation (MAS) are included in the ISO agent and power plant agents, respectively. SDS controls the operation of the entire system from a macro perspective, observes changes in the system by monitoring the main variables and weakens individual behaviors. In contrast, MAS simulates the behavior of individuals in a system from a microscopic perspective. The two are combined using some variables, such as market clearing price (MCP) and market demand. It is worth noting that the method for calculating market clearing prices in this paper follows typical market operations in [22], see [22] for more details.
In the ISO agent, the causality diagrams in SDS consist of four basic causality circles: the declared electricity generation can affect the declared quantity of electricity purchased by affecting the declared electricity supply–demand ratio. In addition, the declared electricity generation can also affect the market clearing price by affecting the declared electricity supply–demand ratio, and then act on itself under the joint action of the profit margin and generation cost to form a negative feedback. Then, under the joint action of the declared electricity supply–demand ratio and capacity retention ratio, the market clearing price affects the declared quantity of electricity purchased, and then the declared electricity generation. The declared electricity concentration is used to detect whether the market is monopolized. When its value increases, the market tends to monopolize, and the clearing price rises, which will affect the declared quantity of electricity purchased, and then the declared electricity generation. In addition, market clearing rules in the ISO agent are implemented to ensure orderly market clearing: the Dynamic Queuing Algorithm (DQA) is used to collect and sort the quotations of each power plant agent in each round of the electricity market bidding, so as to calculate the market clearing price.
All power plant agents together form a micro bidding model, of which the clearing period is in days. After obtaining market demand information, reinforcement learning algorithms will be used to select the current optimal strategy for each power plant agent to participate in the bidding. Subsequently, each power plant agent calculates the profit and updates its strategy space according to the market winning results.
The commercial user agent mainly includes a multi-objective optimization model of power consumption, which consists of a typical commercial energy management optimization system, as shown in Figure 1. Inputs in the system include electricity and natural gas, enabling the system to deliver electricity, cooling and heating to end users through energy cascade utilization.
Based on the above theoretical framework, a bidding simulation process of the market mechanism can be derived as follows:
Step 1: The simulation starts, and the ISO agent publishes the real-time updated market demand in the SDS. Details are provided in Section 3.2.2.
Step 2: Each power plant agent generates a bidding strategy space; selects a bidding strategy; and submits bidding information, such as the bidding quantity and bidding price. Details are provided in Section 3.2.1.
Step 3: The ISO agent collects the bidding information submitted by each power plant agent, calculates MCP according to the bidding mechanism and feeds it back to the SDS, before selecting the MCP after the overall adjustment of the SDS as the final MCP. See Section 3.1 for details.
Step 4: The ISO agent sends the market clearing information to the commercial user agent, so that it can manage and optimize the electricity demand of different electrical equipment on the user side. See Section 4 for details.
Step 5: The ISO agent sends the market clearing information to the power plant agent for trading, and each power plant agent updates its strategy space to reformulate the bidding strategy for the next round. Details are provided in Section 3.2.1.
Step 6: At this point, the simulation optimization cycle ends.

3. Hybrid Simulation of Electricity Market Bidding

3.1. Macrobidding Modelling of Electricity Markets Based on SDS

On the basis of the causality diagrams in Figure 1, by dividing the whole system into four subsystems, production, transmission, transaction and supervision, the causal relationship between them can be described, so that the whole system can operate normally. Table 1 abbreviates the variables of SDS in Figure 1.
In Table 1, different subsystems are represented by different variables. SRE, DRE and LP are selected as state variables to represent the three subsystems of production, transmission and transaction, respectively, while the supervision subsystem is represented by the variable HHI. Additionally, the SDR in SDS in the electricity market bidding model, in practice, is used as an important variable to adjust the market supply and demand. It is worth mentioning that the micro representation of the transaction subsystem is micro bidding modelling based on Multi-Agent Simulation, as shown in Section 3.2.
Additionally, the system flow diagrams shown in Figure 2 are built in AnyLogic software. Stocks (SRE, DRE and MCP), flows (SRER, DRER and MCPR), auxiliary variables (LCOE, HHI, LP and SDR) and constant variables (RP) form four causal feedback cycles, which affect one another and are interlinked.
However, the system flow diagram can only qualitatively show the correlations between various indicators in the system, and cannot make the model run. Therefore, system dynamics equations need to be further determined. Based on [13], through parameter debugging and continuous simulation in AnyLogic, the quantitative relations, Equations (1)–(8), described by differential equations can be obtained. Equations (1)–(3) are state equations, Equations (4)–(6) are rate equations and Equations (7) and (8) are auxiliary equations.
d SRE / d t = SRER
d DRE / d t = DRER
d MCP / d t = MCPR
SRER = a × ( 1 - SDR ) × SRE × ( b × HHI 1 ) + c × LP + d
DRER = e × ( SDR - 1 ) × DRE × ( f × HHI 1 ) + g × MCP + h
MCPR = i × ( 1 - SDR ) × MCP + j × RP
LP = MCP / LCOE 1
SDR = SRE / DRE
where SRER, DRER and MCPR are flows, representing the changes in SRE, DRE and MCP per unit of time, respectively. The above equations are the core of the operation of the electricity market, which can reflect the quantitative relationship between various parts of the whole market. By changing parameters and variables, the operation of the whole model can be observed to determine whether there are severe problems in the current electricity market. Table 2 shows the parameter values in (1)–(8) after the simulation results converge.

3.2. Microbidding Modelling of Electricity Markets Based on Multi-Agent Simulation

This paper sets up four power plant agents, one ISO agent and one commercial user agent. To simulate actual market conditions, different maximum power generation and maximum quotations are set for each power plant agent.

3.2.1. Intelligent Bidding Simulation of Power Plant Agents

(1)
Determination of Quotation Format and Strategy Space
The quotation format of power plants is a segmented step curve [25]. At the same time, since the unit cost increases as power generation increases, the power generation cost function is also set as a piecewise function, which is consistent with the quotation format and is divided into four segments.
Based on the determination of the quotation format, the strategy space of each power plant can be generated, and the piecewise linear quotation strategy can be generated using quadratic polynomials. The subsection cost curve of the power plant is shown in Equation (9), where Qmin and Qmax represent the minimum and maximum supply of the power plant, respectively, and cost represents the power generation cost.
c o s t ( q ) = { c o s t 1 , Q min q < Q 1 c o s t 2 , Q 1 q < Q 2 c o s t 3 , Q 2 q < Q 3 c o s t 4 , Q 3 q < Q max
The piecewise quotation curve of each power plant is shown in Equation (10). Price represents the electricity price. The greater the supply, the higher the quotation.
p r i c e ( q ) = { p r i c e 1 , q 0 q < q 1 p r i c e 2 , q 1 q < q 2 p r i c e 3 , q 2 q < q 3 p r i c e 4 , q 3 q < q 4
Before each quotation strategy is generated, three parameters need to be determined: Pa, Pb and Pc. Pa represents the quotation of each power plant at the minimum output, qmin; Pb represents the quotation at the median output, qmid, whose value is the arithmetic mean of qmin and qmax; Pc stands for a quotation at maximum output, qmax.
q = q q min , q d = q m i d q min
Substitute Equation (11) into q = a × q 2 + b × q + c and obtain Equation (12):
{ a = 2 ( p a + p c 2 p b ) / q d 2 b = ( 4 p b p c 3 p a ) / q d c = p a
To generate all quotations, define the upper and lower boundaries of the segment interval; set the lowest quotation and the highest quotation; and determine the capacity segments.
(2)
Intelligent Learning Algorithm of Power Plant Agent
In order to make the agent autonomous, several variables, parameters and events need to be set. Table 3 shows the parameters of each power plant agent.
In addition to setting the parameters of each power plant in advance, it is also necessary to define events to trigger algorithms and variables. The Roth–Erev (RE) algorithm is a reinforcement learning algorithm proposed by Roth and Erev. As an adaptive learning method, in which the agent learns through experience gained by continuously interacting with the environment. The algorithm can be used to simulate the strategy quotation process of generators in incomplete information markets. However, the RE algorithm model has the following two problems: First, if the behavior of a certain strategy leads to a very large negative profit, then its corresponding behavioral tendency is negative, which is likely to make its selection probability negative. This does not conform to the definition of probability; secondly, if the profit is 0, the behavioral tendency of each behavioral strategy will decrease in the same proportion, so that the selection probability corresponding to each behavioral strategy remains unchanged, resulting in the cessation of learning. Therefore, to address the problem of the RE algorithm model, an improved RE algorithm is used to avoid the occurrence of the above two problems. For more information about the RE Reinforcement algorithm and its improvement, see reference [26] for details. In order to allow for each power plant agent to gain experience from the bidding history and improve the intelligence of its bidding strategy, this paper applies the improved RE reinforcement learning algorithm to each power plant agent. After being triggered by a specific event, the learning process begins. Equation (13) is the updating formula of the propensity coefficient in the improved RE algorithm [26].
{ Q t ( i ) = ( 1 r ) × Q t - 1 ( i ) + ( 1 e ) × R t - 1 if   i = num Q t ( i ) = ( 1 r ) × Q t - 1 ( i ) + e × Q t - 1 ( i ) / M if   i num
where t stands for learning times; i represents the strategy number selected when t; r is the forgetting factor, which reduces the decisive influence of experience on the current choice; e is the empirical parameter, which represents the accumulation of early successful decision-making experience; R is the reward after each successful decision; M is the number of strategies. Additionally, set its learning steps [22] as follows:
  • Generate a random number in (0, 1) as the initial propensity coefficient of each bidding strategy.
  • Adjust the cooling coefficient c, where c t = k M i Q t ( i ) .
  • The propensity coefficient of each strategy is used to calculate the selection probability p t ( a ) = exp ( Q t ( i ) / c ) j = 1 M exp ( Q t ( i ) / c ) .
  • Perform clearing according to electricity market rules.
  • Each agent calculates the output and profit according to the market clearing results.
  • Modify each propensity coefficient in the strategy space.
  • If not end, return to step 2; otherwise, end.
The cooling coefficient c, can partially determine the influence of the tendency coefficient on the selection probability. The value of c will affect the convergence of the simulation model. If c adopts a fixed value, the tendency coefficient will increase with the increase in number of simulations, so it will suddenly converge without regularity. Therefore, the dynamic adjustment method is used to adjust the tendency coefficient in each round. The selection probability, p t ( a ) , is the probability that each strategy of each power plant agent is selected at time t.
By setting events in the power plant agent and writing a reinforcement learning algorithm, the intelligent quotation function can be realized. First, initialize the bidding strategy, bidding capacity segment and cost of each power plant. Then, set the trigger time when the model starts running. Finally, the strategy update formula is used to update the strategy, which is triggered in the fifth minute, and the recurring update cycle occurs every 24 h.

3.2.2. Market Clearing Rules of ISO Agent

This paper uses unified price clearing (MCP) for market clearing; that is, all electricity market traders trade at the same price in one clearing. In the ISO agent clearing process, the sorting process using the Dynamic Queuing Algorithm (DQA) is as follows:
  • Arrange the quotation and electricity quantity of the power plant in ascending order. First, sort the quotation and generate sequence numbers. If the sequence numbers are the same, then sort the electricity quantity.
  • Accumulate electricity quantity in sequence.
  • Identify the serial number that can meet the demand according to the current electricity demand.
  • The quotation corresponding to the selected serial number is regarded as the unified clearing price, and the power plants lower than the quotation are successful in bidding.
By setting events and market clearing rules in ISO agents, orderly market clearing can be realized. The bidding strategies (quotation, capacity segment and serial number) of each power plant are collected and allocated to three groups of array variables. Then, set the trigger time as the first minute and the recurring update cycle as 24 h. Following this, bubble sorting is used to sort the collected information, which is triggered in the second minute, and the recurring update cycle occurs every 24 h.

3.3. Generation of Twenty-Four-Hour Electricity Prices

In order to obtain the dynamic electricity price within a day, it is necessary to generate market demand and electricity prices for different periods. This is achieved by setting the twenty-four-hour demand, as shown in Table 4. By repeating the simulation 24 times, market clearing prices can be obtained, as shown in Table 5.

4. Multi-Objective Optimization of Energy Management for Commercial Users

The commercial user agent will optimize the operation status of each part of the equipment according to the electricity price information from the electricity market.

4.1. Electrical Equipment Modelling

4.1.1. Mathematical Model of Power Supply Units

(1)
Micro-gas Turbine
The micro-gas turbine is the core equipment of the CCHP (Combined Cooling, Heating and Power) system. The output electric power, P m t , t , and residual heat power, Q m t , t , of a micro-gas turbine at time t are given by:
{ P m t , t = F m t , t H n g η m t Q m t , t = F m t , t H n g ( 1 η m t )
where F m t , t represents the amount of natural gas consumed by a gas turbine at time t given in m3/t; H n g represents the calorific value of natural gas, and it generally takes the value of 9.78 kWh/m3; η m t is the electrical efficiency of a gas turbine; 0 P m t , t P m t r a t e d , where P m t r a t e d denotes the rated output electric power of a micro-turbine.
(2)
Gas Fired Boiler
When the demand for heat is high, such as in winter, a gas boiler is usually used, but less so in summer. The output heat power of a gas-fired boiler at time t is given by:
Q g b , t = F g b , t H n g η g b
where F g b , t represents the amount of natural gas consumed by a gas-fired boiler at time t given in m3/t, η g b represents the efficiency of a gas-fired boiler, Q g b r a t e d represents the rated power of the gas-fired boiler, and 0 Q g b , t Q g b r a t e d .
(3)
Photovoltaic (PV) Generation Unit
Due to the instability of photovoltaic power generation, it is greatly affected by weather and prone to fluctuations. In addition, the mechanism of photovoltaic output is not within the scope of this paper. Therefore, this paper directly adopts the existing research results of photovoltaic forecasting in the literature [27] to study the optimization strategy of intelligent power consumption operation of commercial users, and does not analyze the working characteristics of photovoltaic power generation devices in detail. For details, please refer to [27].

4.1.2. Mathematical Model of Auxiliary Equipment

(1)
Electric Refrigerator
The mathematical relationship between the input electric power, P e c , t , and the output cooling power, Q c e c , t , of an electric refrigerator at time t is given by:
{ Q c e c , t = P e c , t C O P e c 0 P e c , t P e c r a t e d
where C O P e c represents the refrigeration coefficient of the electric refrigerator, which is also known as the energy efficiency ratio, denotes the ratio of the cooling capacity per unit of time to the electricity, and is used to measure the refrigeration performance of the electric refrigerator. P e c r a t e d is the rated power of the electric refrigerator.
(2)
Absorption Refrigerator
At present, lithium bromide chillers are widely used. The mathematical expression of the heat-driven refrigeration of an absorption chiller is given by:
{ Q c a c , t = Q h a c , t C O P a c 0 Q h a c , t Q h a c r a t e d
where Q h a c , t represents the input heat power of an absorption chiller at time t, Q c a c , t is the output cooling power of an absorption chiller at time t, and C O P a c is the refrigeration coefficient of an absorption chiller, which represents the ratio of the input heat to the cooling capacity per unit of time. C O P a c is used to measure the refrigeration performance of an absorption chiller. Finally, Q h a c r a t e d denotes the rated power of an absorption chiller.
(3)
Waste Heat Recovery Unit
The mathematical expression of a waste heat recovery unit is given by:
{ Q c r e , t = Q m t , t η r e 0 Q m t , t Q m t r a t e d
where Q m t , t represents the residual heat power generated by a microgas turbine, Q c r e , t represents the residual heat power output by a waste heat recovery unit, η r e denotes the recovery of the waste heat recovery unit, and Q m t r a t e d denotes the rated power of a waste heat recovery unit.
(4)
Heat Exchanger
Heat exchangers are primarily used to convert heat to thermal energy required by commercial users. The mathematical expression of a heat exchanger is given by:
{ Q h l , t = Q h x , t η h x 0 Q h x , t Q h x r a t e d
where Q h x , t represents the input power of a heat exchanger at time t, Q h l , t represents the heat power output by a heat exchanger at time t, η h x is the operating efficiency of a heat exchanger, and Q h x r a t e d is the rated power of a heat exchanger.

4.1.3. Mathematical Model of Energy Storage Equipment

This paper analyzes the operating characteristics of two components of energy storage equipment, batteries and heat storage tanks.
(1)
Battery
Generally, the battery has three working states: charging, discharging and sleeping, and its mathematical model is given by:
E e e s , t + 1 = E e e s , t + P e e s c h , t η e e s c h Δ t P e e s d i s , t Δ t η e e s d i s
0 y e e s c h , t + y e e s d i s , t 1
0 P e e s c h , t y e e s c h , t P e e s c h max
0 P e e s d i s , t y e e s d i s , t P e e s d i s max
E e e s min E e e s , t E e e s max
Equation (20) defines the charge/discharge characteristics of a battery, where E e e s , t represents the amount of charge stored in a battery at time t; P e e s c h , t and P e e s d i s , t represent the charge and discharge powers of a battery at time t, respectively; η e e s c h and η e e s d i s indicate the charge and discharge efficiency, respectively. Equation (21) shows that the battery can be in only one working state at time t; y e e s c h , t and y e e s d i s , t are binary variables indicating the charging/discharging states of a battery at time t, respectively; (22) and (23) define battery charging/discharging power constraints, where P e e s c h max and P e e s d i s max are the upper limits of charging and discharging power of a battery, respectively; (24) defines the constraint of avoiding overcharging and over-discharging of a battery at time t, where E e e s max and E e e s min indicate the upper and lower limits of the stored electric quantity, respectively.
(2)
Heat storage Tank
The mathematical model of a heat storage tank is given by:
H t e s , t + 1 = H t e s , t + Q t e s c h , t η t e s c h Δ t Q t e s d i s , t Δ t η t e s d i s
0 y t e s c h , t + y t e s d i s , t 1
0 Q t e s c h , t y t e s c h , t Q t e s c h max
0 Q t e s d i s , t y t e s d i s , t Q t e s d i s max
H t e s min H t e s , t H t e s max
Equation (25) denotes a description of the operational characteristics of a heat storage tank; H t e s , t represents the heat stored in a heat storage tank at time t; Q t e s c h , t and Q t e s d i s , t represent the storage and heat release power of a heat storage tank at time t, respectively; η t e s c h and η t e s d i s represent the heat storage efficiency and heat release efficiency. Equation (26) restricts the heat storage tank to be in only one working state at time t, where y t e s c h , t and y t e s d i s , t represent the binary variables, indicating the state of heat storage and heat release of a heat storage tank, respectively; (27) and (28) define the heat storage tank storage and heat release power constraint, where Q t e s c h max and Q t e s d i s max are the upper limits of the storage and heat release powers of a heat storage tank, respectively; (29) is introduced to avoid the over-storage and over-discharge of a heat storage tank at time t, where H t e s max and H t e s min represent the upper and lower limits of the stored heat, respectively.

4.1.4. Mathematical Model of Load Equipment

(1)
Electric Vehicles (EVs)
Based on [28,29], assuming that the arrival times t s of electric vehicles in the commercial building conform to a normal distribution, its probability density function can be described by:
f s ( t s ) = 1 σ s 2 π exp ( ( t s μ s ) 2 2 σ s 2 ) 1 < t s 24
where μ s = 9 and σ s = 0.41 indicate that the arrival time of EVs is concentrated at 9:00.
Assuming that the time when EVs leave the commercial office building is concentrated at 17:00 and 22:00, the probability density function is given by:
f e ( t e ) = r σ e 1 2 π exp ( ( t e μ e 1 ) 2 2 σ e 1 2 ) + ( 1 r ) σ e 2 2 π exp ( ( t e μ e 2 ) 2 2 σ e 2 2 ) 1 < t e 24
where μ e 1 = 17 , μ e 2 = 22 and σ e 1 = σ e 2 = 0.41 indicate that the office staff leave the office building at 17:00 and 22:00, and r = 0 . 7 indicates the proportion of office staff leaving the office building at 17:00. In addition to the uncertainty of arrival and departure times of EVs, the initial power of EVs is also considered. Assuming that the initial electric quantity S O C e 0 of an EV obeys the normal distribution, its probability density function can be described by:
f 0 ( S O C e 0 ) = 1 σ 0 2 π exp ( ( S O C e 0 μ 0 ) 2 2 σ 0 2 ) 0 < S O C e 0 1
where μ 0 = 0.25 and σ 0 = 0.02 .
The charging/discharging model of EVs based on the V2G technology is given by:
S O C e , t + 1 = S O C e , t + P e , c h , t η e , c h Δ t C b P e , d i s , t Δ t C b η e , d i s
where S O C e , t represents the state of charge of an EV at time t; η e , c h and η e , d i s indicate the charging efficiency and discharging efficiency of an EV, respectively; and C b represents the battery capacity of an EV.
EVs have three states: charging, discharging and not charging. The variables y e , c h , t and y e , d i s , t are used to indicate the operating state of an EV. Equation (34) indicates that EVs can be in only one operating state at any given moment.
0 y e , c h , t + y e , d i s , t 1
The charging and discharging power constraints of EVs are, respectively, defined by:
0 P e , c h , t y e , c h , t P e , c h max
0 P e , d i s , t y e , d i s , t P e , d i s max
where P e , c h , t and P e , d i s , t represent the charging and discharging powers of an EV at time t, respectively, and P e , c h max and P e , d i s max represent the maximum values of the charging and discharging powers, respectively.
The charging state of an EV is defined by (37), where S O C e u p and S O C e d o w n indicate the upper and lower limits of the SOC of the EV, respectively.
S O C e d o w n S O C e , t S O C e u p
In order to extend the battery life of an EV, the number of charging and discharging times of EVs is limited as follows:
y t y e , d i s , t y e , d i s , t + 1
y t y e , d i s , t + 1 y e , d i s , t
t = b e e e y t y d i s
where b e and e e indicate the start and stop times of the EV during charging, respectively; y t is the conversion variable of EV during the charging and discharging states; and y d i s indicates the number of charging and discharging times, and can be set in advance.
To ensure the safety and reliability of EVs, they need to meet the mathematical constraint of minimum remaining power before each start, which is given by (41), where S O C e s e t represents the minimum remaining power when an EV leaves.
S O C e s e t S O C e ( e e ) 1
(2)
Lighting Loads (LLs)
Lighting equipment occupies nearly one-third of the electricity load in the commercial office building. Additionally, regarding power-adjustable lighting equipment, changes in lighting power directly affect the lighting level of the office [28,29,30]. Through appropriate strategies, power-adjustable lighting equipment can effectively reduce the peak power of the power grid [31]. For example, Building Automation and Control (BAC) systems applied to lighting systems constitute an effective method [32]. The lighting power P i l l m , t of the entire commercial office building at time t can be calculated by:
P i l l m , t = N n p i l l m , t
where N represents the number of rooms in the commercial office building, n represents the amount of lighting equipment in each room, and P i l l m , t is the power consumption at time t of each lighting equipment.

4.2. Constraints and Objective Function of Energy Management Optimization

4.2.1. Visual Comfort

This section introduces the average illumination [33] E a v , t to measure the level of office lighting at time t. The average illuminance calculated by the coefficient method and its adjustable range can be, respectively, described by:
E a v , t = n p i l l m , t η s U K S
E a v min E a v , t E a v max
where η s represents the luminous efficacy of the lighting equipment; U and K are the utilization factor and the maintenance factor of the lighting equipment, respectively; S represents the area of each office; E a v max and E a v min indicate the upper and lower illuminance limits, respectively.
The visual comfort index G at time t is represented by indoor lighting, which varies within an acceptable range that is set by the user, and it is defined by [30]:
C v , t = 1 ( E a v , t E a v s e t E a v s e t ) 2
where E a v s e t denotes the standard illuminance, and its unit is lux.

4.2.2. Objective Function

(1)
Economic Objective Function
The energy cost of commercial users includes the cost of interaction with the power grid, C g r i d , and the cost of natural gas, C n g . The cost of natural gas represents the cost of natural gas purchased for microgas turbines and gas boilers. The calculation formula of the two costs is given by:
C g r i d = t = 1 T c c o m , t p P c o m , t p Δ t t = 1 T c c o m , t s P c o m , t s Δ t
C n g = t = 1 T c c o m , t n g ( F m t , t + F g b , t )
where c c o m , t p and c c o m , t s are the purchase and sale prices of the electricity market, respectively; P c o m , t p and P c o m , t s indicate the purchasing and sales power of commercial users, respectively; and c c o m , t n g is the price of the natural gas purchased.
(2)
Comfort Objective Function
Assuming that the entire lighting power of commercial users are synchronously adjusted by the commercial power system, the comfort index C v i s u a l of the commercial integrated energy management can be defined by:
C v i s u a l = t = 1 T C v , t
Commercial users can determine the weight coefficient between economy and comfort according to actual needs, and improve the overall economics while ensuring indoor visual comfort remains within an acceptable range [30].
(3)
Total Objective Function
This paper uses the linear weighted-sum method to solve the proposed multi-objective optimization problem by introducing the weight coefficient α and transforming the multi-objective function established using the optimal economic goal and optimal comfort index into a single-objective function, which is given by:
min F = α ( C g r i d + C n g ) ( 1 α ) C v i s u a l
where α is 0.00014.

4.2.3. Constraints

The power constraints that commercial users need to meet include the electric power balance, heating power balance, and cooling power balance, which are expressed by:
P m t , t + P c o m , t p + P P V , t + P e c , t + P e e s d i s , t + e = 1 N e P e , d i s , t = P c o m , t s + P e e s c h , t + e = 1 N e P e , c h , t + P i l l m , t + P l , t
Q c r e , t + Q g b , t Q c a c , t = Q h l , t / η h x
Q c e c , t + Q c a c , t = Q c l , t
where P P V , t and P l , t represent the PV and power consumption of uncontrollable equipment of commercial users, respectively; Ne represents the number of EVs owned by commercial users; Q h l , t and Q c l , t represent the heating power demand and cooling power demand, respectively, of commercial users.
In addition to the mentioned energy balance constraints, commercial users need to meet the purchase and sale state constraints and the maximum power constraints for purchase and sale, which are defined by:
0 z c o m , t p + z c o m , t s 1
0 P c o m , t b z c o m , t p P c o m , p max
0 P c o m , t s z c o m , t s P c o m , s max
where z c o m , t p and z c o m , t s are variables indicating the state of purchase and sale of commercial users at time t, and P c o m , p max and P c o m , s max represent the upper limits of electricity purchase and power sale of commercial users, respectively.

5. Multi-Objective Optimization Implementation Based on Hybrid Simulation

5.1. Optimization Model Verification of Power Consumption for Commercial Users

5.1.1. Optimization Solution

The decision variables in the multi-objective optimization model of the power consumption management of commercial users in this paper include both linear continuous variables and linear integer variables; that is, the optimization problem not only bears conditional constraints, but also integer constraints. As the traditional algorithms based on intelligent optimization GA and PSO have long optimization times, and the optimization results are greatly affected by the penalty value, the linear weighting-sum method with a fast calculation speed can obtain the optimization results in time. Therefore, on the commercial user side, the integrated energy management model can be transformed into a solvable mixed-integer linear programming (MILP) problem, including linear continuous and integer variables. Consequently, the integrated energy management model established in this paper is solved by using the CPLEX solver on the YALMIP platform in the MATLAB software environment. The YALMIP is a modelling platform suitable for solving large-scale optimization problems.

5.1.2. Validation of Optimization Model

A general commercial office building was investigated as the case study. One day is divided into 48 periods, each 30 min long. The building has 30 floors; each floor is 3 m high and covers an area of 1500 m2. The equipment parameters of the CCHP unit are shown in Table 6. The parameters of single EV and single lighting equipment are shown in Table 7 and Table 8, respectively. Additionally, a total of 200 EVs are designed in this paper, which is represented by Ne.
The fitting results of the arrival and departure times of EVs subject to normal distribution are shown in Figure 3a,b, respectively. The unit price of natural gas is CNY 3.24/m3, and the unit calorific value is 9.78 kWh/m3. Commercial users participate in the demand response of the electricity market through the twenty-four-hour electricity price information provided by the electricity market, and the on-grid electricity price of their remaining electricity is summarized as CNY 0.7/kWh.
(1)
Natural Gas and Electricity Purchased/Sold Results
Gas consumption and electricity purchased/sold before and after power consumption optimization are shown in Figure 4, where the electricity price unit is defined as CNY/kWh, which is the same as in other optimization figures. Before optimizing the commercial energy office building, natural gas is generated only by the consumption of heat generated by gas boilers, while the electricity is sourced from the electricity market. From Figure 4a, it can be seen that while local PV is being absorbed, the commercial office building purchases a large amount of electricity during the peak price period, which greatly increases electricity costs and leads to energy inefficiency.
After the optimization of the commercial energy office building, natural gas is mainly consumed by gas turbines during peak price periods, which replaces purchasing electricity from the market. From Figure 4b, it can be seen that the electricity purchased by commercial users is transferred from peak electricity prices to the valley electricity prices evenly. The electricity is sold back to the electricity market from 08:00 to 12:00, which significantly improves the electricity economy and energy utilization of commercial users. Moreover, it improves the stability of the power system with a smoother optimized purchasing curve.
The cost represents the most direct concern of commercial users. The cost analysis of the commercial office building before and after power consumption optimization is shown in Table 9. Before optimization, commercial users do not install local PV generation equipment, and the total electricity cost would reach CNY 12312. After installing local PV, the total electricity cost would be notably reduced to CNY 9123.4.
From Table 9, it can be seen that after power consumption optimization, the total cost of power consumption for each equipment is optimized except for the fixed power load, which remains unchanged. In addition, the reverse sale during peak electricity prices greatly reduces the total cost of power consumption for commercial users. It should be noted that the regulation of electric power is limited in order to ensure the visual comfort of indoor office staff.
(2)
Electric Power Optimization Results
The optimization results before and after energy management in the commercial office building are shown in Figure 5. Before optimization, the commercial building does not participate in the demand response; the CCHP units do not work; and the electricity demand is mainly met by the electricity market, supplemented by PV equipment. When the EV reaches the commercial building, it begins to charge, and commercial users use electricity centrally from 10:00 to 12:00, which remains within peak electricity prices. This not only greatly increases the electricity costs of commercial users, but also causes peak loading of the power grid, which threatens the stability of the power system. After optimization, the charging periods of EVs are obviously shifted to the valley periods (13:00–18:00), and discharges occur during the peak electricity price.
The arrival time of EVs in the commercial building is concentrated around 9:00 (peak price periods). From Figure 4b and Figure 5b, it can be seen that the commercial power management system will select the EVs with discharge capability to participate in the electricity market demand response and sell the extra electricity to the electricity market for profit.
The departure time of EVs is concentrated at approximately 17:00 and 22:00. It can be seen that some EVs with a discharging capability can discharge at approximately 16:00 and 21:00 to reduce the total electricity cost of commercial users, as shown in Figure 4b and Figure 5b. In addition, the combined use of micro-gas turbines and accumulators allows commercial users to sell electricity during peak price periods (08:00–11:00) after power consumption optimization in the commercial office building.
(3)
Visual Comfort Optimization Results
The results of the indoor lighting index and visual comfort for commercial office buildings after power management optimization are shown in Figure 6. Considering that lighting at night is not required by indoor office staff, the indoor lighting index between 00:00 and 6:00 is considered to be 0.
The simulation results show that the optimized indexes are limited to the set range, which ensures the visual comfort of indoor office staff. Under the effect of the objective function, when the electricity price is low, the indoor lighting index remains near the standard illumination (500 lux), which achieves better indoor visual comfort. On the contrary, the indoor lighting index decreases slightly when the electricity price is high, which improves the economy of commercial users during peak price periods without affecting the indoor office environment.
Through the comparison of power consumption and cost before and after the commercial power consumption optimization, we can see that the proposed commercial power consumption optimization strategy can effectively balance the operation economy of commercial users with the visual comfort of indoor office staff. At the same time, it can achieve the cascade and efficient utilization of different types of energy for commercial users.

5.2. Multi-Objective Optimization Model Verification Based on Hybrid Bidding Simulation

5.2.1. Mathematical Model of Power Supply Units Simulation-Based Optimization Solution

The hybrid simulation model based on electricity market bidding and the multi-objective optimization model based on commercial energy management are integrated by AnyLogic software based on Java. This paper processes the mixed-integer programming model using the CPLEX package. Due to the differences between the power consumption state in summer and winter and the working state of the CCHP system, commercial energy management optimization is discussed below, considering the bidding of the electricity market in summer and winter separately.

5.2.2. Power Consumption Optimization Considering Market Bidding in Summer

The electricity demand in summer is aimed at cooling, which can be converted directly from electricity or heat. As a special kind of electrical equipment, the charging and discharging behaviors of EVs are random. The lighting demand is evenly distributed during the day, while fixed electricity demand will rise during the peak period of power consumption. The EV starts charging as soon as it reaches the building before optimization. The demand for cooling is highest at noon and in the afternoon. The commercial electricity demand is shown in Figure 7. Among them, the cooling energy generated by electric refrigerators is used for cooling load. In addition, PV generation can supplement electrical energy.
Before interacting with the electricity market, electricity prices are divided into daily peak and valley electricity prices. The peak electricity price occurs during the daytime peak period, when electricity costs are higher. After interacting with the electricity market, electricity prices change several times daily. For instance, at approximately 11:00 a.m. and 8:00 p.m., electricity prices remain in a high range, while at other times, electricity prices will fall.
Under the same background, the electricity purchase and natural gas consumption conform to Gaussian distribution and mixed Gaussian distribution. During the day, there is no optimization of power consumption because the electricity price does not fluctuate. In summer, only electricity and lower quantities of gas are used. After interacting with the electricity market, the electricity price in the peak price periods increases, which forces the electricity purchase during peak price periods to decrease. As a result, there is tendency to buy natural gas for electricity generation. Figure 8 shows the comparison between the purchase and sale of natural gas and electricity before and after the commercial office building is associated with the electricity market in summer. The left figures are before optimization, and the right ones are after optimization.
After optimization, the charging time of EVs is delayed to the off-peak periods. In addition, when the price is high, the electric storage equipment will discharge to supplement the power; EVs will also release electricity for the peak power consumption at night. At the peak of electricity price, reducing electricity purchase and increasing gas purchase can fully mobilize the CCHP system and improve energy utilization efficiency. Before optimization, the daily purchased electricity is about 10,550 kWh, and after optimization, the purchased electricity is about 3980 kWh; During summer (three months), the electricity purchased before optimization is about 970,600 kWh, while the electricity purchased after optimization is about 366,160 kWh.

5.2.3. Power Consumption Optimization Considering Market Bidding in Winter

The demand in winter is for electricity and heat, in which heat can be directly produced by natural gas or converted from waste heat of natural gas power generation. Similar to summer, the lighting demand is uniform during the day, and the fixed electricity demand rises during the peak period. Before optimization, EVs will start charging as soon as they arrive at the building. Due to the temperature, the heat demand is strong in the morning and evening. The commercial electricity demand is shown in Figure 9.
In winter, before interacting with the electricity market, the distribution of the electricity purchase and natural gas purchase are the same as those in summer. There will be small fluctuations in the initial gas consumption stage. Since the electricity price does not fluctuate during the day, power consumption is not optimized. In winter, heat consumption increases so that there is more gas purchase. After interacting with the electricity market, the electricity price in the peak periods is higher than before. The optimal result is to reduce the purchase of electricity and buy more natural gas in the peak periods, part of which is used for electricity generation. The comparison of natural gas and electricity purchased/sold before and after the interaction between the commercial buildings and the electricity market in winter is shown in Figure 10. Before optimization, the daily purchased electric energy is about 6260 kWh, and after optimization, the purchased electric energy is about 4050 kWh; During winter (3 months), the purchased electricity is about 575,920 kWh before optimization, and about 372,600 kWh after optimization.

6. Conclusions and Discussion

In this paper, a novel energy management optimization theoretical framework for commercial users is proposed based on the hybrid simulation of electricity market bidding. This framework effectively integrates electricity market bidding simulation and power consumption optimization for commercial users. It realizes the real-time direct interaction of electricity price and electricity quantity between power suppliers and consumers by using the simulation-based optimization method.
A hybrid simulation model of electricity market bidding is established based on Multi-Agent Simulation (MAS) with Reinforcement Learning and System Dynamics Simulation (SDS). The hybrid simulation model can self-regulate through the mutual feedback of its elements, so that the whole model does not need external intervention. The hybrid simulation model can solve the problem where the market clearing price cannot fully reflect the market competition under a single market regulation mechanism.
Considering the uncertainty of Electric Vehicles (EVs) traveling and Lighting Loads (LLs), a multi-objective optimization model of energy management for commercial users is established. The model compensates for the lack of single-objective optimization of commercial power consumption. The calculation results show that the proposed optimization strategy can realize the optimization of energy management and improves the utilization rate of energy.
A multi-objective optimization model of power consumption for commercial users is established based on the hybrid simulation of electricity market bidding. By running the multi-objective optimization model based on the hybrid simulation, the energy management optimization of commercial users based on overall bidding is realized, laying a foundation for the development of the smart grid and Energy Internet.
The novel energy management optimization theoretical framework based on the hybrid simulation of the electricity market bidding demonstrates good generalization and can be promoted to commercial buildings among commercial users. The main reasons are as follows: (1) The charging and discharging scheduling of energy storage will change the market clearing result and the operation plan of the system. When energy storage directly participates in the market, it will bear an important impact on market competition, prices and the benefits of market members [34]. (2) In view of the dispatching reality of a large number of electric vehicles participating in energy storage, combined with the current working modes of Chinese state-owned enterprises and Internet companies, two peak dispatching time intervals are designed. (3) The management optimization framework in the commercial user agent optimizes the users’ electricity cost on the basis of the time-of-use electricity price signal in the electricity market, and ensures the visual comfort level of office staff within the commercial building is maintained. In summary, the novel energy management optimization theoretical framework based on the hybrid simulation of the electricity market bidding proposed in this paper demonstrates good application prospects and positive practical significance in the operation of commercial users.

Author Contributions

Conceptualization, J.W. (Jidong Wang) and J.W. (Jiahui Wu); methodology, J.W. (Jiahui Wu); software, Y.S.; validation, J.W. (Jiahui Wu) and Y.S.; formal analysis, J.W. (Jiahui Wu); investigation, J.W. (Jiahui Wu); resources, J.W. (Jiahui Wu); data curation, J.W. (Jiahui Wu); writing—original draft preparation, J.W. (Jiahui Wu); writing—review and editing, Y.S.; visualization, Y.S.; supervision, J.W. (Jidong Wang); project administration, J.W. (Jidong Wang); funding acquisition, J.W. (Jidong Wang). All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Key Research and Development Program of China (2016YFB0901102).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ali, S.M.; Ullah, Z.; Mokryani, G.; Khan, B.; Farid, U. Smart Grid and Energy District Mutual Interactions with Demand Response Programs. IET Energy Syst. Integr. 2020, 2, 1–8. [Google Scholar] [CrossRef]
  2. Li, Y.; Wang, B.B.; Li, F.X. Flexible and Interactive Smart Power Forecast and Thinking. Autom. Electr. Power Syst. 2015, 39, 2–9. [Google Scholar]
  3. Flah, A.; Chokri, M. A Novel Energy Optimization Approach for Electrical Vehicles in a Smart City. Energies 2019, 12, 929–950. [Google Scholar]
  4. Hu, Z.C.; Song, Y.H.; Xu, Z.W.; Luo, Z.W.; Zhan, K.Q.; Jia, L. The Influence and Utilization of Electric Vehicles Connected to the Power Grid. Proc. CSEE 2012, 32, 1–10. [Google Scholar]
  5. Li, T.Z. The Technical Connotation and Development Direction of Flexible and Interactive Intelligent Power Consumption. Autom. Electr. Power Syst. 2012, 36, 11–17. [Google Scholar]
  6. Shi, Y.C. Study on Optimal Strategies for User-Side Intelligent Power Consumption Considering Electric Vehicles. Master’s Thesis, Tianjin University, Tianjin, China, 2018. [Google Scholar]
  7. Tavakoli, A.; Saha, S.; Arif, M.T.; Haque, M.E.; Mendis, N. Impacts of Grid Integration of Solar PV and Electric Vehicle on Grid Stability, Power Quality and Energy Economics: A Review. IET Energy Syst. Integr. 2019, 2, 1–18. [Google Scholar] [CrossRef]
  8. Ali, A.M.; Söffker, D. Towards Optimal Power Management of Hybrid Electric Vehicles in Real-Time: A Review on Methods, Challenges, and State-Of-The-Art Solutions. Energies 2018, 11, 476. [Google Scholar] [CrossRef] [Green Version]
  9. Tang, R.L.; Li, X.; Lai, J.G. A Novel Optimal Energy-Management Strategy for a Maritime Hybrid Energy System Based on Large-Scale Global Optimization. Appl. Energy 2018, 228, 254–264. [Google Scholar] [CrossRef]
  10. Wang, Y.; Zhou, Z.; Botterud, A.; Zhang, K.F. Optimal Wind Power Uncertainty Intervals for Electricity Market Operation. IEEE Trans. Sustain. Energy 2018, 9, 199–210. [Google Scholar] [CrossRef]
  11. Li, Y.Q.; Zhang, J.; Ma, Z.J.; Peng, Y.; Zhao, S.W. An Energy Management Optimization Method for Community Integrated Energy System Based on User Dominated Demand Side Response. Energies 2021, 14, 4398. [Google Scholar] [CrossRef]
  12. Pasha, A.M.; Ibrahim, H.M.; Hasan, S.R.; Belkacemi, R.; Awwad, F.; Hasan, O. A Utility Maximized Demand-Side Management for Autonomous Microgrid. In Proceedings of the 2018 IEEE Electrical Power and Energy Conference (EPEC), Toronto, ON, Canada, 10 October 2018. [Google Scholar]
  13. Yan, L.; Li, C.J. Preliminary Study of System Dynamics Model for Electricity Market Operation. East China Electr. Power 2011, 39, 859–861. [Google Scholar]
  14. Ciferri, D.; D’Errico, M.C.; Polinori, P. Integration and Convergence in European Electricity Markets. Econ. Politica 2019, 2020, 463–492. [Google Scholar] [CrossRef] [Green Version]
  15. Morcillo; Jose, D.; Franco; Carlos, J.; Angulo; Fabiola. Simulation of Demand Growth Scenarios in the Colombian Electricity Market: An Integration of System Dynamics and Dynamic Systems. Appl. Energy 2018, 216, 504–520. [Google Scholar] [CrossRef]
  16. Liu, S.Y.; Triantis, K.; Zhao, L.; Wang, Y.F. Capturing Multi-Stage Fuzzy Uncertainties in Hybrid System Dynamics and Agent-Based Models for Enhancing Policy Implementation in Health Systems Research. PLoS ONE 2018, 13, e0194687. [Google Scholar] [CrossRef] [Green Version]
  17. Ding, Y.M.; Hong, S.H.; Li, X.H. A Demand Response Energy Management Scheme for Industrial Facilities in Smart Grid. IEEE Trans. Ind. Inform. 2014, 10, 2257–2269. [Google Scholar] [CrossRef]
  18. Chen, G.S.; Pan, Y. Time of Use Pricing Decision Model of Distribution Network Based on PSO. Electron. World 2018, 13, 70–71. [Google Scholar]
  19. Zhao, Y.B.; Gao, H.J.; Wang, Z.; Zhang, R.F.; Zhong, L.; Li, Y.M.; Liu, J.Y. Optimal Decision of Multi-Energy Trading Game for Commercial Park Operators Considering User-side Electricity Substitution. Power Syst. Technol. 2021, 45, 1320–1329. [Google Scholar]
  20. Dai, Y.M.; Gao, H.W.; Gao, Y.; Yuan, G.H. Real-Time Pricing Mechanism in Smart Grid with Forecasting Update of Power Demand. Autom. Electr. Power Syst. 2018, 42, 58–63. [Google Scholar]
  21. Roozbehani, M.; Dahleh, M.A.; Mitter, S.K. Volatility of Power Grids Under Real-Time Pricing. IEEE Trans. Power Syst. 2012, 27, 1926–1940. [Google Scholar] [CrossRef] [Green Version]
  22. Wang, J.D.; Wu, J.H.; Che, Y.B. Agent and System Dynamics-Based Hybrid Modeling and Simulation for Multilateral Bidding in Electricity Market. Energy 2019, 180, 444–456. [Google Scholar] [CrossRef]
  23. Zhou, M.; Yan, Y.; Wu, Z.Y.; He, Y.H.; Long, S.Y. Foreign Typical Electricity Market Transaction Settlement Mechanism and its Enlightenment to China. Autom. Electr. Power Syst. 2017, 41, 1–8. [Google Scholar]
  24. Zhang, X.; Shi, L.J. Future Research Directions and Key Technologies of China’s Electricity Market. Autom. Electr. Power Syst. 2020, 44, 1–11. [Google Scholar]
  25. Khorsand, M.; Hedman, K.; Tong, L. Newly Implemented and Proposed Market Products and Reformulations: Pricing Implications, Analysis, and Enhancements. In Proceedings of the Power Systems Engineering Research Center Final Project Report M-39, Tempe, AZ, USA, 7 December 2017. [Google Scholar]
  26. Wang, H.N. Study on Power Market Simulation and its Application System Based-on the Multi-Agent Modeling of Complex Adaptive System. Ph.D. Thesis, China Electric Power Research Institute, Nanjing, China, 2013. [Google Scholar]
  27. Wang, J.D.; Shi, Y.C.; Zhou, Y. Intelligent Demand Response for Industrial Energy Management Considering Thermostatically Controlled Loads and EVs. IEEE Trans. Ind. Inform. 2019, 15, 3432–3442. [Google Scholar] [CrossRef] [Green Version]
  28. 2016 Smart Travel Big Data Report. First Financial Business Data Center. Available online: https://www.sohu.com/a/124669865_476918 (accessed on 12 January 2022).
  29. Taylor, M.J.; Alexander, A. Evaluation of the Impact of Plug-in Electric Vehicle Loading on Distribution System Operations. In Proceedings of the IEEE Power & Energy Society General Meeting, Calgary, AB, Canada, 26–30 July 2009. [Google Scholar]
  30. Wang, F.; Zhou, L.D.; Ren, H.; Liu, X.L. Multi-Objective Optimization Model of Source–Load–Storage Synergetic Dispatch for a Building Energy Management System Based on TOU Price Demand Response. IEEE Trans. Ind. Appl. 2018, 54, 1017–1028. [Google Scholar] [CrossRef]
  31. Bonomolo, M.; Zizzo, G.; Ferrari, S.; Beccali, M.; Guarino, S. Empirical BAC Factors Method Application to Two Real Case Studies in South Italy. Energy 2021, 236, 121498. [Google Scholar] [CrossRef]
  32. Beccali, M.; Bellia, L.; Fragliasso, F.; Bonomolo, M.; Spada, G. Assessing the Lighting Systems Flexibility for Reducing and Managing the Power Peaks in Smart Grids. Appl. Energy 2021, 268, 114924. [Google Scholar] [CrossRef]
  33. Beijing Lighting Society Lighting Design Committee. Lighting Design Manual; China Electric Power Press: Beijing, China, 2006; pp. 188–223. [Google Scholar]
  34. Fang, X.C.; Guo, H.Y.; Zhang, X.; Wang, X.Y.; Chen, Q.X. An Efficient and Incentive-Compatible Market Design for Energy Storage Participation. Appl. Energy 2022, 311, 118731. [Google Scholar] [CrossRef]
Figure 1. Energy management optimization theoretical framework based on the hybrid simulation of the electricity market bidding.
Figure 1. Energy management optimization theoretical framework based on the hybrid simulation of the electricity market bidding.
Energies 15 04207 g001
Figure 2. System-flow-diagram interface based on SDS built in AnyLogic software.
Figure 2. System-flow-diagram interface based on SDS built in AnyLogic software.
Energies 15 04207 g002
Figure 3. Probability density distribution of (a) arrival and (b) departure times of EVs.
Figure 3. Probability density distribution of (a) arrival and (b) departure times of EVs.
Energies 15 04207 g003
Figure 4. Natural gas and electricity purchased/sold results: (a) before optimization; (b) after optimization.
Figure 4. Natural gas and electricity purchased/sold results: (a) before optimization; (b) after optimization.
Energies 15 04207 g004
Figure 5. Electric power optimization results: (a) before optimization; (b) after optimization.
Figure 5. Electric power optimization results: (a) before optimization; (b) after optimization.
Energies 15 04207 g005
Figure 6. The results of the indoor lighting index and visual comfort of the commercial office building.
Figure 6. The results of the indoor lighting index and visual comfort of the commercial office building.
Energies 15 04207 g006
Figure 7. Power consumption in summer for commercial users.
Figure 7. Power consumption in summer for commercial users.
Energies 15 04207 g007
Figure 8. Comparison before and after interaction between the commercial building and electricity market in summer.
Figure 8. Comparison before and after interaction between the commercial building and electricity market in summer.
Energies 15 04207 g008
Figure 9. Power consumption in winter for commercial users.
Figure 9. Power consumption in winter for commercial users.
Energies 15 04207 g009
Figure 10. Comparison before and after interaction between the commercial building and electricity market in winter.
Figure 10. Comparison before and after interaction between the commercial building and electricity market in winter.
Energies 15 04207 g010
Table 1. Main indicators in SDS of the electricity market.
Table 1. Main indicators in SDS of the electricity market.
IndicatorSubsystemMeaning
declared electricity generation (SRE)production subsystemelectricity declared by the power plant before bidding
profit margin (LP)production subsystemthe profit margin of power generation, that is, the relative value of the profit of the power plant (LP/LCOE-1)
generation cost (LCOE)production subsystemadditional cost per unit of electricity
declared quantity of electricity purchased (DRE)transmission subsystempredicted electricity demand published by ISO before the bidding, and its value is equal to the load
clearing price (MCP)transaction subsystemmarket clearing price, that is, the final clearing price after clearing
declared supply–demand ratio (SDR)transaction subsystemthe ratio of SRE to DRE reflects the commodity supply and demand in the electricity market
declared electricity concentration (HHI)supervision subsystemthe sum of the squares of the market shares of each power plant reflects whether the market is fully competitive
capacity retention ratio (RP)production subsystemreflects the power plant’s control over power consumption, and the value is (1-SRE/actual power generation)
Table 2. Parameter settings in the SDS model.
Table 2. Parameter settings in the SDS model.
ParameterValueParameterValueParameterValue
a, e0.0002c, g, j0.001i0.01
b, f4d, h0
Table 3. Parameters of each power plant.
Table 3. Parameters of each power plant.
AgentAgent 1Agent 2Agent 3Agent 4
Highest quotation (CNY/kWh)1.041.011.011.01
Lowest quotation (CNY/kWh)0.980.990.080.08
Median quotation (CNY/kWh)1.011.000.970.97
Generation cost (CNY/kWh)(0.3, 0.4, 0.5)(0.5, 0.7, 0.9)(0.5, 0.7, 0.9)(0.5, 0.7, 0.9)
Power interval (103 kW)(20, 40, 60, 80)(70, 90, 110, 130)(50, 70, 90, 110)(50, 70, 90, 110)
Table 4. Twenty-four-hour electricity demand.
Table 4. Twenty-four-hour electricity demand.
Time/hDemand/MWhTime/hDemand/MWhTime/hDemand/MWhTime/hDemand/MWh
1607801314019120
2608901412020140
36091001512021140
460101201611022120
56011140171102360
66012150181102460
Table 5. Twenty-four-hour electricity price (CNY/kWh).
Table 5. Twenty-four-hour electricity price (CNY/kWh).
Time/hPriceTime/hPriceTime/hPriceTime/hPrice
10.4470.44131.15190.99
20.4480.71140.71201.15
30.4490.99150.71211.15
40.44100.99160.71220.99
50.44111.15170.71230.99
60.44121.15180.71240.44
Table 6. Cooling and heating electrical equipment parameters.
Table 6. Cooling and heating electrical equipment parameters.
η m t 0.3 η e e s c h 0.95 η h e s c h 0.9 η r e 0.75
η g b 0.73 η e e s d i s 0.95 η h e s d i s 0.9 η h x 0.9
P e c r a t e d (kW)300 E e e s min (kWh)40 P m t r a t e d (kW)500 Q g b r a t e d (kW)500
Q h a c r a t e d (kW)500 E e e s max (kWh)480 P e e s c h max (kW)40 P h e s d i s max (kW)100
Q m t r a t e d (kW)800 C O P e c 4 P e e s d i s max (kW)40 E h e s min (kWh)100
Q h x r a t e d (kW)300 C O P a c 0.7 P h e s c h max (kW)100 E h e s max (kWh)450
Table 7. Parameters of EV charging and discharging.
Table 7. Parameters of EV charging and discharging.
N e 200 C b (kWh)24 P c h max / P d i s max (kW)3.3 S O C e s e t 0.9
η c h 0.95 η d i s 0.95 S O C e d o w n 0.2 S O C e u p 1
Table 8. Lighting equipment parameters.
Table 8. Lighting equipment parameters.
N500 η s 180 U / K 0.8 E a v s e t 500
S 100 n 10 E a v min 480 E a v max 520
Table 9. Cost of electricity consumption for each equipment in the commercial office building (unit: yuan).
Table 9. Cost of electricity consumption for each equipment in the commercial office building (unit: yuan).
OptimizationElectrical LoadElectric RefrigeratorEVsLLsElectricity PurchaseElectricity SalesNatural GasTotal Cost
before7472.83753.8405168757888-1235.49123.4
after7472.82615.62700.968313706.7582.73674.16798
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, J.; Wu, J.; Shi, Y. A Novel Energy Management Optimization Method for Commercial Users Based on Hybrid Simulation of Electricity Market Bidding. Energies 2022, 15, 4207. https://doi.org/10.3390/en15124207

AMA Style

Wang J, Wu J, Shi Y. A Novel Energy Management Optimization Method for Commercial Users Based on Hybrid Simulation of Electricity Market Bidding. Energies. 2022; 15(12):4207. https://doi.org/10.3390/en15124207

Chicago/Turabian Style

Wang, Jidong, Jiahui Wu, and Yingchen Shi. 2022. "A Novel Energy Management Optimization Method for Commercial Users Based on Hybrid Simulation of Electricity Market Bidding" Energies 15, no. 12: 4207. https://doi.org/10.3390/en15124207

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