Professional Documents
Culture Documents
3, JULY 2022
Abstract— This paper presents a dynamic pricing mecha- As a community-scale microgrid, industrial park is usually
nism in the industrial park with demand response programs. integrated with self-schedule units, energy intensive enter-
A Lagrangian relaxation based dynamic pricing model for prises, large commercial buildings and renewable distributed
electricity and thermal coupled industrial park is formulated,
taking into account energy balance, feeder exchange and other generators for climate friendly requirement [4], all of which
systems operating constraints. Considering two-markets clear- should be managed by the operator of industrial park, who
ing mechanism and two types of demand response programs, needs to match the energy supply and demand in the park
a dynamic prices prediction model is proposed by long short- and enable end-use customers to enjoy low-cost energy prices.
term memory (LSTM) technique. Based on the prediction model, Local system cost or price should be calculated and published
we proposed a real-time prices spike detection model for indus-
trial park, which can detect prices spike hourly by history in real-time. Furthermore, the coupled electricity and thermal
data and give rolling prices spike warning for next short-term demand also improves the difficulty of system operation.
operating horizon. Simulation experiments validate the theoretic Recently, the market structure and trading mechanism of
results and show the effectiveness of the dynamic prices spike local energy system similar to the industrial park has been
detection model. getting more and more attention. Renani et al proposed a
Note to Practitioners—This paper focuses on the dynamic framework for the day-ahead transactive market in distribu-
pricing mechanism and prices spike detection for the customers tion energy system, in which the independent system oper-
in the industrial park. We improve the pricing model based ator (ISO) is responsible for the secure operation of bulk
on the Lagrangian relaxation method and develop a dynamic power systems by interacting with large GenCos and loads
prices prediction model to handle the uncertainty in real-time. as well as individual system operators that would link retail
Furthermore, we develop a prices spike detection mechanism,
which can achieve rolling detect whether the electricity and customers to bulk power systems at the wholesale market
thermal prices may exceeded the threshold in the next short-term level [5]. Lezama et al evaluated a fully integrated transac-
operating horizon. This technique can give the customers a prices tive system for local energy market by, first, modeling the
spike early warning service and let them to reschedule their own energy resource management problem of a microgrid under
strategy to minimize their operation cost with respect to the uncertainty considering flexible loads and market participation,
uncertainties in the energy price. Experimental results show that
the proposed prices spike detection mechanism can issue spike second, modeling a wholesale market and a local market,
warnings correctly in most supply-demand mismatching cases. and, third, coupling these elements into an integrated trans-
active energy simulation [6]. Nizami et al proposed a nested
Index Terms— Industrial park, dynamic pricing, demand
response, Lagrangian relaxation, LSTM. transactive energy market methodology, based on the two-
stage optimization-based scheduling model, for the effective
I. I NTRODUCTION utilization of demand-side flexibility of small-scale residential
consumers [7].
C URRENTLY, microgrid technology is considered as
one of the key methods for improving the reliability,
flexibility and resilience of distributed power grid [1]–[3].
In addition, the setting of pricing mechanism is considered
as an important means to improve energy utilization efficiency
and play flexibility characteristics of the industry park. Taking
Manuscript received 10 June 2021; revised 22 September 2021; accepted marginal cost, refers to the increased cost of the system by
14 December 2021. Date of publication 18 January 2022; date of current
version 5 July 2022. This article was recommended for publication by increasing one unit power supply, as spot price has good
Associate Editor Q.-S. Jia and Editor M. Dotoli upon evaluation of the economic signal function, reflects the real cost of power
reviewers’ comments. This work was supported in part by the National Natural
Science Foundation of China under Grant 61773308, Grant 61803297, and
production, is conducive to the economic benefits of power
Grant 62122062; and in part by the National Key Research and Development system, and is widely used in power market [8], [9]. And
Program of China under Grant 2016YFB0901900. (Corresponding author: the real-time pricing (RTP) based on marginal cost can be
Zhanbo Xu.) priced according to the actual energy consumption of the
The authors are with the MoE Klinns Laboratory and the Systems Engi-
neering Institute, Xi’an Jiaotong University, Xi’an 710049, China (e-mail: energy system, which has great advantages compared with the
zbxu@sei.xjtu.edu.cn). traditional pricing method [10]–[15].
Color versions of one or more figures in this article are available at There have been some studies on the dynamic pricing of
https://doi.org/10.1109/TASE.2021.3139825.
Digital Object Identifier 10.1109/TASE.2021.3139825 smart grids. For example, dynamic pricing problem of the
1545-5955 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See https://www.ieee.org/publications/rights/index.html for more information.
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
WU et al.: DYNAMIC PRICING AND PRICES SPIKE DETECTION FOR INDUSTRIAL PARK 1327
social welfare maximization of the smart grid system with [31], which can utilize the interdependence between different
multiple residences and a single service provider was consid- internetworks in load forecasting.
ered in [16]. Qian et al developed a dynamic pricing algorithm Artificial intelligence methods: Xu et al used neural net-
based on simulated annealing for non-cooperative customers’ work to learn user’s demand response [32]. Considering the
smart grid systems [17]. In a similar context, Chen et al situation where the user’s demand response is unknown, long
modeled the dynamic pricing problem as a Stackelberg game, and short term memory neural network is used to learn the
in which the service provider decided the retail price, and each users’ demand response, and reinforcement learning is used
selfish customer decides his plan for home appliances based to determine the final prices [33]. Remani studied a price
on the price [18]. Joe-Wong et al developed an incentive-based disaster recovery scheme for smart housing and proposed
dynamic pricing scheme, which allowed service providers to residents’ load scheduling and distribution scheme on the basis
determine the incentives for customers who shift their appli- of considering residents’ preference for renewable energy such
ance usage from peak hours to off-peak hours [19]. In recent as photovoltaic (PV) [34]. In order to deal with the uncertainty
years, the game theory method of studying dynamic pricing brought by renewable energy, reinforcement learning is intro-
problems has been extended to many types of games, such as duced to solve the uncertain decision problem. Khezeli and
multi-stage games in timetable systems [20], auction games Bitar proposed an online learning method that used a linear
between service providers and customers, and the company’s demand function to simulate the customers response at a given
two-level game [21]. price and continuously learned the parameters of the demand
Demand response (DR) has been widely used in integrated function [35].
energy systems as an important scheduling method. DR can In addition, some scholars have also studied the detect-
be defined as the behavior that the user’s normal consumption ing and decision-making problems of power systems with
pattern changes when the electricity price changes [22]. There unconventional power generation and load. For example,
are two main ways for end-use customers to respond by Zhou et al established a new data-driven event detection
changing energy cost or energy use behavior. The first is method, namely hidden-structure semi-supervised-machine
that customers reduce electricity consumption during peak (HS3M) [36].
energy prices without affecting energy use behavior in other In our previous work, we proposed an individualized energy
periods [23], [24]. The result of this demand response is that pricing strategy in an industry park [37]. For the indus-
end-use customers reduce their energy consumption comfort try park, the energy demand side usually includes some
on a certain level. The second type of user’s response to high factories, which consume electrical and thermal energy in
electricity prices is load shifting, that is, end-use customers production processes at the same time, such as printing
transfer their energy demand during peak electricity price to and dyeing factory, tire factory. In supply side, otherwise-
non-peak hours [25], [26]. wasted heat from electricity generation is put to some pro-
Dynamic pricing considering demand response is a popular ductive use [38]. Therefore, the electricity and thermal sup-
research direction, there are many researchers attempting to ply and demand in the park is coupled. By analyzing the
predict the demand response of end-use customers at a specific marginal cost of energy supply, the individualized time-
price to establish an appropriate energy price. According to its of-use electricity and thermal coupled prices in the park
predict methods of demand response, it can be mainly divided were formulated.
into traditional methods and artificial intelligence methods. This paper focuses on the real-time dynamic prices pre-
Traditional methods: Byung-Gook Kim et al studied a diction in industrial park with coupled demand, and proposes
dynamic pricing and energy consumption scheduling problem Lagrangian relaxation based pricing mechanism and demand
in the microgrid and proposed an estimator that uses the response program. In order to overcome the uncertainty
history of the price and the total consumption to estimate brought by dynamic pricing, this paper establishes a dynamic
the arrival and demand rates [27]. The price elasticity of prices prediction model based on long-short-term-memory
demand is used in [28] to analyze the change of electricity neural network, which can fit the process of demand response
consumption with electricity price, starting from the price and CHP pricing to give the predicted value of future dynamic
demand response model of internal users, aiming to shift the pricing in the next few hours. In order to better simulate the
peak of the load. Li et al studied the demand response problem actual situation of the park, the demand response model of the
of power companies in the real situation of uncertainty and park is established, and the dynamic pricing simulation model
limited communication, and used linear regression to estimate of the park is established to generate relevant data. Then, the
the overall response of consumers [29]. Bahrami et al studied training and verification of dynamic prices prediction model
the long-term load scheduling problem, then modeled the are realized. Finally, a prices spike detection and early warning
change of price information and load demand as a Markov method is established.
decision process, and characterized the interaction between Focuses on the dynamic pricing of industrial park, our three
users as a partially observable random game. Finally, Markov key contributions are as follows:
perfect equilibrium (MPE) of the completely observable ran- 1) We proposed a Lagrangian relaxation based dynamic
dom game with inexhaustible information approximated the pricing mechanism for electricity and thermal coupled indus-
users’ optimal scheduling strategy [30]. Gilanifar et al studied trial park.
the problem of power load prediction of smart city and 2) We proposed a dynamic pricing prediction model based
proposed a Bayesian spatiotemporal Gaussian process model on LSTM. It can fit the process of demand response and CHP
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
1328 IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, VOL. 19, NO. 3, JULY 2022
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
WU et al.: DYNAMIC PRICING AND PRICES SPIKE DETECTION FOR INDUSTRIAL PARK 1329
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
1330 IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, VOL. 19, NO. 3, JULY 2022
and real-time local energy prices. They can get the updated
local prices but cannot influence wholesale market prices in
real time.
The uncertainty of end-use customers’ demand and PV
power generation may cause the dynamic pricing results in the
real-time market to deviate from the day-ahead pricing esti-
mates. Excessive electricity and thermal price will bring cost
loss to end-use customers. To solve this problem, we propose
a dynamic prices prediction model and a prices spike detection
method to detect whether extreme pricing is likely to occur in
the next few hours. If so, a spike warning of prices will issue
to end-use customers.
III. DYNAMIC P RICES P REDICTION M ODEL
A. Problem Formulation
According to the description in sectionII-C, we know that
dynamic pricing has certain uncertainty, but the estimated
value of the electricity and thermal load and prices are known,
assuming that the PV power generation is known, how can we
use these three values to get the dynamic pricing results? In
this section, a dynamic prices prediction model is established
to solve this problem. Fig. 3. Dynamic prices prediction model based on LSTM.
According to the previous description, the actual load is
different from the day-ahead load estimate due to the end- the training data set and testing data set of the above dynamic
use customers’ demand response, and the dynamic prices are prices prediction model.
therefore different from the day-ahead prices. Therefore, there In the following two sections, we will solve the above two
are two main steps to use the day-ahead load to estimate the problems respectively.
actual dynamic prices of the next day:
Step 1: End-use customers change their demand based on
the previous price estimate and the real-time electricity and B. Dynamic Prices Prediction Model Based on LSTM
thermal load can be obtained. In sectionII-C, we set up a electricity and thermal coupled
Step 2: The energy supply side will formulate dynamic dynamic pricing model, in this section we will establish a
prices based on real-time electricity and thermal load and PV dynamic prices prediction model. Given the day-ahead pricing
power generation value. estimation and PV power generation forecast, we will get the
According to this description, if a model can simultaneously approximate value of real-time dynamic prices. This model
fit the demand response and CHP pricing process, then it will is based on the data-driven neural network model, which can
be possible to fit the dynamic pricing result based on the apply for other heuristic pricing methods so long as the pricing
day-ahead pricing estimation, day-ahead load estimation, and method can calculate the day-ahead price as the input of the
PV power generation. model.
LSTM stands for long-short-term-memory neural network, We designed a neural network based on LSTM to fit the
which has good effects on fitting and predicting with time mapping relationship which is shown in (11), and the structure
series data, and its superiority has been widely recog- of the network is shown in Fig. 3.
nized [44]. It needs to be emphasized that the energy supply
f : (ρ De A , ρ Dh A , Pt,in
PV
) → (ρ eRT , ρ hRT ) (11)
side does not know the specific situation of the user demand
response. Since the demand response on the demand side is The input of the neural network is day-ahead energy prices
a time-related process, the demand response results at each and PV power generation data at τ times, which form an input
moment are related to the current price and the load of other matrix after normalization and is input into LSTM block step
moments, so if you want to use day-ahead pricing estimation by step. Batch normalization in the vertical direction is used
and day-ahead load estimation to fit the demand response to normalize the output of LSTM block, which can speed
process, LSTM is a good choice. Therefore, this section will up the parameter convergence [45]. The second LSTM layer
establish a dynamic prices prediction model based on LSTM. outputs its hidden state vector h, which is connected to a fully
In order to establish a dynamic prices prediction model connected network with two layers to be further processed.
based on LSTM, we mainly face the following two problems. The final output of network is the predicted real-time dynamic
1) How to design the structure of the neural network to get energy prices.
a good fitting effect on dynamic pricing while reducing the The loss function is the mean square error of the predicted
amount of calculation as much as possible. value and the true value, and the Adam optimizer is used for
2) How to design a strategy pool to simulate the actual error back propagation.
dynamic pricing process of the industrial park, and generate The training process of the model is as follows:
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
WU et al.: DYNAMIC PRICING AND PRICES SPIKE DETECTION FOR INDUSTRIAL PARK 1331
Step 1: Get ρ Dh A , ρ De A and PDPAV and ρ hRT , ρ eRT from the Flexible load includes two types: shiftable load and
training set. deferrable load. A single user may have several segments of
Step 2: ρ De A , ρ Dh A and PDPAV are taken as the inputs of the flexible load or have no flexible load.
dynamic prices prediction model, and then the output ρ eRT , Deferrable load is generally load such as electricity for
ρ hRT is compared with the real prices ρ eRT , ρ hRT , and the error factory production, electric car charging, and electricity for
is back-propagated. residents’ washing. Such load has a certain degree of flexibility
Step 3: Update neural network weights. and only needs to be completed within a specific period of
Step 4: Determine whether the loss value has dropped to a time.
specified threshold; if not, return the first step. The shiftable load is generally a certain production process
Our dynamic prices prediction model uses an embedding or a certain continuous electricity and thermal behavior. Once
mechanism for mapping the day-ahead energy prices to this type of load starts, it must continue with a specific power
real-time energy prices and adds the LSTM layer to capture curve until the end of the load task. However, the start time of
the interactions that shape the system’s aggregated long-term the task can be delayed or advanced, as long as all procedures
behavior of demand response. During the off-line (training) are completed within a certain period of time.
phase, the LSTM model enables the consistency between After receiving the day-ahead price information, the end-use
prior pricing and posterior pricing. Therefore, during the on- customers adjust the flexible load in order to obtain more eco-
line (test) phase, we only need the learned temporal demand nomic benefits. Based on the energy consumption constraints,
response behavior to support prices spike detection. end-use customers will arrange the shiftable load to the time
The temporal demand response behavior and strategy pool of the low price, while the deferrable load will be advanced or
generation models are formulated in the next section. delayed. In this way, end-use customers complete the demand
response to the day-ahead price to obtain the lowest power
C. Strategy Pool Generation cost.
The main purpose of this section is to generate the data Consider that end-use customers in the industrial park have
for the training and testing of the dynamic prices prediction three types of load: base load, deferrable load, and shiftable
model. It mainly consists of two steps: The first step is load. End-use customers in the park do not necessarily have
to design the overall simulation model and determine the these three types of load at the same time. Most of them only
relationship between the input and output. The second step have 2-3 types of load. In addition, a user may have multiple
is to design the demand response model of the industrial park periods of time to deferrable or shiftable load. Suppose there
based on the pricing mechanism. The rest, such as the CHP are K end-use customers in the industrial park, considering
pricing model, have been described in section II-C and will that their power consumption characteristics are different,
not be repeated in this section. so each user has specific three types of load constraints.
1) Simulation Model: Each piece of data in the training set 3) Mathematical Model of Demand Response: Taking the
and test set is generated according to the following steps: lowest total energy cost of end-use customers as the objective
Step 1: Giving the value of D eD A and D hD A ; function, we establish a price-based demand response mathe-
Step 2: Determine the predicted value of PV power gener- matical model for the park as follows:
ation PDPAV based on historical PV data of the industrial park; 1) Objective function
Step 3: Use CHP pricing model to calculate the value of
ρ De A and ρ Dh A ; min ρe,t Pk,t + ρh,t Hk,t (12)
Step 4: Solve the demand response model based on the t k
above information and get the real-time load D eRT and D hRT In the above formula, ρe,t is the incentive electricity price of
of the next day; time t, Pk,t is electricity load of user k at time t after demand
Step 5: Use the CHP pricing model again to get real- response. ρh,t is the incentive thermal price of time t, Hk,t is
time dynamic pricing ρ eRT and ρ eRT ; thermal load of user k at time t after demand response.
Step 6: Add ρ De A , ρ Dh A , PDPAV , ρ eRT , ρ hRT to data set. 2) constraints:
Day-ahead energy prices are the estimate of the real-time (1) electricity load balance constraint:
prices, which will help end-use customers schedule their next
day load to reduce energy costs. Demand response is one of Pk,t = Pk,t,s + Pt,k,m + Pt,k,d (13)
the key steps of the above simulation model, to establish the
(2) Thermal load balance constraint:
mathematical model of demand response, the next section will
classify the load of industrial parks. Hk,t = Hk,t,s + Ht,k,m + Ht,k,d (14)
2) Load Classification: For end-use customers in the indus-
trial park, the load can be roughly divided into three categories: In the above formula, Pk,t,s and Hk,t,s are the base electricity
base load, shiftable load, and deferrable load. and thermal load of user k at time t, Pk,t,m and Hk,t,m are
Base load is a fixed load for end-use customers to maintain deferrable electricity and thermal load of user k at time t,
daily operation. This type of load mainly includes basic Pk,t,d and Hk,t,d are shiftable electricity and thermal load of
lighting, refrigeration equipment, heating equipment and other user k at time t.
basic operation of the energy required. End-use customers The above two formulas indicate that before and after the
generally have base load. demand response, the total sub-load on the demand side at
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
1332 IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, VOL. 19, NO. 3, JULY 2022
each moment should be equal to the sum of the base load, the (6) Suppose user k has Q shiftable thermal load, the interval
deferrable load, and the shiftable load at that moment. of the initial moment of the shiftable thermal load of the q
1 Deferrable load constraints: segment is [χk,q , δk,q ], interval length is Nk,q . The thermal load
(3) Suppose user k has I deferrable electricity load, at the nth hour in the shiftable load is Hk,q,n , Ht,k,q represents
the deferrable electricity load interval of the i segment is the shiftable thermal load of user k’s qth segment thermal load
[αk,i , βk,i ], The total amount of deferrable electricity load is at time t, Ht,k,d represents the total shiftable thermal load of
E k,i , then the end-use customers’ electricity load satisfies the user k at time t. Bk,q,t is a binary variable which represents
following constraints: whether user k exists qth shiftable thermal load at time t, 1 if
βk,i
it exists, 0 otherwise. Then the shiftable thermal load satisfies
the following constraints:
E k,i = Pt,k,m (15)
t+Nk,q −1
t=αk,i
Pt,k,min Pt,k,m − Pt,k,M Pt,k,max (16) (Bk,q,t − Bk,q,t−1 )Nk,q Bk,q,T ,
T =t
Pt,k,M is deferrable electricity load of user k at time t before when 1 t 24 − Nk,q (24)
demand response, Pt,k,max and Pt,k,min are the maximum and
t
minimum changes of the deferrable electricity load of the user Ht,k,q = Hk,q,r , r = Bk,q,T (25)
k at the time t relative to the corresponding time before the T =1
demand response.
N
(4) Suppose user k has J deferrable thermal load, the Ht,k,d = Ht,k,q (26)
deferrable thermal load interval of the j segment is [αk, j , βk, j ], q=1
The total amount of deferrable thermal load is Tk, j , then the Bk,q,t = 0, t < χk,q (27)
user’s electricity load satisfies the following constraints: δk,q
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
WU et al.: DYNAMIC PRICING AND PRICES SPIKE DETECTION FOR INDUSTRIAL PARK 1333
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
1334 IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, VOL. 19, NO. 3, JULY 2022
Fig. 6. The distribution of the three types of load and the changes of the
total load after demand response.
the historical load, and the day-ahead PV power generation
is the predicted value for the next day. Therefore, day-ahead
TABLE II
data cannot represent the real-time energy consumption and
T HRESHOLD FOR E LECTRICITY AND T HERMAL P RICES
PV power generation of the industrial park on the next day.
Then the pricing results by using day-ahead data and real-
time data are shown in Fig. 5. It can be seen from Fig. 5
that the time period with the largest difference in electricity
prices between the two pricing mechanisms is 7:00-10:00 and price, while the previous section did not consider the impact of
the time period with the largest difference in thermal prices demand response. This chapter discusses the impact of demand
is 2:00-12:00. This is because the day-ahead load is quite response on user load and dynamic pricing, then verifies the
different from the corresponding real-time load. Note that effectiveness of the designed dynamic prices prediction model.
in time period 0:00-6:00, 11:00-15:00 and 20:00-23:00, the Fig. 6 shows the distribution of the three types of load and
results of the two pricing mechanisms are basically equal to the changes in the total load after the demand response. It can
the grid electricity price at the corresponding time. This is be seen from Fig. 6 that in a day’s electricity load, the base
because during this period, the cost of electricity supply from load accounts for the largest proportion. The deferrable load
the grid is lower than the cost of energy supplied by the CHP accounts for the second place, and the shiftable load accounts
unit. Therefore, the park preferentially obtains electricity from for the smallest proportion. Since the base load cannot be
the grid. So the marginal cost of electricity supply is almost changed, the deferrable load has the greatest impact on the
equal to the grid price. In addition, grid electricity prices total load. Therefore, the deferrable load has the greatest
are at their peaks in other periods, and the energy supply impact on the real-time price, and the shiftable load has a
cost of cogeneration units is lower than grid power supply, smaller impact on the real-time price.
so the marginal cost during this period is lower than the grid According to Fig. 7, there is a big difference between
electricity price. day-ahead price and real-time price in some periods. The
From the above analysis, it can be seen that due to the designed dynamic prices prediction model has a good fitting
difference between day-ahead and real-time electricity and effect on real-time price. It is not only the same as the real-time
thermal load, as well as day-ahead PV power generation is change trend but also achieves better fitting accuracy.
not completely consistent with real-time PV power generation,
there have been major differences in some periods between C. Prices Spike Detection
the day-ahead and real-time pricing results. Therefore, the In this section, we use the data generated by the strategy
day-ahead CHP pricing mechanism cannot set a price that pool to train the dynamic electricity and thermal price fitting
matches the real-time load and PV power generation, which model we proposed in section III-B, and then use the trained
shows the superiority of the dynamic pricing model. model for rolling spike detection and warning. The spike
warning effects of the designed dynamic pricing spike warning
B. LSTM-Based Real-Time Price Prediction model in the morning, noon and evening are shown in the
With Demand Response following figures.
In section V-A, we discussed the difference between The threshold we set for electricity and thermal prices are
day-ahead and real-time energy load. Then we compared the shown in TABLE II. In addition, we set the probability of
results of the two pricing mechanisms. However, according to demand response to 90%.
the trading scenario designed in Chapter III, end-use customers Fig. 8 and Fig. 9 are the spike warning results of
will make demand respond based on the day-ahead energy the dynamic prices spike detection model for electricity at
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
WU et al.: DYNAMIC PRICING AND PRICES SPIKE DETECTION FOR INDUSTRIAL PARK 1335
Fig. 7. The pricing results of the two pricing mechanisms and the fitting Fig. 10. Thermal prices spike detection result at time 5:00.
results of the dynamic prices prediction model.
Fig. 8. Electricity prices spike detection result at time 5:00. Fig. 11. Thermal prices spike detection result at time 12:00.
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
1336 IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, VOL. 19, NO. 3, JULY 2022
In addition, we used 30-day test data to verify the prices [13] S.-J. Kim and G. B. Giannakis, “Scalable and robust demand response
spike detection model, which lasted for 600 hours. Among with mixed-integer constraints,” IEEE Trans. Smart Grid, vol. 4, no. 4,
pp. 2089–2099, Dec. 2013.
them, the correct number of spike detection of electricity price [14] Y. Zhang and M. van der Schaar, “Structure-aware stochastic storage
was 557, and the correct rate was 92.83%. The correct number management in smart grids,” IEEE J. Sel. Topics Signal Process., vol. 8,
of spike detection of thermal valence is 482, and the correct no. 6, pp. 1098–1110, Dec. 2014.
[15] Z. Wen, D. O’Neill, and H. Maei, “Optimal demand response using
rate is 80.33%. device-based reinforcement learning,” IEEE Trans. Smart Grid, vol. 6,
The above simulation experiment verifies that the dynamic no. 5, pp. 2312–2324, Sep. 2015.
pricing prediction model we proposed can predict the elec- [16] P. Tarasak, “Optimal real-time pricing under load uncertainty based on
tricity and thermal prices in the next four hours with high utility maximization for smart grid,” in Proc. IEEE Int. Conf. Smart
Grid Commun. (SmartGridComm), Oct. 2011, pp. 321–326.
accuracy, and the spike detection model we designed can [17] L. P. Qian, Y. J. A. Zhang, J. W. Huang, and Y. Wu, “Demand response
correctly detect the price spike in the next four hours and issue management via real-time electricity price control in smart grids,” IEEE
spike warnings in most supply-demand mismatching cases at J. Sel. Areas Commun., vol. 31, no. 7, pp. 1268–1280, Jul. 2013.
[18] C. Chen, S. Kishore, and L. V. Snyder, “An innovative RTP-based
the right time. residential power scheduling scheme for smart grids,” in Proc. IEEE
Int. Conf. Acoust., Speech Signal Process. (ICASSP), May 2011,
pp. 5956–5959.
VI. C ONCLUSION
[19] C. Joe-Wong, S. Sen, S. Ha, and M. Chiang, “Optimized day-ahead
In this work, an electricity and thermal coupling pricing pricing for smart grids with device-specific scheduling flexibility,” IEEE
mechanism for industrial parks based on Lagrange relaxation J. Sel. Areas Commun., vol. 30, no. 6, pp. 1075–1085, Jul. 2012.
[20] P. Yang, G. Tang, and A. Nehorai, “A game-theoretic approach for opti-
is proposed. It can output the pricing results that match the mal time-of-use electricity pricing,” IEEE Trans. Power Syst., vol. 28,
actual energy load and PV power generation in the industrial no. 2, pp. 884–892, May 2013.
park. On this basis, considering demand response behavior [21] B. Chai, J. Chen, Z. Yang, and Y. Zhang, “Demand response manage-
ment with multiple utility companies: A two-level game approach,” IEEE
of end-use customers and the uncertainty of PV power gen- Trans. Smart Grid, vol. 5, no. 2, pp. 722–731, Mar. 2014.
eration in the actual scenario, we propose a dynamic prices [22] M. H. Albadi and E. F. El-Saadany, “A summary of demand response
prediction model based on LSTM. Then we design a prices in electricity markets,” Electr. Power Syst. Res., vol. 78, no. 11,
pp. 1989–1996, 2008.
spike detection model, which can take advantage of the day-
[23] K. Herter, P. McAuliffe, and A. Rosenfeld, “An exploratory analysis
ahead data, predicting the next short-term operating horizon of of California residential customer response to critical peak pricing of
real-time dynamic prices. The numerical testing results verify electricity,” Energy, vol. 32, no. 1, pp. 25–34, Jan. 2007.
the effectiveness of the designed prices spike detection model. [24] M. A. Piette, O. Sezgen, D. S. Watson, N. Motegi, C. Shockman, and
L. Ten Hope, “Development and evaluation of fully automated demand
response in large facilities,” Lawrence Berkeley Nat. Lab., Berkeley, CA,
R EFERENCES USA, Tech. Rep. LBNL-55085, 2004.
[25] S. Valero, M. Ortiz, C. Senabre, C. Alvarez, F. Franco, and A. Gabaldon,
[1] R. H. Lasseter, “Smart distribution: Coupled microgrids,” Proc. IEEE, “Methods for customer and demand response policies selection in new
vol. 99, no. 6, pp. 1074–1082, Jun. 2011. electricity markets,” IET Gener., Transmiss. Distrib., vol. 1, no. 1,
[2] J. Wu and X. Guan, “Coordinated multi-microgrids optimal control pp. 104–110, 2007.
algorithm for smart distribution management system,” IEEE Trans. [26] O. Sezgen, C. A. Goldman, and P. Krishnarao, “Option value of
Smart Grid, vol. 4, no. 4, pp. 2174–2181, Dec. 2013. electricity demand response,” Energy, vol. 32, no. 2, pp. 108–119,
[3] Z. Li, M. Shahidehpour, F. Aminifar, A. Alabdulwahab, and Y. Al-Turki, Feb. 2007.
“Networked microgrids for enhancing the power system resilience,” [27] B.-G. Kim, Y. Zhang, M. van der Schaar, and J.-W. Lee, “Dynamic
Proc. IEEE, vol. 105, no. 7, pp. 1289–1310, Jul. 2017. pricing and energy consumption scheduling with reinforcement learn-
[4] M. Qu, T. Ding, L. Huang, and X. Wu, “Toward a global green smart ing,” IEEE Trans. Smart Grid, vol. 7, no. 5, pp. 2187–2198, Sep. 2016.
microgrid: An industrial park in China,” IEEE Electrific. Mag., vol. 8, [28] C. Li, Z. Xu, and Z. Ma, “Optimal time-of-use electricity price model
no. 4, pp. 55–69, Dec. 2020. considering customer demand response,” in Proc. CSU-EPSA, vol. 27,
[5] Y. K. Renani, M. Ehsan, and M. Shahidehpour, “Optimal transactive 2015, pp. 11–16.
market operations with distribution system operators,” IEEE Trans.
[29] P. Li, H. Wang, and B. Zhang, “A distributed online pricing strategy for
Smart Grid, vol. 9, no. 6, pp. 6692–6701, Jun. 2017.
demand response programs,” IEEE Trans. Smart Grid, vol. 10, no. 1,
[6] F. Lezama, J. Soares, P. Hernandez-Leal, M. Kaisers, T. Pinto, and
pp. 350–360, Jan. 2019.
Z. Vale, “Local energy markets: Paving the path toward fully trans-
active energy systems,” IEEE Trans. Power Syst., vol. 34, no. 5, [30] S. Bahrami, V. W. S. Wong, and J. Huang, “An online learning algorithm
pp. 4081–4088, Sep. 2019. for demand response in smart grid,” IEEE Trans. Smart Grid, vol. 9,
[7] M. S. H. Nizami, M. J. Hossain, and K. Mahmud, “A nested transactive no. 5, pp. 4712–4725, Sep. 2018.
energy market model to trade demand-side flexibility of residential [31] M. Gilanifar, H. Wang, E. E. Ozguven, Y. Zhou, and R. Arghandeh,
consumers,” IEEE Trans. Smart Grid, vol. 12, no. 1, pp. 479–490, “Bayesian spatiotemporal Gaussian process for short-term load fore-
Jan. 2021. casting using combined transportation and electricity data,” ACM Trans.
[8] O. Moya, “Marginal cost of transmission system adequacy for spot Cyber-Phys. Syst., vol. 4, no. 1, pp. 1–25, 2019.
pricing,” Electr. Power Syst. Res., vol. 61, no. 2, pp. 89–92, Mar. 2002. [32] H. Xu, H. Sun, D. Nikovski, S. Kitamura, K. Mori, and H. Hashimoto,
[9] X. Cheng, Y. Zheng, Y. Lin, L. Chen, Y. Wang, and J. Qiu, “Hierarchical “Deep reinforcement learning for joint bidding and pricing of load
operation planning based on carbon-constrained locational marginal serving entity,” IEEE Trans. Smart Grid, vol. 10, no. 6, pp. 6366–6375,
price for integrated energy system,” Int. J. Electr. Power Energy Syst., Nov. 2019.
vol. 128, Jun. 2021, Art. no. 106714. [33] X. Kong, D. Kong, J. Yao, L. Bai, and J. Xiao, “Online pricing of
[10] A.-H. Mohsenian-Rad and A. Leon-Garcia, “Optimal residential load demand response based on long short-term memory and reinforcement
control with price prediction in real-time electricity pricing environ- learning,” Appl. Energy, vol. 271, Aug. 2020, Art. no. 114945.
ments,” IEEE Trans. Smart Grid, vol. 1, no. 2, pp. 120–133, Sep. 2010. [34] T. Remani, E. A. Jasmin, and T. P. I. Ahamed, “Residential load
[11] P. Yi, X. Dong, A. Iwayemi, C. Zhou, and S. Li, “Real-time opportunistic scheduling with renewable generation in the smart grid: A reinforcement
scheduling for residential demand response,” IEEE Trans. Smart Grid, learning approach,” IEEE Syst. J., vol. 13, no. 3, pp. 3283–3294,
vol. 4, no. 1, pp. 227–234, Mar. 2013. Sep. 2019.
[12] A. J. Conejo, J. M. Morales, and L. Baringo, “Real-time demand [35] K. Khezeli and E. Bitar, “Risk-sensitive learning and pricing for demand
response model,” IEEE Trans. Smart Grid, vol. 1, no. 3, pp. 236–242, response,” IEEE Trans. Smart Grid, vol. 9, no. 6, pp. 6000–6007,
Dec. 2010. May 2017.
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.
WU et al.: DYNAMIC PRICING AND PRICES SPIKE DETECTION FOR INDUSTRIAL PARK 1337
[36] Y. Zhou, R. Arghandeh, and C. J. Spanos, “Partial knowledge data- Zhanbo Xu (Member, IEEE) received the B.E.
driven event detection for power distribution networks,” IEEE Trans. degree in electrical engineering and automation from
Smart Grid, vol. 9, no. 5, pp. 5152–5162, Aug. 2018. the Harbin Institute of Technology, China, in 2008,
[37] L. Wu, Z. Xu, J. Wu, and M. Cao, “An individualized electricity and and the Ph.D. degree in control science and engineer-
thermal coupled pricing mechanism for industrial park,” in Proc. IEEE ing from Xi’an Jiaotong University, China, in 2015.
16th Int. Conf. Autom. Sci. Eng. (CASE), Aug. 2020, pp. 1337–1342. He was a Post-Doctoral Scholar with the Berkeley
[38] J. H. Horlock, “Combined heat and power,” Pergamon Books, Elmsford, Education Alliance for Research in Singapore
NY, USA, 1987. from 2015 to 2017. He is currently a Profes-
[39] A. Borghetti, G. Migliavacca, C. A. Nucci, and S. Spelta, “Black-start- sor with the Systems Engineering Institute, Xi’an
up simulation of a repowered thermoelectric unit,” Control Eng. Pract., Jiaotong University, Xi’an, China. His research inter-
vol. 9, no. 7, pp. 791–803, Jul. 2001. ests include networked energy systems, including
[40] R. Kühn, O. Koeppen, and J. Kitte, “Influence of an optimized thermo- smart power grid, energy internet, planning and scheduling of cyber-physical
electric generator on the back pressure of the subsequent exhaust gas energy systems, building energy management, and smart city.
system of a vehicle,” J. Electron. Mater., vol. 43, no. 6, pp. 1521–1526,
Jun. 2014.
[41] S. Boyd, S. P. Boyd, and L. Vandenberghe, Convex Optimization.
Cambridge, U.K.: Cambridge Univ. Press, 2004.
[42] S. Boyd, L. Xiao, and A. Mutapcic, “Subgradient methods,” Stanford
Univ., Lect. Notes EE392o, 2003, pp. 2004–2005, vol. 2004.
[43] M. H. Albadi and E. F. El-Saadany, “Demand response in electricity
markets: An overview,” in Proc. IEEE Power Eng. Soc. Gen. Meeting,
Xiaoyi Qiao received the bachelor’s degree from
Jun. 2007, pp. 1–5.
the School of Electrical Engineering, Xi’an Jiaotong
[44] F. A. Gers, J. Schmidhuber, and F. Cummins, “Learning to forget:
University, Xi’an, China, in 2020, where he is
Continual prediction with LSTM,” Neural Comput., vol. 12, no. 10,
currently pursuing the master’s degree with the
pp. 2451–2471, 2000.
School of Automation Science and Engineering. His
[45] D. Amodei et al., “Deep speech 2: End-to-end speech recognition
research interests are collaborative optimization in
in English and Mandarin,” in Proc. Int. Conf. Mach. Learn., 2016,
power systems and deep reinforcement learning.
pp. 173–182.
[46] Q. Lü, T. Chen, H. Wang, L. Li, Y. Lü, and W. Li, “Combined heat and
power dispatch model for power system with heat accumulator,” Electr.
Power Automat. Equip., vol. 34, no. 5, pp. 79–85, 2014.
Authorized licensed use limited to: National Chi Nan University. Downloaded on September 24,2022 at 16:44:46 UTC from IEEE Xplore. Restrictions apply.