As an individual plant participating in the power market, the virtual power plant (VPP) is regarded as the ultimate configuration of the energy Internet, and effective dispatching is a challenge. This paper proposes a multi-agent optimal bidding strategy based on a self-adaptive global optimal harmony search algorithm (SGHSA) to solve the problem of multi-operator participation in virtual power station scheduling. The method takes multiple agents to simulate the bidding process in the VPPs and distributes the profits for the operators based on the market mechanism to optimize the distributed energy resources (DERs). Case studies are provided and show that the proposed method realizes the optimal distribution of power generation and demand level, which improves the comprehensive advantage of the VPP in electricity market transactions.

1. Introduction

A virtual power plant (VPP) is a necessary form of the future energy Internet, which participates in the power market as an individual power unit [1]. Based on the advanced information and communication technology, the VPP integrates distributed energy resources (DERs) such as distributed power generation (DG), energy storage, controllable load, and electric vehicles to coordinate and optimize them to achieve the stability and reliability of their overall output to the main grid [2]. Under the current model, the electricity price of the virtual power plant is the same as the power supply’s price of the main grid to which the VPP is connected. However, the power supply’s price of the main grid fluctuates from peak to valley level due to the supply-demand relationship and other factors, which cannot motivate the enthusiasm of the virtual power plant to implement a load shift of the power grid [3]. Therefore, determining the purchase price of the VPP needs to consider multiple factors.

A virtual power plant imitates the function of a traditional large power plant by centralized scheduling and intelligent control of the DERs [4]. The internal and external interaction units involved in the virtual power plant are shown in Figure 1. The VPP realizes the overall coordinated regulation of distributed energy resources, energy storage, and various loads through advanced data communication and coordinated control technology and interacts with power grid companies and power distribution companies to participate in the demand-side management and power grid auxiliary services.

When it comes to the interaction between the VPP and the power grid and the optimal internal scheduling of the VPP, the VPP is generally thought of as a management system representing the DERs in transactions with the grid. The DER output is arranged by the maximum overall benefit or the minimum operating cost of the VPP. In this mode, each DER is owned by the VPP by default, and the corresponding compensation is given to the controllable load in the VPP. The VPP has absolute power control over the output of the DER; that is, there is just one DER operator in a VPP [5]. With the large-scale development of the DERs, the investment subject of the DERs gradually showed a trend of diversification, and the DERs in the VPP may be owned by different operators [6].

Meanwhile, there are several operators in a VPP, and each operator has different interest demands. Suppose we ignore the self-interests of each operator in the VPP and only focus on the overall benefits of the VPP. In that case, the DER operators and load aggregators will lack the enthusiasm to join the virtual power plant, which hinders the promotion and development of the virtual power plant [7]. Therefore, how to take into account the interest demands of each operator, how to make a reasonable scheduling plan, and how to improve the enthusiasm of multiple operators are the challenges for the VPP dispatching center.

Generally, there are two kinds of transaction modes and benefit distribution mechanisms for the distributed energy participating in the market: the price changes over time and the bidding pattern. Under the price changes pattern over time, operators of the DERs schedule their power generation based on the VPP’s internal real-time electricity price, which includes particular interest game behavior. In [8], a VPP scheduling model including photovoltaic, wind power, hydropower, and other energy sources was established, which realized the coordinated operation of various DERs, but it did not involve the benefit distribution of each operator. In [9], a microgrid optimization method based on multi-agent bidding equilibrium was proposed to distribute the benefits to the investors of the DERs, but the uncertainty of the renewable energy generation is not considered. In [10], an optimal economic dispatch of virtual power plant based on bidding is proposed to achieve optimal power generation of distributed generation in VPPs. In [11], a bi-level multi-time scale scheduling method based on bidding for multi-operator VPP was proposed to provide a framework for solving profit allocation and optimal scheduling problems. However, this paper did not describe how the operators determine their bidding function.

