Scheduling potential quantitative evaluation method for flexibility of distributed resources in power distribution system

By establishing a general flexibility supply model and a coordinated optimization dispatch model for virtual battery units, the problem of quantifying the flexibility of distributed resources is solved, the flexibility and resource utilization efficiency of the power distribution system are improved, and the ability to cope with new energy power fluctuations is improved.

CN118554538APending Publication Date: 2024-08-27HEFEI UNIV OF TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410523651.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively and uniformly quantify the flexibility of distributed resources, and ignores resource heterogeneity, resulting in difficulty in scheduling and insufficient flexibility of the distribution system, making it difficult to cope with new energy power fluctuations.

Method used

This paper proposes a quantitative evaluation method for the dispatchability potential of distributed resource flexibility in the power distribution system. By establishing a general flexibility supply model of virtual battery units, introducing the flexibility dispatchability decision space, an independent virtual battery under four resources is constructed. Participate in the day-ahead coordination and optimization scheduling model, and use the solver to obtain the scheduling plan and the evaluation index of the contribution to the flexibility supply and demand balance.

Benefits of technology

It improves the schedulability of resources and system flexibility, accurately evaluates the system flexibility level, efficiently utilizes resource potential, reduces resource energy consumption, and enhances the system's responsiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118554538A
    Figure CN118554538A
Patent Text Reader

Abstract

The invention discloses a schedulable potential quantitative evaluation method for distributed resource flexibility in a power distribution system, and the method comprises the steps: 1, building a general flexibility supply model of a virtual battery unit, and defining a decision space of the flexibility schedulable potential of a virtual battery; 2, building a virtual battery equivalent model of each resource in combination with resource output and climbing characteristics of energy storage, a gas turbine, controllable new energy and a flexible load; 3, establishing a virtual battery participation day-ahead coordination scheduling model under four resources; and 4, solving the day-ahead coordinated scheduling model to obtain an output, up-regulation or up-regulation flexible supply and energy consumption scheme of the independent virtual battery unit at each moment under the four resources, and introducing a contribution degree evaluation index of flexible supply and demand balance. According to the method, a general virtual battery flexibility supply model is established by uniformly quantifying the flexibility of the distributed resources, so that the quantification accuracy is improved, and the flexibility and energy management of various distributed resources in multiple dimensions of space and time can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of resource flexibility assessment in power distribution systems, and in particular to a method for quantitatively assessing the dispatchable potential of general distributed resource flexibility. Background Art

[0002] Renewable energy has power volatility and distribution dispersion. With the gradual increase in the penetration rate of new energy in the distribution system, the adjustable flexibility of the distribution system has gradually decreased, exacerbating the difficulty of dispatching. The frequent balancing of new energy power fluctuations by the distribution system will become the norm for the operation of the distribution system. This requires the distribution system to have sufficient adjustment and response capabilities to cope with the randomness of new energy output and seasonal changes in potential power generation, that is, the distribution system should have sufficient flexibility supply capabilities. Dispersed distributed resources, as the main source of flexibility in the distribution system, can become a provider of huge potential backup capacity auxiliary services and power system flexibility. The flexibility potential of resources is not a definite power curve, but a decision envelope space that considers the implicit constraints between variables. It is necessary to form a standard external characteristic representation form that can be regulated by the dispatching agency.

[0003] The virtual battery (VB) model can describe the flexibility of resources relatively well. The flexibility feasible domain of temperature-controlled loads is characterized by a set of standard battery parameters and time-shifted power and energy boundaries, which effectively reduces the complexity of quantifying the flexibility of time-coupled resources. However, current research ignores the heterogeneity of various resource devices, and resources have different adjustment characteristics, which makes the quantification conditions relatively ideal. Therefore, in order to facilitate the participation in system coordination and scheduling, it is necessary to propose a universal unified quantification system for distributed resource flexibility. Summary of the invention

[0004] In order to avoid the shortcomings of the above-mentioned prior art, the present invention provides a method for quantitatively evaluating the dispatchable potential of distributed resource flexibility in a distribution system, in order to establish a universal virtual battery equivalent model to quantify resource flexibility according to the influence of different distributed resources, and evaluate the resource scheduling results, so as to provide a basis and reference for distributed resource management and control.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is:

[0006] The method for evaluating the dispatchable potential of distributed resource flexibility in a power distribution system of the present invention is characterized in that it is performed according to the following steps;

[0007] Step 1: Establish a general flexibility supply model for virtual battery units and introduce the flexibility dispatchable potential decision space:

[0008] Step 2: Establish independent virtual battery flexibility supply models for gas turbine G, energy storage ES, controllable new energy RES and flexible load FL resources, and introduce the flexible dispatchable potential constraint space of resources:

[0009] Step 3: Construct an independent virtual battery model for four types of resources to participate in the day-ahead coordinated optimization scheduling model:

[0010] Step 3.1, using formula (21) to construct the objective function f of the independent virtual battery flexibility supply model under four resources to participate in the day-ahead coordinated optimization scheduling;

[0011]

