A distributed photovoltaic load capacity source and load scene generation method and system

By constructing a joint feature matrix of photovoltaic output, load demand, and net load, and combining principal component analysis and conditional value at risk, K-means clustering is improved to generate source-load scenarios for distributed photovoltaic carrying capacity. This solves the problems of insufficient retention of source-load coupling relationships and failure to capture low-frequency high-risk states in existing technologies, and achieves a more efficient and comprehensive assessment.

CN123179010APending Publication Date: 2026-11-27DAZHOU POWER BUREAU SICHUAN ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611376442.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies fail to adequately unify the modeling of source-load coupling characteristics when evaluating distributed photovoltaic grid integration, leading to overly optimistic evaluation results, difficulty in capturing low-frequency, high-risk operating conditions, and large computational demands.

Method used

By constructing a joint feature matrix of photovoltaic output, load demand, and net load, principal component analysis is used to reduce dimensionality, and conditional value at risk is introduced to calculate tail risk weights. K-means clustering is then incorporated to generate typical source-load joint scenarios.

Benefits of technology

It enhances the ability to preserve source-load coupling relationships, improves the ability to capture low-frequency, high-risk states, reduces computational load, and provides more comprehensive evaluation results, thus providing technical support for photovoltaic grid connection planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179010A_ABST
    Figure CN123179010A_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of power system optimization planning, and relates to a distributed photovoltaic carrying capacity source and load scene generation method and system, and the technical points are as follows: S1, collecting multi-source data of a distribution network, and constructing an original source and load joint feature matrix; S2, constructing a source and load joint feature matrix according to the original source and load joint feature matrix; S3, constructing a source and load tail risk loss function; S4, calculating a source and load tail risk minimum weight; and S5, constructing a source and load scene. The method can simultaneously consider the representativeness of a conventional operation scene and the effective reservation capacity of a tail high-risk scene by introducing a tail risk weight and improving a clustering process; and the innovative design ensures that the generated typical source and load scene set can reflect the steady-state operation characteristics of a power system in most cases, and can highlight extreme operation states that have a low occurrence probability but may cause serious consequences once they occur.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power system optimization planning technology, and specifically discloses a method and system for generating distributed photovoltaic carrying capacity source-load scenarios. Background Technology

[0002] Against the backdrop of the "dual carbon" goals and the construction of a new power system, the scale of distributed photovoltaic (PV) grid integration in distribution networks continues to grow. However, the capacity to accommodate PV power generation is facing increasingly severe challenges: the randomness and volatility of distributed PV output do not match the timing of load demand, and high output under low load conditions can easily lead to problems such as node voltage exceeding limits, reverse power flow, and insufficient operational margins. The distribution network's ability to accommodate PV power generation is thus being put to the test.

[0003] The assessment of distributed photovoltaic carrying capacity requires power flow verification under multi-source load operation scenarios: calculations are performed using hourly or daily time-series samples throughout the year, but the calculation scale is large and not conducive to rapid assessment; selecting only a small number of artificial typical source load scenarios can easily miss low-frequency and high-risk operating conditions, leading to an overly optimistic assessment result.

[0004] Current typical source-load scenario generation methods include source-load independent clustering, source-load joint clustering, dimensionality reduction clustering based on principal component analysis, and probability scenario reduction. Source-load independent clustering processes photovoltaic output and load curves separately, which easily weakens the synchronous correlation between the two. Conventional source-load joint clustering can retain some source-load coupling characteristics, but focuses on high-frequency operating states and is difficult to reflect low-probability, high-impact extreme operating conditions. Ordinary K-means clustering updates cluster centers under the condition of equal sample weights, which easily causes low-frequency samples that have a significant impact on carrying capacity to be averaged by conventional scenarios.

[0005] Conditional Value at Risk (VaR) can characterize tail risk and describe the average loss level after exceeding the risk threshold. Introducing source-load scenario generation can enhance the role of high-risk tail samples. However, existing methods for generating scenarios to assess the photovoltaic carrying capacity of distribution networks have not yet fully unified the modeling of source-load coupling characteristics, dimensionality reduction clustering, and tail risk weights.

[0006] Therefore, the present invention aims to provide a method and system for generating distributed photovoltaic load-bearing capacity scenarios to solve the above problems. Summary of the Invention