Under the bidding mode, the DERs inside the VPP offer their prices and quantities to the market, and if their bid price is accepted, they will sell their power at the winning price. The bidding strategy of the DERs is crucial in the bidding mode; however, there are few pieces of research in this field, and most of them focus on the bidding strategy of the VPP participating in the electricity market. Kardakos et al. [12] studied the strategic bidding behavior of the VPP with distributed energy, storage systems, and power users participating in the day-ahead electricity market. Shafiekhani et al. [13] modeled the bidding behaviors of the VPP and generation companies and studied the bidding process of the VPP and other strategic competitors (generation companies) in the day-ahead electricity market. In [14], the bi-level equilibrium model was established to study the interaction in multiple energy sources when they participated in the electricity market, competing with the generation company in different ways and influencing the market equilibrium results. However, all the above studies regard the VPP as an internal aggregation without any conflict of interest to participate in the power market.

Like the research on virtual power plants, microgrids can also realize the function of aggregating distributed energy by connecting distributed energy to the grid. Ahmad et al. [15] proposed a joint energy management and trading model to provide low-cost power consumption for distribution systems. Ahmad et al. [16] offered a strategy integrating distributed energy, load scheduling, energy storage system, and feed to effectively utilize energy and develop an autonomous system that can manage all these resources effectively and efficiently. Ahmad et al. [17] put forward a uniform DSM model used to reduce the electricity costs and demand during the peak hours. The simulation results show that the model achieves excellent performance and can effectively reduce the carbon dioxide emissions. Still, the study did not consider the consumer’s privacy. The implementation complexity of the proposed model is also high. In [18], a single management system was formed by considering the consumer’s preference, priority, ease of use, power grid stability, minimum deviation, smoothness of demand curve, and the insertion cost. The system will also provide consumers' privacy as it would mask the energy usage pattern that combines psychological incentives in addition to economic benefits. It will also protect the consumer’s privacy. In [19], the concept of domain and constraint reduction was applied to reduce the number of variables and the number of constraints of the given REM mathematical model in residential areas, simplifying the complexity of the mathematical model.

Self-adaptive global optimal harmony search algorithm (SGHSA) is an improvement of the traditional harmony search algorithm (HS) by Mojtaba et al., which can ensure global optimization and rapid convergence [20]. The algorithm simulates the process by which musicians repeatedly adjust the pitch of each instrument in the band according to their memory to achieve an excellent harmonic state [21,22]. In SGHSA, the solution vector is called “harmony.” If an optimization problem has k decision variables, a harmony vector is k-dimensional. The initial harmony vector group is generated randomly and stored in the harmony memory (HM). The optimization process consists of the initialization of the HM, the improvisation of the new harmony, and the update of the HM. The pros and cons of the created harmony vector are judged by the objective function [23].

The harmony memory considering rate (HMCR) is the probability of choosing a harmony from HM. Substantial HMCR value is conducive to local search, while small HMCR value enriches the diversity of the harmony library. The pitch adjusting rate (PAR) is the adjustment rate of the selected . A substantial PAR value is helpful to transfer ’ information to the next generation, thus improving the local search capability performance around , while a small PAR value can increase the diversity of the HM [24]. Because the local application and global exploration are always contradictory in the search process, it is not easy to identify the specific value of HMCR and PAR.

As the values of HMCR and PAR are not fixed in SGHSA, the HMCR (PAR) is assumed to follow a normal distribution. Through a certain number of iterations, the appropriate HMCR (PAR) value is found for later iteration solutions to adapt to specific problems and stages of the search, which gives attention to local and global search areas. Compared with ordinary HS, SGHSA has more advantages in solving problems due to its dynamic parameter adjustment. SGHSA is an intelligent algorithm with a simple concept, easy implementation, strong robustness, high efficiency, and fewer requirements [25] and has been widely applied in various fields, such as construction engineering [26], materials engineering [27], engineering design optimization [28], route planning [29], and medical field [30]. In addition, other algorithms have been proposed to deal with the bidding problems, and Zhang et al. [31] presented a new bidding strategy (BS) in which the wind power suppliers act as the price setters. The new algorithm, called the evolutionary game method (EGA), is inspired by the hybrid particle swarm optimization and the improved firefly algorithm (HPSOIFA). Compared with the conventional methods, the predictor can reduce the uncertainty of wind generation and BM price.