[0012] In formula (21): C es,t , C res,t , C g,t With C fl,t are the energy consumption generated by energy storage ES, controllable new energy RES, gas turbine G and flexible load FL when they are running at time t; C grid,t is the energy consumption generated by the power interaction between the independent virtual battery flexibility supply model and the distribution system under the four resources at time t; T is the total period of the scheduling time;

[0013] Step 3.2: Construct the constraints of the day-ahead coordinated optimization scheduling model:

[0014] Step 4: Use the solver to solve the pre-coordinated optimization scheduling model and obtain the scheduling plan, including: the output, upward or downward flexibility supply and energy consumption of independent virtual battery units under four resources at each time:

[0015] According to the scheduling plan, the flexible supply and demand balance contribution evaluation index is introduced using formula (32) to reflect the contribution of various resources to the flexible supply and demand balance:

[0016]

[0017] In formula (32): are the upward and downward adjustment flexibility that the virtual battery unit u can provide under the sth resource, N s is the total number of virtual battery cells under the sth resource, N is the sth resource s The contribution of a virtual battery unit to the supply-demand balance of total upward and downward adjustment flexibility.

[0018] The method for evaluating the dispatchable potential of distributed resource flexibility in a power distribution system according to the present invention is also characterized in that the first step is performed as follows:

[0019] Step 1.1: Use formula (1) to establish a general flexibility supply model for virtual battery unit j under any x-th resource in gas turbine G, energy storage ES, controllable new energy RES and flexible load FL:

[0020]

[0021] In formula (1): is the dispatchable flexible energy of virtual battery unit j under the xth resource at time t; They are respectively the upward and downward flexible powers of the virtual battery unit j under the x-th resource in the △t period; and is the virtual charging efficiency and virtual discharging efficiency of each virtual battery unit under the x-th resource; σ x,j is the energy dissipation rate of virtual battery unit j under the xth resource;

[0022] Step 1.2: Use equation (2) to calculate the flexible adjustable power of the virtual battery unit j at time t in the general flexible supply model: and dispatchable flexibility energy To constrain:

[0023]

[0024] In formula (2): They are the flexible adjustment power of virtual battery unit j under the xth resource at time t. The upper and lower limits of They are the dispatchable flexibility adjustment power of virtual battery unit j under the xth resource at time t. The upper and lower limits of

[0025] Step 1.3: Use formula (3) to obtain the flexible dispatchable potential constraint space of virtual battery unit j under the x-th resource at time t:

[0026]

[0027] The step 2 is carried out as follows:

[0028] Step 2.1: Use equations (4) to (8) to construct a virtual battery flexibility supply model for energy storage, which is used to calculate the upward or downward flexibility supply provided by the virtual battery unit i of the energy storage at time t:

[0029]

[0030]

[0031]

[0032]

[0033]

[0034] In formula (4) to formula (8): is a binary variable, representing the charge and discharge state of the virtual battery unit i of the energy storage class at time t. Indicates that the virtual battery cell i of the energy storage type is in a virtual charging state at time t. Indicates that the virtual battery cell i of the energy storage type is in a virtual discharge state at time t, are the charging power, discharging power, output and remaining energy of the virtual battery unit i of the energy storage type in period t; and The charging efficiency and discharging efficiency of the virtual battery unit i of the energy storage type respectively; They are respectively the upper limit of charging power, the lower limit of charging power, the upper limit of discharging power, and the lower limit of discharging power of the virtual battery unit i of the energy storage type; are the upper and lower energy limits of the virtual battery unit i of the energy storage type respectively; They are the upward and downward flexibility supply of the virtual battery unit i of the energy storage class at time t; and The charging efficiency and discharging efficiency of the virtual battery unit i of the energy storage type; σ es,i is the energy dissipation rate of the virtual battery unit i of the energy storage type; is the dispatchable potential constraint space of the virtual battery unit i of the energy storage type at time t;

[0035] Step 2.2, use equations (9) to (12) to calculate the virtual battery flexibility supply model of the controllable new energy type, which is used to calculate the upward or downward flexibility supply provided by the virtual battery unit m of the controllable new energy type at time t:

[0036]

[0037]

[0038]

[0039]

[0040] In formula (9) to formula (12): is a binary variable, representing the charge and discharge state of the virtual battery unit m of the controllable new energy type at time t. Indicates that the virtual battery unit m of the controllable new energy type is in a virtual charging state at time t; if Indicates that the virtual battery unit m of the controllable new energy type is in a virtual discharge state at time t; are the power and energy of the virtual battery unit m of the controllable new energy type at time t; They are the upper and lower limits of the output of the virtual battery unit m of the controllable new energy type; and They are the upward and downward flexibility powers of the virtual battery unit m of the controllable new energy type at time t; and are the upward and downward flexibility coefficients of the virtual battery unit m of the controllable new energy type under the new energy error; σ res,m is the energy dissipation rate of the virtual battery unit m of the controllable new energy type; is the dispatchable potential constraint space of the virtual battery unit m of the controllable new energy type at time t;

[0041] Step 2.3: Use equations (13) to (16) to construct a gas turbine-type virtual battery flexibility supply model to calculate the upward or downward flexibility supply provided by the virtual battery unit n of the gas turbine type at time t:

[0042]

[0043]

[0044]

[0045]

[0046] In formula (13) to formula (16): is a binary variable, indicating the charge and discharge state of the virtual battery unit n of the gas turbine at time t. Indicates that the virtual battery unit n of the gas turbine is in a virtual charging state at time t; if It indicates that the virtual battery unit n of the gas turbine is in a virtual discharge state at time t; are the power and energy of the virtual battery unit n of the gas turbine at time t; u g,n,t is a binary variable, indicating the working state of the virtual battery unit n of the gas turbine at time t. If u g,n,t =1, indicating that the virtual battery unit n of the gas turbine is in working state at time t. g,n,t =0, indicating that the virtual battery unit n of the gas turbine is in shutdown state at time t. They are the upper and lower limits of the output of the virtual battery unit n of the gas turbine type; They are the upper and lower limits of the ramp rate of the virtual battery unit n of the gas turbine type, respectively; and They are the upward and downward flexibility powers of the virtual battery unit n of the gas turbine at time t; and are the upward and downward flexibility coefficients of the virtual battery unit n of the gas turbine type; σ g,n is the energy dissipation rate of the virtual battery unit n of the gas turbine type; is the dispatchable potential constraint space of the virtual battery unit n of the gas turbine type at time t;

[0047] Step 2.4, use equations (17) to (20) to calculate the virtual battery flexibility supply model of the flexible load class, which is used to calculate the upward or downward flexibility supply provided by the virtual battery unit p of the flexible load class at time t:

[0048]

[0049]

[0050]

[0051]

[0052] In formula (17)-formula (20): is a binary variable, indicating the charge and discharge status of the virtual battery unit p of the flexible load class at time t. Indicates that the virtual battery unit p of the flexible load class is in a virtual charging state at time t; if Indicates that the virtual battery unit p of the flexible load class is in a virtual charging state at time t; They represent the power and energy of the virtual battery unit p of the flexible load class at time t after the demand response incentive is changed; are the upper and lower limits of the power consumption of the virtual battery unit p of the flexible load class at time t, respectively; They are the upward and downward flexibility powers of the virtual battery unit p of the flexible load class at time t, respectively; are the upward and downward flexibility adjustment coefficients of the virtual battery unit p consumption of the flexible load class at time t; σ fl,p is the energy dissipation rate of the virtual battery unit p of the flexible load class; It is the dispatchable potential constraint space of the virtual battery unit p of the flexible load class at time t.

[0053] The step 3.1 comprises:

[0054] Step 3.1.1. Calculate the operating energy consumption C of the gas turbine G using equations (22) and (23): g,t :

[0055]

[0056]

[0057] In formula (22)-(23), KL is the number of segments; k n,kl is the klth energy consumption operation slope of the virtual battery unit n of the gas turbine type after the original quadratic function is piecewise linearized; C g,n,0 is the energy consumption of the minimum output of the left endpoint of the virtual battery unit n of the gas turbine type; A is the klth segment output of the virtual battery unit n of the gas turbine at time t; n , B n , C n N is the unit operating energy consumption coefficient of the virtual battery unit n of the gas turbine type; n are the total number of units of gas turbine G respectively;

[0058] Step 3.1.2: Calculate the energy consumption of the controllable new energy RES at time t using formula (24):

[0059]

[0060] In formula (24): ε res The penalty coefficient for abandoning new energy; is the predicted power of the virtual battery unit m of the controllable new energy type at time t; N m are the total number of controllable new energy RES units;

[0061] Step 3.1.3, use formula (25) to calculate the energy consumption of the virtual battery unit i of the energy storage type during charging and discharging at time t:

[0062]

[0063] In formula (25): ε es N is the unit power operation energy consumption coefficient of the virtual battery unit i of the energy storage type; i are the total number of units of energy storage ES respectively;

[0064] Step 3.1.4: Use formula (26) to calculate the energy consumption generated by the power interaction between the independent virtual battery flexibility supply model and the distribution system under the four resources at time t as follows:

[0065] C grid,t =p t P t Pgrid -q t P t Sgrid (26)

[0066] In formula (26): pt ,q t They are the energy consumption coefficients of purchasing electricity and selling electricity under the independent virtual battery flexibility supply model and distribution system under the four resources at time t;

[0067] Step 3.1.5, use formula (27) to calculate the energy consumption generated by the flexible load virtual battery unit p compensation at time t:

[0068]

[0069] In formula (27): is the expected power of the flexible load virtual battery unit p at time t; N p are the total number of elements of the flexible load FL respectively.

[0070] The step 3.2 comprises:

[0071] Step 3.2.1: Use formula (28) to establish the independent virtual battery flexibility supply model under four resources and the power balance constraint of the distribution system:

[0072]

[0073] In formula (28): P l,t is the power of user load L at time t; P t Pgrid , P t Sgrid The power consumption purchased from the distribution system and the power consumption sold by the independent virtual battery flexibility supply model under four resources at time t;