[0007] The purpose of this invention is to provide a method and system for generating source-load scenarios of distributed photovoltaic carrying capacity. This involves constructing a joint source-load feature matrix composed of photovoltaic output, load demand, and net load; then using principal component analysis to reduce the dimensionality of the features; finally, establishing a tail risk weight based on conditional risk value and integrating this weight into the K-means clustering process to generate typical source-load scenarios. This effectively solves the problems of existing typical source-load scenario generation methods, such as insufficient preservation of source-load coupling relationships, insufficient attention to low-frequency, high-risk operating states, and excessive computational load for year-round time-series power flow verification.

[0008] The specific plan is as follows:

[0009] A method for generating distributed photovoltaic load capacity scenarios, the method comprising the following steps:

[0010] S1. Collect multi-source data from the power distribution network and construct the original source-load joint feature matrix based on the multi-source data;

[0011] S2. Perform data processing on the original source-load joint feature matrix to obtain the source-load joint feature matrix;

[0012] S3. Construct a source-load tail risk loss function based on multi-source data;

[0013] S4. Calculate and correct the source load tail risk tilt weights to obtain the final source load tail risk weights;

[0014] S5. Perform weighted clustering based on the final weight of the source-load tail risk to construct the source-load scenario.

[0015] Furthermore, based on the multi-source data, the first Heavenly Load demand data for each time period And photovoltaic power output data Calculate the first Heavenly Net load power for each time period :

[0016]

[0017] The first Solar power output data for the day Load demand data and net load power According to the number of time periods within the day Construct the original source-load joint feature vector:

[0018]

[0019] in For the first The original source-charge joint eigenvector of day, the first Daily load demand data Photovoltaic power output data and net load power Depend on Load demand data for each time period within a day Photovoltaic power output data and net load power composition;

[0020] Construct the original source-load joint feature matrix based on historical daily samples from multi-source data:

[0021]

[0022] in This is the original source-load joint characteristic matrix. For the first The original source-load joint eigenvector of the day, This represents the total number of days in the historical sample.

[0023] Furthermore, the data processing involves: standardizing and... Dimension reduction yields:

[0024] joint characteristic matrix of original source and load The Middle The first day Joint characteristics of original source and load Standardization process:

[0025]

[0026] in For the standardized first Heavenly A joint feature of the original source and load, and The first Mean and standard deviation of the joint characteristics of the original source and load;

[0027] According to the standardized number Heavenly Based on the original source-load joint features, a standardized original source-load joint feature matrix is ​​constructed. Covariance matrix :

[0028]

[0029] Selecting the covariance matrix Center front The original source-load joint eigenvectors corresponding to the largest eigenvalues ​​are used to construct the load matrix. and will Mapping to the load matrix middle:

[0030]

[0031] in for The principal component score matrix after dimensionality reduction, i.e., the source-load joint feature matrix;

[0032] Then in In the reduced-dimensional space, the principal component score matrix is... The principal component score vector of the day for:

[0033]

[0034] in For the first The original source-load joint feature vector after standardization.

[0035] Furthermore, the load matrix satisfy:

[0036] ,

[0037] in For matrix trace operations, It is the identity matrix;

[0038] The number of principal components to be retained is determined based on the cumulative contribution rate. :

[0039]

[0040] in For the first The eigenvalues ​​of the eigenvectors corresponding to the principal components. The total dimension of the source-load joint feature. , The threshold for the cumulative contribution rate of the main components.

[0041] Furthermore, the maximum photovoltaic output index, midday load level index, minimum net load index, photovoltaic peak load ratio, and midday source load ratio are calculated using multi-source data:

[0042] Maximum photovoltaic output:

[0043] Midday load level indicators:

[0044] Minimum net load index:

[0045] Solar peak load ratio:

[0046] Midday Source Netherlands:

[0047] in, This is a collection of all time periods during the day. To pre-determine the set of peak photovoltaic output periods during the day, a normalization process is performed to obtain the normalized maximum photovoltaic output index. Midday load level indicators Minimum net load index Photovoltaic peak load ratio And at noon, Yuanhebi ;

[0048] Calculate the first The source-load tail risk loss function of the day :

[0049]

[0050] in , , , and These are the weighting coefficients.

[0051] Furthermore, the source load tail risk skew weights are calculated based on conditional value at risk, and then corrected using weighted K-means clustering to obtain the final source load tail risk weights, specifically:

[0052] At confidence level Below, the empirical conditional value of risk for calculating the tail risk of source loads is determined. :

[0053]

[0054] in This is the tail risk threshold; For the first Excess risk variables exceeding the risk threshold; This represents the number of historical daily samples. A collection of historical daily samples;

[0055] in, ,and ;

[0056] Then take: , ;

[0057] Calculate the first The source load tail risk tilt weight corresponding to the historical daily sample. :

[0058]