Regarding the internal energy optimal scheduling problem of the VPP, it is less engaged in the distribution of interests of numerous DER operators inside the VPP, and it is assumed that the VPP or a single operator owns the DERs, according to the above study materials. As a result, this research proposes a multi-agent optimum bidding method in multi-operator VPPs based on SGHSA. To accomplish optimization, the system uses the MAS control structure of the multi-operator VPP, sharing the earnings of various operators through the market mechanism. SGHSA is proposed to enable the DERs to get the optimal bidding function, which is then submitted to the bidding manager agent to optimize the owners’ interests. The bidding manager agent creates a new internal electricity price based on the bidding function, which is then passed back to the DERs to enable them to develop the next round of strategies until the outcome reaches equilibrium. The following are the primary innovative contributions of the suggested technique.(1)Considering the interest demands of each DER operator, to increase the excitement of the DER operators to participate in the VPP, the internal market trading mechanism is designed to offer a framework for handling the interest distribution among operators and optimum scheduling issues of the multi-operator VPP.(2)Aiming at the shortcomings of the traditional harmony algorithms, such as slow convergence and low search accuracy, an improved adaptive global optimal harmony search algorithm (SGHSA) was proposed. SGHSA has the ability of dynamic learning to adapt to specific problems and stages of the bidding function search, maximizing the profits of the bidding agent.(3)The proposed bidding strategy can obtain the bidding function through the bidding unit agent. After the internal price of the VPP is received, the uncertainty of the renewable energy generation is considered.

The remainder of the paper is structured as follows. Section 2 describes the MAS framework for multi-operator VPPs. Section 3 suggests the bidding and clearance procedure. Section 4 describes the flowchart for calculating the optimal bidding function using SGHSA. Section 5 presents case studies and analytic results. Section 6 draws the conclusion.

2. The MAS Framework of Multi-Operator VPP

The multi-operator virtual power plant means that different investment entities own the DERs within the VPP. The owner of the VPPs just signs contracts with the DER operators to allow the DERs to join the centralized dispatching power generation in the VPP, without mastering the technical details such as the generation cost of the DERs [32]. Wind turbines (WTs), photovoltaic cells (PV cells), micro-gas turbines (MTs), demand response (DR), battery storage, electric vehicles (EVs), and other resources are among the renewable energy sources used by the operators in this paper.

Because of MAS’s intelligence, independence, and coordination, it can transform a global control problem into a distributed optimization problem of multi-level and multiple control systems, resulting in overall system economy and stability. In the last several years, it has been widely used in the energy management of microgrids and VPP [33], coordinated control [34], bidding operation [35], and other aspects. Therefore, based on the MAS structure adopted in [36], this paper constructs the layered structure virtual power plant operation architecture, as shown in Figure 2.

Top Layer. VPP dispatching center agent, as the top layer of a management unit in the VPP, can interact with the main grid on behalf of the VPP, such as the purchase and sale of electricity based on the price or contract.

Second Layer. This layer contains functional agents such as the bidding manager agent and operation control agent, which can manage the lower level of agents and accept the management of the upper level. The operation control agent shares the current operating condition of the VPP with the bid manager agent and receives scheduling optimization results of the power generation operation returned by the bidding manager agent. The bidding manager agent manages the bidding process in the VPP, obtains the economic distribution scheme of power generation, shares the scheme with the operation control agent, and reports the electricity price received from the bidding to the VPP dispatching center agent.

Third Layer. This layer involves the execution agents, such as the bidding unit agent, which accepts the management of the second layer agent. The bidding agent simulates the economic behavior of the rational person in economics, takes the maximization of their interests as the goal, and carries out bidding behavior under the management of the bidding management agent. The bidding unit agent makes bidding decisions based on local measurement information and communication information with other agents and submits the bidding strategy to the bidding manager agent.

3. Bidding and Clearing Process of Multi-Operator VPP

3.1. Optimal Bidding Strategy Model of Agents

If there are k operators in the VPP, there should be k bidding unit agents. Under the existing internal power pricing, each bidding unit agent tries to maximize its interests. In the bidding round n, the profit function of operator i is represented in the following equation:where is the operator i’s profit, is the internal power price at the bidding round n, and is the operator i’s reported electricity output.

As indicated in (2) [37], the cost of electricity generation assumes a quadratic function. is the converted cost after taking into account the following components and environmental protection measures like clean energy subsidies and carbon trading, and and are convertible cost coefficients, while is the fixed cost coefficient.