[0074] Step 3.2.2: Use formula (29) to constrain the operating power and energy state of the virtual battery unit i of the energy storage class at time t:

[0075]

[0076] Step 3.2.3: Use formula (30) to constrain the power ramp of the virtual battery unit n of the gas turbine at time t:

[0077]

[0078] Step 3.2.4: Use formula (31) to calculate P t Pgrid and P t Sgrid To constrain:

[0079]

[0080] In formula (31): P Pgridmax , PSgridmax They are the upper boundaries of the energy consumption of purchased electricity and the energy consumption of sold electricity, respectively.

[0081] An electronic device of the present invention includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the schedulable potential quantitative evaluation method, and the processor is configured to execute the program stored in the memory.

[0082] The present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program executes the steps of the schedulable potential quantitative evaluation method when the computer program is executed by a processor.

[0083] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0084] 1. The present invention uses a virtual battery charge and discharge equivalent model to refine the dynamic adjustment process of equivalent distributed resource flexibility, improve the schedulability of resources, and solve the problem that the existing model is difficult to uniformly quantify different distributed resources, so as to more accurately evaluate the flexibility level of the system;

[0085] 2. The present invention participates in the day-ahead optimization scheduling model of the distribution system based on the distributed resource virtual battery equivalent model, adds the resource flexibility constraint to the day-ahead optimization model, and uses a solver to solve it. Finally, the optimal resource output and resource dispatchable potential solution are obtained and applied to the operation of the distribution system containing large-scale distributed resources, thereby solving the problem of flexibility resource availability, efficiently utilizing resource dispatchable potential, and improving system flexibility and the availability of flexibility resources, ensuring that the system has the ability to respond to power deviations, improving the flexibility of the distribution system, and reducing resource energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0086] Figure 1 A flowchart of the flexibility quantitative assessment method is provided;

[0087] Figure 2 Schematic diagram of the quantified flexibility mechanism for the virtual battery. DETAILED DESCRIPTION

[0088] In this embodiment, Figure 1 As shown, a method for evaluating the dispatchable potential of distributed resource flexibility in a distribution system is to first establish a resource virtual battery equivalent model based on the output characteristics of distributed resources and a general virtual battery equivalent model to achieve refined quantification of flexibility; then the distributed resource virtual battery equivalent model participates in the day-ahead optimal dispatch of the distribution system to achieve quantitative evaluation of the dispatchable potential of resource flexibility. Specifically, the method is carried out in the following steps:

[0089] Step 1: Establish a general flexibility supply model for virtual battery units and introduce the flexibility dispatchable potential decision space:

[0090] Step 1.1: Use formula (1) to establish a general flexibility supply model for virtual battery unit j under any x-th resource in gas turbine G, energy storage ES, controllable new energy RES and flexible load FL:

[0091]

[0092] In formula (1): is the dispatchable flexible energy of virtual battery unit j under the xth resource at time t; They are respectively the upward and downward flexible powers of the virtual battery unit j under the x-th resource in the △t period; and is the virtual charging efficiency and virtual discharging efficiency of each virtual battery unit under the x-th resource; σ x,j is the energy dissipation rate of virtual battery unit j under the xth resource.

[0093] Step 1.2: Use equation (2) to calculate the flexible adjustable power of the virtual battery unit j at time t in the general flexible supply model: and dispatchable flexibility energy To constrain:

[0094]

[0095] In formula (2): They are the flexible adjustment power of virtual battery unit j under the xth resource at time t. The upper and lower limits of They are the dispatchable flexibility adjustment power of virtual battery unit j under the xth resource at time t. The upper and lower limits of .

[0096] Step 1.3: Use formula (3) to obtain the flexible dispatchable potential constraint space of virtual battery unit j under the x-th resource at time t:

[0097]

[0098] Step 2: Establish independent virtual battery flexibility supply models for gas turbine G, energy storage ES, controllable new energy RES and flexible load FL resources, and introduce the flexible dispatchable potential constraint space of resources:

[0099] Step 2.1: Use equations (4) to (8) to construct a virtual battery flexibility supply model for energy storage, which is used to calculate the upward or downward flexibility supply provided by the virtual battery unit i of the energy storage at time t:

[0100]

[0101]

[0102]

[0103]

[0104]

[0105] In formula (4) to formula (8): is a binary variable, representing the charge and discharge state of the virtual battery unit i of the energy storage class at time t. Indicates that the virtual battery cell i of the energy storage type is in a virtual charging state at time t. Indicates that the virtual battery cell i of the energy storage type is in a virtual discharge state at time t, are the charging power, discharging power, output and remaining energy of the virtual battery unit i of the energy storage type in period t; and The charging efficiency and discharging efficiency of the virtual battery unit i of the energy storage type respectively; They are respectively the upper limit of charging power, the lower limit of charging power, the upper limit of discharging power, and the lower limit of discharging power of the virtual battery unit i of the energy storage type; are the upper and lower energy limits of the virtual battery unit i of the energy storage type respectively; They are the upward and downward flexibility supply of the virtual battery unit i of the energy storage class at time t; and The charging efficiency and discharging efficiency of the virtual battery unit i of the energy storage type; σ es,i is the energy dissipation rate of the virtual battery unit i of the energy storage type; It is the dispatchable potential constraint space of virtual battery unit i of energy storage type at time t.

