A power distribution network flexibility supply and demand quantification and evaluation method considering source load uncertainty
By establishing a quantitative model for the supply of flexible resources and constructing an uncertain set of source-load probability distribution, and adopting a two-stage sub-Bruker optimization model, the problems of insufficient unified quantification and robustness in the assessment of distribution network flexibility resources in existing technologies are solved, and comparable assessment indicators that directly reflect the flexibility of distribution networks are provided.
Patent Information
- Application Number
- CN202611504812.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-24
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to achieve a unified quantitative assessment of distribution network flexibility resources in the face of high-proportion distributed photovoltaic access and uncertainties on both the source and load sides. The assessment results are disconnected from the actual adjustment capacity, lacking consistent supply and demand quantification and failing to address scenario probability distribution biases, resulting in insufficient robustness of the assessment results.
A quantitative model for flexible resource supply is established to quantify the flexible supply capacity of electrochemical energy storage, transferable loads, and conventional units. An uncertain set of source-load probability distribution is constructed, and the Hausdorff distance constraint probability distribution deviation is adopted. The flexibility margin of the distribution network is solved through a two-stage sub-Bruker optimization model. A flexibility assessment model is constructed to standardize supply and demand indicators.
It achieves unified quantification of diverse flexibility resources, overcomes the problems of single evaluation dimensions and bias in scenario probability distribution, provides comparable evaluation indicators that directly reflect the overall flexibility of the distribution network, and improves the accuracy and robustness of the evaluation results.
Smart Images