The operators have a variety of DER units, each with a different cost. As a result, the DER cost coefficient must be translated to obtain the operators’ overall power-generating cost. The exact conversion formula may be seen below [11]. In the nth round of bidding, for the operator i,where is the operator i’s fluctuating cost coefficient, j is the number of pieces of equipment that operator i owns, and integers l and k represent the number of PVs and WTs, respectively. The convertible cost coefficients of the equipment j are and . The electricity output of the device j is denoted by ; is the equipment j’s fixed cost coefficient; is the sum of all devices that participated in the bidding procedure; and and represent the mean error coefficients of WT and PV power generation forecast, respectively. In the auction procedure, and are the total number of WTs and PVs that participated in the bidding. The output of the WT k and the PV l is referred to as and , respectively.

As can be seen in (3) [38], when an operator engages in the bidding process, the bidding function is communicated to the bidding manager agent.

At the bidding round n, is the bidding price with the , whereas and are the bidding function price coefficients.

is essentially the operator’s optimization goal and the operator’s optimum power production for the electricity price at the bidding round n. In other words, in bidding round n + 1, the optimum bid function should theoretically pass the point (, ) and fulfill [39]

According to (4), the ideal price coefficients and are distributed in a downward spiral on the coordinate system. Based on the SGHSA, the bidding unit agent derives the bid function coefficients and reports them to the bidding manager agent in this paper.

In this process, the generation constraint of the unit needs to be met. For the adjustable unit, the following formula can represent the electric energy generated by the dispatchable unit during the bidding of the n round. is the output power of the dispatchable unit during the bidding of the n round. is the time interval of the bidding round.

Constraints are as follows.

3.1.1. Unit Output Constraints

where represents the upper and lower limits of the output power of the dispatchable unit and is a binary variable. When is 0, the unit is offline and shut down. When is 1, the unit runs online.

3.1.2. Climbing Rate Constraint

where and are the dispatchable unit’s upward and downward climbing rates, respectively.

3.1.3. Constraints on Unit Start-Up and Shutdown Costs

Start and stop constraints are not listed here due to space limitations (refer to [37]).

Due to the substantial uncertainty of the output power of the random generator set (wind power and photovoltaic), the output power of the random generator set does not exceed the available output power of the random generator set .

3.2. The Clearing Process of Bidding Manager Agent

The bidding manager agent calculates the internal electricity price based on the supplied information and the load condition and distributes the power-generating amount to each bidding unit agent, as illustrated in (9).

Suppose M is the smallest possible number of operators whose combined power generation has not been surpassed. Each operator’s power production allocation and the internal energy price of the bidding round n + 1 may be solved by the bidding management agent, as shown in the following equation:where represents the amount of demand that the VPP needs to meet.

Formula (10) can be simplified as follows:where represents the load left after subtracting the operator’s power production that exceeds the limit.

Kong et al. [39] found that the bidding function’s pricing coefficient is distributed on a straight line and not unique; therefore, the condition can be achieved by adequately defining the search range of bidding coefficients for all bidding agents, , and (17) depicts the power price convergence value :

The VPP’s decision-making process is depicted in Figure 3 by a flowchart. Using the SGHSA algorithm, the bidding unit agent finds the optimal bidding function and reports it to the bidding management agent, which contains the optimal bidding function coefficient and generation limit value []. The bidding manager agent calculates and distributes to all bidding unit agents the new internal energy price of the VPP and the power generation distribution scheme based on the bidding function supplied by the bidding unit agent and the current load demand. Each bidding agent modifies its bidding strategy based on the updated internal electricity price and rereports it until price convergence in the VPP.

The SGHSA parameter’s adaptive dynamic adjustment feature may solve the optimal bidding function for different bidding unit agents based on the VPP’s internal electricity price, the generation cost, and the generation limit of other operators and maximize the advantages of operators.

4. DER Bidding Process Based on SGHSA

4.1. Definition of the Problem and Its Parameters

In this paper, the harmony vector of SGHSA is the optimal bidding function coefficient of the bidding unit agent, and the evaluation criterion is the revenue function of the bidding unit agent. The corresponding relationship between the variables in this paper and the SGHSA parameters is shown in Table 1.

The parameters of SGHSA are shown in Table 2. The four main parameters of SGHSA are HMS, HMCR, PAR, and BW. The other three parameters are dynamically adjusted with the iterative search except for HMS, fixed after initialization.