[0059] in ,and ;

[0060] Calculate the first The final weight of the source load tail risk corresponding to the historical daily sample. :

[0061]

[0062] in This is the tail risk weighting adjustment coefficient.

[0063] Furthermore, the principal component score vector is adjusted based on the final weights of the source load tail risk. Perform weighted clustering:

[0064] Let the number of clusters be , No. Cluster center is Then the weighted K-means objective function for:

[0065]

[0066]

[0067] in For the first Cluster centers For the first Class sample set;

[0068] Then calculate Squared distance to the nearest cluster center :

[0069]

[0070]

[0071] in A set of cluster centers;

[0072] Calculate the uniform empirical risk corresponding to ordinary K-means and Empirical risk corresponding to risk-weighted K-means :

[0073]

[0074]

[0075] Will We can obtain:

[0076]

[0077]

[0078] in for Clustering error under tail risk weights This is the tail risk weighting adjustment factor;

[0079] when hour, and Having the same optimal solution:

[0080]

[0081]

[0082] in, , It is a constant. This is the equivalent regularization coefficient for tail risk clustering error;

[0083] Then we have:

[0084] .

[0085] Furthermore, based on the final weight of source-load tail risk... Calculate the first Weights of individual source load scenarios :

[0086]

[0087] Construct the first Individual source load scenario :

[0088]

[0089] in For the first Heavenly Photovoltaic output data in the original source-load joint feature matrix for each time period Load demand data and net load power .

[0090] Furthermore, the first The source load scenario The photovoltaic carrying capacity assessment model can be input for evaluation. The photovoltaic carrying capacity assessment model combines the AC power flow constraints of the distribution network, the node voltage constraints, and the reverse power flow constraints of the feeder outlet to output the evaluation results.

[0091]

[0092] in For distributed photovoltaic carrying capacity; For nodes The photovoltaic grid connection capacity; This is a set of candidate access nodes for photovoltaic power generation.

[0093] The AC power flow constraints of the distribution network are:

[0094]

[0095] in , They are nodes In the scene Time period The active and reactive power output of photovoltaic systems; , They are nodes In the scene Time period The active and reactive loads under the current conditions; , They are nodes ,node In the scene Time period Voltage amplitude under; For nodes With nodes In the scene Time period Voltage phase angle difference; , The first node in the admittance matrix is ​​the... Line number The conductivity and susceptance of each column element; This represents the total number of nodes in the distribution network.

[0096] The node voltage constraint is:

[0097]

[0098] in , They are nodes The lower and upper limits of the voltage;

[0099] The reverse power flow constraint at the feeder outlet is:

[0100]

[0101] in The maximum allowed reverse load rate at the feeder outlet; The rated capacity of the feeder outlet; the output includes a set of typical source-load scenarios that take into account tail risks, the weight of each typical source-load scenario, and the corresponding distributed photovoltaic carrying capacity assessment results.

[0102] The present invention also provides a distributed photovoltaic carrying capacity source-load scene generation system, which can execute the distributed photovoltaic carrying capacity source-load scene generation method described above;

[0103] The system includes a data acquisition module, a joint feature matrix module, a loss module, a weighting module, and a scene generation module;

[0104] The data acquisition module collects multi-source data from the power distribution network;

[0105] The joint feature matrix module constructs an original source-load joint feature matrix based on multi-source data and processes the data to obtain the source-load joint feature matrix.

[0106] The loss module constructs a source-load tail risk loss function based on multi-source data;

[0107] The weighting module calculates and corrects the source load tail risk tilt weight to obtain the final source load tail risk weight.

[0108] The scenario generation module performs weighted clustering based on the final weight of the source-load tail risk to construct the source-load scenario.

[0109] Compared with existing technologies, the beneficial effects of this solution are:

[0110] 1. This invention incorporates photovoltaic output, load demand, and net load into a source-load joint feature matrix, enhancing the ability to preserve the temporal coupling relationship between sources and loads. This matrix can simultaneously characterize the fluctuation characteristics of photovoltaic output, the changing patterns of load demand, and the state of net load, fully reflecting the inherent correlation and temporal coordinated changes of sources and loads at the feature level. This allows low-frequency, high-risk samples such as high photovoltaic output, low load, and low net load to play a more significant role in subsequent cluster center updates and scenario weight calculations.