[0106] Step 2.2, use equations (9) to (12) to calculate the virtual battery flexibility supply model of the controllable new energy type, which is used to calculate the upward or downward flexibility supply provided by the virtual battery unit m of the controllable new energy type at time t:

[0107]

[0108]

[0109]

[0110]

[0111] In formula (9) to formula (12): is a binary variable, representing the charge and discharge state of the virtual battery unit m of the controllable new energy type at time t. Indicates that the virtual battery unit m of the controllable new energy type is in a virtual charging state at time t; if Indicates that the virtual battery unit m of the controllable new energy type is in a virtual discharge state at time t; are the power and energy of the virtual battery unit m of the controllable new energy type at time t; They are the upper and lower limits of the output of the virtual battery unit m of the controllable new energy type; and They are the upward and downward flexibility powers of the virtual battery unit m of the controllable new energy type at time t; and are the upward and downward flexibility coefficients of the virtual battery unit m of the controllable new energy type under the new energy error; σ res,m is the energy dissipation rate of the virtual battery unit m of the controllable new energy type; It is the dispatchable potential constraint space of the virtual battery unit m of the controllable new energy type at time t.

[0112] Step 2.3: Use equations (13) to (16) to construct a gas turbine-type virtual battery flexibility supply model to calculate the upward or downward flexibility supply provided by the virtual battery unit n of the gas turbine type at time t:

[0113]

[0114]

[0115]

[0116]

[0117] In formula (13) to formula (16): is a binary variable, indicating the charge and discharge state of the virtual battery unit n of the gas turbine at time t. Indicates that the virtual battery unit n of the gas turbine is in a virtual charging state at time t; if It indicates that the virtual battery unit n of the gas turbine is in a virtual discharge state at time t; are the power and energy of the virtual battery unit n of the gas turbine at time t; u g,n,t is a binary variable, indicating the working state of the virtual battery unit n of the gas turbine at time t. If ug,n,t =1, indicating that the virtual battery unit n of the gas turbine is in working state at time t. g,n,t =0, indicating that the virtual battery unit n of the gas turbine is in shutdown state at time t. They are the upper and lower limits of the output of the virtual battery unit n of the gas turbine type; They are the upper and lower limits of the ramp rate of the virtual battery unit n of the gas turbine type, respectively; and They are the upward and downward flexibility powers of the virtual battery unit n of the gas turbine at time t; and are the upward and downward flexibility coefficients of the virtual battery unit n of the gas turbine type; σ g,n is the energy dissipation rate of the virtual battery unit n of the gas turbine type; is the dispatchable potential constraint space of the virtual battery unit n of the gas turbine type at time t.

[0118] Step 2.4, use equations (17) to (20) to calculate the virtual battery flexibility supply model of the flexible load class, which is used to calculate the upward or downward flexibility supply provided by the virtual battery unit p of the flexible load class at time t:

[0119]

[0120]

[0121]

[0122]

[0123] In formula (17)-formula (20): is a binary variable, indicating the charge and discharge status of the virtual battery unit p of the flexible load class at time t. Indicates that the virtual battery unit p of the flexible load class is in a virtual charging state at time t; if Indicates that the virtual battery unit p of the flexible load class is in a virtual charging state at time t; They represent the power and energy of the virtual battery unit p of the flexible load class at time t after the demand response incentive is changed; are the upper and lower limits of the power consumption of the virtual battery unit p of the flexible load class at time t, respectively; They are the upward and downward flexibility powers of the virtual battery unit p of the flexible load class at time t, respectively; are the upward and downward flexibility adjustment coefficients of the virtual battery unit p consumption of the flexible load class at time t; σ fl,p is the energy dissipation rate of the virtual battery unit p of the flexible load class; It is the dispatchable potential constraint space of the virtual battery unit p of the flexible load class at time t.

[0124] Step 3: Build a day-ahead coordinated optimization scheduling model:

[0125] Step 3.1, using formula (21) to construct the objective function f of the independent virtual battery flexibility supply model under four resources to participate in the day-ahead coordinated optimization scheduling;

[0126]

[0127] In formula (21): C es,t , C res,t , C g,t With C fl,t are the energy consumption generated by energy storage ES, controllable new energy RES, gas turbine G and flexible load FL when they are running at time t; C grid,t is the energy consumption generated by the power interaction between the independent virtual battery flexibility supply model and the distribution system under the four resources at time t; T is the total period of the scheduling time;

[0128] Step 3.1.1. Calculate the operating energy consumption C of the gas turbine G using equations (22) and (23): g,t :

[0129]

[0130]

[0131] In formula (22)-(23), KL is the number of segments; k n,kl is the klth energy consumption operation slope of the virtual battery unit n of the gas turbine type after the original quadratic function is piecewise linearized; C g,n,0 is the energy consumption of the minimum output of the left endpoint of the virtual battery unit n of the gas turbine type; A is the klth segment output of the virtual battery unit n of the gas turbine at time t; n , B n , C n N is the unit operating energy consumption coefficient of the virtual battery unit n of the gas turbine type. n are the total number of units of gas turbine G respectively.