Consider a normal distribution for the HMCR (PAR) with mean HMCR.m (here 0.98), PAR.m (here 0.9), and standard deviation 0.01 (0.05) [39]. The procedure begins with an HMCR and PAR value determined in accordance with the normal distribution. The HMCR and PAR values associated with the created harmony are then substituted for the poorest member of the HM. Then, a specified number of generations, called Learning Period (LP), HMCR.m and PAR.m, are recomputed by averaging all recorded HMCR and PAR values.The HMCR and PAR are recalculated and utilized in subsequent rounds using the new mean and existing standard deviation. Consequently, an appropriate HMCR and PAR value may be gradually learned for each unique situation by repeating this procedure. BW is adjusted dynamically with the change of iteration times Gen, as shown in the following equation:

4.2. The Procedure of Solving the Coefficient of the Optimal Bidding Function Based on SGHSA

The fundamental harmonic search algorithm is divided into the following steps: (1) defining the problem and the parameter values; (2) initializing harmony memory (HM); (3) improvisation, generating a new harmony; (4) updating the harmony memory bank; and (5) checking whether the algorithm is terminated.

The core of the harmony search algorithm using the adaptive process is to improve HMCR, PAR, and BW and adjust direction. Major improvements include the following:(1)Adaptive Strategy of HMCR. Since the HMCR of the standard harmony search algorithm is a fixed value, there is no concern about how to accelerate the convergence rate of harmony. Therefore, setting the HMCR to a dynamically changing value is necessary. At the initial optimization stage, a larger HMCR is used to find the optimal local value quickly. A smaller HMCR can increase the probability of random new solutions at the later optimization stage. The diversity of harmony effectively prevents falling into a locally optimal solution.(2)Adaptive Strategy of PAR. Similarly, the PAR needs to be dynamically adjusted during the adaptive process to meet the difference between the early and late optimization stages. In contrast to HMCR, PARs need to be changed from small to large. In the early stage of algorithm optimization, minor PARs can quickly find the optimal local value. In contrast, larger PARs can increase the probability of being disturbed in the late stage of optimization and enrich the diversity of sounds.(3)Adaptive Strategy of BW. In the standard harmony search algorithm, the BW of each set of harmony variables is the same. The same BW does not fit all harmonies. For the early and late stages of optimization, the length of BW needs to be adjusted to some extent. To this end, BW has been improved.

Based on the above discussion, the harmony search algorithm flow is obtained.

Step 1. Get the current electricity price.
Obtain the current VPP internal electricity price and define the bidding unit agent i objective function using the equation provided below.where is the operator i’s profit in bidding round n, is the electrical output provided by the operator during round n of the bidding process, and is the converted cost after accounting for the following elements and environmental protection measures.

Step 2. Calculate the relationship between the cost and generation.
Calculate agent i’s maximum and minimum power generation limitations, and then enter the convertible cost coefficients and , as well as the fixed cost coefficient . For the DER operator i, determine the cost-to-generate connection between the two variables.

Step 3. Initialize the HM.
Set the upper and lower bounds , , , of the coefficients and as the initial values for the HM and compute the objective function’s values. The HM has HMS (30 in this paper) vectors:where is in the same way. The price coefficient range of bidding unit agent 1 in this paper is [1 × 10−3, 2 × 10−3], [0.10, 0.35] [11], so the HM1 is as follows:

Step 4. Modify new pricing coefficients.
Modify new pricing coefficients and in the methods described below. (1) Choose the best coefficients and of the HM. (2) Randomly generated withinthe value range of the bidding function coefficients and' range of values. (3) Fine-tune the coefficients in the first two methods.(i)Produce an HMCR value based on HMCR∼N (0.98, 0.01) and generate a random number r1 between [0, 1]. If r1 < HMCR, then take method (1) in step 4 to get the coefficients and ; otherwise, take method (2) in step 4 to get the coefficients and .(ii)Produce a PAR value based on PAR∼N (0.9,0.05) and generate a random number r2 between [0, 1]. If r2 < PAR, then fine-tune the optimal coefficients and in steps 4-(i) with the BW, which is related to the number of iterations. Otherwise, no adjustments. and in the HM1 are 1.43 × 10−3 and 0.25, and the randomly generated HMCR = 0.96, r1 = 0.67, so and because r1 < HMCR. The randomly generated PRA = 0.75, r2 = 0.87, so we do not do anything to and because r2 > PAR; then, and .
The pseudo-code of the coefficients and is as follows.HMCR∼N (0.98, 0.01)PAR∼N (0.9, 0.05)for (j = 1 to 50) do if (rand[0, 1] < HMCR) then      if (rand[0, 1] < PAR) then        end if else  end if end for

