Quotation method for virtual power plant to participate in spot market transaction
By constructing a virtual power plant aggregator capacity upper limit model that considers line loss changes and BP neural network fitting the quotation curve, the problem of limited capacity upper limit and inaccurate quotation curve fitting when virtual power plants participate in spot market transactions is solved, achieving more efficiency. capacity utilization and cost optimization.
Patent Information
- Application Number
- CN202410788985.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When existing virtual power plants participate in spot market transactions, they fail to effectively consider the changes in distribution network line losses caused by distributed energy capacity adjustments, resulting in limited capacity limits and inaccurate quotation curve fitting, resulting in increased costs and non-compliance with quotation requirements. .
By constructing a virtual power plant aggregator capacity upper limit model that takes into account line loss changes, BP neural network is used to fit the quotation curve, the aggregation strategy is optimized to improve the capacity upper limit and dispatch accuracy, and the BP neural network and genetic algorithm are combined to optimize the quotation curve fitting.
It improves the capacity limit and dispatch accuracy of the virtual power plant, avoids the problem of unable to complete the winning bid, reduces the overall cost, and optimizes resource allocation and supply and demand balance.
Smart Images

Figure CN118657544A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of virtual electric fields, and in particular to a quotation method for a virtual power plant to participate in spot market transactions. Background Art
[0002] Against the backdrop of the grid's operating mode transforming towards flexible interaction between sources, grids, loads and storage and its structure transforming towards clean and low-carbon development, vigorously developing virtual power plants is of great practical significance for promoting the balance of grid supply and demand, achieving low-cost grid connection of distributed energy, fully absorbing clean energy generation and promoting green energy transformation.
[0003] The upper limit of capacity that existing virtual power plants can declare for participating in spot market transactions is based on the sum of the adjustable capacities of distributed energy sources that they can aggregate. However, this solution ignores the changes in distribution network line losses caused by distributed energy capacity adjustment, resulting in a limit on the upper limit that virtual power plants can declare.
[0004] For example, patent CN116502767A discloses an optimal bidding method for virtual power plants participating in the electricity market that takes into account uncertainty, which includes the use of a robust deep learning method based on a bidirectional long short-term memory network to predict electricity prices, wind speeds and load demands. Step 2: Use the rough neurons of an artificial neural network to predict the highly random charging and discharging curves of electric vehicle demand. Step 3: Establish a comprehensive VPP model for the energy and rotating reserve markets, and take maximizing profits in the future energy and rotating reserve markets as the optimization goal. Step 4: Input electricity prices, wind speeds, electric vehicles and load demands, and use a mixed integer linear programming algorithm to solve the optimization function to obtain the global optimal bidding result.
[0005] However, both the comparative patent and the prior art take into account the changes in the distribution network line losses when adjusting the capacity of distributed energy, resulting in a limit on the upper limit that the virtual power plant can apply for; secondly, the quotation curve is not fitted, and when the virtual power plant needs to provide a larger capacity, it may require resources or equipment with higher startup costs, resulting in an increase in overall costs. As the number of winning bids increases, the average cost of the prior art may rise, and the corresponding quotation will also increase. It can only calculate the optimal quotation based on the aggregation model according to different winning bid situations, resulting in a quotation that does not meet the requirements. Summary of the invention
[0006] In view of the shortcomings of the prior art, the present invention provides a quotation method for a virtual power plant participating in spot market transactions. The present invention can increase the capacity upper limit of the virtual power plant aggregator by further considering the change of line loss as the adjustable capacity of the virtual power plant, and more accurately fit the quotation curve of the virtual power plant through the BP neural network, thereby improving the scheduling accuracy of the power plant.
[0007] The technical solution of the present invention is: a quotation method for a virtual power plant to participate in spot market transactions, comprising the following steps:
[0008] S1), constructing a capacity upper limit model of the virtual power plant aggregator considering line loss changes, and determining the effective capacity upper limit of the virtual power plant through the capacity upper limit model;
[0009] S2) Based on the differential quotations of distributed power sources that can be aggregated by the virtual power plant, under the condition that the virtual power plant responds to the size of the capacity it has won the bid, the optimal aggregation strategy model of the virtual power plant aggregator is constructed, the minimum cost is obtained through the optimal aggregation strategy model, and then the current winning bid is calculated as P according to the profit margin of the virtual power plant. bid,t The sample data set of quotes at the time;
[0010] S3) Establish a BP neural network, and input the quotation sample data set into the quotation curve of the virtual power plant aggregator based on the improved BP neural network fitting.
[0011] Preferably, step S1) specifically includes the following steps:
[0012] S11), establish the objective function
[0013] The objective function of the capacity upper limit model is set based on the maximum difference between the adjustment capacity of various types of aggregated distributed power sources and the line losses on the medium voltage side and the low voltage side changed by the adjustable capacity adjustment:
[0014]
[0015] P inject,t,2 =∑ n d n,b,t +suboptmize1(P m,b,t,2 )-∑ m P m,b,t,2 ;
[0016] Where b is the low voltage distribution network node number; m is the distributed generation number; t is the time; f obj,orginal-low is the total network loss of the low-voltage side line of the system before the virtual power plant is adjusted; f obj,orginal-mid is the total network loss of the high-voltage side line of the system before the virtual power plant is adjusted; suboptmize1(P m,b,t,2 ) is the low-voltage side line loss after virtual power plant adjustment; suboptmize2(P inject,t,2 ) is the medium voltage line network loss after adjustment by the virtual power plant; P inject,t,2 P is the capacity of the medium-voltage line that is connected to the low-voltage line through the entry point after the virtual power plant is regulated at time t; m,b,t,2 is the capacity adjustment value of the mth distributed generation connected to the low-voltage side node numbered b at time t; dn,b,t It is the load size of the nth distributed generation with node number b on the low voltage side at time t.
[0017] S12), sub-optimization 1: establishing a minimum low-voltage side network loss calculation model based on an AC dispatch model;
[0018] S13), Sub-optimization 2: Establish a minimum medium voltage side network loss calculation model based on the AC dispatch model.
[0019] Preferably, step S12) specifically includes the following steps:
[0020] S121), establish the objective function
[0021] According to the minimum line loss of the low-voltage side distribution network, the objective function of the minimum low-voltage side network loss calculation model is defined as:
[0022]
[0023] In the formula, f obj,j is the minimum network loss value of the low-voltage side network connected to the medium-voltage distribution network node j after adjustment by the virtual power plant, a and b are the low-voltage distribution network node numbers, j is the number of the medium-voltage distribution network node connected to the low-voltage distribution network, and r j,ab is the resistance of branch ab; I j,ab,t represents the current flowing through the j-th node branch ab during period t;
[0024] S122) Establish branch flow constraints
[0025] Each branch should satisfy the following constraints, as shown in the following formula:
[0026]
[0027] Where U j,a,t is the voltage value of node a in period t, U j,b,t is the voltage value of node b in period t, U j,ab,t is the voltage value flowing through the first end of branch ab during period t; r j,ab is the resistance of branch ab, x j,ab is the impedance of branch ab, P j,ab,t is the active power flowing through the head end of branch ab during period t; Q j,ab,t is the reactive power flowing through the head end of branch ab during period t; d j,b,t is the active power injected into node b during period t; P m,b,t,2 is the capacity adjustment value of the mth distributed generation connected to the low-voltage side node numbered b at time t; I j,ab,t represents the current flowing through branch ab during period t; P j,bk,t is the active power flowing through the head end of branch bk during period t; Qj,bk,t is the reactive power flowing through the head end of branch bk during period t; j,b,t is the reactive power injected by node b in period t; k:b→k represents the set of all child nodes with node b as the parent node; γ is the set of nodes with adjustable distributed resources access;
[0028] S123), establish node voltage constraints
[0029] In order to ensure the normal operation of each node in the distribution network at each time period, the node voltage should operate within the allowable range. Therefore, the node voltage constraint is:
[0030] U′ min ≤U j,a,t ≤U′ max ;
[0031] In the formula, U′ max , U′ min They are the upper and lower limits of the voltage at the nodes of the low-voltage distribution network respectively;
[0032] S124) Establishing the upper limit constraint of the adjustable capacity of each aggregatable resource
[0033] Each type of aggregated power source has its own capacity adjustment limit, and its output shall not exceed its own adjustable capacity limit, as follows:
[0034] 0≤P m,b,t,2 ≤P m,b,t,max ;
[0035] Where P m,b,t,2 is the capacity adjustment value of the mth distributed generation connected to the low-voltage side node numbered b at time t; this variable is only used when calculating the maximum adjustable capacity; P m,b,t,max It is the maximum adjustable capacity of the mth distributed generation connected to the low-voltage side node numbered b in period t.
[0036] Preferably, step S13) specifically includes the following steps:
[0037] S131), based on the minimum line loss of the medium voltage distribution network, establish the objective function:
[0038]
[0039] Where i and j are the node numbers of the medium voltage distribution network; r ij is the resistance of branch ij; I ij,t represents the current flowing through branch ij during period t;
[0040] S132) Establish branch flow constraints
[0041] All branches should satisfy the following constraints, as shown in the following formula:
[0042]
[0043] Where i and j are the node numbers of the medium voltage distribution network; U i,t is the voltage value of node i in period t, U j,t is the voltage value of node j in period t, P injict,t is the active power injected by the medium voltage distribution network to the lower grid after the adjustable resources are adjusted, U ij,t is the voltage value flowing through branch ij during period t; r ij is the resistance of branch ij; x ij is the impedance of branch ij; P ij,t is the active power flowing through the head end of branch ij during period t; Q ij,t is the reactive power flowing through the head end of branch ij during period t; ij,t represents the current flowing through branch ij during period t; d j,t ,q i,t The low-voltage distribution network under the medium-voltage node j is equivalent to the active load and reactive load on the medium-voltage side in time period t; jk,t , Q jk,t are respectively the active power and reactive power at the head end of branch jk at time t; k:j→k is represented by the set of all child nodes with j node as the parent node; ∧ is the set of medium-voltage node numbers containing adjustable resources in the lower-level low-voltage distribution network to which the medium-voltage distribution network belongs;
[0044] S133), node voltage constraint
[0045] In order to ensure the normal operation of each node in the distribution network at each time period, the node voltage should operate within the allowable range, and its expression is:
[0046] U min ≤U i,t ≤U max ;
[0047] Where U i,t is the voltage value of node i in period t; U max , U min They are the upper and lower limits of the voltage at the nodes of the medium voltage distribution network respectively.
[0048] Preferably, step S2) specifically includes the following steps:
[0049] S21), establish the objective function
[0050] Considering that the virtual power plant aims to maximize profits, the optimal aggregation strategy formulation model for virtual power plant aggregators takes the minimum virtual power plant aggregation cost as the objective function:
[0051] bj1:min C m ×P m,b,t,1 ;
[0052] C m is the capacity quotation of the mth distributed generation, P m,b,t,1 is the capacity regulation of the mth distributed generation at time t;
[0053] S22) Establish the upper limit constraint of the regulation capacity of each distributed power source
[0054] When aggregating distributed power sources, the virtual power plant aggregator must consider the upper limit of their adjustable capacity. The adjustment amount of each distributed power source must be within this upper limit to ensure the normal operation of the power source. The expression is:
[0055] 0≤P m,b,t,1 ≤P m,b,t_max ;
[0056] Where P m,b,t_max is the upper limit of capacity regulation of the mth distributed generation at time t, P m,b,t,1 is the capacity regulation of the mth distributed generation at time t;
[0057] S23) Establish the balance constraint of the bid quantity
[0058] When a virtual power plant participates in the spot market and wins a bid, it is required to provide a power supply that is balanced with the scalar through the integration and coordination of multiple distributed resources; its expression is as follows:
[0059]
[0060]
[0061] Where P bid,t represents the winning bid of the virtual power plant participating in the spot market transaction at time t; f obj,orginal-low is the total network loss of the low-voltage side line of the system before the virtual power plant is adjusted; f obj,orginal-mid is the total network loss of the high-voltage side line of the system before the virtual power plant is adjusted; suboptmize1(P m,b,t,1 ) is the low-voltage side line loss after virtual power plant adjustment; suboptmize2(P inject,t ) is the medium voltage line loss after adjustment by the virtual power plant, P inject,t is the active power injected by the medium voltage distribution network to the lower grid after the adjustable resources are adjusted; d n,b,t is the load size of the nth node on the low-voltage side at time t; P m,b,t,1 is the capacity regulation of the mth distributed generation at time t;
[0062] S24) Establish the climbing constraint conditions of each distributed power source
[0063] Each power source has a maximum change rate or capacity limit when adjusting its output, because the rapid response of distributed power sources will affect the stability of the power system; if the distributed resources change their output significantly in a short period of time, it will cause frequency fluctuations or voltage fluctuations in the power system, thereby affecting the stable operation of the system. The ramp constraints are as follows:
[0064]
[0065] Where NT is the maximum value of the time index to be considered; M is the total number of distributed power sources that can be aggregated; R max,m is the upper limit of the climbing constraint, G m,b,t-1 is the output of distributed generation m at time t-1; G m,b,t is the planned output of distributed generation m before regulation at time t; P m,b,t-1,1 is the capacity adjustment of the mth distributed generation at time t-1; P m,b,t,1 is the capacity regulation of the mth distributed generation at time t;
[0066] S25), the size constraint of the medium
[0067] The upper limit of capacity declared by virtual power plants when participating in the spot market should be limited according to the maximum capacity they can supply, to prevent the situation where the bid is too large and the virtual power plant cannot respond to the bid size by aggregating distributed power sources. The relevant constraints are as follows:
[0068] P bid,t ≤P bid,t,max ;
[0069] Where P bid,t,max is the upper limit of the maximum bid capacity that the virtual power plant can respond to by aggregating distributed power sources at the tth moment; P bid,t represents the winning bid volume of the virtual power plant participating in spot market transactions at time t;
[0070] S26), Sub-optimization 1: Establish the minimum low-voltage side network loss calculation model based on the AC dispatch model suboptmize1-obj_2:min f obj,j
[0071]
[0072] Constraint 1.2.1:
[0073] Constraint 1.2.2: U′ min ≤U i,t≤U′ max
[0074] Constraint 1.2.3: 0 ≤ P m,b,t,1 ≤P m,b,t,max
[0075] By adding P m,b,t,1 Transfer to sub-optimization 1 to calculate the corresponding minimum low-voltage side network loss;
[0076] In the formula, f obj,j is the minimum low-voltage side network loss value after considering adjustable resources; a and b are the node numbers of the low-voltage distribution network, j is the node number of the medium-voltage distribution network to which the low-voltage distribution network is connected, and r j,ab is the resistance of branch ab; I j,ab,t represents the current flowing through the j-th node branch ab during period t; U j,a,t is the voltage value of node a in period t, U j,b,t is the voltage value of node b in period t, U j,ab,t is the voltage value flowing through the j-th node branch ab in period t; x j,ab is the impedance of branch ab, P j,ab,t is the active power flowing through the head end of branch ab during period t; Q j,ab,t is the reactive power flowing through the head end of branch ab during period t; d j,b,t is the active power injected into node b during period t; P j,bk,t is the active power flowing through the head end of branch bk during period t; Q j,bk,t is the reactive power flowing through the head end of branch bk during period t; j,b,t is the reactive power injected by node b during period t; k:b→k represents the set of all child nodes with node b as the parent node; γ is the set of nodes with distributed power sources connected; U′ max , U′ min are the upper and lower limits of the voltage at the nodes of the low-voltage distribution network respectively; P m,b,t,1 is the capacity adjustment of the mth distributed generation at time t; P m,b,t,max The maximum adjustable capacity of the mth distributed power source connected to the low-voltage side node numbered b in time period t;
[0077] S27), Sub-optimization 2: Establish a minimum medium voltage side network loss calculation model based on the AC dispatch model, and m,b,t,1 The indicated P inject,t It is transferred to sub-optimization 2 to calculate the corresponding minimum medium voltage side network loss;
[0078]
[0079] In the formula, f obj,bis the minimum medium voltage side network loss value based on the AC dispatch model, i and j are the node numbers of the medium voltage distribution network; U i,t is the voltage value of node i in period t, U j,t is the voltage value of node j in period t, P injict,t is the active power injected by the medium voltage distribution network to the lower grid after the adjustable resources are adjusted, U ij,t is the voltage value flowing through branch ij during period t; r ij is the resistance of branch ij; x ij is the impedance of branch ij; I ij,t represents the current flowing through branch ij during period t; P ij,t is the active power flowing through the head end of branch ij during period t; Q ij,t is the reactive power flowing through the head end of branch ij during period t; j,t ,q i,t The low-voltage distribution network under the medium-voltage node j is equivalent to the active load and reactive load on the medium-voltage side in time period t; jk,t , Q jk,t are the active power and reactive power of the head end of branch jk at time t; k:j→k is represented by the set of all child nodes with j node as the parent node; Λ is the set of nodes with adjustable resources on the lower low-voltage side in the medium-voltage distribution network; U max , U min They are the upper and lower limits of the voltage at the nodes of the medium voltage distribution network respectively.
[0080] Preferably, in step S3), the improved BP neural network includes an input layer, a hidden layer and an output layer, and the input layer, the hidden layer and the output layer are all composed of a plurality of neuron nodes, information is transmitted between the neuron nodes through connection weights, and the number of hidden layers and neuron nodes is obtained through a genetic algorithm.
[0081] Preferably, in step S3), fitting the quotation curve of the virtual power plant aggregator using the BP neural network specifically includes the following steps:
[0082] S31), obtaining a quotation sample data set through the virtual power plant aggregator's optimal aggregation strategy model, and preprocessing the quotation sample data set;
[0083] S32), using genetic algorithm to initialize the number of hidden layers P and the number of neuron nodes s of the BP neural network; then input the pre-processed quotation sample data set into the input layer of the BP neural network; then enter the first hidden layer for processing, that is:
[0084]
[0085] In the formula, α hrepresents the input of the hth neuron node in the first hidden layer, d represents the number of neuron nodes in the input layer, ρ ih represents the weight from the i-th neuron node in the input layer to the h-th neuron node in the first hidden layer; x i represents the i-th quotation sample data, θ h is the bias of the hth neuron node;
[0086] S33), the calculation of sample data from the tth hidden layer to the t+1th hidden layer is as follows:
[0087]
[0088] In the formula, δ n represents the output of the nth neuron node in the t+1th hidden layer, s represents the number of neuron nodes in the tth hidden layer, represents the weight of the mth hidden layer neuron node from the tth hidden layer to the nth output layer neuron from the t+1th hidden layer, b m Represents the data value of the mth hidden neuron node in the tth hidden layer; θ n is the bias of the nth neuron;
[0089] S34), the calculation from the last hidden layer to the output layer is as follows:
[0090]
[0091] In the formula, β j represents the output of the jth neuron, s represents the number of neuron nodes in the last hidden layer, ω nj represents the weight from the nth hidden layer neuron node to the jth output layer neuron in the last hidden layer, μ n Represents the data value of the nth hidden neuron in the last hidden layer, θ j is the bias of the jth neuron node;
[0092] S35) determines whether the fitted quotation curve output by the output layer meets the requirements. If it meets the requirements, the fitted quotation curve is output. If it does not meet the requirements, repeat steps S32)-S35).
[0093] Preferably, in step S31), the sample data set is obtained by using the optimal aggregation strategy model of the virtual power plant aggregator as follows:
[0094] By inputting different spot market winning bid quantities into the virtual power plant aggregator's optimal aggregation strategy model, the aggregation costs under various winning bid situations are simulated, and then the rate of return of the virtual power plant is further used to obtain the quotation of the virtual power plant under the winning bid quantity, and the different winning bid quantities and corresponding quotation situations are combined into a sample data set of winning bid quantities and virtual power plant quotations; the preprocessing is data cleaning and proportional compression.
[0095] The beneficial effects of the present invention are:
[0096] 1. The present invention further considers the change of line loss as the adjustable capacity of the virtual power plant, which can increase the capacity upper limit of the virtual power plant aggregator and avoid the problem of being unable to complete the scalar quantity, thereby bringing new benefits to the distribution network level dispatch and the virtual power plant aggregator;
[0097] 2. The present invention obtains the virtual power plant aggregator quotation and winning bid data set through the aggregation strategy model, and then more accurately fits the quotation curve of the virtual power plant through the BP neural network, thereby assisting the power grid to perform scheduling by analyzing the quotation curve of the virtual power plant, helping the power grid to achieve supply and demand balance, optimize resource allocation, reduce costs and improve efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] Figure 1 It is a flow chart of the method of the present invention;
[0099] Figure 2 It is a schematic diagram of a distribution network in the present invention at time period t;
[0100] Figure 3 This is a flow chart of the present invention using BP neural network to fit the quotation curve;
[0101] Figure 4 It is a schematic diagram of a branch of the power distribution network of the present invention in time period t. DETAILED DESCRIPTION
[0102] The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings:
[0103] like Figure 1 As shown, this embodiment provides a quotation method for a virtual power plant to participate in spot market transactions, including the following steps:
[0104] S1), constructing a capacity upper limit model of the virtual power plant aggregator considering line loss changes, and determining the effective capacity upper limit of the virtual power plant through the capacity upper limit model;
[0105] S11), establish the objective function
[0106] The objective function of the capacity upper limit model is set based on the maximum difference between the adjustment capacity of various types of aggregated distributed power sources and the line losses on the medium voltage side and the low voltage side changed by the adjustable capacity adjustment:
[0107]
[0108] P inject,t,2 =∑ n d n,b,t +suboptmize1(P m,b,t,2 )-∑ m P m,b,t,2 ;
[0109] Where b is the low voltage distribution network node number; m is the distributed generation number; t is the time; f obj,orginal-low is the total network loss of the low-voltage side line of the system before the virtual power plant is adjusted; f obj,orginal-mid is the total network loss of the high-voltage side line of the system before the virtual power plant is adjusted; suboptmize1(P m,b,t,2 ) is the low-voltage side line loss after virtual power plant adjustment; suboptmize2(P inject,t,2 ) is the medium voltage line network loss after adjustment by the virtual power plant; P inject,t,2 P is the capacity of the medium-voltage line that is connected to the low-voltage line through the entry point after the virtual power plant is regulated at time t; m,b,t,2 is the capacity adjustment value of the mth distributed generation connected to the low-voltage side node numbered b at time t; d n,b,t It is the load size of the nth distributed generation with node number b on the low voltage side at time t.
[0110] S12), sub-optimization 1: establishing a minimum low-voltage side network loss calculation model based on an AC dispatch model;
[0111] S121), establish the objective function
[0112] According to the minimum line loss of the low-voltage side distribution network, the objective function of the minimum low-voltage side network loss calculation model is defined as:
[0113]
[0114] In the formula, f obj,j is the minimum network loss value of the low-voltage side network connected to the medium-voltage distribution network node j after adjustment by the virtual power plant, a and b are the low-voltage distribution network node numbers, j is the number of the medium-voltage distribution network node connected to the low-voltage distribution network, and r j,ab is the resistance of branch ab; I j,ab,t represents the current flowing through the j-th node branch ab during period t;
[0115] S122) Establish branch flow constraints
[0116] like Figure 2 As shown in the figure, taking a branch of the distribution network in time period t as an example, the following constraints are established, and each branch should meet the following conditions:
[0117]
[0118] Where U j,a,t is the voltage value of node a in period t, U j,b,t is the voltage value of node b in period t, U j,ab,t is the voltage value flowing through the first end of branch ab during period t; r j,ab is the resistance of branch ab, x j,ab is the impedance of branch ab, P j,ab,t is the active power flowing through the head end of branch ab during period t; Q j,ab,t is the reactive power flowing through the head end of branch ab during period t; d j,b,t is the active power injected into node b during period t; P m,b,t,2 is the capacity adjustment value of the mth distributed generation connected to the low-voltage side node numbered b at time t; I j,ab,t represents the current flowing through branch ab during period t; P j,bk,t is the active power flowing through the head end of branch bk during period t; Q j,bk,t is the reactive power flowing through the head end of branch bk during period t; j,b,t is the reactive power injected by node b in period t; k:b→k represents the set of all child nodes with node b as the parent node; γ is the set of nodes with adjustable distributed resources access;
[0119] S123), establish node voltage constraints
[0120] In order to ensure the normal operation of each node in the distribution network at each time period, the node voltage should operate within the allowable range. Therefore, the node voltage constraint is:
[0121] U′ min ≤U j,a,t ≤U′ max ;
[0122] In the formula, U′ max , U′ min They are the upper and lower limits of the voltage at the nodes of the low-voltage distribution network respectively;
[0123] S124) Establishing the upper limit constraint of the adjustable capacity of each aggregatable resource
[0124] Each type of aggregated power source has its own capacity adjustment limit, and its output shall not exceed its own adjustable capacity limit, as follows:
[0125] 0≤P m,b,t,2 ≤Pm,b,t,max ;
[0126] Where P m,b,t,2 is the capacity adjustment value of the mth distributed generation connected to the low-voltage side node numbered b at time t; this variable is only used when calculating the maximum adjustable capacity; P m,b,t,max It is the maximum adjustable capacity of the mth distributed generation connected to the low-voltage side node numbered b in period t.
[0127] S13), sub-optimization 2: establishing a minimum medium voltage side network loss calculation model based on the AC dispatch model;
[0128] S131), based on the minimum line loss of the medium voltage distribution network, establish the objective function:
[0129]
[0130] Where i and j are the node numbers of the medium voltage distribution network; r ij is the resistance of branch ij; I ij,t represents the current flowing through branch ij during period t;
[0131] S132) Establish branch flow constraints
[0132] like Figure 4 As shown in the figure, taking a branch of the distribution network in time period t as an example, a flow constraint is established, and each branch should satisfy the following flow constraint:
[0133]
[0134] Where i and j are the node numbers of the medium voltage distribution network; U i,t is the voltage value of node i in period t, U j,t is the voltage value of node j in period t, P injict,t is the active power injected by the medium voltage distribution network to the lower grid after the adjustable resources are adjusted, U ij,t is the voltage value flowing through branch ij during period t; r ij is the resistance of branch ij; x ij is the impedance of branch ij; P ij,t is the active power flowing through the head end of branch ij during period t; Q ij,t is the reactive power flowing through the head end of branch ij during period t; ij,t represents the current flowing through branch ij during period t; d j,t ,q i,t The low-voltage distribution network under the medium-voltage node j is equivalent to the active load and reactive load on the medium-voltage side in time period t; jk,t , Q jk,tare respectively the active power and reactive power at the head end of branch jk at time t; k:j→k is represented by the set of all child nodes with j node as the parent node; ∧ is the set of medium-voltage node numbers containing adjustable resources in the lower-level low-voltage distribution network to which the medium-voltage distribution network belongs;
[0135] S133), node voltage constraint
[0136] In order to ensure the normal operation of each node in the distribution network at each time period, the node voltage should operate within the allowable range, and its expression is:
[0137] U min ≤U i,t ≤U max ;
[0138] Where U i,t is the voltage value of node i in period t; U max , U min They are the upper and lower limits of the voltage at the nodes of the medium voltage distribution network respectively.
[0139] S2) Based on the differential quotations of distributed power sources that can be aggregated by the virtual power plant, under the condition that the virtual power plant responds to the size of the capacity it has won the bid, the optimal aggregation strategy model of the virtual power plant aggregator is constructed, the minimum cost is obtained through the optimal aggregation strategy model, and then the current winning bid is calculated as P according to the profit margin of the virtual power plant. bid,t The sample data set of quotes at the time is as follows:
[0140] S21), establish the objective function
[0141] Considering that the virtual power plant aims to maximize profits, the optimal aggregation strategy formulation model for virtual power plant aggregators takes the minimum virtual power plant aggregation cost as the objective function:
[0142] bj1:min C m ×P m,b,t,1 ;
[0143] C m is the capacity quotation of the mth distributed generation, P m,b,t,1 is the capacity regulation of the mth distributed generation at time t;
[0144] S22) Establish the upper limit constraint of the regulation capacity of each distributed power source
[0145] When aggregating distributed power sources, the virtual power plant aggregator must consider the upper limit of their adjustable capacity. The adjustment amount of each distributed power source must be within this upper limit to ensure the normal operation of the power source. The expression is:
[0146] 0≤P m,b,t,1 ≤P m,b,t_max ;
[0147] Where P m,b,t_max is the upper limit of capacity regulation of the mth distributed generation at time t, P m,b,t,1 is the capacity regulation of the mth distributed generation at time t;
[0148] S23) Establish the balance constraint of the bid quantity
[0149] When a virtual power plant participates in the spot market and wins a bid, it is required to provide a power supply that is balanced with the scalar through the integration and coordination of multiple distributed resources; its expression is as follows:
[0150]
[0151]
[0152] Where P bid,t represents the winning bid of the virtual power plant participating in the spot market transaction at time t; f obj,orginal-low is the total network loss of the low-voltage side line of the system before the virtual power plant is adjusted; f obj,orginal-mid is the total network loss of the high-voltage side line of the system before the virtual power plant is adjusted; suboptmize1(P m,b,t,1 ) is the low-voltage side line loss after virtual power plant adjustment; suboptmize2(P inject,t ) is the medium voltage line loss after adjustment by the virtual power plant, P inject,t is the active power injected by the medium voltage distribution network to the lower grid after the adjustable resources are adjusted; d n,b,t is the load size of the nth node on the low-voltage side at time t; P m,b,t,1 is the capacity regulation of the mth distributed generation at time t;
[0153] S24) Establish the climbing constraint conditions of each distributed power source
[0154] Each power source has a maximum change rate or capacity limit when adjusting its output, because the rapid response of distributed power sources will affect the stability of the power system; if the distributed resources change their output significantly in a short period of time, it will cause frequency fluctuations or voltage fluctuations in the power system, thereby affecting the stable operation of the system. The ramp constraints are as follows:
[0155]
[0156] Where NT is the maximum value of the time index to be considered; M is the total number of distributed power sources that can be aggregated; R max,m is the upper limit of the climbing constraint, G m,b,t-1 is the output of distributed generation m at time t-1; G m,b,t is the planned output of distributed generation m before regulation at time t; Pm,b,t-1,1 is the capacity adjustment of the mth distributed generation at time t-1; P m,b,t,1 is the capacity regulation of the mth distributed generation at time t;
[0157] S25), the size constraint of the medium
[0158] The upper limit of capacity declared by virtual power plants when participating in the spot market should be limited according to the maximum capacity they can supply, to prevent the situation where the bid is too large and the virtual power plant cannot respond to the bid size by aggregating distributed power sources. The relevant constraints are as follows:
[0159] P bid,t ≤P bid,t,max ;
[0160] Where P bid,t,max is the upper limit of the maximum bid capacity that the virtual power plant can respond to by aggregating distributed power sources at the tth moment; P bid,t represents the winning bid volume of the virtual power plant participating in spot market transactions at time t;
[0161] S26), Sub-optimization 1: Establish the minimum low-voltage side network loss calculation model based on the AC dispatch model suboptmize1-obj_2:min f obj,j
[0162]
[0163] Constraint 1.2.1:
[0164] Constraint 1.2.2: U′ min ≤U i,t ≤U′ max
[0165] Constraint 1.2.3: 0 ≤ P m,b,t,1 ≤P m,b,t,max
[0166] By adding P m,b,t,1 Transfer to sub-optimization 1 to calculate the corresponding minimum low-voltage side network loss;
[0167] In the formula, f obj,j is the minimum low-voltage side network loss value after considering adjustable resources; a and b are the node numbers of the low-voltage distribution network, j is the node number of the medium-voltage distribution network to which the low-voltage distribution network is connected, and r j,ab is the resistance of branch ab; I j,ab,t represents the current flowing through the j-th node branch ab during period t; U j,a,t is the voltage value of node a in period t, U j,b,t is the voltage value of node b in period t, Uj,ab,t is the voltage value flowing through the j-th node branch ab in period t; x j,ab is the impedance of branch ab, P j,ab,t is the active power flowing through the head end of branch ab during period t; Q j,ab,t is the reactive power flowing through the head end of branch ab during period t; d j,b,t is the active power injected into node b during period t; P j,bk,t is the active power flowing through the head end of branch bk during period t; Q j,bk,t is the reactive power flowing through the head end of branch bk during period t; j,b,t is the reactive power injected by node b during period t; k:b→k represents the set of all child nodes with node b as the parent node; γ is the set of nodes with distributed power sources connected; U′ max , U′ min are the upper and lower limits of the voltage at the nodes of the low-voltage distribution network respectively; P m,b,t,1 is the capacity adjustment of the mth distributed generation at time t; P m,b,t,max The maximum adjustable capacity of the mth distributed power source connected to the low-voltage side node numbered b in time period t;
[0168] S27), Sub-optimization 2: Establish a minimum medium voltage side network loss calculation model based on the AC dispatch model, and m,b,t,1 The indicated P inject,t It is transferred to sub-optimization 2 to calculate the corresponding minimum medium voltage side network loss;
[0169]
[0170] In the formula, f obj,b is the minimum medium voltage side network loss value based on the AC dispatch model, i and j are the node numbers of the medium voltage distribution network; U i,t is the voltage value of node i in period t, U j,t is the voltage value of node j in period t, P injict,t is the active power injected by the medium voltage distribution network to the lower grid after the adjustable resources are adjusted, U ij,t is the voltage value flowing through branch ij during period t; r ij is the resistance of branch ij; x ij is the impedance of branch ij; I ij,t represents the current flowing through branch ij during period t; P ij,t is the active power flowing through the head end of branch ij during period t; Q ij,t is the reactive power flowing through the head end of branch ij during period t; j,t ,q i,t The low-voltage distribution network under the medium-voltage node j is equivalent to the active load and reactive load on the medium-voltage side in time period t; jk,t , Qjk,t are the active power and reactive power of the head end of branch jk at time t; k:j→k is represented by the set of all child nodes with j node as the parent node; Λ is the set of nodes with adjustable resources on the lower low-voltage side in the medium-voltage distribution network; U max , U min They are the upper and lower limits of the voltage at the nodes of the medium voltage distribution network respectively.
[0171] S3) Establish an improved BP neural network, and input the quotation sample data set into the quotation curve of the virtual power plant aggregator based on the improved BP neural network fitting.
[0172] In this embodiment, the improved BP neural network includes an input layer, a hidden layer and an output layer. The input layer, the hidden layer and the output layer are all composed of multiple neuron nodes. Information is transmitted between the neuron nodes through connection weights, and the number of hidden layers and neuron nodes is obtained through a genetic algorithm.
[0173] As preferred in this embodiment, Figure 3 As shown in FIG, the use of BP neural network to fit the quotation curve of the virtual power plant aggregator specifically includes the following steps:
[0174] S31), obtaining a quotation sample data set through the virtual power plant aggregator's optimal aggregation strategy model, and preprocessing the quotation sample data set;
[0175] S32), using genetic algorithm to initialize the number of hidden layers P and the number of neuron nodes s of the BP neural network; then input the pre-processed quotation sample data set into the input layer of the BP neural network; then enter the first hidden layer for processing, that is:
[0176]
[0177] In the formula, α h represents the input of the hth neuron node in the first hidden layer, d represents the number of neuron nodes in the input layer, ρ ih represents the weight from the i-th neuron node in the input layer to the h-th neuron node in the first hidden layer; x i represents the i-th quotation sample data, θ h is the bias of the hth neuron node;
[0178] S33), the calculation of sample data from the tth hidden layer to the t+1th hidden layer is as follows:
[0179]
[0180] In the formula, δ n represents the output of the nth neuron node in the t+1th hidden layer, s represents the number of neuron nodes in the tth hidden layer, represents the weight of the mth hidden layer neuron node from the tth hidden layer to the nth output layer neuron from the t+1th hidden layer, b m Represents the data value of the mth hidden neuron node in the tth hidden layer; θ n is the bias of the nth neuron;
[0181] S34), the calculation from the last hidden layer to the output layer is as follows:
[0182]
[0183] In the formula, β j represents the output of the jth neuron, s represents the number of neuron nodes in the last hidden layer, ω nj represents the weight from the nth hidden layer neuron node to the jth output layer neuron in the last hidden layer, μ n Represents the data value of the nth hidden neuron in the last hidden layer, θ j is the bias of the jth neuron node;
[0184] S35) determines whether the fitted quotation curve output by the output layer meets the requirements. If it meets the requirements, the fitted quotation curve is output. If it does not meet the requirements, repeat steps S32)-S35).
[0185] As a preferred embodiment of this embodiment, in step S31), the sample data set is obtained by using the optimal aggregation strategy model of the virtual power plant aggregator as follows:
[0186] By inputting different spot market winning bid quantities into the virtual power plant aggregator's optimal aggregation strategy model, the aggregation costs under various winning bid situations are simulated, and then the rate of return of the virtual power plant is further used to obtain the quotation of the virtual power plant under the winning bid quantity, and the different winning bid quantities and corresponding quotation situations are combined into a sample data set of winning bid quantities and virtual power plant quotations; the preprocessing is data cleaning and proportional compression.
[0187] The above embodiments and descriptions are only for illustrating the principles and best embodiments of the present invention. Without departing from the spirit and scope of the present invention, the present invention may be subject to various changes and improvements, all of which fall within the scope of the present invention to be protected.
Claims
1. A quotation method for a virtual power plant to participate in spot market transactions, characterized in that: The following steps are involved: S1), constructing a capacity upper limit model of the virtual power plant aggregator considering line loss changes, and determining the effective capacity upper limit of the virtual power plant through the capacity upper limit model; S2) Based on the differential quotations of distributed power sources that can be aggregated by the virtual power plant, under the condition that the virtual power plant responds to the size of the capacity it has won the bid, the optimal aggregation strategy model of the virtual power plant aggregator is constructed, the minimum cost is obtained through the optimal aggregation strategy model, and then the current winning bid is calculated as P according to the profit margin of the virtual power plant. bid,t The sample data set of quotes at the time; S3) construct an improved BP neural network, and input the quotation sample data set obtained by the aggregation strategy model into the improved BP neural network to fit the quotation curve of the virtual power plant aggregator.
2. The quotation method for a virtual power plant participating in spot market transactions according to claim 1 is characterized in that: Step S1) specifically includes the following steps: S11), setting the objective function of the capacity upper limit model according to the maximum value of the sum of the difference between the adjustment capacity of various types of distributed power sources that can be aggregated and the line losses on the medium voltage side and the low voltage side that are changed by the adjustment of the adjustable capacity; S12), sub-optimization 1: establishing a minimum low-voltage side network loss calculation model based on an AC dispatch model; S13), Sub-optimization 2: Establish a minimum medium voltage side network loss calculation model based on the AC dispatch model.
3. The quotation method for a virtual power plant participating in spot market transactions according to claim 2 is characterized in that: In step S11), the objective function of the capacity upper limit model is: P inject,t,2 =∑ n d n,b,t +suboptmize1(P m,b,t,2 )-∑ m P m,b,t,2 ; In the formula, b is the low voltage distribution network node number; m is the distributed generation number; t is the time; f obj,orginal-low is the total network loss of the low-voltage side line of the system before the virtual power plant is adjusted; f obj,orginal-mid is the total network loss of the high-voltage side line of the system before the virtual power plant is adjusted; suboptmize1(P m,b,t,2 ) is the low-voltage side line loss after virtual power plant adjustment; suboptmize2(P inject,t,2 ) is the medium voltage line network loss after adjustment by the virtual power plant; P inject,t,2 P is the capacity of the medium-voltage line that is connected to the low-voltage line through the entry point after the virtual power plant is regulated at time t; m,b,t,2 is the capacity adjustment value of the mth distributed generation connected to the low-voltage side node numbered b at time t; d n,b,t It is the load size of the nth distributed generation with node number b on the low voltage side at time t.
4. The quotation method for a virtual power plant participating in spot market transactions according to claim 2 is characterized in that: Step S12) specifically includes the following steps: S121), establish the objective function According to the minimum line loss of the low-voltage side distribution network, the objective function of the minimum low-voltage side network loss calculation model is defined as: In the formula, f obj,j is the minimum network loss value of the low-voltage side network connected to the medium-voltage distribution network node j after adjustment by the virtual power plant, a and b are the low-voltage distribution network node numbers, j is the number of the medium-voltage distribution network node connected to the low-voltage distribution network, and r j,ab is the resistance of branch ab; I j,ab,t represents the current flowing through the j-th node branch ab during period t; S122) Establish branch flow constraints Each branch should meet the following conditions: Where U j,a,t is the voltage value of node a in period t, U j,b,t is the voltage value of node b in period t, U j,ab,t is the voltage value flowing through the first end of branch ab during period t; r j,ab is the resistance of branch ab, x j,ab is the impedance of branch ab, P j,ab,t is the active power flowing through the head end of branch ab during period t; Q j,ab,t is the reactive power flowing through the head end of branch ab during period t; d j,b,t is the active power injected into node b during period t; P m,b,t,2 is the capacity adjustment value of the mth distributed generation connected to the low-voltage side node numbered b at time t; I j,ab,t represents the current flowing through branch ab during period t; P j,bk,t is the active power flowing through the head end of branch bk during period t; Q j,bk,t is the reactive power flowing through the head end of branch bk during period t; j,b,t is the reactive power injected by node b during period t; k: b→k represents the set of all child nodes with node b as the parent node; γ is the set of nodes with adjustable distributed resources access; S123), establish node voltage constraints In order to ensure the normal operation of each node in the distribution network at each time period, the node voltage should operate within the allowable range. Therefore, the node voltage constraint is: IN' min ≤U j,a,t ≤U′ max ; In the formula, U′ max , U′ min They are the upper and lower limits of the voltage at the nodes of the low-voltage distribution network respectively; S124) Establishing the upper limit constraint of the adjustable capacity of each aggregatable resource Each type of aggregated power source has its own capacity adjustment limit, and its output shall not exceed its own adjustable capacity limit, as follows: 0≤P m,b,t,2 ≤P m,b,t,max ; Where P m,b,t,2 is the capacity adjustment value of the mth distributed generation connected to the low-voltage side node numbered b at time t; This variable is only used when calculating the maximum adjustable capacity; P m,b,t,max It is the maximum adjustable capacity of the mth distributed generation connected to the low-voltage side node numbered b in period t.
5. The quotation method for a virtual power plant participating in spot market transactions according to claim 2 is characterized in that: Step S13) specifically includes the following steps: S131), based on the minimum line loss of the medium voltage distribution network, establish the objective function: Where i and j are the node numbers of the medium voltage distribution network; r ij is the resistance of branch ij; I ij,t represents the current flowing through branch ij during period t; S132) Establish branch flow constraints Each branch should meet the following conditions: Where i and j are the node numbers of the medium voltage distribution network; U i,t is the voltage value of node i in period t, U j,t is the voltage value of node j in period t, P injict,t is the active power injected by the medium voltage distribution network to the lower grid after the adjustable resources are adjusted, U ij,t is the voltage value flowing through branch ij during period t; r ij is the resistance of branch ij; x ij is the impedance of branch ij; P ij,t is the active power flowing through the head end of branch ij during period t; Q ij,t is the reactive power flowing through the head end of branch ij during period t; ij,t represents the current flowing through branch ij during period t; d j,t ,q i,t The low-voltage distribution network under the medium-voltage node j is equivalent to the active load and reactive load on the medium-voltage side in time period t respectively; jk,t , Q jk,t are respectively the active power and reactive power at the head end of branch jk at time t; k: j→k is represented by the set of all child nodes with j node as the parent node; ∧ is the set of medium-voltage node numbers containing adjustable resources in the lower-level low-voltage distribution network to which the medium-voltage distribution network belongs; S133), node voltage constraint In order to ensure the normal operation of each node in the distribution network at each time period, the node voltage should operate within the allowable range, and its expression is: IN min ≤U i,t ≤U max ; Where U i,t is the voltage value of node i in period t; U max , U min They are the upper and lower limits of the voltage at the nodes of the medium voltage distribution network respectively.
6. The quotation method for a virtual power plant participating in spot market transactions according to claim 1 is characterized in that: Step S2) specifically includes the following steps: S21), establish the objective function Considering that the virtual power plant aims to maximize profits, the optimal aggregation strategy formulation model for virtual power plant aggregators takes the minimum virtual power plant aggregation cost as the objective function: obj1: my C m ×P m,b,t,1 ; C m is the capacity quotation of the mth distributed generation, P m,b,t,1 is the capacity regulation of the mth distributed generation at time t; S22) Establish the upper limit constraint of the regulation capacity of each distributed power source When aggregating distributed power sources, the virtual power plant aggregator must consider the upper limit of their adjustable capacity. The adjustment amount of each distributed power source must be within this upper limit to ensure the normal operation of the power source. The expression is: 0≤P m,b,t,1 ≤P m,b,t_max ; Where P m,b,t_max is the upper limit of capacity regulation of the mth distributed generation at time t, P m,b,t,1 is the capacity regulation of the mth distributed generation at time t; S23) Establish the balance constraint of the bid quantity When a virtual power plant participates in a spot market bid, it is required to provide a power supply that is balanced with its scalar through the integration and coordination of multiple distributed resources; Its expression is as follows: P inject,t =∑ n d n,b,t +suboptmize1(P m,b,t,1 )-∑ m P m,b,t,1 ; Where P bid,t represents the winning bid volume of the virtual power plant participating in spot market transactions at time t; f obj,orginal-low is the total network loss of the low-voltage side line of the system before the virtual power plant is adjusted; f obj,orginal-mid is the total network loss of the high-voltage side line of the system before the virtual power plant is adjusted; suboptmize1(P m,b,t,1 ) is the low-voltage side line loss after virtual power plant adjustment; suboptmize2(P inject,t ) is the medium voltage line loss after adjustment by the virtual power plant, P injict,t It is the active power injected by the medium voltage distribution network into the lower grid after the adjustable resources are adjusted; d n,b,t is the load size of the nth node on the low-voltage side at time t; P m,b,t,1 is the capacity regulation of the mth distributed generation at time t; S24) Establish the climbing constraint conditions of each distributed power source Each power source has a maximum change rate or capacity limit when adjusting its output, because the rapid response of distributed power sources will affect the stability of the power system; if the distributed resources change their output significantly in a short period of time, it will cause frequency fluctuations or voltage fluctuations in the power system, thereby affecting the stable operation of the system. The ramp constraints are as follows: Where NT is the maximum value of the time index to be considered; M is the total number of distributed power sources that can be aggregated; R max,m is the upper limit of the climbing constraint, G m,b,t-1 is the output of distributed generation m at time t-1; G m,b,t is the planned output of distributed generation m before regulation at time t; P m,b,t-1,1 is the capacity adjustment of the mth distributed generation at time t-1; P m,b,t,1 is the capacity regulation of the mth distributed generation at time t; S25), the size constraint of the medium The upper limit of capacity declared by virtual power plants when participating in the spot market should be limited according to the maximum capacity they can supply, to prevent the situation where the bid is too large and the virtual power plant cannot respond to the bid size by aggregating distributed power sources. The relevant constraints are as follows: P bid,t ≤P bid,t,max ; Where P bid,t,max is the upper limit of the maximum bid capacity that the virtual power plant can respond to by aggregating distributed power sources at the tth moment; P bid,t Represents the winning bid volume of the virtual power plant participating in spot market transactions at time t.
7. A quotation method for a virtual power plant to participate in spot market transactions according to claim 6, characterized in that: In step S2), the following steps are also included: S26), Sub-optimization 1: Establish the minimum low-voltage side network loss calculation model based on the AC dispatch model suboptmize1-obj-2: min f obj,j Constraint 1.2.1: Constraint 1.2.2: U′ min ≤U i,t ≤U′ max Constraint 1.2.3: 0 ≤ P m,b,t,1 ≤P m,b,t,max By adding P m,b,t,1 Transfer to sub-optimization 1 to calculate the corresponding minimum low-voltage side network loss; In the formula, f obj,b is the minimum low-voltage side network loss value after considering adjustable resources; a and b are the node numbers of the low-voltage distribution network, j is the node number of the medium-voltage distribution network to which the low-voltage distribution network is connected, and r j,ab is the resistance of branch ab; I j,ab,t represents the current flowing through the j-th node branch ab during period t; U j,a,t is the voltage value of node a in period t, U j,b,t is the voltage value of node b in period t, U j,ab,t is the voltage value flowing through the j-th node branch ab in period t; x j,ab is the impedance of branch ab, P j,ab,t is the active power flowing through the head end of branch ab during period t; Q j,ab,t is the reactive power flowing through the head end of branch ab during period t; d j,b,t is the active power injected into node b during period t; P j,bk,t is the active power flowing through the head end of branch bk during period t; Q j,bk,t is the reactive power flowing through the head end of branch bk during period t; j,b,t is the reactive power injected by node b during period t; k: b→k is the set of all child nodes with node b as the parent node; γ is the set of nodes with distributed power sources connected; U′ max , U′ min are the upper and lower limits of the voltage at the nodes of the low-voltage distribution network respectively; P m,b,t,1 is the capacity adjustment of the mth distributed generation at time t; P m,b,t,max The maximum adjustable capacity of the mth distributed power source connected to the low-voltage side node numbered b in time period t; S27), Sub-optimization 2: Establish a minimum medium voltage side network loss calculation model based on the AC dispatch model, and m,b,t,1 The indicated P inject,t It is transferred to sub-optimization 2 to calculate the corresponding minimum medium voltage side network loss; In the formula, f obj,b is the minimum medium voltage side network loss value based on the AC dispatch model, i and j are the node numbers of the medium voltage distribution network; U i,t is the voltage value of node i in period t, U j,t is the voltage value of node j in period t, P injict,t is the active power injected by the medium voltage distribution network to the lower grid after the adjustable resources are adjusted, U ij,t is the voltage value flowing through branch ij during period t; r ij is the resistance of branch ij; x ij is the impedance of branch ij; I ij,t represents the current flowing through branch ij during period t; P ij,t is the active power flowing through the head end of branch ij during period t; Q ij,t is the reactive power flowing through the head end of branch ij during period t; j,t ,q i,t The low-voltage distribution network under the medium-voltage node j is equivalent to the active load and reactive load on the medium-voltage side in time period t; jk,t , Q jk,t are the active power and reactive power of the head end of branch jk at time t; k: j→k is represented by the set of all child nodes with j node as the parent node; Λ is the set of nodes with adjustable resources on the lower low-voltage side in the medium-voltage distribution network; U max , U min They are the upper and lower limits of the voltage at the nodes of the medium voltage distribution network respectively.
8. The quotation method for a virtual power plant participating in spot market transactions according to claim 1 is characterized by: In step S3), the improved BP neural network includes an input layer, a hidden layer and an output layer, and the input layer, the hidden layer and the output layer are all composed of multiple neuron nodes. Information is transmitted between the neuron nodes through connection weights, and the number of hidden layers and neuron nodes is obtained through a genetic algorithm.
9. A quotation method for a virtual power plant to participate in spot market transactions according to claim 8, characterized in that: In step S3), using the BP neural network to fit the quotation curve of the virtual power plant aggregator specifically includes the following steps: S31), obtaining a quotation sample data set through the virtual power plant aggregator's optimal aggregation strategy model, and preprocessing the quotation sample data set; S32), using genetic algorithm to initialize the number of hidden layers P and the number of neuron nodes s of the BP neural network; Then the pre-processed quotation sample data set is input into the input layer of the BP neural network; then it enters the first hidden layer for processing, namely: In the formula, α h represents the input of the hth neuron node in the first hidden layer, d represents the number of neuron nodes in the input layer, ρ ih represents the weight from the i-th neuron node in the input layer to the h-th neuron node in the first hidden layer; x i represents the i-th quotation sample data, θ h is the bias of the hth neuron node; S33), the calculation of sample data from the tth hidden layer to the t+1th hidden layer is as follows: In the formula, δ n represents the output of the nth neuron node in the t+1th hidden layer, s represents the number of neuron nodes in the tth hidden layer, represents the weight of the mth hidden layer neuron node from the tth hidden layer to the nth output layer neuron from the t+1th hidden layer, b m Represents the data value of the mth hidden neuron node in the tth hidden layer; θ n is the bias of the nth neuron; S34), the calculation from the last hidden layer to the output layer is as follows: In the formula, β j represents the output of the jth neuron, s represents the number of neuron nodes in the last hidden layer, ω nj represents the weight from the nth hidden layer neuron node to the jth output layer neuron in the last hidden layer, μ n Represents the data value of the nth hidden neuron in the last hidden layer, θ j is the bias of the jth neuron node; S35), determine whether the fitted quotation curve output by the output layer meets the requirements. If it meets the requirements, output the fitted quotation curve. If it does not meet the requirements, repeat steps S32)-S35).
10. A quotation method for a virtual power plant to participate in spot market transactions according to claim 9, characterized in that: In step S31), the sample data set is obtained through the optimal aggregation strategy model of the virtual power plant aggregator as follows: by inputting different spot market winning bid quantities into the optimal aggregation strategy model of the virtual power plant aggregator to simulate the aggregation costs under various winning bid conditions, and then the rate of return of the virtual power plant is further used to obtain the quotation of the virtual power plant under the winning bid quantity, and different winning bid quantities and corresponding quotation situations are combined into a sample data set of winning bid quantities and virtual power plant quotations; the preprocessing is data cleaning and proportional compression.
Citation Information
Patent Citations
Clearing method for participation of multi-element small and micro subjects in spot market based on virtual power plant
CN112529622A
Double-layer bidding system and method considering influence of virtual power plant on spot market settlement
CN114708071A
Virtual power plant and power distribution network collaborative interaction method, device, equipment and medium
CN117291095A
Clearing model of capability-adjustable virtual power plant participating in spot market
CN118071219A
Cited By
New energy and electric vehicle charging pile inertia aggregation method and system and computer program product
CN120338857A
Virtual power plant distribution scheduling method and system
CN120896145A
Virtual power plant allocation and scheduling method and system
CN120896145B