[0111] 2. The scenario construction method proposed in this invention enhances the ability of typical source-load scenarios to capture high-risk operating states at the tail end while ensuring the representativeness of conventional scenarios. This method takes into account the conventional operation mode of the system and introduces tail risk weights to include extreme operating states with low probability of occurrence but serious consequences into the typical source-load scenario set for key consideration. This makes the distributed photovoltaic carrying capacity assessment results more comprehensive and reasonable, and provides technical support for the planning and site selection of photovoltaic access in distribution networks, operation risk verification and selection of typical operating scenarios. Attached Figure Description

[0112] Figure 1 This is a flowchart illustrating the steps of the scenario construction method of the present invention.

[0113] Figure 2 This is a schematic diagram illustrating the construction of the source-load joint feature matrix of the present invention.

[0114] Figure 3 This is a schematic diagram illustrating the connection between the typical scenario generation and the distributed photovoltaic carrying capacity assessment model of this invention. Detailed Implementation

[0115] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0116] like Figures 1-3As shown, this invention addresses the shortcomings of existing methods for generating typical source-load scenarios, such as insufficient retention of source-load coupling relationships, inadequate attention to low-frequency, high-risk operating states, and the large computational burden of year-round time-series power flow verification. The proposed method incorporates a series of targeted improvements. First, it constructs a comprehensive source-load joint feature matrix encompassing photovoltaic output, load demand, and the net load resulting from their combined effect, thereby capturing the dynamic correlation and coupling characteristics between sources and loads more completely. Then, principal component analysis is used to reduce the dimensionality of the constructed high-dimensional feature matrix, effectively simplifying the data structure and improving subsequent computational efficiency while preserving key information from the original data to the greatest extent possible. To strengthen the focus on system safety risks, conditional value of risk theory is innovatively introduced to construct tail risk weights, quantifying and highlighting extreme operating states with low probability of occurrence but potentially significant harm. Next, the constructed tail risk weights are integrated into the distance metric of an improved K-means clustering algorithm, guiding the clustering process towards high-risk samples, thus generating a set of typical source-load scenarios that simultaneously characterizes the joint characteristics of sources and loads and tail risks. Ultimately, by utilizing these more representative and risk-sensitive source-load joint typical source-load scenarios to assess the distributed photovoltaic carrying capacity, the aim is to provide a more reliable and secure decision-making basis for grid planning and operation.

[0117] The details are as follows:

[0118] The present invention provides a method for generating a distributed photovoltaic load capacity scenario, comprising the following steps:

[0119] S1. Collect multi-source data such as distributed photovoltaic power output data, load demand data, distribution network nodes, feeder output capacity, photovoltaic candidate access nodes and operating constraint parameters for each time period of the historical day in the distribution network.

[0120] Constructing the original source-load joint feature matrix based on multi-source data:

[0121] Get the sky The load demand data and photovoltaic output data for each time period within a day are respectively denoted as load demand data. And photovoltaic power output data .

[0122] Definition of the first Heavenly Net load power for each time period for:

[0123]

[0124] The first Daily load demand data Photovoltaic power output data and net load power The original source-load joint feature vector is constructed by concatenating the data in intraday time sequence:

[0125]

[0126] Among them, the first Daily load demand data Photovoltaic power output data and net load power Depend on Load demand data for each time period within a day Photovoltaic power output data and net load power composition.

[0127] Right now:

[0128]

[0129] in For the first The source-load joint eigenvector of the sky; This refers to the number of time periods within a day.

[0130] The original source-load joint feature matrix is ​​composed of all historical daily samples:

[0131]

[0132] in This is the original source-load joint characteristic matrix; For the first The original source-load joint eigenvector of the day, This represents the total number of days in the historical sample.

[0133] S2. Standardize and... Dimensionality reduction is performed to decrease the dimensionality and computational cost of the source-load joint features, and principal component analysis is used to extract the main variation features to obtain the source-load joint feature matrix.

[0134] Standardize the joint characteristic matrix of source and load: For the th The first historical sample of the day The joint characteristic of the source and load is expressed as follows:

[0135]

[0136] in For the first Heavenly Standardized values ​​of the joint characteristics of the original source and load; The values ​​of the original source-load joint characteristics before standardization; and The first The mean and standard deviation of each feature.

[0137] Construct the covariance matrix based on the standardized source-load joint characteristic matrix:

[0138]

[0139] in This is the covariance matrix of the standardized original source-load joint characteristic matrix; This is the standardized original source-load joint feature matrix.

[0140] Establish Load matrix solution model. Before the election The loading matrix corresponding to each principal component This maximizes the projection variance of the standardized original source-load joint features in the reduced-dimensional space.

[0141]

[0142] satisfy:

[0143]

[0144] in For the covariance matrix before The loading matrix is ​​composed of the eigenvectors corresponding to the largest eigenvalues; For matrix trace operations; It is an identity matrix.