Step 5. Update the HM.
HMCR and PAR values should be recorded if the newly created coefficients and produce a higher profit than the lowest profit in the existing HM.
The profit (55.47) corresponded by the newly generated harmony in step 4 is more than the worst profit(52.6) in the [The newly generated harmony−3 in Step 4 corresponding profit (55.47) is more than the worst profit (52.6) in the] HM1. Therefore, the worst harmony is substituted with the new connection (, ). Furthermore, memorize the HMCR and PAR values. The updated HM1 is as follows:

Step 6. Recompute HMCR.m and PAR.m.
Repeat steps 4 and 5. If Gen = LP, recompute HMCR.m and PAR.m based on memorized values of ones.
When Gen = LP = 50, based on the previously recorded HMCR (PAR) value, it can be recalculated that HMCR.m = 0.95, PAR.m = 0.87, so HMCR∼N (0.95,0.01) and PAR∼N (0.87,0.05) were used for the subsequent iterative search.

Step 7. Determine whether to terminate.
If Gen = Tmax, output the optimal bid function coefficients and .
After the above operation steps, the final optimal bidding function coefficient of agent 1 is obtained: and are equal to 1.47 × 10−3 and 0.24, respectively.
The flowchart for explaining the optimal bidding based on SGHSA is shown in Figure 4.

5. Case Studies

Verifying the SGHSA algorithm’s efficacy in bidding function search is based on the creation of the VPP system in [11]. As indicated in Table 3, the following are the DER’s costs and power limitations. There are three DER operators in the VPP. Each of the three operators has one or more of the following components: WT1, PV1, MT1, WT2, MT2, PV2, and MT3. Set the value of to 0.2. Set the value of to 0.1, with a price convergence precision of 0.01. Table 4 lists the SGHSA and HS parameters used in this study.

To test the effectiveness of SGHSA, this case uses three classical test functions as the benchmark functions. It makes a comparative analysis of the optimization results of SGHSA and HS algorithms under the condition that the optimization operations of the three test functions are run separately 50 times. The concerned indexes are the objective function value of iteration completion, the average function value, and the standard deviation of the function value of the results of 50 runs. F1F3 were compared after 5000 iterations in 10 and 30 dimensions, respectively (Table5).

To better understand the test results, Table 6 records the test comparison results 50 times from a numerical perspective, where Dim represents the dimension, and MEAN represents the average value of the optimal harmony function, which is used to reflect the convergence accuracy of the algorithm. STDV represents the standard deviation of the optimal harmony function value, which is used to remember the algorithm’s stability.

It can be seen from the table that SGHSA has good global optimization and adaptive ability in most cases. For example, for functions F1 and F2, MEAN and STDV are smaller than the HS algorithm when the dimension is 10 and 30.

To assess the efficacy and rationale of SGHSA, SGHSA was compared with HS. The number of previous iterations in SGHSA is the dynamic learning process of parameters HMCR and PAR. For the convenience of comparison with HS, the active learning process is not presented in the figure, and only the simulation process after the completion of dynamic learning is captured. When the internal electricity price issued by the bidding unit agent is 0.49¥, the dynamic simulation process of the quotation coefficient of operator 1 is shown in Figures 5 and 6. The operator’s optimal price coefficient converges rapidly in the 25th iteration based on SGHSA, while based on the HS they converge in the 30th iteration.

Figure 7 provides the VPP internal price convergence process. The internal electricity price converges rapidly to ¥0.424 at the 14th iteration, between the main grid purchase and sale price (¥0.37 and ¥0.66). The bidding and trading system can boost the revenue of operators and the motivation of the VPPs to engage in peak adjustment of the main grid. Meanwhile, the load users in the VPP can reduce the power consumption cost. For the main grid, the advantages of the VPP can be fully utilized to relieve the power supply pressure of the power grid.