[0132] Step 3.1.2: Calculate the energy consumption of the controllable new energy RES at time t using formula (24):

[0133]

[0134] In formula (24): ε res The penalty coefficient for abandoning new energy; is the predicted power of the virtual battery unit m of the controllable new energy type at time t; N m are the total number of controllable new energy RES units respectively;

[0135] Step 3.1.3, use formula (25) to calculate the energy consumption of the virtual battery unit i of the energy storage type during charging and discharging at time t:

[0136]

[0137] In formula (25): ε es N is the unit power operation energy consumption coefficient of the virtual battery unit i of the energy storage type; i are the total number of energy storage ES units respectively.

[0138] Step 3.1.4: Use formula (26) to calculate the energy consumption generated by the power interaction between the independent virtual battery flexibility supply model and the distribution system under the four resources at time t as follows:

[0139] C grid,t =p t P t Pgrid -q t P t Sgrid (26)

[0140] In formula (26): p t ,q t They are the energy consumption coefficients of purchasing electricity and selling electricity under the independent virtual battery flexibility supply model and distribution system under the four resources at time t;

[0141] Step 3.1.5, use formula (27) to calculate the energy consumption generated by the flexible load virtual battery unit p compensation at time t:

[0142]

[0143] In formula (27): is the expected power of the flexible load virtual battery unit p at time t; N p are the total number of elements of the flexible load FL respectively.

[0144] Step 3.2: Construct the constraints of the day-ahead coordinated optimization scheduling model:

[0145] Step 3.2.1, use the independent virtual battery flexibility supply model under four resources to establish the power balance constraints of the distribution system:

[0146]

[0147] In formula (28): Pl,t is the power of user load L at time t; P t Pgrid , P t Sgrid The power consumption purchased from the distribution system and the power consumption sold by the independent virtual battery flexibility supply model under four resources at time t.

[0148] Step 3.2.2: Use formula (29) to constrain the operating power and energy state of the virtual battery unit i of the energy storage class at time t:

[0149]

[0150] Step 3.2.3: Use formula (30) to constrain the power ramp of the virtual battery unit n of the gas turbine at time t:

[0151]

[0152] Step 3.2.4: Use formula (31) to calculate P t Pgrid and P t Sgrid To constrain:

[0153]

[0154] In formula (31): P Pgridmax , P Sgridmax They are the upper boundaries of the energy consumption of purchased electricity and the energy consumption of sold electricity, respectively.

[0155] Step 4: Use the solver to solve the pre-coordinated optimization scheduling model and obtain the scheduling plan, including the output, up- or down-adjustment flexibility supply, and energy consumption of independent virtual battery units under the four resources at each moment:

[0156] According to the scheduling plan, the contribution evaluation index of the flexibility supply and demand balance is introduced using formula (32) to reflect the contribution of various resources to the flexibility supply and demand balance:

[0157]

[0158] In formula (32): are the upward and downward adjustment flexibility that the virtual battery unit u can provide under the sth resource, N s is the total number of virtual battery cells under the sth resource, N is the sth resource s The contribution of each virtual battery unit to the total up- and down-regulation flexibility.

[0159] like Figure 2As shown in the figure, at time t, the virtual battery unit j under the xth resource receives the flexibility demand incentive from the distribution system and operates at power P x,j,t In the state, you can x,j,min ,P x,j,max ] Dynamically increase or decrease power within the adjustable range to achieve the supply of upward and downward flexibility. This process is equivalent to the virtual battery performing its own charging and discharging process after receiving external stimulation, providing flexible backup and peak load auxiliary services for the power grid.

[0160] In this embodiment, an electronic device includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the above method, and the processor is configured to execute the program stored in the memory.

[0161] In this embodiment, a computer-readable storage medium stores a computer program on the computer-readable storage medium, and the computer program executes the steps of the above method when executed by a processor.

Claims

1. A method for evaluating the dispatchable potential of distributed resource flexibility in a power distribution system, characterized in that: It is carried out in the following steps; Step 1: Establish a general flexibility supply model for virtual battery units and introduce the flexibility dispatchable potential decision space: Step 2: Establish independent virtual battery flexibility supply models for gas turbine G, energy storage ES, controllable new energy RES and flexible load FL resources, and introduce the flexible dispatchable potential constraint space of resources: Step 3: Construct an independent virtual battery model for four types of resources to participate in the day-ahead coordinated optimization scheduling model: Step 3.1, using formula (21) to construct the objective function f of the independent virtual battery flexibility supply model under four resources to participate in the day-ahead coordinated optimization scheduling; In formula (21): C es,t , C res,t , C g,t With C fl,t are the energy consumption generated by energy storage ES, controllable new energy RES, gas turbine G and flexible load FL when they are running at time t; C grid,t is the energy consumption generated by the power interaction between the independent virtual battery flexibility supply model and the distribution system under the four resources at time t; T is the total period of the scheduling time; Step 3.2: Construct the constraints of the day-ahead coordinated optimization scheduling model: Step 4: Use the solver to solve the pre-coordinated optimization scheduling model and obtain the scheduling plan, including: the output, upward or downward flexibility supply and energy consumption of independent virtual battery units under four resources at each time: According to the scheduling plan, the flexible supply and demand balance contribution evaluation index is introduced using formula (32) to reflect the contribution of various resources to the flexible supply and demand balance: In formula (32): are the upward and downward adjustment flexibility that the virtual battery unit u can provide under the sth resource, N s is the total number of virtual battery cells under the sth resource, N s The contribution of a virtual battery unit to the supply-demand balance of total upward and downward adjustment flexibility.

