1. Introduction
Energy consumption and economic growth must be directly related [
1]. Therefore, it is important that, when planning efficient energy conservation policies, policymakers consider the direct impacts of energy consumption on economic growth and the consequences on energy consumption [
2,
3]. In addition, studies reveal that with higher levels of economic activity, there are higher levels of energy use and environmental impacts [
4,
5,
6]. Moreover, it is important to address the concept of energy efficiency, since it provides security [
7,
8] and contributes to the reduction of carbon dioxide (CO
) emissions. Energy efficiency is one of the best ways to reduce and control greenhouse gas emissions [
9]. Energy efficiency is an essential tool to protect the environment. Energy efficiency reduces greenhouse gases and harmful criteria pollutants by decreasing the amount of fossil fuels needed to meet energy demand [
10]. In that sense, energy efficiency means environmental preservation [
11], because the energy saved will prevent the construction of new hydro and thermal plants and power transmission lines. This means less use of natural resources and less environmental damage [
12,
13].
In this context, there are efforts to move towards building an economy that is efficient in the use of resources [
12], in addition to evaluating and estimating the potential of energy saving and emission reduction. All this can provide useful information for energy environmental policies, and also contribute to the sustainable development of countries with great economic influence in the world [
11]. Recent documents report that Latin America has received little attention in the literature in terms of regional coverage, although Latin America could be considered a benchmark or a test laboratory to align socioeconomic and environmental objectives, since the successful adoption of such policies in this region could motivate other regions [
14]. It is worth mentioning that, together with Russia, India, China and South Africa, Brazil is one of the developing countries with great economic potentials [
15,
16].
Energy efficiency is related to the technical ratio between the quantity of primary or final energy consumed and the maximum quantity of obtainable energy services (heating, lighting, cooling, mobility, and others). This is the rational use of energy [
17]. Here, the concept of the white certificate stands out, defined as “Certificates issued by independent certifying bodies that confirm the demands for energy savings by market players as a result of efficiency measures” [
18].
In this scenario, the concept of virtual energy is extended, related to the appearance of new agents such as virtual power plants. This is comparable to a conventional transmission power plant with a feature profile, allowing it to directly interact with other market participants, performing functions in the electrical system related to electricity management and trade [
19,
20,
21]. In addition, it is worth mentioning that in an environment of great expansion of the electricity matrix, which occurs especially in developing countries such as Brazil, the increase in energy consumption can be supplied by a built power plant (solar, wind, hydro, biomass, thermal, etc.) or a virtual power plant. The virtual power plant, in this case, is modeled by the reduction of energy consumption due to the energy efficiency measures that are implemented.
Therefore, establishing energy efficiency tenders (virtual energy), that reduces energy with energy efficiency actions is rather important. In addition, this energy could be sold in the energy market through bidding mechanisms at a lower cost than real energy. Furthermore, to obtain economic and environmental benefits, one can have social gains, as the energy efficiency industry generates jobs and services [
22]. The virtual hydropower plant is one that should be built to provide the same amount of energy saved, because, due to this reduction, it can be postponed, reducing costs and environmental impacts. Together, it could be obtained by withdrawing energy from the system, in the form of packages of saved energy. For example, equipment manufacturers could launch products with technologies that incorporate greater energy efficiency, whose necessary investment would be payment with saved energy sold through auctions [
22,
23].
To meet the progress of energy efficiency, auctions can be used as effective mechanisms. Well-structured energy efficiency programs, with proven gains, would be useful to delay the construction of new hydro and/or thermal power plants. Consequently, there would be cost reductions and environmental gains with the more rational use of resources [
23].
According to the International Renewable Energy Agency [
24], energy auctions are important for governments in developing countries to seek renewable electricity at a moderate cost. In Brazil, a study was carried out to analyze energy prices at auctions [
25]. In 2019, The International Renewable Energy [
26] pointed to a growing trend in energy auctions because policymakers seek to obtain electricity from renewable sources at the lowest possible price. A recent study with energy auctions data from several countries was presented in [
27]. This study did not show any price and energy generation methodology that can improve decision-making for the companies involved.
This paper presents a methodology to simulate the energy prices of the energy efficiency auction in the market to find out if the viability in Brazil could materialize. To generate the energy price samples, it would be necessary to obtain the probability density distribution of the available data. More recently, a study on the estimated density via the kernel method can be seen in [
28]. Another approach used to obtain the density function is using Gaussian mixture models [
29]. From the probability density distribution, the Markov Chain Monte Carlo (MCMC) method can be used to obtain the samples of interest [
30]. Two methods were used to obtain the density distribution of the data: the Kernel method and the Gaussian mixture model. In addition, the MCMC method was used to generate energy price samples from energy efficiency auctions in Brazil. That is important for the agencies and companies that use the energy auction. Therefore, this study can contribute to the energy system planning of companies or countries.
Furthermore, a Demand Side Bidding (DSB) model adapted for the Brazilian market is proposed. This proposal contemplates the development of the process based on the specification of a case study evaluated in 2 scenarios: First, without the use of energy efficiency and second, with the use of energy efficiency (energy that was not used). The rest of the paper is organized as follows:
Section 2 brings a review of the literature on energy efficiency experiences in other countries.
Section 3 shows the dynamics of the demand side bidding proposal in Brazil and the operation of the proposal.
Section 4 describes the methodology, which includes estimation and simulation methods.
Section 5 presents the results and discussion, as well as the reports obtained based on the energy prices that were assigned in the Brazilian electricity market. Finally,
Section 6 provides the main conclusions and some possibilities for future research.
3. Demand Side Bidding—Proposal
3.1. DSB in Brazil
In this section, a proposal for the DSB model adapted to the situation of Brazil is developed. DSB allows for an active participation of energy consumers (demand) in the process pricing while maintaining the quality of the power supply. Side management of the demand has important implications for the overall efficiency of the electricity supply, both economically and environmentally [
43]. In the long term, it also implies postponing or even avoiding the need for expensive investments in power plants.
It may also involve reducing both the size of the transmission lines and the construction of hydro and thermal power plants. This is quite important, as the total cost could be considerably reduced. In most cases, the level of CO emissions could be reduced with the DSB mechanism.
The DSB mechanism will not occur unless each one of the different participants (a: Regulation, legislation, government; b: Transmission system operators; c: Energy Conservation Service Companies; d: Sellers; e: Consumers) benefits from it. The Brazilian National Electric System Operator is responsible for maintaining the system’s security and power supply quality. The virtual power generation would be another power source available to ensure system reliability. Generally, in competitive markets, suppliers must buy enough energy to always meet the needs of theirs customers to avoid possible financial penalties [
44].
Customers have greater flexibility in their electricity usage patterns, which is particularly valuable for suppliers, as it can help suppliers avoid periods of maximum energy demand. Electricity consumers are naturally interested in buying electricity at the lowest cost, and demand side management can help in this case [
45]. In fact, some consumers can change their consumption habits without harming seriously their way of life. In addition, in most cases, residential consumers use low amounts of energy, which makes them not eligible to participate in the DSB mechanism [
46].
Having examined the actors to participate in the DSB mechanism, the concepts are defined based on expert opinion [
23]. In addition, the steps include an attempt to adapt and use technology to facilitate some points. These steps are shown in
Figure 2.
The first step in developing a DSB system is to establish standards/governance processes of the market. In addition, pricing mechanisms must be well defined, since before fixing the price and establishing its sales policies, a market must have knowledge of the elements of the establishment of the sale price of the product.
Currently, many markets seek excellence in production processes through quality. In the same way, the mechanisms of the DSB involve the definition and guarantee of quality of the participants [
47]. It is also important to have a demand side product that is well adjusted. With respect to this, the design of a methodology for measurement and verification will convey reliability among its participants. In this context, it is essential to mention the regulation, as it becomes an instrument that the regulator can rely on to establish rules (rights and obligations) for all participants. In addition to the regulator, there is a mechanism that can monitor the overall process [
23]. It is essential that efficiency and effectiveness be evaluated, and alternatives to solve problems and the best solution are selected and implemented.
3.2. Operation of the DSB
To contextualize the operation, a Brazilian example of the energy market will be taken into account in the occurrence of a possible DSB, which will be composed of three free consumers and three energy distributors, both consuming a total of 2000 megawatt average (MW avg) in a year t. The market will have six hydroelectric generators that supply the consumers (free consumers and distributors).
Figure 3 shows the example in a time t. The losses in the network (technical and commercial) were not considered. In addition, to standardize the notation of operation, the following abbreviations were used, GE: Generated Energy, HE: Hydroelectric, FC: Free Consumer, DB: Distributor [
5,
23].
Thus, the energy prices that the demand market will pay will be set by the energy prices that each generator decides to sell through established contracts. Likewise, the contracts will be established between the generators and the demand market matching the energy demanded and the energy supplied, as shown in
Figure 3.
Figure 4 shows that the energy market grew in time t + 1, that is, the consumption energy increased. Consumption went from 2000 MW avg to 2100 MW avg, whereas the market observed in the
Figure 4 does not make use of energy efficiency.
In addition, the FC 1 went from 100 MW avg to 120 MW avg (20% growth), the FC 3, went from 300 MW avg to 330 MW avg (10% growth), DB 1 passed of 800 MW avg to 820 MW avg (2.5% growth), and DB 2 went from 600 MW avg to 630 MW avg (5% growth). Meanwhile, to meet the new need for energy, without the use of energy efficiency, two new generators were built (Generators 7 and 8). In addition, the price of energy also increases when compared to other generators.
Furthermore, the different contracts established between generators and consumers are observed, matching the amount of energy and the price that both parties require. Thus, one can see that the average price in Brazilian real (R$), has an increase of 1.2% compared to the average price in year t (price year t = 107.50 R$/MWh, price year t + 1 = 108.76 R$/MWh). In general terms, the market in t + 1 increased by 5% compared to the time market t.
After analyzing the market without energy efficiency,
Figure 5 presents the same market, but with the use of energy efficiency. In this context, two DSB scenarios are proposed: real environment and virtual environment. In the following figure, one can check the behavior of the participants in the real environment.
At the same time t + 1, FC 2 managed to reduce its consumption of energy up to 160 MW avg, that is, decreased 40 MW avg from the original 200 MW avg, with the use of energy efficiency measures. It is important to note that the difference of this market in relation to the market without energy efficiency, is that the construction of the generator was avoided, as shown in
Figure 6. In addition, the average price decreased (108.16 R
$/MWh) compared to the market without efficiency (108.76 R
$/MWh), thus showing that there is a gain with energy efficiency. This is expected to happen in the real market proposed by the DSB. Furthermore, the contracts are matched according to the energy demanded and the energy supplied by the different participants.
Thus, the market will be analyzed using energy efficiency in the virtual environment, which is the environment that contemplates how the consumer who manages to save energy can sell it to other consumers.
As seen in
Figure 6, the FC 2 reduces its consumption to 160 MW avg, saving 40 MW avg, which could be sold to both FC 1 and DB 1. Both have increased their energy consumption. Considering the contract that FC 2 had with generator 2 still continues, this has not been modified despite the reduction of consumption. Therefore, the FC 2 must take into account the price to use at the time of selling the energy that it has managed to save. One will have to analyze that the ideal price that could be used to sell energy must be greater than the price set for generator 2 (flat price of 110.00 R
$/MWh) and should also consider that the price it tries to use must be less than the price required to build generator 7 (140.00 R
$/MWh). In this way, FC 2 will make a profit when selling energy. In this scenario, the price that FC 2 is using is 125.00 R
$/MWh (energy value between 110.00 R
$/MWh and 140.00 R
$/MWh). It can also be seen that the average price decreased to 108.48 R
$/MWh compared to average market price without the use of energy efficiency (108.76 R
$/MWh). Everything indicates that the use of energy efficiency, as proposed by the DSB, brings profit to society, not only in economic terms, but also in environmental aspects, considering the energy efficiency measures translated as a virtual power plant in an environment of extreme energy expansion of the system as in developing countries. As a result, investments in the construction of new generation plants (solar, wind, hydro, thermal, etc.) and new transmission and distribution networks would have been postponed.
4. Methodology
With the aid of the proposed methodology, the conditions are created for planners and controllers to better manage DSB prices. Depending on how the price behaves over time, the proposed methodology provides the conditions for adaptation. The methodology is presented in what follows: first, a method is described to approach a proper density function to the behavior of the original data (Energy Efficiency Auction prices). Then, the MCMC method, which generates samples from the distribution of interest, is presented.
The MCMC methods are simulation methods to generate samples of the a posteriori distributions and estimate statistics of interest of this posteriori distribution within a Bayesian framework. Values of an auxiliary density are successively simulated, which do not necessarily have to be similar to the density a posteriori. Each generated value depends only on the previous simulated value, hence the notion of Markov chain. They can be used to simulate values of a distribution that is difficult to generate samples directly from it. The MCMC algorithm used was the Metropolis—Hastings, which allows for different samples to analyze different price scenarios.
4.1. Estimation of the Density: The Kernel Method and Gaussian Mixture Models
The histogram is one of the most used non-parametric method for density estimation. Generally, the idea is based on dividing the interval of variation of the data into intervals of size
h and count the number of observations that exist in each interval [
48].
Considering the interval
, the probability that an observation
X belongs to the interval, is given by:
where
f is the density of
X. Typically, an estimate of the density
f can be defined as the count of the amount of observations that are in each interval, divided by the total of observations.
Note that the estimate depends strongly on the choice of h, called the smoothing parameter.
4.1.1. Estimation by the Kernel Method
The main idea, previously presented on the histogram, suggests a generalization [
48], considering the following function:
Therefore, a new estimate for
f can be:
Clearly, this new estimate makes a generalization of the notation based on the histogram. Likewise, it is observed that is not a continuous function and has a derivative equal to zero at all points, except at jump points . Furthermore, the estimate is strongly influenced by the choice of h. The smaller the size of h, the less softened the estimate will be. Conversely, the higher h, the smoother the final estimate.
Data for Energy Efficiency Auctions of price negotiations are taken from previous auctions, from 2005 to 2014. The objective of this research is to evaluate the behavior of energy prices between 110.00 R
$/MWh and 140.00 R
$/MWh, following the suggestions of [
23].
The data distribution in the range of interest is unknown. Therefore, the nonparametric kernel method was used to obtain the estimated density function of the data energy prices. The method can be interpreted as a generalization of the histogram. An estimated density function provided by the kernel method was then approximated by a polynomial of order 17. The polynomial coefficients were obtained using the method of least squares.
4.1.2. The Gaussian Mixture Model
According to [
49], a Gaussian mixture model density with parameters (
,
,
,
) was assumed and defined by
where
is the normal density with mean
and standard deviation
, and
.
The parameters (
,
,
,
,
) are often estimated by the maximum likelihood method. Generally, the optimization of this function is intractable. Therefore, the Expectation—Maximization algorithm [
50] was used.
4.2. Simulations
4.2.1. The Markov Chain
A Markov chain is a sequence of variables , such that the distribution of given the previous values only depends on .
On the previous definition, the probability is recognized with the following notation:
A Markov chain (homogeneous in time) is defined by its initial state,
, and the nucleus of transition:
Under certain conditions, a Markov chain converges to its stationary distribution:
4.2.2. MCMC
The MCMC methods are based on the creation of a suitable Markov chain [
51,
52]. Suppose one wants to simulate values of a posterior distribution
. The idea of MCMC consists of simulating a Markov chain
whose stationary distribution is
. Each simulated value
depends only on its predecessor
. If the algorithm is implemented correctly, the convergence of the chain is guaranteed regardless of the initial values [
30].
It is necessary to simulate the string for a large number of iterations, so that it approaches the stationary distribution. The first simulated values (burn-in iterations) are eliminated because they are not yet in the steady state.
Considering the estimated density obtained by the kernel method from the approximation polynomial and Gaussian mixture model, the alleged distribution of interest and the MCMC method can be used to generate samples.
The MCMC method can generate samples from any distribution of interest. The MCMC algorithm used was Metropolis–Hastings and the interest distribution was obtained by the polynomial approximation and Gaussian mixture model. In fact, random energy price values were generated through the probability distribution obtained by the Kernel method and Gaussian mixture model.
4.2.3. The Metropolis—Hastings Algorithm
The Metropolis–Hastings algorithm was initially developed by Metropolis [
53] and generalized by Hastings [
48]. Indeed, the idea of the algorithm is to obtain the desired distribution, through a proposed approximate distribution. The Metropolis–Hastings algorithm can be considered as one of the most general algorithms of the MCMC.
This algorithm simulates a Markov chain whose stationary distribution is
. It starts with an initial value
. Given the current value
, a candidate value
of a proposed density
is generated. Therefore, the probability of accepting the generated value is calculated:
Subsequently, a uniform distribution is simulated. The decision rule is: if take . Otherwise, it is rejected and . Finally, it returns to the beginning of the process. The probability of accepting does not depends on the integration constant of the posterior distribution. In this case, the distribution data used to generate an achievement depends on the previous simulation. The distribution proposal adopted in this study was the normal distribution.
The algorithm was able to perform simulations and create scenarios with different sample sizes. The generated samples follow the behavior of the original data. Therefore, these samples can be used to understand the behavior of the distribution of energy prices. They have also allowed to know the probability distribution of the proposed price of DSB between 110.00 R$/MWh and 140.00 R$/MWh.
5. Results and Discussion
The results of energy efficiency auction prices in Brazil are presented in two stages. First the summary statistics results are shown, followed by the results to the MCMC method.
Table 1 shows the prices after having applied the inflation index. In addition, a descriptive analysis of the energy prices was carried out and this will allow for obtaining the different simulations to evaluate the behavior of a possible DSB price. In
Table 2, the results obtained can be observed.
Therefore,
Table 3 shows those prices in which inflation has been applied since the year in which the different auctions began, and the behavior of the classified data is also represented. A frequency distribution was made to analyze and identify auction prices that would be between 110.00 R
$/MWh and 140.00 R
$/MWh (with an 37.26%) according to the proposal of [
23].
Through the non-parametric kernel method, it was possible to adjust a density via an order 17 polynomial function (
Figure 7). This figure the density obtained by the Gaussian mixture model with two components.
With the achieved estimation, it is possible to generate simulations following the order of the polynomial and Gaussian mixture model. Thus, several samples were generated with different sizes. The larger the sample, the better is the approximation to the original data.
In this respect, it is worth mentioning that using the kernel and the MCMC methods is crucial to provide approximations of the original data and clearly analyze its impact. Next, the behavior of the data in each histogram with 500, 1000, 5000 and 10,000 (
Figure 8) samples is observed, considering only one scenario.
The samples generated by the MCMC through a Gaussian mixture model can capture the trajectory of the density curve when the size of the samples increases (
Figure 9).
Notice that the sample which best approximates the original data in accordance with the generated histograms is the 10,000 size, having had consistently followed the behavior of the data.
Moreover, once achieved the best-fitted curve, the analysis of each scenario with each sample was carried out to find the probability of prices staying within the range 110.00 R$/MWh and 140.00 R$/MWh. The following table presents the different results obtained with each probability.
According to the reports obtained in
Table 4 and
Table 5, it is observed that the sales price averages were close to the original average proposed by [
23], after carrying out different iterations. In addition, there is a minimal decrease in the variation. From the above,
Table 4 shows that the variation has a minimal decrease, as the coefficient of variation in the different iterations confirms this.
Finally, as shown in
Table 6 and
Table 7, and now considering in terms of percentages for the ten scenarios, the probability of the price fall in the range of 110.00 R
$/MWh and 140.00 R
$/MWh is evaluated in each simulated scenario. In fact, the probabilities range between 26% and 35%, the minimum is displayed in scenario 1 with 1000 iterations, and the maximum is displayed in scenario 5 with 500 iterations (
Table 6).
Table 7 shows that, with the increase in the number of iterations, the results are more stable.
Likewise, regarding the Kernel method, a percentage average of 29.9% is obtained for the possible sale of saved energy using 500 iterations; 29.7% with 1000 iterations; 30.1% with 5000 and 30.7% with 10,000. An increase is observed with a greater number of iterations. In parallel, with respect to the Gaussian mixture model, a percentage average of 35.3% is obtained with 500 iterations; 35.4% with 1000 iterations; 36.7% with 5000 iterations and 36.8% with 10,000 iterations. The initial proposal makes sense in relation to the sale price of the energy saved using energy efficiency, since it is possible to achieve a 30.1% probability with the kernel method, and 36.05% with the Gaussian mixture model, for the price in the range between 110.00 R$/MWh and 140.00 R$/MWh.
Through the numerical scenarios, as proposed in [
23], the contracting environment and the possible formation of sales prices in the energy efficiency auction were observed. However, the energy balance and financial settlement that DSB proposes within the real and virtual energy market were analyzed, with the purpose of simulating, using the methods proposed and developed in this study, the formation of prices that would be accepted within the Brazilian electricity market, taking into account both buyers and sellers who use different energy efficiency measures.
6. Concluding Remarks
This research addressed the simulation of energy prices in the Brazilian electricity market considering a possible DSB mechanism. The simulation provided experimentation, considering policy proposals using statistical theory. Considerable simulation processing has been required to obtain statistically significant results. For the approximation of the density distribution of the energy prices of a possible power DSB, the Kernel method and the Gaussian mixture model with two components were used. With the estimation carried out, it was possible to generate simulations following the order of the polynomial and the Gaussian mixture model. These were carried out through the MCMC, and the use of the Metropolis–Hastings algorithm generated samples to allow for the analysis of the behavior of the prices.
Considering the threshold proposed in the work, in which it is preferable to invest in energy efficiency policies rather than build power plants, we suggest studying the various investment options in energy efficiency. This would originate the study of other renewable energy resources. A real approach could help the Brazilian government in making decisions on better energy efficiency policies at certain time intervals, taking into account existing uncertainties.
One of the policies, such as the white certificate, which is to be used in some European countries, such as Germany and Italy, may be necessary to increase the energy saving. This is characterized by three main components: an obligation imposed on energy companies to achieve a quantified energy savings target (including limitations on non-compliance); certified energy savings using standardized calculations that minimize analysis costs; and the certified energy savings that could be commercialized to allow the obligated party to meet its purpose [
5,
54].
In this work, the main contribution is related to a methodology for generating energy prices that can contribute to energy planning in the sale of energy and in the decision making of the bodies involved and, consequently, with energy efficiency. Besides, countries with a large volume of investment targets at construction of new power plants, and new transmission and distribution networks would benefit from this policy. The methods presented were able to capture the characteristics of the data presented in this study and, consequently, allowed for the simulation of energy prices.
Another fundamental point of this research was to establish a methodology, made up of the different steps defined in general for the implementation of a possible energy efficiency auction in Brazil.
Likewise, future studies should focus on finding another methodology to obtain the different scenarios that were generated in the Brazilian electricity market in order to be considered as a possible alternative to the proposed approach adopted in this paper.