Figure CN123184067A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of distribution network optimization operation and flexibility assessment technology, and in particular to a method for quantifying and assessing the supply and demand of distribution network flexibility considering source-load uncertainty. Background Technology
[0002] In recent years, the rapid development of distributed photovoltaic (PV) and wind power has gradually transformed the distribution network from a traditional one-way power supply mode into a complex two-way interactive system. The dominant position of traditional generator sets in power supply has gradually weakened, and the dynamic adjustment capability of adjustable power resources within the system has significantly decreased. Simultaneously, the inherent randomness and temporal fluctuations in output of wind and PV power, coupled with the capacity limitations of distribution network flexibility resources, easily lead to structural imbalances in the supply and demand of flexibility in the distribution network system. During the midday hours when PV output is concentrated, net load drops sharply, and the distribution network's downward adjustment capability becomes strained; during the evening hours when load peaks, net load rises rapidly, and the distribution network's upward adjustment capability is also tested. The resulting technical problems are defined as follows: under the condition of simultaneous uncertainty on both the PV and load sides, how to uniformly quantify the adjustment capability of diverse flexibility resources in the distribution network, including electrochemical energy storage, transferable loads, conventional generators, and clustered electric vehicles; how to quantify the flexibility demand caused by source-load fluctuations using the same caliber; and how to provide an evaluation index that can be horizontally compared and directly reflects the overall flexibility of the distribution network based on the quantitative results from both the supply and demand sides. Existing technologies have not yet provided a complete solution that simultaneously covers the above three requirements. The evaluation results either remain at the level of static description of equipment parameters or at the level of description of the supply potential of a single resource, making it difficult to answer the core question of how much available flexibility the distribution network actually has under the current operating conditions.
[0003] For the quantitative assessment of power system and distribution network flexibility, existing technologies mainly present two approaches: one is to construct a multi-dimensional index evaluation system based on static parameters, and the other is a deductive method based on dynamic simulation modeling data. Static evaluation methods primarily start from the inherent characteristics of the system, analyzing key indicators such as equipment rated parameters, power regulation margin, and transmission and distribution channel carrying capacity to study the degree to which grid flexibility is affected by these indicators. This type of method typically first establishes an evaluation system containing several operational performance indicators, then determines the weights of each indicator using methods such as the analytic hierarchy process (AHP), entropy weight method, and random forest method, and finally obtains a comprehensive evaluation value through weighted summation. Its advantages include low computational complexity and intuitive conclusions, making it suitable for scheme comparison during the planning stage. Dynamic evaluation methods employ scenario-based modeling, constructing typical operating conditions to conduct time-domain simulation analysis. Based on the flexibility supply-demand balance state, and using load reduction and renewable energy curtailment rates as quantitative criteria, it dynamically evaluates the flexibility adjustment capability of the distribution network under different operating conditions. These methods typically begin by generating several typical operating scenarios based on historical data and determining the probability of each scenario occurring. Then, under each typical scenario, unit combinations and optimized scheduling are arranged. Power balance results at each moment are obtained through production simulation. Finally, indicators such as flexibility adequacy, flexibility insufficiency, and flexibility insufficiency rate are statistically analyzed. To address the randomness of source and load output, these methods often use Monte Carlo sampling to generate a large number of sample scenarios after superimposing uncertainty errors on historical data, or transform uncertainty constraints into deterministic constraints using chance constraints before solving. Furthermore, with the integration of new flexibility resources such as energy storage, electric vehicles, and transferable loads, existing technologies have also developed sub-modeling methods focusing on flexibility supply potential. This involves establishing flexibility supply sub-models for energy storage systems, temperature-controlled loads, and electric vehicles, solving for upward and downward flexibility supply indicators for each resource, and then summarizing these indicators to characterize the flexibility level of the distribution network. These three methods constitute the main technical foundation for the current quantitative assessment of distribution network flexibility. However, all three have their limitations when facing operating conditions with high proportions of distributed photovoltaic integration and simultaneous increases in uncertainty on both the source and load sides.
[0004] Existing technologies have three main drawbacks: First, the evaluation dimensions are too narrow, leading to a disconnect between the evaluation results and the actual adjustment capabilities of the distribution network. Evaluation methods based on static parameters rely on equipment rated parameters and power regulation margins to construct an index system. The evaluation dimensions remain at the level of network losses, voltage deviations, line load rates, and power supply reliability performance indicators, failing to establish a quantitative correspondence between resource adjustment capabilities and source-load fluctuation adjustment needs. Chinese patent CN117578434B discloses a distribution network flexibility evaluation method and device considering the adjustability of flexible resources. However, the evaluation indicators in this scheme consist of three categories: coordinated adjustment capability, collaborative capability, and reliability, which are weighted and summed. The conclusion only reflects the relative advantages and disadvantages of different access schemes, without providing a numerical correspondence between the upward and downward adjustment capabilities of various resources and the net load fluctuation amplitude. Second, flexibility supply and demand are treated separately, lacking a mechanism for simultaneous solutions within the same optimization framework. The component-based modeling method establishes supply sub-models for various resources one by one and summarizes them to obtain supply indicators. However, it does not quantify the flexibility demand caused by source-load fluctuations in the same way, nor does it simultaneously calculate the upper and lower limits of both supply and demand in the same optimization problem. The evaluation results can only indicate how much regulation capacity the distribution network can provide. Chinese patent CN119341130A discloses a method and device for evaluating the flexibility of a distribution network using distributed source-load-storage resources. However, in this scheme, each flexibility supply sub-model takes the externally output flexibility supply indicator as the solution object and does not establish a flexibility demand model corresponding to source-load fluctuations. There is no comparable quantitative benchmark on both the supply and demand sides. Third, the scenario probability distribution adopts deterministic values and does not consider the deviation of the probability distribution itself, resulting in insufficient robustness of the evaluation results. Both the evaluation methods based on dynamic simulation and those based on Monte Carlo sampling use deterministic or equally probable scenario sets as the basis and do not set constraints on the deviation of the scenario probability distribution from the initial distribution. When historical samples are limited or there are systematic biases in the prediction, the evaluation results are prone to being optimistic. Chinese patent CN117977538A discloses a method, system, equipment, and medium for assessing the flexibility of a power system. However, in this scheme, the output of new energy units and the output of flexible resources are both obtained by combining the output model with Monte Carlo sampling. The flexibility assessment index is directly calculated under this sampling scenario set without limiting the degree of deviation of the scenario probability distribution from the initial distribution. Therefore, it is necessary to design a distribution network flexibility supply and demand quantification and assessment method that considers the uncertainty of source load to solve the above problems. Summary of the Invention
[0005] The technical problem to be solved by this invention is to provide a method for quantifying and evaluating the supply and demand of distribution network flexibility considering the uncertainty of source and load. It aims to overcome the problems of existing distribution network flexibility evaluation dimensions being single, lacking a consistent quantitative correspondence between supply capacity and source and load adjustment demand, and not addressing scenario probability distribution deviations. It features the characteristics of quantifying both supply and demand of multiple resources, improving the probability distribution deviation of Hausdorff distance constraints, and outputting the overall flexibility index through two-stage sub-Bruker optimization.
[0006] To achieve the above technical solution, the technical solution adopted by the present invention is as follows: A method for quantifying and evaluating the supply and demand flexibility of a distribution network that considers source load uncertainty includes the following steps: S1. Establish a quantitative model for the supply of flexible resources, quantify the flexible supply capacity of electrochemical energy storage, transferable loads, conventional units and cluster electric vehicles, and sum them to obtain the upward and downward flexible supply capacity of the distribution network, and construct a flexible supply model for the distribution network. S2, based on historical data of photovoltaic and load, extract historical scenarios and reduce them to generate a set of combined scenarios, determine the initial probability distribution, and construct an uncertain set of source-load probability distribution with Hausdorff distance as a constraint; S3. Based on the uncertainty set of the source load probability distribution, calculate the source load fluctuation power under the maximum probability allowable deviation, quantify the flexibility requirements of load and photovoltaic, subtract the upward and downward flexibility requirements from the upward and downward flexibility supply capacity of the distribution network to obtain the upward and downward flexibility margins of the distribution network, and construct the distribution network flexibility margin model. S4. The flexibility assessment model is constructed by taking the maximum aggregated power of various resources in the distribution network as the upper limit objective function of flexibility and the minimum aggregated power as the lower limit objective function of flexibility, and combining the distribution network flexibility supply model, flexibility margin model and constraints. S5 rewrites the distribution network flexibility assessment model into a two-stage bibliometric optimization model. The column and constraint generation algorithm is used to iteratively solve for the upper and lower limits of flexibility supply at each time point. The minimum value after normalization based on the flexibility demand power is taken as the overall flexibility assessment index.
[0007] Preferably, the quantification of the flexible supply capacity of electrochemical energy storage, transferable loads, conventional units and cluster electric vehicles includes: quantifying the flexible supply capacity of electrochemical energy storage using the following formula; The flexibility and supply capacity of energy storage; ; in, Indicates electrochemical energy storage The ability to provide flexibility in all situations Indicates electrochemical energy storage The ability to provide flexibility in the face of time. Indicates electrochemical energy storage The charging and discharging power is constantly monitored, with discharging being positive and charging being negative. Indicates electrochemical energy storage The upper limit of charging and discharging power at any time. Indicates electrochemical energy storage Lower limit of charge / discharge power at any time. Indicates energy storage Time capacity, Indicates energy storage Maximum capacity at any time Indicates energy storage Lower limit of capacity at any time This represents the time scale between two adjacent scheduling moments. The first item represents Power adjustment space at all times The second term represents Power calculated based on the current power supply capacity; The following formula is used to quantify the flexible supply capacity of transferable loads; ; in, Indicates transferable load The ability to provide flexibility in all situations Indicates transferable load The ability to provide flexibility in the face of time. express Load power can be transferred at any time. express Maximum load transfer capacity at any time express Lower limit of load power that can be transferred at any time.
[0008] Furthermore, The time scale representing the time between two adjacent scheduling moments includes: Take 1 hour, total number of time slots Take 24, Take integers from 1 to 24. Determined recursively by the following formula: ; in, Indicates energy storage Time capacity, Indicates energy storage Constant charging power, Indicates energy storage Discharge power at all times , Indicates energy storage charging efficiency. This indicates the energy storage discharge efficiency.
[0009] Preferably, the quantification of the flexible supply capacity of electrochemical energy storage, transferable loads, conventional units, and cluster electric vehicles includes: for conventional units that are gas turbines, the following formula is used to quantify the flexible supply capacity of the gas turbines: ; in, Indicates gas turbine The ability to provide flexibility in all situations Indicates gas turbine The ability to provide flexibility in the face of time. This indicates the upper limit of the gas turbine's output power. This indicates the lower limit of the gas turbine's output power. Indicates gas turbine Constant output power This indicates the generator set's uphill climbing rate. This indicates the generator set's downhill ramp rate; The following formula is used to quantify the flexible supply capacity of cluster electric vehicles; ; in, Represents cluster electric vehicles The ability to provide flexibility in all situations Represents cluster electric vehicles The ability to provide flexibility in the face of time. express The system displays the charging and discharging power of electric vehicles at all times; discharging is positive and charging is negative. express The upper limit of charging and discharging power of electric vehicles in a time cluster. express Lower limit of charging and discharging power for electric vehicles in real time clusters. express The remaining electric power of the cluster of electric vehicles at all times. express The maximum remaining electrical energy of the electric vehicles in the time cluster. express The minimum remaining electrical energy of the electric vehicles in the time cluster.
[0010] Furthermore, the cumulative upward and downward flexibility supply capabilities of the distribution network include: ; in, express The flexible supply capacity of various resources in the power distribution network at all times. express The flexible supply capacity of various resources in the power distribution network to the lower levels at all times. Indicates electrochemical energy storage The ability to provide flexibility in all situations Indicates transferable load The ability to provide flexibility in all situations Indicates gas turbine The ability to provide flexibility in all situations Represents cluster electric vehicles The ability to provide flexibility in all situations Indicates electrochemical energy storage The ability to provide flexibility in the face of time. Indicates transferable load The ability to provide flexibility in the face of time. Indicates gas turbine The ability to provide flexibility in the face of time. Represents cluster electric vehicles The flexibility to supply at any time.
[0011] Furthermore, based on historical data of photovoltaics and loads, historical scenarios are extracted and reduced to generate a set of combined scenarios. Determining the initial probability distribution includes: extracting... A set of historical scenes were analyzed using the K-means clustering algorithm. The historical scenes were reduced in size according to photovoltaic output and load power respectively, resulting in A typical photovoltaic scenario and For each typical load scenario, the typical photovoltaic scenario and the typical load scenario are arranged and combined to generate a set of combined scenarios. The number and initial probability of the combined scenarios are determined by the following formula. ; in, Indicates the number of combined scenarios. Indicates a combined scenario The probability, This represents the number of typical photovoltaic scenarios. Indicating photovoltaics in combined scenarios The probability of the scene in This represents the number of typical load scenarios. Indicates load in combined scenarios The probability of the scene in Indicates the number of historical scenes. Indicates the sequence number of the combined scene.
[0012] Furthermore, the K-means clustering algorithm was used to... The reduction of historical scenes based on photovoltaic output and load power includes: using the Euclidean distance between historical scenes as the distance metric, calculating the Euclidean distance from each historical scene to each cluster center according to the following formula, assigning the historical scene to the cluster corresponding to the cluster center with the smallest distance, and updating each cluster center according to the following formula. ; ; in, Indicates the first Group of historical scenes To the Euclidean distance between cluster centers Indicates the first A set of historical scenes, Indicates the first The first set of historical scenes One portion, Indicates the first The iteration of the ... Cluster centers, express The One portion, Indicates the first The iteration of the ... Cluster centers, Indicates the first In the next iteration, it belongs to the... A collection of historical scenes for each cluster center. express The number of groups of historical scenes in the middle Indicates the number of components in a historical scene. Indicates the number of clustering iterations. Indicates the sequence number of the historical scene. This represents the index of the cluster center. Repeat the above distance calculation, cluster assignment, and cluster center update process until the maximum Euclidean distance between all cluster centers in two consecutive iterations is less than [value missing]. The iteration terminates at a certain point, taking the cluster centers at the point of termination as a typical scenario, and then proceeds according to... Determine the probability of each typical scenario, where Indicates the first The probability of a typical scenario Indicates belonging to the first The number of historical scene groups for each typical scenario. Take 365. and The contour coefficient is selected optimally within the integer range of 2 to 10 according to the maximum criterion, and the contour coefficient is calculated according to the following formula; ; in, Indicates the first Contour coefficients for a typical scenario Indicates the first The average distance from each historical scene within the cluster to the other historical scenes of a typical scene. Indicates the first The formula is the minimum average distance from a typical scene to all other historical scenes within the cluster. This formula is applicable when the number of historical scene groups within a cluster is no less than 2. and Take each The integer value with the largest mean across its respective samples. Pick and The product of.
[0013] Furthermore, the uncertain set of the source load probability distribution is constructed using the Hausdorff distance as a constraint, including: The permissible probability deviation is determined using the following formula to control the fluctuation range of the probability distribution of combined scenarios: ; in, This represents the allowable deviation value of the probability. Indicates the number of combined scenarios. Indicates the number of historical scenes. Indicates the confidence level. Values range from 0.9 to 0.99. Take 365; the maximum probabilistic allowable deviation of the load. Maximum permissible deviation from photovoltaic output Take all.
[0014] Preferably, constructing the source load probability distribution uncertainty set with Hausdorff distance as a constraint includes: For a given set of points with point set The improved Hausdorff distance is calculated by using the average value instead of the maximum value. ; in, This represents the first point set. This represents the second point set. This represents the number of elements in the point set. Represents a point set The first in One element, Represents a point set The first in One element, Represents a point set The first in One element, Represents a point set The first in One element, express arrive The one-way Hausdorff distance, which takes the value of any point in arrive middle The minimum distance between points constitutes the... The average of the minimum values, express arrive The one-way Hausdorff distance, which takes the value of any point in arrive middle The minimum distance between points constitutes the... The average of the minimum values, Represents a point set Hedianji The improved Hausdorff distance, which takes the value of and The larger value in; Using the improved Hausdorff distance as a constraint, the uncertainty set of the source load probability distribution is constructed using the following formula: ; in, This represents the set of uncertain probability distributions of the source charges. Represents the distance based on Hausdorff distance Scenario probability value Representing combined scenarios The initial probability, Indicates the number of combined scenarios. Indicates the sequence number of the combined scene. This represents the allowable deviation value of the probability. express and The improved Hausdorff distance between them.
[0015] Furthermore, the flexibility requirements for load quantification and photovoltaics include: The first The load model for each scenario is represented as the load change under the maximum probability allowable deviation: ; in, express Time of the first Load forecast values for each scenario express Time of the first Upper limit of load fluctuation in each scenario express Time of the first Lower limit of load fluctuation in each scenario This represents the maximum permissible deviation value for the load. Indicates time, Indicates the scene sequence number. (In terms of time scale) Next, when The load only requires upward flexibility, when When the load only requires downward flexibility, The load has a two-way flexibility requirement, and the load fluctuation is represented by the first-order difference between adjacent time periods: ; in, express Time of the first The upward flexibility requirement of load in various scenarios express Time of the first Downward flexibility requirements for load in various scenarios express Time of the first Upper limit of load fluctuation in each scenario express Time of the first Lower limit of load fluctuation in each scenario The first constant, 0, indicates that load fluctuations do not generate reverse flexibility requirements.
[0016] Furthermore, the quantification of load and photovoltaic flexibility requirements includes: quantifying the fluctuation range of photovoltaic output using the following formula: ; in, express Time of the first Predicted photovoltaic output values for each scenario express Time of the first The upper limit of photovoltaic output in a given scenario express Time of the first The lower limit of photovoltaic output in each scenario This represents the maximum probabilistic allowable deviation in photovoltaic (PV) output. The following formula quantifies the net load increase caused by changes in PV output: ; in, express Time of the first The extent of net load reduction caused by increased photovoltaic output in each scenario express Time of the first The net load increase caused by the decline in photovoltaic output in this scenario express Time of the first The upper limit of photovoltaic output in a given scenario express Time of the first The lower limit of photovoltaic output in each scenario.
[0017] Preferably, the quantification of load and photovoltaic flexibility requirements includes: photovoltaic output down and load up in the same direction to increase net load, and photovoltaic output up and load down in the same direction to decrease net load. Based on this corresponding relationship, the following formula is used to synthesize the upward and downward flexibility requirements of the distribution network. ; in, Indicates distribution network The need for constant upward flexibility Indicates distribution network The need for flexibility in the face of time. express Time of the first The upward flexibility requirement of load in various scenarios express Time of the first Downward flexibility requirements for load in various scenarios express Time of the first The net load increase caused by the decline in photovoltaic output in this scenario express Time of the first The extent of net load reduction caused by increased photovoltaic output in each scenario Indicates the first The probability of each scenario, taking the probability of a typical scenario. , Indicates the number of combined scenarios. Indicates the scene number.
[0018] Furthermore, subtracting the upward and downward flexibility requirements from the upward and downward flexibility supply capacity of the distribution network, respectively, yields the upward and downward flexibility margins of the distribution network, including: ; in, Indicates distribution network Upward flexibility margin at any moment Indicates distribution network Downward flexibility margin at any moment express The flexible supply capacity of various resources in the power distribution network at all times. express The flexible supply capacity of various resources in the power distribution network to the lower levels at all times. Indicates distribution network The need for constant upward flexibility Indicates distribution network The need for flexibility in the face of time. A negative value indicates a power distribution network. The lack of flexibility in moving upwards at all times. A negative value indicates a power distribution network. The lack of flexibility in the downward movement of time.
[0019] Preferably, the objective function for the upper limit of flexibility is to take the maximum aggregated power of various resources in the distribution network as the upper limit of flexibility and the objective function for the lower limit of flexibility is to take the aggregated power range formed by the envelope of the upper limit curve and the lower limit curve of flexibility within the evaluation period as the evaluation index of the flexibility of the distribution network, and the objective function for the upper limit of flexibility of the distribution network is solved by the following formula. ; in, The objective function representing the maximum aggregated power of various resources in the distribution network is used to solve for the upper limit of the flexibility evaluation index at each time point. Indicates distribution network Photovoltaic power output at all times Indicates distribution network The lower limit of photovoltaic power output at any given time. Indicates distribution network The upper limit of photovoltaic power output at any given time Indicates distribution network Constant load power, Indicates distribution network The lower limit of the load power at any given time. Indicates distribution network The upper limit of the load power at any given time. Indicates distribution network Energy storage charging and discharging power at all times and , express Energy storage and discharge power at all times express Real-time energy storage and charging power, express The gas turbine output is always on. express The standby capacity on the gas turbine at all times. express Reserve capacity of gas turbine at all times express Electric vehicle charging and discharging power at all times , express Electric vehicle discharge power at all times express Electric vehicle charging power at all times express Load power can be transferred at any time. This represents the set of uncertain probability distributions of the source charges. express Scenario probability value Indicates the number of combined scenarios. Representing uncertain variables The probability distribution, This represents the total number of moments within the evaluation period. Indicates time, Indicates the sequence number of the combined scene; The objective function for the lower limit of distribution network flexibility is solved using the following formula; ; in, This represents the objective function that minimizes the aggregated power of various resources in the distribution network, used to solve for the lower bound of the flexibility evaluation index at any given time. This indicates that the distribution network has a flexibility margin.
[0020] Furthermore, solving the objective function for the upper limit of distribution network flexibility and solving the objective function for the lower limit of distribution network flexibility involve solving both objective functions in the expected form of the scenario, where the expected form is based on the uncertain set of the source-load probability distribution. The algorithm first selects the scenario probability distribution that minimizes or maximizes the desired aggregate power, and then, given the scenario probability distribution, takes the extreme values of the output of various resources in the distribution network within their respective feasible regions. During the solution process, the upper and lower limits of photovoltaic output and load power are first fixed, within the uncertain set of the source-load probability distribution. The following formula is used to solve for the probability distribution of the scenario: ; Then, under the probability distribution of this scenario, the extreme values of the output of various resources in the distribution network are solved. Both objective functions are linear programming.
[0021] Preferably, using the minimum value after normalization of the flexibility demand power as a benchmark value as the overall flexibility evaluation index includes: normalizing the upper limit and lower limit of distribution network flexibility supply by dividing them by the flexibility demand power, and then using the following formula to take the minimum value between the normalized upper limit and lower limit of distribution network flexibility supply as the overall flexibility evaluation index: ; in, express The overall flexibility index of the distribution network at any given time quantifies the degree of flexibility of the distribution network. The objective function value representing the maximum aggregated power of various resources in the distribution network serves as the upper limit for the flexibility supply of the distribution network. The objective function value representing the minimum aggregated power of various resources in the distribution network serves as the lower limit for the flexible supply of the distribution network. Indicates distribution network The need for constant upward flexibility Indicates distribution network The need for flexibility in the face of time. Indicates the time.
[0022] Furthermore, express The overall flexibility indicators of the distribution network at any time include: It is a dimensionless quantity. When the value is 1, the supply and demand for flexibility in the distribution network are perfectly balanced. When the value is less than 1, the distribution network flexibility supply is insufficient. When the value is greater than 1, the distribution network has sufficient flexibility; when When equal to 0, Take 1, when When equal to 0, Take 1; average the overall flexibility index of the distribution network at each moment within the evaluation period according to the following formula to obtain the overall flexibility evaluation index within the evaluation period. ; in, This indicates the overall flexibility assessment indicators within the assessment period. This represents the total number of moments within the evaluation period. express The overall flexibility index of the power distribution network at all times Indicates the time.
[0023] Furthermore, the constraints include gas turbine operating constraints and standby constraints. The gas turbine operating constraints are the power output range constraints and ramp rate constraints of the gas turbine. ; in, This indicates the minimum output power of the gas turbine. This indicates the maximum output power of the gas turbine. express The gas turbine output is always on. express The gas turbine output is always on. This indicates the maximum ramp power of the gas turbine. To cope with situations where photovoltaic output decreases or load demand increases, the gas turbine needs to be equipped with uplink reserve capacity to ensure power supply continuity, and the gas turbine needs to be equipped with downlink reserve capacity to reduce curtailment and improve photovoltaic absorption capacity. The reserve constraint is: ; in, express The standby capacity on the gas turbine at all times. express Reserve capacity of gas turbine at all times This indicates the maximum output power of the gas turbine. This represents the minimum output power of the gas turbine. Gas turbine operating constraints and reserve constraints are included in the constraints of claim 25. .
[0024] Furthermore, the constraints include power balance constraints; ; in, Indicates distribution network Energy storage and discharge power at all times Indicates distribution network Real-time energy storage and charging power, Indicates distribution network Photovoltaic power output at all times Indicates distribution network Constant load power, express The gas turbine output is always on. express The standby capacity on the gas turbine at all times. express Reserve capacity of the gas turbine at any given time. Power balance constraints are taken into account in claim 25. .
[0025] Furthermore, the constraints include energy storage operation constraints and electric vehicle charging and discharging constraints. The energy storage operation constraints are as follows: ; in, express Real-time energy storage and charging power, express Energy storage and discharge power at all times This indicates the maximum charging power of the energy storage. This indicates the maximum discharge power of the stored energy. Represents an integer variable that takes the value 1 or 0. A value of 1 indicates that the energy storage is in a charging state and discharging is prohibited. A value of 0 indicates that the energy storage is in a discharging state and charging is prohibited. express The capacity for energy storage at all times express The energy storage capacity at any given time, where ES represents the rated capacity of the energy storage. Indicates the minimum state of charge. Indicates the maximum state of charge. Indicates energy storage charging efficiency. Indicates the energy storage discharge efficiency. This indicates the energy storage capacity at the start of the scheduling cycle. This indicates the energy storage capacity at the end of the scheduling cycle. This indicates that the energy storage's charge and discharge volumes are balanced within a scheduling cycle. This represents the time scale between two adjacent scheduling moments. The charging and discharging constraints for electric vehicles are: ; in, express Electric vehicle charging power at all times express Electric vehicle discharge power at all times This indicates the maximum charging power of the electric vehicle. This indicates the maximum discharge power of the electric vehicle. Represents an integer variable that takes the value 1 or 0. A value of 1 indicates that the electric vehicle is charging and discharging is prohibited. A value of 0 indicates that the electric vehicle is in a discharging state and charging is prohibited. express Electric vehicle charging and discharging power at all times express The capacity of electric vehicles at all times express The capacity of electric vehicles at all times This represents the minimum state of charge of an electric vehicle. Indicates the maximum state of charge of an electric vehicle. This indicates the change in electrical energy capacity generated when electric vehicles are connected to or disconnected from the grid. Indicates the first electric vehicles The maximum available power at any given time. express Time of the first Sign indicating whether an electric vehicle is connected to or disconnected from the grid. Taking 1 indicates grid connection. Setting it to 0 indicates disconnection from the network. express Time of the first Sign indicating whether an electric vehicle is connected to or disconnected from the grid. Indicates the number of electric vehicles. This indicates the electric vehicle serial number; the energy storage operation constraints and the electric vehicle charging and discharging constraints are included in the constraints. .
[0026] Furthermore, the constraints include photovoltaic output constraints and conventional transferable load constraints. The photovoltaic output constraints are as follows: ; in, Indicates distribution network Photovoltaic power output at all times Indicates distribution network The predicted output of distributed photovoltaic power at any given time. Conventional transferable load constraints include upper and lower limits for transferable load, transferable time constraints, and a constraint that the total amount of transferable load remains constant within the period. ; in, express Load power can be transferred at any time. This indicates the upper limit of transferable load. This indicates the lower limit of transferable load. This indicates the upper limit of the transferable load time range. This indicates the lower limit of the transferable load time range. This represents the total electricity demand during the period when load can be transferred. Indicates the time. The photovoltaic output constraint is included in the constraint of claim 25. The constraint that the total amount of transferable load remains constant within a period in the conventional transferable load constraint is included in the constraint. .
[0027] Preferably, rewriting the distribution network flexibility assessment model into a two-stage sub-Bruker optimization model includes: The distribution network flexibility assessment model is rewritten into a flexibility upper limit assessment model and a flexibility lower limit assessment model. The flexibility upper limit assessment model is expressed by the following formula: ; The following formula is used to represent the lower bound assessment model for flexibility: ; in, This represents the transpose matrix of the coefficients of the objective function. This represents the first-stage optimization variable. This represents the second-stage optimization variable. Represents an uncertain variable. Represents the set of possible values for an uncertain variable. Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. express Scenario probability value , , , , This represents the coefficient matrix corresponding to each constraint condition. , , This represents the constant matrix corresponding to each constraint condition. Representing uncertain variables The probability distribution.
[0028] Preferably, rewriting the distribution network flexibility assessment model into a flexibility upper limit assessment model and a flexibility lower limit assessment model includes: decomposing the flexibility lower limit assessment model into a main problem and sub-problems, where the sub-problems are linear problems, and using the following formula to represent the main problem of the flexibility lower limit assessment model: ; The subproblem of the flexibility lower bound evaluation model is expressed by the following formula: ; in, Represents the objective variable of the main problem. The value of is not less than the minimum upper bound of the objective function value for each scenario under the known scenario probability distribution. This represents the first-stage optimization variable. This represents the feasible region of the first-stage optimization variables. Indicates the number of combined scenarios. Indicates the first The iteration yielded Scenario probability value This represents the transpose matrix of the coefficients of the objective function. Indicates the first Scene in the next iteration The corresponding values of the second-stage optimization variables, Indicates the number of iterations. Indicates the sequence number of the combined scene. Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. This represents the second-stage optimization variable vector. This represents the first-stage optimization variable vector. Represents a vector of uncertain variables. This indicates the optimization of the variable vector in the first stage. with the vector of uncertain variables Given the feasible region of the second-stage optimization variables, Representing a scene The corresponding second-stage optimization variables; decompose the subproblem into two independent linear problems and solve them in parallel, and use the following formula to represent the decomposed subproblem; ; in, Indicating the scenario in the flexibility lower bound evaluation model In the second stage, the optimal values of the variables are optimized. The objective function value is below. This indicates the optimal value of the optimization variable in the second stage; This represents the second-stage optimization variable vector. This indicates the optimization of the variable vector in the first stage. with the vector of uncertain variables Given the feasible region of the second-stage optimization variables, This represents the transpose matrix of the coefficients of the objective function. Representing a scene The corresponding second-stage optimization variables, Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. Indicates the number of combined scenarios. express Scenario probability value Indicates the sequence number of the combined scene.
[0029] Preferably, the flexibility lower bound assessment model is decomposed into a main problem and sub-problems, including: the flexibility upper bound assessment model is decomposed into a main problem and sub-problems according to the following formula, and the upper and lower bound values are updated according to the following formula: ; ; ; The flexibility lower bound assessment model updates the upper and lower bound values using the following formula: ; Where UB represents the upper bound and LB represents the lower bound. Indicates the number of combined scenarios. Indicates the first The iteration yielded Scenario probability value This represents the transpose matrix of the coefficients of the objective function. Indicates the first Scene in the next iteration The corresponding values of the second-stage optimization variables, Indicating the scenario in the flexibility upper limit assessment model In the second stage, the optimal values of the variables are optimized. The objective function value is below. Indicating the scenario in the flexibility lower bound evaluation model In the second stage, the optimal values of the variables are optimized. The objective function value is below. This indicates the optimal value of the optimization variable in the second stage. Represents the objective variable of the main problem. This represents the first-stage optimization variable. This represents the feasible region of the first-stage optimization variables. Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. This represents the second-stage optimization variable vector. This represents the first-stage optimization variable vector. Represents a vector of uncertain variables. This indicates the optimization of the variable vector in the first stage. with the vector of uncertain variables Given the feasible region of the second-stage optimization variables, Representing a scene The corresponding second-stage optimization variables, Indicates the sequence number of the combined scene. Indicates the number of iterations; in the flexibility upper bound evaluation model, the upper bound UB is updated by the main problem, and the lower bound LB is updated by the subproblems; in the flexibility lower bound evaluation model, the lower bound LB is updated by the main problem, and the upper bound UB is updated by the subproblems; the initial values for the upper and lower bounds are given by the following formula, and the iteration is terminated according to the convergence criterion: ; in, This represents the convergence error threshold, taken as... The iteration is performed in the following sub-steps: Sub-step 1, let the number of iterations be... Set the value to 1, which represents the initial value of the optimization variables in the first stage. Sub-step two, the first Substituting the scenario probability distribution of the next iteration into the principal problem, we obtain the values of the optimization variables for the first stage. The target value of the main problem is updated, and the boundary value corresponding to the main problem is updated according to the update method described in claim 23; Sub-step three, will Substituting into the subproblem, first solve for the minimum or maximum value of the objective function for each inner scenario to obtain... or Then solve for the uncertainty set of the outer layer's source charge probability distribution. The extreme values within the range lead to the probability distribution of the worst-case scenario. ; Sub-step four, determine Is it less than or equal to? If not satisfied, then let Increment by 1 and return to sub-step two. If the condition is met, terminate the iteration and output the result. The corresponding upper limit and lower limit of distribution network flexibility supply.
[0030] The beneficial effects of this invention are as follows: 1. This invention establishes a quantitative model for the supply of flexible resources, modeling and accumulating the upward and downward flexibility supply capabilities of electrochemical energy storage, transferable loads, conventional generating units, and clustered electric vehicles to obtain the upward and downward flexibility supply capabilities of the distribution network. This achieves a unified quantification of the adjustment capabilities of diverse flexibility resources, overcoming the shortcomings of existing technologies that rely on a single evaluation dimension and fail to establish a quantitative correspondence between resource adjustment capabilities and source-load adjustment demands. On the supply side, this invention simultaneously characterizes two constraints: power adjustment space and electricity support capacity. This ensures that the supply capabilities reported by various resources are limited by both current output levels and remaining electricity levels, avoiding overestimation of supply capabilities due to estimations based solely on rated parameters. Simultaneously, on the demand side, this invention establishes load and photovoltaic fluctuation range models and quantifies upward and downward flexibility demands separately. Downward photovoltaic output is included in upward flexibility demand, and downward load is included in downward flexibility demand, allowing direct comparison of supply and demand under the same power caliber. This overcomes the limitation of existing technologies that only assess supply potential without assessing demand.
[0031] 2. This invention constructs a set of typical combined scenarios and uses an improved Hausdorff distance as a constraint to construct an uncertain set of source-load probability distributions. This achieves an explicit characterization of the scenario probability distribution deviation, overcoming the shortcomings of existing technologies that directly use deterministic scenario probabilities to calculate flexibility indicators and lack robustness in evaluation results. This invention uses the average value instead of the maximum value to calculate the unidirectional Hausdorff distance, making the distance metric insensitive to individual outliers and more accurately representing the overall similarity between two point sets. Based on this, it limits the deviation of the scenario probability distribution with a probability allowable deviation value and determines the range of this deviation value with confidence levels, ensuring that the evaluation conclusions remain valid even with limited historical samples or systematic prediction biases. Furthermore, this invention uses the maximum and minimum aggregated power of various resources in the distribution network as objective functions to obtain the upper and lower limits of flexible supply, incorporating the source-load fluctuation range into the optimization process. This directly links the evaluation results of supply capacity with the operating status, avoiding the problem of conservative estimation methods based on static parameters.
[0032] 3. This invention constructs a two-stage bibliometric optimization model and solves it using a column and constraint generation algorithm. Using the flexibility demand power as a benchmark, the minimum value of the standardized upper and lower limits of flexibility supply is taken as the overall flexibility evaluation index. This achieves a comparable and quantifiable assessment of the flexibility level of the distribution network, overcoming the shortcomings of existing technologies that separately provide supply and demand indicators and lack a unified evaluation conclusion. This invention rewrites the evaluation problem into a flexibility upper limit evaluation model and a flexibility lower limit evaluation model, and provides the decomposition form of the main problem and sub-problems, the update direction of the upper and lower bounds, and the convergence criterion for each, ensuring that both models converge within a finite number of iterations. Specifically, the upper limit value of the flexibility upper limit evaluation model is updated by the main problem, and the lower limit value is updated by the sub-problems; the update direction of the flexibility lower limit evaluation model is opposite, ensuring that the solution process of both models converges to the correct boundary value. This invention takes the minimum value of the supply-demand ratio as the overall index, reflecting the matching status of the more strained side of the flexibility supply and demand sides. This index is dimensionless; the larger the value, the stronger the flexibility, and it can be directly used for horizontal comparisons between different distribution networks at different times. Attached Figure Description
[0033] Figure 1 This is a flowchart illustrating the overall method of an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the quantification of the upper limit of distribution network flexibility supply in an embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the quantification of the lower limit of distribution network flexibility supply in an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the quantitative assessment of supply and demand for distribution network flexibility in an embodiment of the present invention. Detailed Implementation
[0034] Example 1: like Figure 1 and Figure 2 As shown, a method for quantifying and evaluating the supply and demand flexibility of a distribution network considering source-load uncertainty includes the following steps: S1. Establish a quantitative model for the supply of flexible resources, quantify the flexible supply capacity of electrochemical energy storage, transferable loads, conventional units and cluster electric vehicles, and sum them to obtain the upward and downward flexible supply capacity of the distribution network, and construct a flexible supply model for the distribution network. S2, based on historical data of photovoltaic and load, extract historical scenarios and reduce them to generate a set of combined scenarios, determine the initial probability distribution, and construct an uncertain set of source-load probability distribution with Hausdorff distance as a constraint; S3. Based on the uncertainty set of the source load probability distribution, calculate the source load fluctuation power under the maximum probability allowable deviation, quantify the flexibility requirements of load and photovoltaic, subtract the upward and downward flexibility requirements from the upward and downward flexibility supply capacity of the distribution network to obtain the upward and downward flexibility margins of the distribution network, and construct the distribution network flexibility margin model. S4. The flexibility assessment model is constructed by taking the maximum aggregated power of various resources in the distribution network as the upper limit objective function of flexibility and the minimum aggregated power as the lower limit objective function of flexibility, and combining the distribution network flexibility supply model, flexibility margin model and constraints. S5 rewrites the distribution network flexibility assessment model into a two-stage bibliometric optimization model. The column and constraint generation algorithm is used to iteratively solve for the upper and lower limits of flexibility supply at each time point. The minimum value after normalization based on the flexibility demand power is taken as the overall flexibility assessment index.
[0035] Preferably, the quantification of the flexible supply capacity of electrochemical energy storage, transferable loads, conventional units and cluster electric vehicles includes: quantifying the flexible supply capacity of electrochemical energy storage using the following formula; The flexibility and supply capacity of energy storage; ; in, Indicates electrochemical energy storage The ability to provide flexibility in all situations Indicates electrochemical energy storage The ability to provide flexibility in the face of time. Indicates electrochemical energy storage The charging and discharging power is constantly monitored, with discharging being positive and charging being negative. Indicates electrochemical energy storage The upper limit of charging and discharging power at any time. Indicates electrochemical energy storage Lower limit of charge / discharge power at any time. Indicates energy storage Time capacity, Indicates energy storage Maximum capacity at any time Indicates energy storage Lower limit of capacity at any time This represents the time scale between two adjacent scheduling moments. The first item represents Power adjustment space at all times The second term represents Power calculated based on the current power supply capacity; The following formula is used to quantify the flexible supply capacity of transferable loads; ; in, Indicates transferable load The ability to provide flexibility in all situations Indicates transferable load The ability to provide flexibility in the face of time. express Load power can be transferred at any time. express Maximum load transfer capacity at any time express Lower limit of load power that can be transferred at any time.
[0036] Furthermore, The time scale representing the time between two adjacent scheduling moments includes: Take 1 hour, total number of time slots Take 24, Take integers from 1 to 24. Determined recursively by the following formula: ; in, Indicates energy storage Time capacity, Indicates energy storage Constant charging power, Indicates energy storage Discharge power at all times , Indicates energy storage charging efficiency. This indicates the energy storage discharge efficiency.
[0037] Preferably, the quantification of the flexible supply capacity of electrochemical energy storage, transferable loads, conventional units, and cluster electric vehicles includes: for conventional units that are gas turbines, the following formula is used to quantify the flexible supply capacity of the gas turbines: ; in, Indicates gas turbine The ability to provide flexibility in all situations Indicates gas turbine The ability to provide flexibility in the face of time. This indicates the upper limit of the gas turbine's output power. This indicates the lower limit of the gas turbine's output power. Indicates gas turbine Constant output power This indicates the generator set's uphill climbing rate. This indicates the generator set's downhill ramp rate; The following formula is used to quantify the flexible supply capacity of cluster electric vehicles; ; in, Represents cluster electric vehicles The ability to provide flexibility in all situations Represents cluster electric vehicles The ability to provide flexibility in the face of time. express The system displays the charging and discharging power of electric vehicles at all times; discharging is positive and charging is negative. express The upper limit of charging and discharging power of electric vehicles in a time cluster. express Lower limit of charging and discharging power for electric vehicles in real time clusters. express The remaining electric power of the cluster of electric vehicles at all times. express The maximum remaining electrical energy of the electric vehicles in the time cluster. express The minimum remaining electrical energy of the electric vehicles in the time cluster.
[0038] Furthermore, the cumulative upward and downward flexibility supply capabilities of the distribution network include: ; in, express The flexible supply capacity of various resources in the power distribution network at all times. express The flexible supply capacity of various resources in the power distribution network to the lower levels at all times. Indicates electrochemical energy storage The ability to provide flexibility in all situations Indicates transferable load The ability to provide flexibility in all situations Indicates gas turbine The ability to provide flexibility in all situations Represents cluster electric vehicles The ability to provide flexibility in all situations Indicates electrochemical energy storage The ability to provide flexibility in the face of time. Indicates transferable load The ability to provide flexibility in the face of time. Indicates gas turbine The ability to provide flexibility in the face of time. Represents cluster electric vehicles The flexibility to supply at any time.
[0039] Furthermore, based on historical data of photovoltaics and loads, historical scenarios are extracted and reduced to generate a set of combined scenarios. Determining the initial probability distribution includes: extracting... A set of historical scenes were analyzed using the K-means clustering algorithm. The historical scenes were reduced in size according to photovoltaic output and load power respectively, resulting in A typical photovoltaic scenario and For each typical load scenario, the typical photovoltaic scenario and the typical load scenario are arranged and combined to generate a set of combined scenarios. The number and initial probability of the combined scenarios are determined by the following formula. ; in, Indicates the number of combined scenarios. Indicates a combined scenario The probability, This represents the number of typical photovoltaic scenarios. Indicating photovoltaics in combined scenarios The probability of the scene in This represents the number of typical load scenarios. Indicates load in combined scenarios The probability of the scene in Indicates the number of historical scenes. Indicates the sequence number of the combined scene.
[0040] Furthermore, the K-means clustering algorithm was used to... The reduction of historical scenes based on photovoltaic output and load power includes: using the Euclidean distance between historical scenes as the distance metric, calculating the Euclidean distance from each historical scene to each cluster center according to the following formula, assigning the historical scene to the cluster corresponding to the cluster center with the smallest distance, and updating each cluster center according to the following formula. ; ; in, Indicates the first Group of historical scenes To the Euclidean distance between cluster centers Indicates the first A set of historical scenes, Indicates the first The first set of historical scenes One portion, Indicates the first The iteration of the ... Cluster centers, express The One portion, Indicates the first The iteration of the ... Cluster centers, Indicates the first In the next iteration, it belongs to the... A collection of historical scenes for each cluster center. express The number of groups of historical scenes in the middle Indicates the number of components in a historical scene. Indicates the number of clustering iterations. Indicates the sequence number of the historical scene. This represents the index of the cluster center. Repeat the above distance calculation, cluster assignment, and cluster center update process until the maximum Euclidean distance between all cluster centers in two consecutive iterations is less than [value missing]. The iteration terminates at a certain point, taking the cluster centers at the point of termination as a typical scenario, and then proceeds according to... Determine the probability of each typical scenario, where Indicates the first The probability of a typical scenario Indicates belonging to the first The number of historical scene groups for each typical scenario. Take 365. and The contour coefficient is selected optimally within the integer range of 2 to 10 according to the maximum criterion, and the contour coefficient is calculated according to the following formula; ; in, Indicates the first Contour coefficients for a typical scenario Indicates the first The average distance from each historical scene within the cluster to the other historical scenes of a typical scene. Indicates the first The formula is the minimum average distance from a typical scene to all other historical scenes within the cluster. This formula is applicable when the number of historical scene groups within a cluster is no less than 2. and Take each The integer value with the largest mean across its respective samples. Pick and The product of.
[0041] Furthermore, the uncertain set of the source load probability distribution is constructed using the Hausdorff distance as a constraint, including: The permissible probability deviation is determined using the following formula to control the fluctuation range of the probability distribution of combined scenarios: ; in, This represents the allowable deviation value of the probability. Indicates the number of combined scenarios. Indicates the number of historical scenes. Indicates the confidence level. Values range from 0.9 to 0.99. Take 365; the maximum probabilistic allowable deviation of the load. Maximum permissible deviation from photovoltaic output Take all.
[0042] Preferably, constructing the source load probability distribution uncertainty set with Hausdorff distance as a constraint includes: For a given set of points with point set The improved Hausdorff distance is calculated by using the average value instead of the maximum value. ; in, This represents the first point set. This represents the second point set. This represents the number of elements in the point set. Represents a point set The first in One element, Represents a point set The first in One element, Represents a point set The first in One element, Represents a point set The first in One element, express arrive The one-way Hausdorff distance, which takes the value of any point in arrive middle The minimum distance between points constitutes the... The average of the minimum values, express arrive The one-way Hausdorff distance, which takes the value of any point in arrive middle The minimum distance between points constitutes the... The average of the minimum values, Represents a point set Hedianji The improved Hausdorff distance, which takes the value of and The larger value in; Using the improved Hausdorff distance as a constraint, the uncertainty set of the source load probability distribution is constructed using the following formula: ; in, This represents the set of uncertain probability distributions of the source charges. Represents the distance based on Hausdorff distance Scenario probability value Representing combined scenarios The initial probability, Indicates the number of combined scenarios. Indicates the sequence number of the combined scene. This represents the allowable deviation value of the probability. express and The improved Hausdorff distance between them.
[0043] Furthermore, the flexibility requirements for load quantification and photovoltaics include: The first The load model for each scenario is represented as the load change under the maximum probability allowable deviation: ; in, express Time of the first Load forecast values for each scenario express Time of the first Upper limit of load fluctuation in each scenario express Time of the first Lower limit of load fluctuation in each scenario This represents the maximum permissible deviation value for the load. Indicates time, Indicates the scene sequence number. (In terms of time scale) Next, when The load only requires upward flexibility, when The load only has downward flexibility requirements, when The load has a two-way flexibility requirement, and the load fluctuation is represented by the first-order difference between adjacent time periods: ; in, express Time of the first The upward flexibility requirement of load in various scenarios express Time of the first Downward flexibility requirements for load in various scenarios express Time of the first Upper limit of load fluctuation in each scenario express Time of the first Lower limit of load fluctuation in each scenario The first constant, 0, indicates that load fluctuations do not generate reverse flexibility requirements.
[0044] Furthermore, the quantification of load and photovoltaic flexibility requirements includes: quantifying the fluctuation range of photovoltaic output using the following formula: ; in, express Time of the first Predicted photovoltaic output values for each scenario express Time of the first The upper limit of photovoltaic output in a given scenario express Time of the first The lower limit of photovoltaic output in each scenario This represents the maximum probabilistic allowable deviation in photovoltaic (PV) output. The following formula quantifies the net load increase caused by changes in PV output: ; in, express Time of the first The extent of net load reduction caused by increased photovoltaic output in each scenario express Time of the first The extent of net load increase caused by a decline in photovoltaic output in this scenario. express Time of the first The upper limit of photovoltaic output in a given scenario express Time of the first The lower limit of photovoltaic output in each scenario.
[0045] Preferably, the quantification of load and photovoltaic flexibility requirements includes: photovoltaic output down and load up in the same direction to increase net load, and photovoltaic output up and load down in the same direction to decrease net load. Based on this corresponding relationship, the following formula is used to synthesize the upward and downward flexibility requirements of the distribution network. ; in, Indicates distribution network The need for constant upward flexibility Indicates distribution network The need for flexibility in the face of time. express Time of the first The upward flexibility requirement of load in various scenarios express Time of the first Downward flexibility requirements for load in various scenarios express Time of the first The extent of net load increase caused by a decline in photovoltaic output in this scenario. express Time of the first The extent of net load reduction caused by increased photovoltaic output in each scenario Indicates the first The probability of each scenario, taking the probability of a typical scenario. , Indicates the number of combined scenarios. Indicates the scene number.
[0046] Furthermore, subtracting the upward and downward flexibility requirements from the upward and downward flexibility supply capacity of the distribution network, respectively, yields the upward and downward flexibility margins of the distribution network, including: ; in, Indicates distribution network Upward flexibility margin at any moment Indicates distribution network Downward flexibility margin at any moment express The flexible supply capacity of various resources in the power distribution network at all times. express The flexible supply capacity of various resources in the power distribution network to the lower levels at all times. Indicates distribution network The need for constant upward flexibility Indicates distribution network The need for flexibility in the face of time. A negative value indicates a power distribution network. The lack of flexibility in moving upwards at all times. A negative value indicates a power distribution network. The lack of flexibility in the downward movement of time.
[0047] Preferably, the objective function for the upper limit of flexibility is to take the maximum aggregated power of various resources in the distribution network as the upper limit of flexibility and the objective function for the lower limit of flexibility is to take the aggregated power range formed by the envelope of the upper limit curve and the lower limit curve of flexibility within the evaluation period as the evaluation index of the flexibility of the distribution network, and the objective function for the upper limit of flexibility of the distribution network is solved by the following formula. ; in, The objective function representing the maximum aggregated power of various resources in the distribution network is used to solve for the upper limit of the flexibility evaluation index at each time point. Indicates distribution network Photovoltaic power output at all times Indicates distribution network The lower limit of photovoltaic power output at any given time. Indicates distribution network The upper limit of photovoltaic power output at any given time Indicates distribution network Constant load power, Indicates distribution network The lower limit of the load power at any given time. Indicates distribution network The upper limit of load power at any given time. Indicates distribution network Energy storage charging and discharging power at all times and , express Energy storage and discharge power at all times express Real-time energy storage and charging power, express The gas turbine output is always on. express The standby capacity on the gas turbine at all times. express Reserve capacity of gas turbine at all times express Electric vehicle charging and discharging power at all times , express Electric vehicle discharge power at all times express Electric vehicle charging power at all times express Load power can be transferred at any time. This represents the set of uncertain probability distributions of the source charges. express Scenario probability value Indicates the number of combined scenarios. Representing uncertain variables The probability distribution, This represents the total number of moments within the evaluation period. Indicates time, Indicates the sequence number of the combined scene; The objective function for the lower limit of distribution network flexibility is solved using the following formula; ; in, This represents the objective function that minimizes the aggregated power of various resources in the distribution network, used to solve for the lower bound of the flexibility evaluation index at any given time. This indicates that the distribution network has a flexibility margin.
[0048] Furthermore, solving the objective function for the upper limit of distribution network flexibility and solving the objective function for the lower limit of distribution network flexibility involve solving both objective functions in the form of scenario expectation, where the scenario expectation is based on the uncertain set of source-load probability distribution. The inner probability distribution minimizes or maximizes the desired aggregate power. Then, given the scenario probability distribution, the output of various resources in the distribution network is taken as the extreme value within their respective feasible regions. During the solution process, the upper and lower limits of photovoltaic output and load power are first fixed, within the uncertain set of the source-load probability distribution. The following formula is used to solve for the probability distribution of the scenario: ; Then, under the probability distribution of this scenario, the extreme values of the output of various resources in the distribution network are solved. Both objective functions are linear programming.
[0049] Preferably, using the minimum value after normalization of the flexibility demand power as a benchmark value as the overall flexibility evaluation index includes: normalizing the upper limit and lower limit of distribution network flexibility supply by dividing them by the flexibility demand power, and then using the following formula to take the minimum value between the normalized upper limit and lower limit of distribution network flexibility supply as the overall flexibility evaluation index: ; in, express The overall flexibility index of the distribution network at any given time quantifies the degree of flexibility of the distribution network. The objective function value representing the maximum aggregated power of various resources in the distribution network serves as the upper limit for the flexibility supply of the distribution network. The objective function value representing the minimum aggregated power of various resources in the distribution network serves as the lower limit for the flexible supply of the distribution network. Indicates distribution network The need for constant upward flexibility Indicates distribution network The need for flexibility in the face of time. Indicates the time.
[0050] Furthermore, express The overall flexibility indicators of the distribution network at any time include: It is a dimensionless quantity. When the value is 1, the supply and demand for flexibility in the distribution network are perfectly balanced. When the value is less than 1, the distribution network flexibility supply is insufficient. When the value is greater than 1, the distribution network has sufficient flexibility; when When equal to 0, Take 1, when When equal to 0, Take 1; average the overall flexibility index of the distribution network at each moment within the evaluation period according to the following formula to obtain the overall flexibility evaluation index within the evaluation period. ; in, This indicates the overall flexibility assessment indicators within the assessment period. This represents the total number of moments within the evaluation period. express The overall flexibility index of the power distribution network at all times Indicates the time.
[0051] Furthermore, the constraints include gas turbine operating constraints and standby constraints. The gas turbine operating constraints are the power output range constraints and ramp rate constraints of the gas turbine. ; in, This indicates the minimum output power of the gas turbine. This indicates the maximum output power of the gas turbine. express The gas turbine output is always on. express The gas turbine output is always on. This indicates the maximum ramp power of the gas turbine. To cope with situations where photovoltaic output decreases or load demand increases, the gas turbine needs to be equipped with uplink reserve capacity to ensure power supply continuity, and the gas turbine needs to be equipped with downlink reserve capacity to reduce curtailment and improve photovoltaic absorption capacity. The reserve constraint is: ; in, express The standby capacity on the gas turbine at all times. express Reserve capacity of gas turbine at all times This indicates the maximum output power of the gas turbine. This represents the minimum output power of the gas turbine. Gas turbine operating constraints and reserve constraints are included in the constraints of claim 25. .
[0052] Furthermore, the constraints include power balance constraints; ; in, Indicates distribution network Energy storage and discharge power at all times Indicates distribution network Real-time energy storage and charging power, Indicates distribution network Photovoltaic power output at all times Indicates distribution network Constant load power, express The gas turbine output is always on. express The standby capacity on the gas turbine at all times. express Reserve capacity of the gas turbine at any given time. Power balance constraints are taken into account in claim 25. .
[0053] Furthermore, the constraints include energy storage operation constraints and electric vehicle charging and discharging constraints. The energy storage operation constraints are as follows: ; in, express Real-time energy storage and charging power, express Energy storage and discharge power at all times This indicates the maximum charging power of the energy storage. This indicates the maximum discharge power of the stored energy. Represents an integer variable that takes the value 1 or 0. A value of 1 indicates that the energy storage is in a charging state and discharging is prohibited. A value of 0 indicates that the energy storage is in a discharging state and charging is prohibited. express The capacity for energy storage at all times express The energy storage capacity at any given time, where ES represents the rated capacity of the energy storage. Indicates the minimum state of charge. Indicates the maximum state of charge. Indicates energy storage charging efficiency. Indicates the energy storage discharge efficiency. This indicates the energy storage capacity at the start of the scheduling cycle. This indicates the energy storage capacity at the end of the scheduling cycle. This indicates that the energy storage's charge and discharge volumes are balanced within a scheduling cycle. This represents the time scale between two adjacent scheduling moments. The charging and discharging constraints for electric vehicles are: ; in, express Electric vehicle charging power at all times express Electric vehicle discharge power at all times This indicates the maximum charging power of the electric vehicle. This indicates the maximum discharge power of the electric vehicle. Represents an integer variable that takes the value 1 or 0. A value of 1 indicates that the electric vehicle is charging and discharging is prohibited. A value of 0 indicates that the electric vehicle is in a discharging state and charging is prohibited. express Electric vehicle charging and discharging power at all times express The capacity of electric vehicles at all times express The capacity of electric vehicles at all times This represents the minimum state of charge of an electric vehicle. Indicates the maximum state of charge of an electric vehicle. This indicates the change in electrical energy capacity generated when electric vehicles are connected to or disconnected from the grid. Indicates the first electric vehicles The maximum available power at any given time. express Time of the first Sign indicating whether an electric vehicle is connected to or disconnected from the grid. Taking 1 indicates grid connection. Setting it to 0 indicates disconnection from the network. express Time of the first Sign indicating whether an electric vehicle is connected to or disconnected from the grid. Indicates the number of electric vehicles. This indicates the electric vehicle serial number; the energy storage operation constraints and the electric vehicle charging and discharging constraints are included in the constraints. .
[0054] Furthermore, the constraints include photovoltaic output constraints and conventional transferable load constraints. The photovoltaic output constraints are as follows: ; in, Indicates distribution network Photovoltaic power output at all times Indicates distribution network The predicted output of distributed photovoltaic power at any given time. Conventional transferable load constraints include upper and lower limits for transferable load, transferable time constraints, and a constraint that the total amount of transferable load remains constant within the period. ; in, express Load power can be transferred at any time. This indicates the upper limit of transferable load. This indicates the lower limit of transferable load. This indicates the upper limit of the transferable load time range. This indicates the lower limit of the transferable load time range. This represents the total electricity demand during the period when load can be transferred. Indicates the time. The photovoltaic output constraint is included in the constraint of claim 25. The constraint that the total amount of transferable load remains constant within a period in the conventional transferable load constraint is included in the constraint. .
[0055] Preferably, rewriting the distribution network flexibility assessment model into a two-stage sub-Bruker optimization model includes: The distribution network flexibility assessment model is rewritten into a flexibility upper limit assessment model and a flexibility lower limit assessment model. The flexibility upper limit assessment model is expressed by the following formula: ; The following formula is used to represent the lower bound assessment model for flexibility: ; in, This represents the transpose matrix of the coefficients of the objective function. This represents the first-stage optimization variable. This represents the second-stage optimization variable. Represents an uncertain variable. Represents the set of possible values for an uncertain variable. Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. express Scenario probability value , , , , This represents the coefficient matrix corresponding to each constraint condition. , , This represents the constant matrix corresponding to each constraint condition. Representing uncertain variables The probability distribution.
[0056] Preferably, rewriting the distribution network flexibility assessment model into a flexibility upper limit assessment model and a flexibility lower limit assessment model includes: decomposing the flexibility lower limit assessment model into a main problem and sub-problems, where the sub-problems are linear problems, and using the following formula to represent the main problem of the flexibility lower limit assessment model: ; The subproblem of the flexibility lower bound evaluation model is expressed by the following formula: ; in, Represents the objective variable of the main problem. The value of is not less than the minimum upper bound of the objective function value for each scenario under the known scenario probability distribution. This represents the first-stage optimization variable. This represents the feasible region of the first-stage optimization variables. Indicates the number of combined scenarios. Indicates the first The iteration yielded Scenario probability value This represents the transpose matrix of the coefficients of the objective function. Indicates the first Scene in the next iteration The corresponding values of the second-stage optimization variables, Indicates the number of iterations. Indicates the sequence number of the combined scene. Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. This represents the second-stage optimization variable vector. This represents the first-stage optimization variable vector. Represents a vector of uncertain variables. This indicates the optimization of the variable vector in the first stage. with the vector of uncertain variables Given the feasible region of the second-stage optimization variables, Representing a scene The corresponding second-stage optimization variables; decompose the subproblem into two independent linear problems and solve them in parallel, and use the following formula to represent the decomposed subproblem; ; in, Indicating the scenario in the flexibility lower bound evaluation model In the second stage, the optimal values of the variables are optimized. The objective function value is below. This indicates the optimal value of the optimization variable in the second stage; This represents the second-stage optimization variable vector. This indicates the optimization of the variable vector in the first stage. with the vector of uncertain variables Given the feasible region of the second-stage optimization variables, This represents the transpose matrix of the coefficients of the objective function. Representing a scene The corresponding second-stage optimization variables, Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. Indicates the number of combined scenarios. express Scenario probability value Indicates the sequence number of the combined scene.
[0057] Preferably, the flexibility lower bound assessment model is decomposed into a main problem and sub-problems, including: the flexibility upper bound assessment model is decomposed into a main problem and sub-problems according to the following formula, and the upper and lower bound values are updated according to the following formula: ; ; ; The flexibility lower bound assessment model updates the upper and lower bound values using the following formula: ; Where UB represents the upper bound and LB represents the lower bound. Indicates the number of combined scenarios. Indicates the first The iteration yielded Scenario probability value This represents the transpose matrix of the coefficients of the objective function. Indicates the first Scene in the next iteration The corresponding values of the second-stage optimization variables, Indicating the scenario in the flexibility upper limit assessment model In the second stage, the optimal values of the variables are optimized. The objective function value is below. Indicating the scenario in the flexibility lower bound evaluation model In the second stage, the optimal values of the variables are optimized. The objective function value is below. This indicates the optimal value of the optimization variable in the second stage. Represents the objective variable of the main problem. This represents the first-stage optimization variable. This represents the feasible region of the first-stage optimization variables. Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. This represents the second-stage optimization variable vector. This represents the first-stage optimization variable vector. Represents a vector of uncertain variables. This indicates the optimization of the variable vector in the first stage. with the vector of uncertain variables Given the feasible region of the second-stage optimization variables, Representing a scene The corresponding second-stage optimization variables, Indicates the sequence number of the combined scene. Indicates the number of iterations; in the flexibility upper bound evaluation model, the upper bound UB is updated by the main problem, and the lower bound LB is updated by the subproblems; in the flexibility lower bound evaluation model, the lower bound LB is updated by the main problem, and the upper bound UB is updated by the subproblems; the initial values for the upper and lower bounds are given by the following formula, and the iteration is terminated according to the convergence criterion: ; in, This represents the convergence error threshold, taken as... The iteration is performed in the following sub-steps: Sub-step 1, let the number of iterations be... Set the value to 1, which represents the initial value of the optimization variables in the first stage. Sub-step two, the first Substituting the scenario probability distribution of the next iteration into the principal problem, we obtain the values of the optimization variables for the first stage. The target value of the main problem is updated, and the boundary value corresponding to the main problem is updated according to the update method described in claim 23; Sub-step three, will Substituting into the subproblem, first solve for the minimum or maximum value of the objective function for each inner scenario to obtain... or Then solve for the uncertainty set of the outer layer's source charge probability distribution. The extreme values within the range lead to the probability distribution of the worst-case scenario. ; Sub-step four, determine Is it less than or equal to? If not satisfied, then let Increment by 1 and return to sub-step two. If the condition is met, terminate the iteration and output the result. The corresponding upper limit and lower limit of distribution network flexibility supply.
[0058] Example 2: This embodiment provides an application example of this method in a distribution network of a city in central China. This embodiment focuses on the day-ahead flexibility supply and demand quantification and assessment of a distribution network with a high proportion of distributed photovoltaic power, with a dispatch cycle of 24 hours and a time scale of [missing information]. Take 1 hour, total number of time slots Take 24, Take integers from 1 to 24. Four types of flexibility resources are integrated into the distribution network: electrochemical energy storage, transferable loads, micro gas turbines, and clustered electric vehicles. The evaluation targets are the upper and lower limits of flexibility supply that the distribution network can provide at each time point on the following day, and the overall flexibility evaluation index of the distribution network determined by the ratio of these two values to flexibility demand.
[0059] The experimental platform consists of a scenario generation module, a supply quantification module, a demand quantification module, and an evaluation and solution module. The scenario generation module reads historical data on photovoltaic power output and load power and reduces it to generate a set of combined scenarios; the supply quantification module quantifies and accumulates the upward and downward flexibility supply capabilities of four types of resources; the demand quantification module quantifies the flexibility requirements of load and photovoltaic power and synthesizes them into the upward and downward flexibility requirements of the distribution network; the evaluation and solution module solves the upper and lower limit objective functions of flexibility and generates an overall flexibility evaluation index for the distribution network.
[0060] The parameter settings are as follows: number of historical scenes Take 365, the number of typical photovoltaic scenarios Typical scenarios with load Based on the criterion of maximizing the silhouette coefficient, the optimal values are selected within an integer range of 2 to 10. The maximum Euclidean distance between two adjacent iterations of all cluster centers in K-means clustering is less than... Iteration terminates at time; confidence level Take 0.95 as the probability tolerance value. The maximum permissible probability deviation of the load is determined according to the formula described in claim 8. Maximum permissible deviation from photovoltaic output All Convergence error threshold of column and constraint generation algorithm Pick The upper bound UB is initialized with positive infinity, and the lower bound is... LB The initial value of the iteration is negative infinity; the transferable time range of the transferable load is from 6:00 to 22:00, and the total electricity demand during the transferable load scheduling period is given as an equality constraint.
[0061] The comparative method assesses distribution network flexibility solely based on upward flexibility supply capacity. This method does not set a downward flexibility index, directly using the ratio of the upper limit of flexibility supply to the upper limit of flexibility demand as the evaluation conclusion, without performing the step of taking the minimum value of the two ratios. The comparative method and this method operate under identical conditions, including the same set of historical data, the same set of combined scenarios, the same set of uncertain source-load probability distributions, the same set of operating constraints, and the same set of solution parameters. The only difference is whether or not the minimum value step is performed. The evaluation conclusions of the comparative method at each time point are the upper limit flexibility indices recorded in Table 1 of the original application.
[0062] The complete process of the embodiment consists of six steps: The first step involves reading historical data on photovoltaic power output and load power, extracting 365 historical scenarios, performing K-means clustering using Euclidean distance and iterative updates of cluster centers, and determining the probability of typical scenarios. Typical photovoltaic scenarios and typical load scenarios are then combined to obtain a set of combined scenarios, and the number of combined scenarios is determined. With initial probability .
[0063] The second step involves calculating the improved Hausdorff distance by substituting the maximum value for the average value, and combining this with the probability tolerance value determined by a confidence level of 0.95. Constructing the uncertain set of source charge probability distribution .
[0064] The third step involves calculating the fluctuation ranges of photovoltaic output and load power based on the maximum probability allowable deviation, quantifying the flexibility requirements of load and photovoltaic power, and synthesizing them into the upward and downward flexibility requirements of the distribution network. and The fourth step involves quantifying and summing the upward and downward flexibility supply capabilities of electrochemical energy storage, transferable loads, micro gas turbines, and clustered electric vehicles to obtain the upward and downward flexibility supply capabilities of the distribution network. and The fifth step involves using the maximum and minimum aggregated power of various resources in the distribution network as the objective function, and solving for the upper limit of flexible supply under constraints such as power balance, energy storage operation, electric vehicle charging and discharging, gas turbine operation, reserve, photovoltaic output, and conventional transferable load. With the lower limit of flexible supply The sixth step is to standardize the upper and lower limits of supply using the flexibility demand power as the benchmark value, and take the smaller value as the overall flexibility assessment index of the distribution network at that time. The overall flexibility assessment index for the evaluation period was obtained by averaging the 24 time points. .
[0065] A quantitative diagram illustrating the upper and lower limits of the flexible supply of the distribution network is shown below. Figure 2 and Figure 3 As shown, where Figure 2 A schematic diagram illustrating the quantitative upper limit of the flexibility supply for the distribution network. Figure 3 A schematic diagram illustrating the quantitative lower limit for supplying flexibility to the distribution network. (From...) Figure 2 It can be seen that, to address the flexibility needs of the distribution network during the midday solar photovoltaic absorption period from 9:00 to 15:00, flexibility is mainly provided by gas turbines, energy storage, and electric vehicles, combined with... Figure 3 The data shows that the downward flexibility demand of the distribution network is minimal at midday, further confirming that the midday flexibility demand is mainly reflected in fluctuations in photovoltaic output. Figure 3 It can be seen that the downward flexibility demand of the distribution network is mainly in the load fluctuations in the early morning and evening, with the peak mainly concentrated between 18:00 in the evening and 5:00 the next morning. The flexibility during the evening period is provided by gas turbines, energy storage, transferable loads and electric vehicles, while the flexibility during the early morning period is mainly provided by gas turbines and energy storage. The operating data is shown in Table 1 below.
[0066] Table 1: Flexibility Indicators of Distribution Network at Various Times;
[0067] Based on the flexibility index of the distribution network at various times in Table 1 and Figure 4 The quantitative diagram of the lower limit of distribution network flexibility supply shows that the lower limit index of distribution network flexibility at 11:00 and the upper limit index of distribution network flexibility at 23:00 are both 0. At this time, the distribution network just meets the needs of photovoltaic and load fluctuations, and there is no extra power self-balancing capacity. Therefore, considering the "short board effect", the smaller value of the upper and lower limit indexes of flexibility at each time is selected as the overall flexibility index of the distribution network at that time. The average value is calculated to obtain the overall flexibility index of the distribution network as 1.26. The value quantifies the flexibility of the distribution network. The larger the value, the stronger the flexibility.
Claims
1. A method for quantifying and evaluating the supply and demand flexibility of a distribution network considering source load uncertainty, characterized in that, Includes the following steps: S1. Establish a quantitative model for the supply of flexible resources, quantify the flexible supply capacity of electrochemical energy storage, transferable loads, conventional units and cluster electric vehicles, and sum them to obtain the upward and downward flexible supply capacity of the distribution network, and construct a flexible supply model for the distribution network. S2, based on historical data of photovoltaic and load, extract historical scenarios and reduce them to generate a set of combined scenarios, determine the initial probability distribution, and construct an uncertain set of source-load probability distribution with Hausdorff distance as a constraint; S3. Based on the uncertainty set of the source load probability distribution, calculate the source load fluctuation power under the maximum probability allowable deviation, quantify the flexibility requirements of load and photovoltaic, subtract the upward and downward flexibility requirements from the upward and downward flexibility supply capacity of the distribution network to obtain the upward and downward flexibility margins of the distribution network, and construct the distribution network flexibility margin model. S4. The flexibility assessment model is constructed by taking the maximum aggregated power of various resources in the distribution network as the upper limit objective function of flexibility and the minimum aggregated power as the lower limit objective function of flexibility, and combining the distribution network flexibility supply model, flexibility margin model and constraints. S5 rewrites the distribution network flexibility assessment model into a two-stage bibliometric optimization model. The column and constraint generation algorithm is used to iteratively solve for the upper and lower limits of flexibility supply at each time point. The minimum value after normalization based on the flexibility demand power is taken as the overall flexibility assessment index.
2. The method for quantifying and evaluating the supply and demand flexibility of distribution networks considering source-load uncertainty according to claim 1, characterized in that, The flexible supply capacity of quantified electrochemical energy storage, transferable loads, conventional units and cluster electric vehicles includes: the flexible supply capacity of quantified electrochemical energy storage using the following formula; The flexibility and supply capacity of energy storage; ; in, Indicates electrochemical energy storage The ability to provide flexibility in all situations Indicates electrochemical energy storage The ability to provide flexibility in the face of time. Indicates electrochemical energy storage The charging and discharging power is constantly monitored, with discharging being positive and charging being negative. Indicates electrochemical energy storage The upper limit of charging and discharging power at any time. Indicates electrochemical energy storage Lower limit of charge / discharge power at any time. Indicates energy storage Time capacity, Indicates energy storage Maximum capacity at any time Indicates energy storage Lower limit of capacity at any time This represents the time scale between two adjacent scheduling moments. The first item represents Power adjustment space at all times The second term represents Power calculated based on the current power supply capacity; The following formula is used to quantify the flexible supply capacity of transferable loads; ; in, Indicates transferable load The ability to provide flexibility in all situations Indicates transferable load The ability to provide flexibility in the face of time. express Load power can be transferred at any time. express Maximum load transfer capacity at any time express Lower limit of load power that can be transferred at any time.
3. The method for quantifying and evaluating the supply and demand flexibility of distribution networks considering source-load uncertainty according to claim 1, characterized in that, The quantification of flexible supply capacity for electrochemical energy storage, transferable loads, conventional units, and cluster electric vehicles includes: for conventional units using gas turbines, the following formula quantifies the flexible supply capacity of gas turbines: ; in, Indicates gas turbine The ability to provide flexibility in all situations Indicates gas turbine The ability to provide flexibility in the face of time. This indicates the upper limit of the gas turbine's output power. This indicates the lower limit of the gas turbine's output power. Indicates gas turbine Constant output power This indicates the generator set's uphill climbing rate. This indicates the generator set's downhill ramp rate; The following formula is used to quantify the flexible supply capacity of cluster electric vehicles; ; in, Represents cluster electric vehicles The ability to provide flexibility in all situations Represents cluster electric vehicles The ability to provide flexibility in the face of time. express The system displays the charging and discharging power of electric vehicles at all times; discharging is positive and charging is negative. express The upper limit of charging and discharging power of electric vehicles in a time cluster. express Lower limit of charging and discharging power for electric vehicles in real time clusters. express The remaining electric power of the cluster of electric vehicles at all times. express The maximum remaining electrical energy of the electric vehicles in the time cluster. express The minimum remaining electrical energy of the electric vehicles in the time cluster.
4. The method for quantifying and evaluating the supply and demand flexibility of distribution networks considering source-load uncertainty as described in claim 1, characterized in that, The uncertain set of source load probability distributions constructed with Hausdorff distance as a constraint includes: For a given set of points with point set The improved Hausdorff distance is calculated by using the average value instead of the maximum value. ; in, This represents the first point set. This represents the second point set. This represents the number of elements in the point set. Represents a point set The first in One element, Represents a point set The first in One element, Represents a point set The first in One element, Represents a point set The first in One element, express arrive The one-way Hausdorff distance, which takes the value of any point in arrive middle The minimum distance between points constitutes the... The average of the minimum values, express arrive The one-way Hausdorff distance, which takes the value of any point in arrive middle The minimum distance between points constitutes the... The average of the minimum values, Represents a point set Hedianji The improved Hausdorff distance, which takes the value of and The larger value in; Using the improved Hausdorff distance as a constraint, the uncertainty set of the source load probability distribution is constructed using the following formula: ; in, This represents the set of uncertain probability distributions of the source charges. Represents the distance based on Hausdorff distance Scenario probability value Representing combined scenarios The initial probability, Indicates the number of combined scenarios. Indicates the sequence number of the combined scene. This represents the allowable deviation value of the probability. express and The improved Hausdorff distance between them.
5. The method for quantifying and evaluating the supply and demand flexibility of distribution networks considering source load uncertainty according to claim 4, characterized in that, The flexibility requirements of load and photovoltaics include: the net load is increased when photovoltaic output decreases and load increases in the same direction, and the net load is decreased when photovoltaic output increases and load decreases in the same direction. The upward and downward flexibility requirements of the distribution network are synthesized according to the following formula based on this corresponding relationship. ; in, Indicates distribution network The need for constant upward flexibility Indicates distribution network The need for flexibility in the face of time. express Time of the first The upward flexibility requirement of load in various scenarios express Time of the first Downward flexibility requirements for load in various scenarios express Time of the first The net load increase caused by the decline in photovoltaic output in this scenario express Time of the first The extent of net load reduction caused by increased photovoltaic output in each scenario Indicates the first The probability of each scenario, taking the probability of a typical scenario. , Indicates the number of combined scenarios. Indicates the scene number.
6. The method for quantifying and evaluating the supply and demand flexibility of distribution networks considering source-load uncertainty according to claim 1, characterized in that, The objective function for the upper limit of flexibility is to take the maximum aggregated power of various resources in the distribution network as the upper limit objective function and the minimum aggregated power as the lower limit objective function. The objective function for the upper limit of flexibility is to take the aggregated power range formed by the envelope of the upper limit curve and the lower limit curve of flexibility within the evaluation period as the evaluation index of distribution network flexibility, and to solve the upper limit objective function of distribution network flexibility using the following formula. ; in, The objective function representing the maximum aggregated power of various resources in the distribution network is used to solve for the upper limit of the flexibility evaluation index at each time point. Indicates distribution network Photovoltaic power output at all times Indicates distribution network The lower limit of photovoltaic power output at any given time. Indicates distribution network The upper limit of photovoltaic power output at any given time Indicates distribution network Constant load power, Indicates distribution network The lower limit of the load power at any given time. Indicates distribution network The upper limit of the load power at any given time. Indicates distribution network Energy storage charging and discharging power at all times and , express Energy storage and discharge power at all times express Real-time energy storage and charging power, express The gas turbine output is always on. express The standby capacity on the gas turbine at all times. express Reserve capacity of gas turbine at all times express Electric vehicle charging and discharging power at all times , express Electric vehicle discharge power at all times express Electric vehicle charging power at all times express Load power can be transferred at any time. This represents the set of uncertain probability distributions of the source charges. express Scenario probability value Indicates the number of combined scenarios. Representing uncertain variables The probability distribution, This represents the total number of moments within the evaluation period. Indicates time, Indicates the sequence number of the combined scene; The objective function for the lower limit of distribution network flexibility is solved using the following formula; ; in, The objective function representing the minimum aggregated power of various resources in the distribution network is used to solve for the lower limit of the flexibility evaluation index at each time point; at any time point... This indicates that the distribution network has a flexibility margin.
7. The method for quantifying and evaluating the supply and demand flexibility of distribution networks considering source load uncertainty according to claim 1, characterized in that, Using the flexibility demand power as a benchmark value, the minimum value after normalization is taken as the overall flexibility evaluation index. This includes: normalizing the upper limit and lower limit of distribution network flexibility supply by the flexibility demand power, and then taking the minimum value between the normalized upper limit and lower limit of distribution network flexibility supply as the overall flexibility evaluation index using the following formula: ; in, express The overall flexibility index of the distribution network at any given time quantifies the degree of flexibility of the distribution network. The objective function value representing the maximum aggregated power of various resources in the distribution network serves as the upper limit for the flexibility supply of the distribution network. The objective function value representing the minimum aggregated power of various resources in the distribution network serves as the lower limit for the flexible supply of the distribution network. Indicates distribution network The need for constant upward flexibility Indicates distribution network The need for flexibility in the face of time. Indicates the time.
8. The method for quantifying and evaluating the supply and demand flexibility of distribution networks considering source-load uncertainty according to claim 1, characterized in that, The rewriting of the distribution network flexibility assessment model into a two-stage partial blue bar optimization model includes: The distribution network flexibility assessment model is rewritten into a flexibility upper limit assessment model and a flexibility lower limit assessment model. The flexibility upper limit assessment model is expressed by the following formula: ; The following formula is used to represent the lower bound assessment model for flexibility: ; in, This represents the transpose matrix of the coefficients of the objective function. This represents the first-stage optimization variable. This represents the second-stage optimization variable. Represents an uncertain variable. Represents the set of possible values for an uncertain variable. Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. express Scenario probability value , , , , This represents the coefficient matrix corresponding to each constraint condition. , , This represents the constant matrix corresponding to each constraint condition. Representing uncertain variables The probability distribution.
9. The method for quantifying and evaluating the supply and demand flexibility of distribution networks considering source-load uncertainty according to claim 8, characterized in that, Rewriting the distribution network flexibility assessment model into a flexibility upper limit assessment model and a flexibility lower limit assessment model includes: decomposing the flexibility lower limit assessment model into a main problem and sub-problems, where the sub-problems are linear problems, and using the following formula to represent the main problem of the flexibility lower limit assessment model: ; The subproblem of the flexibility lower bound evaluation model is expressed by the following formula: ; in, Represents the objective variable of the main problem. The value of is not less than the minimum upper bound of the objective function value for each scenario under the known scenario probability distribution. This represents the first-stage optimization variable. This represents the feasible region of the first-stage optimization variables. Indicates the number of combined scenarios. Indicates the first The iteration yielded Scenario probability value This represents the transpose matrix of the coefficients of the objective function. Indicates the first Scene in the next iteration The corresponding values of the second-stage optimization variables, Indicates the number of iterations. Indicates the sequence number of the combined scene. Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. This represents the second-stage optimization variable vector. This represents the first-stage optimization variable vector. Represents a vector of uncertain variables. This indicates the optimization of the variable vector in the first stage. with the vector of uncertain variables Given the feasible region of the second-stage optimization variables, Representing a scene The corresponding second-stage optimization variables; decompose the subproblem into two independent linear problems and solve them in parallel, and use the following formula to represent the decomposed subproblem; ; in, Indicating the scenario in the flexibility lower bound evaluation model In the second stage, the optimal values of the variables are optimized. The objective function value is below. This indicates the optimal value of the optimization variable in the second stage; This represents the second-stage optimization variable vector. This indicates the optimization of the variable vector in the first stage. with the vector of uncertain variables Given the feasible region of the second-stage optimization variables, This represents the transpose matrix of the coefficients of the objective function. Representing a scene The corresponding second-stage optimization variables, Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. Indicates the number of combined scenarios. express Scenario probability value Indicates the sequence number of the combined scene.
10. The method for quantifying and evaluating the supply and demand flexibility of distribution networks considering source-load uncertainty according to claim 9, characterized in that, The flexibility lower bound assessment model is decomposed into a main problem and sub-problems, including: the flexibility upper bound assessment model is decomposed into a main problem and sub-problems as follows, and the upper and lower bound values are updated as follows: ; ; ; The flexibility lower bound assessment model updates the upper and lower bound values using the following formula: ; Where UB represents the upper bound and LB represents the lower bound. Indicates the number of combined scenarios. Indicates the first The iteration yielded Scenario probability value This represents the transpose matrix of the coefficients of the objective function. Indicates the first Scene in the next iteration The corresponding values of the second-stage optimization variables, Indicating the scenario in the flexibility upper limit assessment model In the second stage, the optimal values of the variables are optimized. The objective function value is below. Indicating the scenario in the flexibility lower bound evaluation model In the second stage, the optimal values of the variables are optimized. The objective function value is below. This indicates the optimal value of the optimization variable in the second stage. Represents the objective variable of the main problem. This represents the first-stage optimization variable. This represents the feasible region of the first-stage optimization variables. Representing uncertain variables The probability distribution, This represents the set of uncertain probability distributions of the source charges. This represents the second-stage optimization variable vector. This represents the first-stage optimization variable vector. Represents a vector of uncertain variables. This indicates the optimization of the variable vector in the first stage. with the vector of uncertain variables Given the feasible region of the second-stage optimization variables, Representing a scene The corresponding second-stage optimization variables, Indicates the sequence number of the combined scene. Indicates the number of iterations; in the flexibility upper bound evaluation model, the upper bound UB is updated by the main problem, and the lower bound LB is updated by the subproblems; in the flexibility lower bound evaluation model, the lower bound LB is updated by the main problem, and the upper bound UB is updated by the subproblems; the initial values for the upper and lower bounds are given by the following formula, and the iteration is terminated according to the convergence criterion: ; in, This represents the convergence error threshold, taken as... The iteration is performed in the following sub-steps: Sub-step 1, let the number of iterations be... Set the value to 1, which represents the initial value of the optimization variables in the first stage. Sub-step two, the first Substituting the scenario probability distribution of the next iteration into the principal problem, we obtain the values of the optimization variables for the first stage. The target value of the main problem is updated, and the boundary value corresponding to the main problem is updated according to the update method described in claim 23; Sub-step three, will Substituting into the subproblem, first solve for the minimum or maximum value of the objective function for each inner scenario to obtain... or Then solve for the uncertainty set of the outer layer's source charge probability distribution. The extreme values within the range lead to the probability distribution of the worst-case scenario. ; Sub-step four, determine Is it less than or equal to? If not satisfied, then let Increment by 1 and return to sub-step two. If the condition is met, terminate the iteration and output the result. The corresponding upper limit and lower limit of distribution network flexibility supply.
Citation Information
Patent Citations
Distribution network flexibility evaluation method and device considering adjustable capacity of flexible resources
CN117578434B
Power system flexibility evaluation method, system, equipment and medium
CN117977538A
Method and device for evaluating flexibility of distributed source-load-storage resources to power distribution network
CN119341130A