2. A method for evaluating the dispatchable potential of distributed resource flexibility in a power distribution system according to claim 1, characterized in that: The first step is carried out as follows: Step 1.1: Use formula (1) to establish a general flexibility supply model for virtual battery unit j under any x-th resource in gas turbine G, energy storage ES, controllable new energy RES and flexible load FL: In formula (1): is the dispatchable flexible energy of virtual battery unit j under the xth resource at time t; They are respectively the upward and downward flexible powers of the virtual battery unit j under the x-th resource in the △t period; and is the virtual charging efficiency and virtual discharging efficiency of each virtual battery unit under the x-th resource; σ x,j is the energy dissipation rate of virtual battery unit j under the xth resource; Step 1.2: Use equation (2) to calculate the flexible adjustable power of the virtual battery unit j at time t in the general flexible supply model: and dispatchable flexibility energy To constrain: In formula (2): They are the flexible adjustment power of virtual battery unit j under the xth resource at time t. The upper and lower limits of They are the dispatchable flexibility adjustment power of virtual battery unit j under the xth resource at time t. The upper and lower limits of Step 1.3: Use formula (3) to obtain the flexible dispatchable potential constraint space of virtual battery unit j under the xth resource at time t:

3. The method for evaluating the dispatchable potential of distributed resource flexibility in a power distribution system according to claim 2, characterized in that: The step 2 is carried out as follows: Step 2.1: Use equations (4) to (8) to construct a virtual battery flexibility supply model for energy storage, which is used to calculate the upward or downward flexibility supply provided by the virtual battery unit i of the energy storage at time t: In formula (4) to formula (8): is a binary variable, representing the charge and discharge state of the virtual battery unit i of the energy storage class at time t. Indicates that the virtual battery cell i of the energy storage type is in a virtual charging state at time t. Indicates that the virtual battery cell i of the energy storage type is in a virtual discharge state at time t, are the charging power, discharging power, output and remaining energy of the virtual battery unit i of the energy storage type in period t; and The charging efficiency and discharging efficiency of the virtual battery unit i of the energy storage type respectively; They are respectively the upper limit of charging power, the lower limit of charging power, the upper limit of discharging power, and the lower limit of discharging power of the virtual battery unit i of the energy storage type; are the upper and lower energy limits of the virtual battery unit i of the energy storage type respectively; They are the upward and downward flexibility supply of the virtual battery unit i of the energy storage class at time t; and The charging efficiency and discharging efficiency of the virtual battery unit i of the energy storage type; σ es,i is the energy dissipation rate of the virtual battery unit i of the energy storage type; is the dispatchable potential constraint space of the virtual battery unit i of the energy storage type at time t; Step 2.2, use equations (9) to (12) to calculate the virtual battery flexibility supply model of the controllable new energy type, which is used to calculate the upward or downward flexibility supply provided by the virtual battery unit m of the controllable new energy type at time t: In formula (9) to formula (12): is a binary variable, representing the charge and discharge state of the virtual battery unit m of the controllable new energy type at time t. Indicates that the virtual battery unit m of the controllable new energy type is in a virtual charging state at time t; if Indicates that the virtual battery unit m of the controllable new energy type is in a virtual discharge state at time t; are the power and energy of the virtual battery unit m of the controllable new energy type at time t; They are the upper and lower limits of the output of the virtual battery unit m of the controllable new energy type; and They are the upward and downward flexibility powers of the virtual battery unit m of the controllable new energy type at time t; and are the upward and downward flexibility coefficients of the virtual battery unit m of the controllable new energy type under the new energy error; σ res,m is the energy dissipation rate of the virtual battery unit m of the controllable new energy type; is the dispatchable potential constraint space of the virtual battery unit m of the controllable new energy type at time t; Step 2.3: Use equations (13) to (16) to construct a gas turbine-type virtual battery flexibility supply model to calculate the upward or downward flexibility supply provided by the virtual battery unit n of the gas turbine type at time t: In formula (13) to formula (16): is a binary variable, indicating the charge and discharge state of the virtual battery unit n of the gas turbine at time t. Indicates that the virtual battery unit n of the gas turbine is in a virtual charging state at time t; if It indicates that the virtual battery unit n of the gas turbine is in a virtual discharge state at time t; are the power and energy of the virtual battery unit n of the gas turbine at time t; u g,n,t is a binary variable, indicating the working state of the virtual battery unit n of the gas turbine at time t. If u g,n,t =1, indicating that the virtual battery unit n of the gas turbine is in working state at time t. g,n,t =0, indicating that the virtual battery unit n of the gas turbine is in shutdown state at time t. They are the upper and lower limits of the output of the virtual battery unit n of the gas turbine type; They are the upper and lower limits of the ramp rate of the virtual battery unit n of the gas turbine type, respectively; and They are the upward and downward flexibility powers of the virtual battery unit n of the gas turbine at time t; and are the upward and downward flexibility coefficients of the virtual battery unit n of the gas turbine type; σ g,n is the energy dissipation rate of the virtual battery unit n of the gas turbine type; is the dispatchable potential constraint space of the virtual battery unit n of the gas turbine type at time t; Step 2.4, use equations (17) to (20) to calculate the virtual battery flexibility supply model of the flexible load class, which is used to calculate the upward or downward flexibility supply provided by the virtual battery unit p of the flexible load class at time t: In formula (17) to formula (20): is a binary variable, indicating the charge and discharge status of the virtual battery unit p of the flexible load class at time t. Indicates that the virtual battery unit p of the flexible load class is in a virtual charging state at time t; if Indicates that the virtual battery unit p of the flexible load class is in a virtual charging state at time t; They represent the power and energy of the virtual battery unit p of the flexible load class at time t after the demand response incentive is changed; are the upper and lower limits of the power consumption of the virtual battery unit p of the flexible load class at time t, respectively; They are the upward and downward flexibility powers of the virtual battery unit p of the flexible load class at time t, respectively; are the upward and downward flexibility adjustment coefficients of the virtual battery unit p consumption of the flexible load class at time t; σ fl,p is the energy dissipation rate of the virtual battery unit p of the flexible load class; It is the dispatchable potential constraint space of the virtual battery unit p of the flexible load class at time t.