[0145] The number of principal components to be retained is determined based on the cumulative contribution rate. :

[0146]

[0147] in For the front The first principal component corresponds to the th principal component The eigenvalues ​​corresponding to each principal component; The total dimension of the joint features of the original source and payload. ; The threshold for the cumulative contribution rate of the main components.

[0148] Map the standardized source-load joint features to Dimensional Reduction Space:

[0149]

[0150] in for The principal component score matrix after dimensionality reduction is the source-load joint feature matrix obtained after data processing.

[0151] No. Historical samples of the day The principal component score vector in the reduced-dimensional space is represented as:

[0152]

[0153] in For the first Historical samples of the day Principal component score vectors in the reduced-dimensional space, i.e., matrices The OK; For the first The source-load joint feature vector after standardization.

[0154] S3. Based on multi-source data, construct a source-load tail risk loss function. To address the issue that ordinary clustering methods tend to weaken samples with high photovoltaic power, low load, and low net load, a tail risk loss function is constructed to characterize low-frequency, high-risk operating conditions. The specific steps are as follows:

[0155] The maximum photovoltaic output index, midday load level index, minimum net load index, photovoltaic peak load ratio, and midday source load ratio are calculated using multi-source data.

[0156] Maximum photovoltaic output:

[0157] Midday load level indicators:

[0158] Minimum net load index:

[0159] Solar peak load ratio:

[0160] Midday Source Netherlands:

[0161] in, This is a collection of all time periods during the day. To predetermine the set of peak photovoltaic output periods during the day, a min-max normalization process was performed using historical samples to obtain the normalized maximum photovoltaic output index. Midday load level indicators Minimum net load index Photovoltaic peak load ratio And at noon, Yuanhebi ;

[0162] Calculate the first The source-load tail risk loss function of the day :

[0163]

[0164] in , , , and Let be the weighting coefficient, satisfying .

[0165] S4. Calculate and correct the source load tail risk tilt weights to obtain the final source load tail risk weights.

[0166] At confidence level The empirical conditional value of risk for the tail risk of the source load is expressed as follows:

[0167]

[0168] in Confidence level The source load tail risk condition risk value, This is the tail risk threshold; For the first Excess risk variables exceeding the risk threshold; This represents the number of historical daily samples. This is a historical daily sample set. ,and , equivalent to , .

[0169] Tail risk skew weights are obtained from the dual form of conditional value-at-risk:

[0170]

[0171] in For the first Tail risk skew weights corresponding to historical daily samples ,and .

[0172] Construct the final weights for historical daily samples to enter the weighted K-means clustering:

[0173]

[0174] in For the first The historical daily samples are ultimately weighted for K-means clustering. This is a tail risk weighting adjustment coefficient, used to adjust the relationship between the representativeness of typical scenarios and the degree of attention paid to tail risks. Because... and ,therefore , This proves that it still has probabilistic weighting significance. When When this happens, the method degenerates into ordinary K-means.

[0175] S5. Perform weighted clustering based on the final weights of the source and load tail risks to construct the source and load scenario. Since the ordinary K-means clustering center update does not consider the differences in sample risk, the final weights are introduced into the clustering objective function.

[0176] Let the number of clusters be , No. Cluster center is , No. Sample of the day The score vector is The weighted K-means objective function is then expressed as:

[0177]

[0178] in For the first Cluster centers; For the first Class sample set; This represents the number of clusters.

[0179] Update cluster centers based on sample weights:

[0180]

[0181] Construct the squared distance from a sample to its nearest cluster center. Let the x-th... The squared distance from each sample to the nearest cluster center is:

[0182]

[0183]

[0184] in For the first The squared distance from each sample to the nearest cluster center; It is the set consisting of all cluster centers.

[0185] Construct the uniform empirical risk corresponding to ordinary K-means. Ordinary K-means can be expressed as a least-squares quantized risk minimization problem under a uniform empirical distribution, and its empirical risk is:

[0186]

[0187] in This represents the uniform empirical risk corresponding to ordinary K-means.

[0188] Build Empirical risk corresponding to risk-weighted K-means:

[0189]

[0190] in for The empirical risk corresponding to risk-weighted K-means.

[0191] Final cluster weights Substituting into the above equation, we get:

[0192]

[0193]

[0194] in for Clustering error under tail risk weights This is the tail risk weighting adjustment factor. This is used to balance the representativeness of typical scenarios with the level of attention given to high-risk samples at the tail.

[0195] when hour, It has the same optimal solution as the following formula:

[0196]

[0197]

[0198] in, is the equivalent regularization coefficient of the tail risk clustering error, used to characterize the strength of the tail risk clustering error relative to the ordinary K-means empirical risk.

[0199] Therefore, Risk-weighted K-means is equivalent to introducing a risk term into the ordinary K-means empirical risk term. Tail risk clustering error regularization term. Among them, Used to demonstrate the representativeness of typical scenarios Used to illustrate the impact of high-risk samples at the tail on cluster centers. or This is used to balance the representativeness of typical scenarios with the degree of attention to tail risks.

[0200] because Since the dimensionality-reduced samples and cluster centers are located within bounded sets, there exists a constant. , so that:

[0201]

[0202] Then we have:

[0203]

[0204] Substituting the final clustering weight expression, we get:

[0205]

[0206] in This is the upper bound of the squared distance from the sample to the cluster center; for Empirical risk corresponding to risk-weighted K-means; This represents the uniform empirical risk corresponding to ordinary K-means; The tail risk skew weight is the weight corresponding to the historical daily sample on day d.

[0207] As can be seen from the above relationship, the difference between the weighted K-means objective function and the ordinary K-means objective function is affected by... and The degree of risk weight offset is jointly controlled.

[0208] Based on the clustering results, the number is determined. The weights of the typical source-load scenarios are determined, and then the weighted average of the source-load curves of the samples within each cluster is used to obtain the weighted average of the first typical source-load scenarios. A typical source-load scenario.

[0209] Determine the first Weights for a typical source-load scenario:

[0210]

[0211] in For the first Scene weights for a typical source-load scenario.

[0212] Based on the weighted average of the source-load curves of samples within each cluster, the first... A typical source-load scenario:

[0213]

[0214] in For the first A typical source load scenario in the first Source load characteristic values ​​for each time period; For the first Heavenly Photovoltaic output data in the original source-load joint feature matrix for each time period Load demand data and net load power .

[0215] The generated set of typical source-load scenarios is used as core input data and fed into a pre-constructed distributed photovoltaic (PV) carrying capacity assessment model for calculation. The core purpose of this approach is to comprehensively examine and evaluate whether these typical source-load scenarios generated by this scheme can accurately and sensitively reflect the potential operational risks of the system under different PV grid connection scales. Specifically, by inputting these typical scenarios, covering both normal and tail-risk states, into an assessment model targeting the maximum PV grid connection capacity, the model systematically analyzes how the maximum carrying capacity of the distribution network for distributed PV changes under different source-load conditions, i.e., under the constraints of different typical scenarios. This verifies whether the set of typical scenarios effectively captures the key risk factors affecting the security of PV grid connection.

[0216] Establish an evaluation model targeting the maximum grid-connectable capacity of distributed photovoltaic power:

[0217]

[0218] in For distributed photovoltaic carrying capacity; For nodes The photovoltaic grid connection capacity; This is the set of candidate access nodes for photovoltaic systems.

[0219] Establish AC power flow constraints for the distribution network under each typical source-load scenario and time period:

[0220]

[0221] in , They are nodes In the scene Time period The active and reactive power output of photovoltaic systems; , They are nodes In the scene Time period The active and reactive loads under the current conditions; , They are nodes ,node In the scene Time period Voltage amplitude under; For nodes With nodes In the scene Time period Voltage phase angle difference; , The first node in the admittance matrix is ​​the... Line number The conductivity and susceptance of each column element; This represents the total number of nodes in the distribution network.

[0222] Set node voltage constraints:

[0223]

[0224] in , They are nodes The lower and upper limits of the voltage.

[0225] Set reverse power flow constraints at the feeder outlet:

[0226]

[0227] in The maximum allowed reverse load rate at the feeder outlet; This refers to the rated capacity of the feeder outlet.

[0228] This paper statistically analyzes and outputs a set of typical source-load scenarios that take into account tail risks. It also explicitly provides the weight coefficients for each typical source-load scenario in the set, as well as the final evaluation results calculated using a distributed photovoltaic carrying capacity assessment model based on each typical source-load scenario. The set of typical source-load scenarios is generated by deeply mining and optimizing the original source-load data using the risk-weighted clustering method of this invention. It comprehensively and evenly covers the key operating modes of the system under both normal and high-risk tail conditions. The corresponding weight coefficients precisely quantify the relative probability or importance of each typical scenario in actual operation. The evaluation results output by the model specifically reflect the maximum capacity or power limit that the current distribution network can accept and carry for the distributed photovoltaic power generation system under each set typical scenario condition, thus providing a complete, refined, and risk-controllable quantitative analysis data for grid planning and operation decisions.