Quadratic programming based on the equilibrium method (QPEM) [40, 41] is used to allocate the power generation of the operator and then compared with the method proposed in this paper. When using the QPEM method, The VPP dispatching center conducts electricity settlement with the operator based on the power purchase price of the enormous power grid. It sells electricity to users based on the power sale price of the power grid. Table 7 displays the distribution, profit, and internal electricity price for each operator based on SGHSA, HS, and QPEM, respectively

After the bidding strategy is adopted to distribute operators’ power generation, each operator’s power generation profit is higher than that of QPEM, mainly because the electricity generation obtained by operators through the method proposed in this section is higher than the QPEM. The internal electricity price of VPP is greater than or equal to the electricity purchase price of the grid in each period. Since the QPEM method sells electricity to users according to the electricity selling price of the grid, the proposed method sells electricity according to the internal cost of VPP, which is less than or equal to the electricity selling price of the grid in each period. Hence, the electricity price of the users calculated by the proposed method is lower than that of the QPEM.

Virtual power plant bidding functions are directly influenced by load users who do not engage in the bidding process because of a restricted number of DER operators. With an optimum bidding function based on the SGHSA, the bidding unit agent may increase operator profit while also maximizing their interests.

Figure 8 shows operator 1’s whole-day power generation and DER scheduling results. It can be seen from the figure that the operator’s DER does not generate power based on the bid-winning power, which may take demand response and charge and discharge of energy storage into consideration, and the VPP makes secondary adjustments to its plan. In addition, when the power load is low, the wind abandoning phenomenon will occur in the power system with new energy access. Due to the limitation of the power transmission and the node voltage, it is impossible to absorb all the new energy during the peak load, and hence, different degrees of abandonment exist. This scheduling mode fully respects the autonomy of each operator, effectively alleviates the phenomenon of abandoning wind and light, and improves the energy utilization rate while increasing the operator’s income.

Figure 9 shows the power generation of operator 1 based on SGHSA and HS, and the bid-winning electric quantity based on SGHSA is higher than HS in more than two-thirds of a day. Generally, the operator’s bid-winning power based on SGHSA is higher than that of HS. The parameter adaptation of SGHSA can gradually learn the appropriate HMCR (PAR) to adapt to specific problems and stages of the search and maximize the operator’s profit, proving the superiority of SGHSA in the bidding strategy search for the virtual power plant.

Figure 10 shows the relationship between the VPP’s internal electricity price, total power generation, and load. As can be seen from the overall trend in the figure, when the load and the VPP’s power generation are large, the internal electricity price of the VPP is relatively high. When the load and the VPP’s power generation are small, the internal electricity price of the VPP is low. This indicates that the internal price of the VPP conforms to the economic law that increases with demand and cost and can be seen as a reflection of the connection between supply and demand.

6. Conclusion

This paper proposes an optimal bidding method for multi-operator VPP based on SGHSA. Aiming at the inherent shortcomings of the traditional harmony algorithms, such as slow convergence speed and low search accuracy, a new adaptive global optimal harmony search algorithm is proposed by improving the improvisation stage of the HS algorithm. The simulation results show that the proposed SGHSA has good global optimization and adaptive ability, and the algorithm has good robustness. Using this algorithm in the VPP bidding and trading can improve the operators’ bidding ability, provide a friendly interaction mode between the VPP and the main power grid through price information, and optimize the allocation of energy resources. At the same time, it can represent the supply and demand connections within the virtual power plant, increasing the profits generated by the generator for the operator. In conclusion, this method can effectively make the operation of the VPP more economical and flexible and can improve the enthusiasm of the DER operators to participate in the VPP.

To obtain the results that are applicable for the long term, it is insufficient to analyze the load data of a specific day. The scheduling problem of the operator’s internal DER after the bidding is not discussed in this paper. For future work, considering the uncertainty of the DER output, we will further study how the operators conduct the DER scheduling to reduce the loss caused by bidding deviation.

Data Availability

The constraint and parameter data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.


This study was supported by the Science and Technology Project of State Grid Tianjin Electric Power Company (Key Technologies Research on Interaction Characteristics of Source-Grid-Load and Power Quality Management based on Distribution Internet of Things).