4. The method for evaluating the dispatchable potential of distributed resource flexibility in a power distribution system according to claim 3, characterized in that: The step 3.1 comprises: Step 3.1.

1. Calculate the operating energy consumption C of the gas turbine G using equations (22) and (23): g,t : In formula (22)-(23), KL is the number of segments; k n,kl is the klth energy consumption operation slope of the virtual battery unit n of the gas turbine type after the original quadratic function is piecewise linearized; C g,n,0 is the energy consumption of the minimum output of the left endpoint of the virtual battery unit n of the gas turbine type; A is the klth segment output of the virtual battery unit n of the gas turbine at time t; n , B n , C n N is the unit operating energy consumption coefficient of the virtual battery unit n of the gas turbine type; n are the total number of units of gas turbine G respectively; Step 3.1.2: Calculate the energy consumption of the controllable new energy RES at time t using formula (24): In formula (24): ε res The penalty coefficient for abandoning new energy; is the predicted power of the virtual battery unit m of the controllable new energy type at time t; N m are the total number of controllable new energy RES units; Step 3.1.3, use formula (25) to calculate the energy consumption of the virtual battery unit i of the energy storage type during charging and discharging at time t: In formula (25): ε es N is the unit power operation energy consumption coefficient of the virtual battery unit i of the energy storage type; i are the total number of units of energy storage ES respectively; Step 3.1.4: Use formula (26) to calculate the energy consumption generated by the power interaction between the independent virtual battery flexibility supply model and the distribution system under the four resources at time t as follows: In formula (26): p t ,q t They are the energy consumption coefficients of purchasing electricity and selling electricity under the independent virtual battery flexibility supply model and distribution system under the four resources at time t; Step 3.1.5, use formula (27) to calculate the energy consumption generated by the flexible load virtual battery unit p compensation at time t: In formula (27): is the expected power of the flexible load virtual battery unit p at time t; N p are the total number of elements of the flexible load FL respectively.

5. A method for evaluating the dispatchable potential of distributed resource flexibility in a power distribution system according to claim 4, characterized in that: The step 3.2 comprises: Step 3.2.1: Use formula (28) to establish the independent virtual battery flexibility supply model under four resources and the power balance constraint of the distribution system: In formula (28): P l,t is the power of user load L at time t; P t Pgrid , P t Sgrid The power consumption purchased from the distribution system and the power consumption sold by the independent virtual battery flexibility supply model under four resources at time t; Step 3.2.2: Use formula (29) to constrain the operating power and energy state of the virtual battery unit i of the energy storage class at time t: Step 3.2.3: Use formula (30) to constrain the power ramp of the virtual battery unit n of the gas turbine at time t: Step 3.2.4: Use formula (31) to calculate P t Pgrid and P t Sgrid To constrain: In formula (31): P Pgridmax , P Sgridmax They are the upper boundaries of the energy consumption of purchased electricity and the energy consumption of sold electricity, respectively.

6. An electronic device, comprising a memory and a processor, characterized in that: The memory is used to store a program that supports the processor to execute the method for quantitatively evaluating the schedulable potential described in any one of claims 1 to 5, and the processor is configured to execute the program stored in the memory.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for quantitatively evaluating the dispatchability potential of any one of claims 1 to 5 are executed.