[0229] The present invention also provides a distributed photovoltaic load capacity source-load scene generation system, which includes a data acquisition module, a joint feature matrix module, a loss module, a weight module and a scene generation module.

[0230] The data acquisition module is responsible for collecting multi-source data from the distribution network. This data typically includes historical and forecasted photovoltaic power output data, load demand data, and other relevant power grid operating parameters, providing basic data support for subsequent analysis.

[0231] Based on the collected multi-source data, the joint feature matrix module first constructs the original source-load joint feature matrix, which aims to comprehensively reflect the coupling relationship between photovoltaics and load. Subsequently, the module performs necessary data processing operations such as standardization and normalization on the original matrix to eliminate the influence of dimensions and improve the feature quality, and finally obtains the source-load joint feature matrix that can be used for subsequent analysis.

[0232] The loss module constructs a source-load tail risk loss function based on multi-source data, particularly risk exposure data. This function quantifies the potential risk of the system under extremely adverse scenarios. The weight module calculates the initial source-load tail risk skew weights based on the aforementioned loss function. Then, it adjusts and optimizes these weights using specific algorithms (such as weight normalization or correction based on conditional risk value) to obtain a more reasonable final source-load tail risk weight for scenario generation.

[0233] The core function of the scene generation module is to use the calculated final weight of the source-load tail risk to perform weighted cluster analysis on the processed source-load joint feature matrix. Through improved K-means and other clustering algorithms, massive time-series operating states are aggregated into a few representative source-load scenes, thereby effectively capturing a variety of typical operating modes, including regular and tail risk.

[0234] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for generating distributed photovoltaic load-carrying capacity scenarios, characterized in that, The method includes the following steps: S1. Collect multi-source data from the power distribution network and construct the original source-load joint feature matrix based on the multi-source data; S2. Perform data processing on the original source-load joint feature matrix to obtain the source-load joint feature matrix; S3. Construct a source-load tail risk loss function based on multi-source data; S4. Calculate and correct the source load tail risk tilt weights to obtain the final source load tail risk weights; S5. Perform weighted clustering based on the final weight of the source-load tail risk to construct the source-load scenario.

2. The method for generating a distributed photovoltaic carrying capacity source-load scenario according to claim 1, characterized in that, According to the multi-source data, the first Heavenly Load demand data for each time period And photovoltaic power output data Calculate the first Heavenly Net load power for each time period : ; The first Solar power output data for the day Load demand data and net load power According to the number of time periods within the day Construct the original source-load joint feature vector: ; in For the first The original source-charge joint eigenvector of day, the first Daily load demand data Photovoltaic power output data and net load power Depend on Load demand data for each time period within a day Photovoltaic power output data and net load power composition; Construct the original source-load joint feature matrix based on historical daily samples from multi-source data: ; in This is the original source-load joint characteristic matrix. For the first The original source-load joint feature vector of the day, This represents the total number of days in the historical sample.

3. The method for generating a distributed photovoltaic carrying capacity source-load scenario according to claim 2, characterized in that, The data processing involves: standardizing and... Dimension reduction yields: Joint characteristic matrix of original source and load The Middle The first day Joint features of original source and load Standardization process: ; in For the standardized first Heavenly A joint feature of the original source and load, and The first Mean and standard deviation of the joint characteristics of the original source and load; According to the standardized first Heavenly Based on the original source-load joint features, a standardized original source-load joint feature matrix is ​​constructed. Covariance matrix : ; Selecting the covariance matrix Center front The original source-load joint eigenvectors corresponding to the largest eigenvalues ​​are used to construct the load matrix. and will Mapping to the load matrix middle: ; in for The principal component score matrix after dimensionality reduction, i.e., the source-load joint feature matrix; Then in In the reduced-dimensional space, the principal component score matrix is... The principal component score vector of the day for: ; in For the first The original source-load joint feature vector after standardization.

4. The method for generating a distributed photovoltaic carrying capacity source-load scenario according to claim 3, characterized in that, The load matrix satisfy: , ; in For matrix trace operations, It is the identity matrix; The number of principal components to be retained is determined based on the cumulative contribution rate. : ; in For the first The eigenvalues ​​of the eigenvectors corresponding to the principal components. The total dimension of the source-load joint feature. , The threshold for the cumulative contribution rate of the main components.

