The present disclosure relates to the field of energy management and optimization models, and in particular, to a two-stage stochastic programming based V2G scheduling method for operator revenue maximization.
Vehicle-to-Grid (V2G) is designed for interaction between an electric vehicle and a power grid. A battery of the electric vehicle is used as a buffer for the power grid and renewable energy. In the external environment of energy conservation and emission reduction, and fossil energy shortage, electric vehicles (EVs) have gradually occupied more market shares of fuel vehicles for their low use cost and prominent energy conservation and environmental protection effects. In addition to energy conservation and emission reduction, EVs, as mobile energy storage, can bring many auxiliary services for the power grid by vehicle-grid interaction, including auxiliary peak regulation and auxiliary frequency modulation for the power grid. This model can realize peak regulation, accurately control charging and discharging states and capacities of EVs, so that EVs are orderly involved in operation regulation of the power grid. When EVs are involved in the operation regulation of the power grid, centralized scheduling of a V2G operator (a scheduling center) plays an indispensable role.
The V2G operator is the revenue subject of the model and is responsible for managing charging and discharging of in-agreement EVs and providing power for out-of-agreement EVs, operating a renewable energy power generation system within the area, providing power transfer for part of loads within the area and feeding surplus power from the area into the power grid.
The problem of EVs involved in V2G charging and discharging scheduling is an optimal decision problem with multiple uncertainties, which may be divided into the randomness of V2G scheduling resource and the randomness of renewable energy power generation. In previous studies, it is difficult to comprehensively consider the co-effects of randomness of EVs involved in the V2G, and combination of the V2G scheduling resource randomness and the renewable energy randomness is not deeply studied.
In view of deficiency in the prior art, the present disclosure provides a two-stage stochastic programming based V2G scheduling method for operator revenue maximization. This V2G two-stage nonlinear stochastic programming model integrates V2G scheduling randomness and renewable energy power generation randomness, which in particular considers V2G scheduling resource randomness and the renewable energy randomness.
In order to achieve the above objective, the present disclosure adopts the following technical solutions.
A two-stage stochastic programming-based V2G scheduling method is provided, which aims at maximizing operator revenue for a system including electric vehicles (EVs), charging and discharging stations, and a power grid. The method includes the following steps:
obtaining a day-ahead parameter set of EVs within the operator's service area, issuing scheduling invitation agreements to EVs within the service area, classifying EVs accepting the scheduling invitation agreements as in-agreement EVs, and EVs not responding or refusing the agreements as out-of-agreement EVs;
establishing a random scenario set based on the day-ahead parameter set of EVs within the service area, conditions of in-agreement and out-of-agreement EVs, and renewable energy generation, and given that a predetermined random charging demand for the out-of-agreement EVs is met, optimal charging and discharging scheduling of the in-agreement EVs is performed;
in consideration of independence of random factors, determining a final random scenario by using a random scenario set model, and establishing a V2G two-stage nonlinear stochastic programming model based on the final random scenario; and
maximizing a total revenue of a V2G operator by using the V2G two-stage nonlinear stochastic programming model.
Compared with the prior art, the present disclosure has the following beneficial effects:
In full consideration of the stochastic nature of both V2G scheduling resources and renewable energy power generation, a two-stage stochastic programming model is established to maximize operator revenue. This model effectively enhances the V2G scheduling process by specifying and quantifying expected revenue of a V2G scheduling system, comprehensively optimizing operating states of in-agreement EVs involved in V2G scheduling, and providing theoretical and methodological support for optimal utilization and modeling of vehicle-grid interaction resources.
In light of diverse random factors influencing EVs, an enhanced scenario generation method for V2G scheduling resource randomness and renewable energy power generation randomness is developed. This improvement ensures that the scenario sets of the two-stage stochastic programming model comprehensively capture multiple sources of randomness.
To describe the technical solutions in the embodiments of the present disclosure more clearly, the accompanying drawings required in the embodiments are briefly described below. Apparently, the accompanying drawings described below are only some embodiments of the present disclosure. For those of ordinary skill in the art, other accompanying drawings may be obtained from these accompanying drawings without creative efforts.
The technical solutions in the embodiments of the present disclosure are described below clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are merely some rather than all of the embodiments of the present disclosure. All other embodiments derived from the embodiments of the present disclosure by those of ordinary skill in the art without creative efforts should fall within the protection scope of the present disclosure.
Embodiments:
It should be noted that the terms “include”, “comprise”, and any variants thereof in the embodiments of the present disclosure are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units which are clearly listed, but may include other steps or units which are not clearly listed or inherent to the process, method, product or device.
In a specific embodiment, the present disclosure may include the following steps.
In step 1, V2G vehicle-pile-grid resources are monitored and counted.
EVs and capacities of service stations within a service area of a V2G operator are counted and analyzed to establish a random scenario set.
1. Day-ahead parameters (a vehicle model, a battery capacity, a battery power, expected parking position, charging and discharging climbing capabilities, etc.) of EVs involved in scheduling are obtained by means of vehicle-pile-grid information interaction and real-time data updating.
2. According to results of users responding to a V2G scheduling invitation of the power grid, EVs agreeing with being involved in day-ahead scheduling are classified as in-agreement EVs and those not responding to or refusing the invitation as out-of-agreement EVs.
3. In-agreement EVs: EVs agreeing with being involved in scheduling are arranged at charging and discharging stations managed by the operator according to a distance priority principle, connected to the grid before a specified time, and responded to charging, discharging, grid connection, and grid disconnection instructions from a scheduling center in real time.
4. Out-of-agreement EVs: an EV charging demand is given or generated randomly and met in priority by the scheduling center. Such a charging demand is not controlled by the scheduling center.
In step 2, random scenarios are generated and combined.
The V2G operator generates a random scenario by a scenario generation-combination method, and the random scenario is applied to the second-stage constraints of a V2G scheduling mathematical model. When random charging demands of out-of-agreement EVs are met, an optimal charging and discharging scheduling of the in-agreement EVs are performed.
The random scenarios of V2G scheduling resources mainly include a random scenario of initial SOCs of EVs and a random scenario of V2G service station resources.
To embody the SOC randomness of the in-agreement EVs involved in scheduling, a logarithm normal distribution model (1) of day-ahead travel distances of the in-agreement EVs is used; travel distances of the in-agreement EVs before grid connection are obtained by a Monte Carlo method with a random parameter Dis of the travel distance, and a random scenario set SCD is generated correspondingly.
To present the randomness of EV schedulable resources (schedulable capacity) of EVs charging and discharging stations, a homogeneous Poisson model (2) with a constant average arrival rate is selected to describe the number of out-of-agreement EVs randomly arriving; the number of out-of-agreement EVs randomly arriving at the charging and discharging stations is obtained by the Monte Carlo method as a random parameter Zms,t of arrival number; and a random scenario set SCZ is correspondingly generated.
A random parameter of wind speed is obtained by Latin hypercube sampling (LHS) according to Formula (3) of Weibull distribution of wind power generation.
The number of scenarios is reduced by a simultaneous backward reduction method, and a scenario SCWT of wind power output is generated by a wind-driven generator power fitting model.
In terms of photovoltaic power generation simulation, historical data of daily photovoltaic power generation for one year is selected to generate a scenario pool of photovoltaic power generation; the random scenario of photovoltaic power generation is obtained by random sampling; and a random scenario SCPV is generated by the simultaneous backward reduction method.
In consideration of the random factors being independent of one another, the four random scenarios (SCD, SCZ, SCWT, SCPV) are combined and calculated based on formula (4). The random scenarios are cross-combined to generate a final random scenario SCF of the model. Formula (4) is used to calculate a probability of a scenario combination SCF.
where P(scD) is 1/SCD, P(scz) is 1/SCZ; and P(scPV) and P(scWT) are determined by the scenario reduction algorithm.
In step 3, a V2G two-stage nonlinear stochastic programming model is established.
First, variables of the EV scheduling process of EVs are defined, and variables of energy supply to a regional power grid are defined. A revenue framework of the V2G operator is then built, and subsequently, and two-stage constraints are established and linearized.
Tables 1 to 3 list parameters and variables of the V2G two-stage nonlinear stochastic programming model, respectively, as follow.
An objective equation F is constructed to maximize the total revenue of the V2G operators, as shown in formula (5). Formula (6) represents a total revenue (ReνEV) of the operator for scheduling EVs; formula (7) represents a total revenue (ReνAG) of the operator for coordinating power supply, local loads and surplus power fed into the grid; formula (8) represents a total cost (CostB) of the operator for purchasing thermal power on the day ahead and the current day; and formula (9) represents a total cost (CostOM) of renewable energy power generation governed of the operator.
First-stage constraints:
Formula (10) represents a repulsive constraint on charging and discharging of EVs: a charging operation and a discharging operation of the same EV cannot occur at the same time within a scheduling time period.
μitc+μitd≤1∀i∈I, t∈T (10)
Formulas (11-14) represent constraints on charging state of EVs. An EV is connected to a power distribution network to be charged within a time period t, in order to limit a least charging duration and a least idle duration and avoid frequent switching among charging, discharging, and idle states, thereby preventing battery damage of the EV and a cost increase in service switching, where Lic represents the least charging duration, and Liidle represents the least idle duration.
μitc−μit−1c≤μiτc∀i∈I, t∈T, τ=ti, . . . , min{ti+Lic−1, |T|} (11)
μit−1c−μitc≤1−μiτc∀i∈I, t∈T, τ=ti, . . . , min{ti+Liidle−1, |T|} (12)
v
it
c≥μitc−μit−1c∀i∈I, t∈T (13)
w
it
c≥−μitc+μit−1c∀i∈I, t∈T (14)
Formulas (15-18) represent constraints on discharging states of EVs to limit a shortest discharging duration and a shortest idle duration, where Lid represents the shortest discharging duration;
μitd−μit−1d≤μiτd∀i∈I, t∈T, τ=ti, . . . , min{ti+Lid−1, |T|} (15)
μit−1d−μitd≤1−μiτd∀∀i∈I, t∈T, τ=ti, . . . , min{ti+Liidle−1, |T|} (16)
v
it
d≥μitd−μit−1d∀i∈I, t∈T (17)
w
it
d≥−μitd+μit−1d∀i∈I, t∈T (18)
Formulas (19-21) serve as constraints on the maximum number of charging and discharging switching times for EVs, thereby imposing limits on the frequency of these activities within a single day. By restricting the maximum number of switchable states of an EV in a day, these constraints effectively prevent excessively frequent transitions between charging and discharging states. Hence, Nic and Nid denote upper limits of charging times and discharging times of a single EV in a V2G scheduling plan, restrictively, while Vi represents an upper limit of charging and discharging switching times.
Second-stage constraints:
Formulas (22-23) represent initial state constraints of EVs during grid connection. Formula (22) is used to calculate an initial power of an EV during grid connection, based on a travel distance of the EV before grid connection and participating in scheduling; formula (23) is used to calculate an initial SOC of EV A . The randomness of the travel distance results in the randomness of initial SOCs of an EV cluster. Dis represents a random parameter of the travel distance of in-agreement EV 1 before grid connection.
e
it
s
=Cap
i
−D
i
s
Es
i/100∀t=0, i∈I, s∈S (22)
s
it
s
=e
i,t
s
/Cap
i
∀t=0, i∈I, s∈S (23)
Formulas (24-26) represent constraints on the maximum number of in-service vehicles at V2G nodes. Due to limitations of V2G service station capacity and transformer power, the number of EVs to be charged and the number of EVs to be discharged at the same node are both limited. Formula (24) defines the maximum number of in-service EVs to be charged simultaneously at node m; formula (25) defines the maximum number of in-service EVs to be discharged simultaneously at node m, and formula (26) defines that the number of in-service EVs to be charged and discharged simultaneously at node m is less than the number of the charging and discharging piles, where αm, and βm represent the maximum number of EVs to be charged and the maximum number of EVs to be discharged within a time period at each V2G service station, respectively.
Formulas (27-28) represent constraints on the charging and discharging capacities of EVs. During the charging and discharging process of an EV, actual charging or discharging capacities are limited by a real-time SOC. When μitc and μitd are both 0, the charging capacity eitc,s and the discharging capacity eitd,s of EVi at time period t are constrained to; and when μitc=1 or μitd=1, the charging capacity eitc,s and the discharging capacity eitd,s of EVi are constrained by maximum schedulable capacity values of the battery (SOCimax−sits)Capi and (sits−SOCimin)Capi, respectively.
0≤eitc,s≤(SOCimax−sits)Capiμitc∀i∈I, t∈T, s∈S (27)
0≤eitd,s≤(sits−SOCimin)Capiμitd∀i∈I, t∈T, s∈S (28)
Formulas (29-30) represent SOC constraints of EVs: a change range of battery SOCs of in-scheduling agreement EVs is given; formula (29) represents an optimal battery operating range of an EV involved in V2G, and formula (30) represents that the SOC of the EV needs to meet an expected value of a user after the service ends, and the charging and discharging dispatch is carried out on the premise of meeting a coming travel need of the user, where Tend is set to the dispatch end time.
SOC
i
min
≤s
it
s
≤SOC
i
max
∀i∈I, t∈T, s∈S (29)
SOC
i
umin
≤s
it
s
∀i∈I, t∈T
end
, s∈S (30)
Formula (31) represents a power balance constraint of EV's batteries. A power of EVi at time period t is equal to a residual power at time period t−1 plus a power difference between a charging operation and a discharging operation at time period t.
e
it
s
=e
it−1
s
+e
it
c,s
−e
it
d,s
∀i∈I, t∈T, s∈S (31)
Formulas (32-33) represent constraints on charging and discharging climbing of EVs: charging and discharging climbing capabilities of an EV are affected by a rated power of the charging and discharging pile and a charging way; the constraints define that battery charging and discharging capacities of an EV during each time period are not greater than the charging and discharging climbing capabilities Kic and Kid, so as to avoid battery damage due to charging and discharging limits. The charging and discharging climbing constraints take effect at a second stage when and only when the EV accepts a first-stage scheduling plan, where Kic represents the maximum charging climbing capability, and Kid represents the maximum discharging climbing capability.
e
it
s
−e
it−1
s
≤K
i
cμitc∀i∈I, t∈T, s∈S (32)
e
it−1
s
−e
it
s
≤K
i
dμitd∀i∈I, t∈T, s∈S (33)
Formulas (34-35) represent the maximum V2G service capacity constraints at nodes. Formula (35) is used to calculate a total charging demand of out-of-agreement EVs arriving randomly. Formula (34) represents a capacity of an in-agreement EV participating in charging dispatch, which is random due to the influences of a number of out-of-agreement EVs and their charging demands in formula (35), where Zms,t represents a number of the out-of-agreement EVs arriving randomly, and Emtcmax represents a rated charging capacity provided at node m.
Formulas (36-37) represent constraints on power balance of network nodes: an energy transmission network is established by a model, and power balance of network nodes meets Kirchhoff s law; formula (36) limits a maximum capacity of a bidirectional energy flow and specifies that power transmission is within a standard; and after Pmtr,s is introduced to describe the randomness of wind and solar power generation, formula (37) establishes an energy balance constraint for each node, thereby ensuring that a total inflow power is equal to a total outflow power at each node.
Linearization of nonlinear constraints:
Since there are nonlinear terms in constraint condition formulas (27) and (28), formula (27) is transformed into formulas (38) to (40), and similarly, formula (28) is transformed into formulas (41) to (43), in order to improve the model solution quality and computational speed, where
0≤eitc,s≤SOCimaxCapiμitc−Capiφits∀i∈I, t∈T, s∈S (38)
0≤φits≤sits∀i∈I, t∈T, s∈S (39)
s
it
s
−SOC
i
max(1−μitc)≤φits≤SOCimaxμitc∀i∈I, t∈T, s∈S (40)
0≤eitd,s≤CAPiχits−SOCiminCapiμitd∀i∈I, t∈T, s∈S (41)
0≤χits≤sits∀i∈I, t∈T, s∈S (42)
s
it
s
−SOC
i
max(1−μitd)≤χits≤SOCimaxμitd∀i∈I, t∈T, s∈S (43)
Based on the above objectives and constraints, a two-stage stochastic optimization model based on wind and solar power generation randomness and V2G resource randomness is established below.
Optimization results of the model are described in detail below in combination with specific examples.
In the context of an area governed by a V2G operator in combination with a power trading mechanism of a renewable energy power generation system, a standard power distribution network topology of IEEE-33 nodes is selected for illustration, and installed wind-driven power generators and photovoltaic power generation systems are pre-mounted at part of selected nodes. The topology is shown in
To verify the optimization effect of the model, the following parameters are firstly designed. There are 8 V2G nodes and 100 in-agreement EVs for ordered charging and discharging. The vehicle models and some parameters are as shown in Table 4:
A single GE1.5-77 wind-driven power generator and a GE1.7-100 high-power wind-driven power generator are arranged at node 20 and node 11, respectively, and other V2G service stations are equipped with small wind-power photovoltaic systems. Specific parameters of the wind-driven generators are shown in Table 5. Random wind power parameters are generated by step 2.
For the in-agreement EVs, a predetermined target SOC at the end of scheduling is 0.8. The charging power of the out-of-agreement EVs arriving randomly is set to 40 kW.
A multi-variable combined scenario is generated, and SCD is set to 4, SCZ to 5, SCWT to 5, and SCPV to 2. SCF=200 final scenarios are generated through scenario combination. A branch-and-bound algorithm of Gurobi solver is invoked in Python environment to solve the model.
The optimal results of the objective function presented in Table 6 indicate that with 100 EVs on schedule, the expected revenue of the scheduling center for the given day is 69323.4 Yuan. The revenue from EV charging amounts to 12359.5 Yuan, while the discharging cost of the scheduled EVs is 3388.9 Yuan, resulting in a net revenue of 8970.6 Yuan for this dispatch. The profit from the V2G service constitutes 13% of the total profit. The primary source of profit for the scheduling center is derived from the power consumption by local loads, with renewable energy predominantly utilized for electrical loads and EVs within the local area, thereby enabling the scheduling center to generate substantial revenue.
In this specification, descriptions of reference terms such as “one embodiment”, “some embodiments”, “an example”, “a specific example”, or “some examples” indicate that specific features, structures, materials, or features described in combination with the embodiment(s) or example(s) are included in at least one embodiment or example of the present disclosure. In this specification, the schematic expression of the above terms is not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials, or features described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine different embodiments or examples described in this specification and features of the different embodiments or examples without mutual contradiction.
The above embodiments are only intended for explaining technical concept and features of the present disclosure, and are intended to enable those of ordinary skill in the art to understand and implement the content of the present disclosure and implement therefrom, but are not intended to limit the protection scope of the present disclosure. Any equivalent changes or modifications made according to the essence of the contents of the present disclosure shall fall within the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202110282253.2 | Mar 2021 | CN | national |
This patent application is a national stage of International Application No. PCT/CN2021/088841, filed on Apr. 22, 2021, which claims the benefit and priority of Chinese Patent Application No. 202110282253.2 filed with the China National Intellectual Property Administration on Mar. 16, 2021, both of the aforementioned applications are incorporated by reference herein in their entireties as part of the present application.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/088841 | 4/22/2021 | WO |