5. The method for generating a distributed photovoltaic carrying capacity source-load scenario according to claim 3, characterized in that, The maximum photovoltaic output index, midday load level index, minimum net load index, photovoltaic peak load ratio, and midday source load ratio are calculated using multi-source data. Maximum photovoltaic output: ; Midday load level indicators: ; Minimum net load index: ; Solar peak load ratio: ; Midday Source Netherlands: ; in, This is a collection of all time periods during the day. To pre-determine the set of peak photovoltaic output periods during the day, a normalization process is performed to obtain the normalized maximum photovoltaic output index. Midday load level indicators Minimum net load index Photovoltaic peak load ratio And at noon, Yuanhebi ; Calculate the first The source-load tail risk loss function of the day : ; in , , , and These are the weighting coefficients.

6. The method for generating a distributed photovoltaic carrying capacity source-load scenario according to claim 5, characterized in that, The source load tail risk skew weights are calculated based on Conditional Value at Risk (VaR), and then corrected using weighted K-means clustering to obtain the final source load tail risk weights, as follows: At confidence level Below, the empirical conditional value of risk for calculating the tail risk of source loads is determined. : ; in This is the tail risk threshold; For the first Excess risk variables exceeding the risk threshold; This represents the number of historical daily samples. A historical daily sample set; in, ,and ; Then take: , ; Calculate the first The source load tail risk tilt weight corresponding to the historical daily sample. : ; in ,and ; Calculate the first The final weight of the source load tail risk corresponding to the historical daily sample. : ; in This is the tail risk weighting adjustment coefficient.

7. The method for generating a distributed photovoltaic carrying capacity source-load scenario according to claim 6, characterized in that, The principal component score vector is calculated based on the final weight of the source and load tail risk. Perform weighted clustering: Let the number of clusters be , No. Cluster center is Then the weighted K-means objective function for: ; ; in For the first Cluster centers For the first Class sample set; Then calculate Squared distance to the nearest cluster center : ; ; in A set of cluster centers; Calculate the uniform empirical risk corresponding to ordinary K-means and Empirical risk corresponding to risk-weighted K-means : ; ; Will We can obtain: ; ; in for Clustering error under tail risk weights This is the tail risk weighting adjustment factor; when hour, and Having the same optimal solution: ; ; in, , It is a constant. This is the equivalent regularization coefficient for tail risk clustering error; Then we have: 。 8. The method for generating a distributed photovoltaic carrying capacity source-load scenario according to claim 7, characterized in that, Based on the final weight of the source and tail risk Calculate the first Weights of individual source load scenarios : ; Construct the first Individual source load scenario : ; in For the first Heavenly Photovoltaic output data in the original source-load joint feature matrix for each time period Load demand data and net load power .

9. The method for generating a distributed photovoltaic carrying capacity source-load scenario according to claim 8, characterized in that, No. The source load scenario The photovoltaic carrying capacity assessment model can be input to assess the carrying capacity of distributed photovoltaic power. The photovoltaic carrying capacity assessment model combines the distribution network AC power flow constraints, node voltage constraints, and feeder outlet reverse power flow constraints to output the assessment results. ; in For distributed photovoltaic carrying capacity; For nodes The photovoltaic grid connection capacity; This is a set of candidate access nodes for photovoltaic power generation. The AC power flow constraints of the distribution network are: ; in , They are nodes In the scene Time period The active and reactive power output of photovoltaic systems; , They are nodes In the scene Time period The active and reactive loads under the current conditions; , They are nodes ,node In the scene Time period Voltage amplitude under; For nodes With nodes In the scene Time period Voltage phase angle difference; , The first node in the admittance matrix is ​​the... Line 1 The conductivity and susceptance of each column element; This represents the total number of nodes in the distribution network. The node voltage constraint is: ; in , They are nodes The lower and upper limits of the voltage; The reverse power flow constraint at the feeder outlet is: ; in The maximum allowed reverse load rate at the feeder outlet; This refers to the rated capacity of the feeder outlet.

10. A distributed photovoltaic load-carrying capacity source-load scenario generation system, characterized in that, The system can execute a method for generating a distributed photovoltaic load-bearing capacity scenario as described in any one of claims 1-9; The system includes a data acquisition module, a joint feature matrix module, a loss module, a weighting module, and a scene generation module; The data acquisition module collects multi-source data from the power distribution network; The joint feature matrix module constructs an original source-load joint feature matrix based on multi-source data and processes the data to obtain the source-load joint feature matrix. The loss module constructs a source-load tail risk loss function based on multi-source data; The weighting module calculates and corrects the source load tail risk tilt weight to obtain the final source load tail risk weight. The scenario generation module performs weighted clustering based on the final weight of the source-load tail risk to construct the source-load scenario.