Oil field power grid source and load uncertainty joint probability modeling and prediction method

By combining multivariate adaptive kernel density estimation and Copula distribution function modeling, the problem of predicting source-load uncertainty in oilfield power grids was solved, achieving more accurate joint probability characterization and prediction of source and load, and improving the accuracy of operation analysis and scheduling decisions in oilfield power grids.

CN123144015APending Publication Date: 2026-11-20XINJIANG PETROLEUM ADMINISTRATION BUREAU +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611612730.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-19
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In oilfield power grids, the power output from sources such as wind power, photovoltaic power, and associated gas power generation is random, fluctuating, and intermittent with the oilfield load. Existing technologies are unable to accurately characterize the combined probabilistics of source and load, resulting in insufficient accuracy in scheduling and optimization decisions.

Method used

A set of feasible source-load joint scenarios is generated by adopting a multivariate adaptive kernel density estimation model and Copula distribution function, combined with engineering constraints. Typical scenarios are then reduced by K-means clustering, and a multi-timescale source-load joint time series probability model is constructed to jointly model and predict wind power, photovoltaic, associated gas power generation and load.

Benefits of technology

It improves the accuracy and efficiency of source-load joint forecasting, can more realistically reflect the uncertainty propagation law of oilfield power grid, reduces joint distribution distortion, and improves forecast accuracy by 10% to 15%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123144015A_ABST
    Figure CN123144015A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of oilfield power grid safe operation, and particularly relates to an oilfield power grid source-load uncertainty joint probability modeling and prediction method. The technical problem to be solved is that the prior art is difficult to realize source-load joint probability description, is difficult to calculate bearable typical joint scenarios, and simple splicing after independent prediction easily causes joint distribution distortion. The technical solution points are that S1, multi-source data acquisition is performed; S2, a multivariate adaptive kernel density estimation model is obtained, and simultaneously, a wind power output edge distribution, a photovoltaic output edge distribution, a companion gas power generation output edge distribution and a load edge distribution are obtained respectively; S3, a multi-time scale source-load joint probability model is obtained; S4, a typical scenario set is obtained; S5, a wind power output prediction value, a photovoltaic output prediction value, a companion gas power generation available power prediction value and an oilfield load power prediction value are obtained; and simultaneously, source-load power shortage risk prediction is performed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of oilfield power grid safe operation technology, and in particular to a method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids. Background Technology

[0002] Oilfield power grids are gradually evolving from a power supply model of "single external power supply + a small amount of self-supplied power" to a multi-source power supply model of "new energy sources such as wind and solar power + associated gas local power generation". Compared with urban public power grids, oilfield power grids are characterized by industrialized load structure, strong continuity, and high requirements for power supply reliability and power quality. At the same time, wind and solar power output is significantly affected by meteorological conditions, exhibiting significant randomness, fluctuation, and intermittency. Associated gas resources are also affected by temperature, oil well start-up and shutdown, and gathering and transmission conditions, resulting in fluctuations and uncertainties. This leads to prominent problems in the operation of oilfield power grids, including "strong uncertainty on the source side, obvious inter-source correlation, and a spatiotemporal mismatch between random source output and continuous and stable power demand on the load side".

[0003] Relevant patent documents retrieved: This document, published in China (CN122267921A) on June 23, 2026, discloses a collaborative optimization scheduling method for energy and distribution networks based on source-load uncertainty. It obtains the predicted net load range of distributed power sources at each future time point within a preset future time period based on historical data of horizontal irradiance, wind speed, and source-load. Based on the sign of the predicted net load range at each future time point, the prediction time period is dynamically corrected, and the predicted net load range within the corrected prediction time period is obtained, along with the net load fluctuation coefficient. Combining the current net load and the predicted net load range, the basic reserved power ratio and the extreme reserved power ratio are obtained, and the actual reserved power ratio is corrected. The current safe range of energy storage devices is analyzed using health status indicators, and the charging / discharging state and power of the energy storage devices are determined based on their current charge ratio. This improves the stability and executability of collaborative scheduling. The prior art represented by the aforementioned documents has at least the following unresolved technical problems or defects: To address the uncertainties in wind and solar power, time-series-based modeling and prediction methods are often used, which have the following shortcomings: (1) The parameter distribution fitting is highly dependent on prior distribution assumptions, and fitting deviations are likely to occur when the oilfield sample is highly non-stationary; (2) Most methods only model a single power source and do not consider the correlation between wind power, solar power, associated gas power generation and load at the same time, making it difficult to truly reflect the "source-load" coupling characteristics of the oilfield power grid; (3) Existing methods often construct scenarios by "predicting separately and then splicing them together", which easily ignores the correlation between sources and the correlation between sources and loads, resulting in distortion of the joint scenario and affecting the accuracy of subsequent scheduling and optimization decisions. Summary of the Invention

[0004] The purpose of this invention is to provide: A method for joint probability modeling and prediction of uncertainties in oilfield power grid sources and loads, and related technologies, are proposed to address the technical problems, or combinations thereof, that existing technologies struggle to characterize the joint probability of sources and loads when the output of wind power, photovoltaic power, associated gas power, and other source-side power generation and the oilfield load simultaneously exhibit randomness, volatility, and intermittency, accompanied by significant spatiotemporal correlation. These problems include the difficulty in calculating typical joint scenarios that can be tolerated, and the problem that simple splicing after independent prediction can easily lead to distortion of the joint distribution.

[0005] Terminology Explanation: It should be understood that the above brief description and the following detailed description are exemplary and for illustrative purposes only, and do not limit the subject matter of the invention in any way. In this invention, the singular is used in conjunction with the plural unless otherwise specifically stated. It should also be noted that, unless otherwise stated, the use of “or” or “or” means “and / or”. Furthermore, the use of the term “comprising” and other forms such as “including,” “containing,” and “contains” are not limiting.

[0006] Definitions of the standard terminology can be found in the references "Data Mining: Concepts and Techniques" and "Mathematical Terminology".

[0007] Unless otherwise stated, conventional methods within the scope of the art, such as Gaussian mixture models, shall be used.

[0008] Unless otherwise defined, the use of various commercially available products as described herein employs standard techniques. These techniques and methods can generally be implemented according to conventional methods well-known in the art, based on the descriptions in the numerous general and more specific documents cited and discussed in this specification.

[0009] The terms “optional / arbitrary” or “optionally / arbitrarily” mean that the event or situation described below may or may not occur, including both the occurrence and non-occurrence of the event or situation.

[0010] The term "Cholesky decomposition" as used in this article refers to a numerical method of matrix decomposition that decomposes a symmetric positive definite matrix into the product of a lower triangular matrix and its transpose.

[0011] The term "medoid scenario" used in this article refers to a computational or clustering scenario centered around medoids. A medoid is a sample point in a dataset that exists for a century and is defined as having the minimum sum of distances to all other points within the cluster.

[0012] The term "K-means clustering" used in this article refers to a classic unsupervised clustering algorithm.

[0013] This invention provides a method for joint probability modeling and prediction of uncertainties in oilfield power grid sources and loads.

[0014] Includes the following steps: S1. Acquire multi-source data, including wind farm data, photovoltaic site data, associated gas generator data, and load node data; and preprocess the acquired data. S2. By integrating wind farms, photovoltaic sites, associated gas generator units, and load nodes, a joint edge modeling is performed to obtain a multivariate adaptive kernel density estimation model. At the same time, the output mapping relationship between wind power and wind speed, the output mapping relationship between photovoltaic power and irradiance-temperature, and the output mapping relationship between associated gas power generation and gas source-storage-power generation efficiency are constructed. These three mapping relationships are then incorporated into the multivariate adaptive kernel density estimation model to obtain the edge distribution of wind power output, photovoltaic power output, and associated gas power generation output, respectively. The load edge distribution is also obtained based on the multivariate adaptive kernel density estimation model. S3. Based on the multivariate adaptive kernel density estimation of each variable obtained in step S2 and the corresponding marginal distribution, the joint Copula distribution function, the multi-timescale source-load joint temporal probability model, and the engineering constraint set are obtained, thus obtaining the multi-timescale source-load joint probability model. S4. Based on the marginal distribution obtained in step S2 and the multi-timescale source-load joint probability model obtained in step S3, a feasible source-load joint scenario set is generated by combining constrained sampling and feasibility correction. The feasible source-load joint scenario set is then reduced to obtain a typical scenario set, which includes multiple typical scenarios and their probabilities. S5. Based on the typical scenarios obtained in step S4, the predicted values ​​of wind power output, photovoltaic power output, associated gas power generation available power, and oilfield load power are obtained; at the same time, the source-load power deficit risk is also predicted.

[0015] The S2 step, which yields the multivariate adaptive kernel density estimation model, specifically includes the following steps: S211. Using the adaptive kernel density estimation method, construct the marginal probability density function and marginal distribution function of a single variable; S212. Based on the single-variable marginal probability density function constructed in S211, a multivariable adaptive kernel density estimation model is constructed, expressed as: ; In the above formula, This represents the multivariate adaptive kernel density estimation function. This represents the adaptive bandwidth matrix corresponding to the r-th multidimensional sample data. Represents a d-dimensional kernel function. This represents multidimensional sample data over time period r, where r ranges from 1 to N, and N represents the total number of historical samples for the variable. Indicates historical samples; Based on the multivariate adaptive kernel density estimation model, the multivariate marginal distribution model is obtained, expressed as: ; In the above formula, This represents the multivariate marginal distribution function.

[0016] In step S2, the output power mapping relationship between wind power and wind speed is expressed as: [Setting...] The equivalent wind speed at the wheel hub height at any given time is The cut-in wind speed of the wind turbine is Rated wind speed is Cut-out wind speed is The rated power of wind turbine generators or wind farms is Constructing wind power output With wind speed The mapping relationship; Set the wind speed random variable as Its corresponding marginal distribution function is ,from Wind speed samples are obtained by sampling from the middle ground, and then substituted into the mapping relationship to obtain the corresponding wind power output samples. Then, wind power output samples Substitute variable x The calculation formula yields the multivariate adaptive kernel density estimate of wind power output and the marginal distribution of wind power output.

[0017] In step S2, a time-series correlation matrix of irradiance is constructed and subjected to Cholesky decomposition. The decomposed matrix is ​​multiplied by an independent standard random vector, and the resulting matrix is ​​transformed into irradiance samples that satisfy the marginal distribution of each time period. Based on the irradiance samples and the mapping relationship between photovoltaic power output and irradiance-temperature, the photovoltaic power output is obtained. ; to increase photovoltaic power Substitute variable x The calculation formula yields the multivariate adaptive kernel density estimate of the photovoltaic output and the marginal distribution of the photovoltaic output.

[0018] In step S2, the mapping relationship between associated gas power generation and gas source-storage-power generation efficiency establishes a mapping relationship between the original associated gas flow rate, associated gas lower heating value, pretreatment system efficiency, gas storage inventory, gas turbine power generation efficiency, and associated gas power generation output. The associated gas power generation output obtained based on this mapping relationship is then used to determine the power generation output. ,Will Substitute variable x The calculation formula yields the multivariate adaptive kernel density estimate corresponding to the associated gas power output and the marginal distribution corresponding to the associated gas power output.

[0019] In step S2, a load condition prediction model is constructed, and the predicted load power is obtained based on the load condition prediction model. The predicted load power is then substituted into the variable x. The calculation formula yields the multivariate adaptive kernel density estimate corresponding to the oilfield load and the marginal distribution corresponding to the oilfield load; the predicted load condition prediction model is expressed as: ; In the above formula, express The predicted load power of the oilfield at any given time. express Typical load baseline at time, express The residual autocorrelation coefficient at time step [time]. express Short-term fluctuation residuals at time points express The standard deviation of the residuals at time points. express Zero-mean random perturbation at time t.

[0020] The joint Copula distribution function in step S3 is expressed as: ; In the above formula, Indicates load With the j-th source-side variable Pair-Copula density between Represents the i-th source-side variable under given load conditions. With the j-th source-side variable The condition between Pair-Copula density, , These are the corresponding Copula parameters. , Let represent the pseudo-observations of the first and d-th variable samples, respectively, where j ranges from 1 to d, and d represents the dimension. This represents the joint Copula distribution function.

[0021] Specifically, the method for constructing the joint Copula distribution function in step S3 is as follows: Determine the appropriate Copula function type from the candidate Copula functions; based on the determined Copula function type, use the conforming variables... As the root node of source-load coupling, the correlation between load and wind power, photovoltaic, and associated gas power generation is taken as the first layer of Pair-Copula, and the correlation between various source-side variables under given load conditions is taken as the second layer of Pair-Copula.

[0022] The specific method for constructing the multi-timescale source-load joint temporal probability model in step S3 is as follows: S331. Obtain the conditional transition model for each source load random variable in adjacent time periods; S332. Based on the conditional transition model, construct the corresponding time transition model. ; S333. Based on the conditional transition model and the joint Copula distribution function, a multi-timescale source-load joint time-series probabilistic model is constructed, expressed as: ; In the above formula This represents the joint temporal probability of source and load across multiple time scales. This represents the joint temporal probability of the source and load at time step 1.

[0023] The set of engineering constraints in step S3 includes power up / down constraints, ramp rate constraints, and associated gas inventory constraints.

[0024] Specifically, S4 includes the following steps: S41. Generate based on the joint Copula distribution function. A set of d-dimensional uniform random vectors is generated, and samples are obtained by applying the inverse function of the marginal distribution of each random vector. Each set of samples corresponds to a source-load scenario. The sample representation of each source-load scenario is as follows: ; Indicates in the scene The sample set, , , They represent the scenes respectively. The samples of the first dimension, the j-th dimension, and the d-th dimension are given below. S42, the result obtained in step S41 The various types of samples in the sample set of each scenario are converted into the corresponding power scenarios; S43. Based on the set of engineering constraints, filter the multiple scenarios obtained in step S42 to obtain feasible source-load joint scenarios, represented as: ; ; In the above formula, This represents a set of feasible source-load joint scenarios. Indicates the first Initial probabilities of a feasible source-load joint scenario Take 1 to , This represents the total number of feasible source-load joint scenarios; S44. Using the K-means clustering method, the feasible source-load joint scenarios obtained in step S43 are reduced to obtain a typical scenario set, represented as: ; ; ; In the above formula, Represents a set of typical scenarios. , , They represent the 1st and the 2nd respectively. The, the A typical scenario , , They represent the 1st and the 2nd respectively. The, the The probability of a typical scenario Indicates the first Initial probabilities of feasible source-load joint scenarios corresponding to a typical scenario. Indicates the first The number of scenes in each cluster.

[0025] In step S43, the method for selecting feasible source-load joint scenarios is as follows: screening is performed in the order of power upper and lower limits, ramp rate constraints, and associated gas inventory constraints. If one or more variables in the ramp rate constraints violate the ramp rate constraints, the violated ramp rates are corrected. After correction, the power upper and lower limits are checked again until all variables satisfy the ramp rate constraints, and then the time t is obtained. Gas storage in the scene and the lower limit of safety storage capacity for gas storage facilities and upper limit ,when If the gas consumption of the gas turbine unit is reduced and the corrected ramp rate is recalculated, and if the associated gas inventory constraint is still not met after reducing the unit's minimum stable output, then this scenario is determined to be infeasible, and the next scenario is then selected. When the gas intake is restricted, the gas consumption for power generation is increased, or the gas volume of the venting or bypass is set to make corrections. If the associated gas inventory constraint is still not met after the correction, the scenario path is determined to be an infeasible scenario. Then the next scenario is screened. After screening all scenarios, feasible source-load joint scenarios are obtained.

[0026] The correction for the violated climbing rate is specifically performed using the following formula: ; In the above formula, This represents the variable corresponding to the j-th dimension at time t. The rate of ascent in the scene. This represents the variable corresponding to the j-th dimension at time t-1. The rate of ascent in the scene. This represents the allowable rate of change of the variable corresponding to the j-th dimension. Represents a symbolic function.

[0027] Specifically, step S44 includes the following steps: S441, obtained the first The curve of the joint scenario from time 1 to time T; S442. Using K-means clustering, the number of clusters... The elbow method and profile coefficients are used to determine the appropriate profiles for different... Values ​​are calculated, including the intra-class squared error, and the scenario is also calculated. The silhouette coefficient is used to determine the number of clusters in the clustering method; S443. The number of clusters determined according to step S442. ,get The initial cluster centers of each cluster are determined, and then the feasible source-load joint scenarios from step S43 are assigned to the nearest cluster centers to form... For each cluster, the cluster center is calculated based on the scene within it. The center of each cluster is updated, and then the feasible source-load joint scene is redistributed based on the updated center. The process is iterated until the change value of the center of all clusters is less than the set threshold or the maximum number of iterations is reached. S444, the final result obtained based on step S443 For each cluster, the scene with the most medoid value within that cluster is selected as a typical scene, forming a set of typical scenes.

[0028] In step S441, the first The curve representing the joint scenario from time 1 to time T is as follows: ; In the above formula, Indicates the first The curve of the joint scenario, Indicates the first Wind power output curves from time 1 to T in a combined scenario. Indicates the first Photovoltaic output curves from time 1 to T in a combined scenario. Indicates the first The available power curve of associated gas power generation from time 1 to T in the combined scenario. Indicates the first Oilfield load-power curves from time 1 to time T in the combined scenario.

[0029] The specific method for determining the number of clusters in step S442 is as follows: calculate the intra-cluster squared error and the silhouette coefficient, select the cluster number corresponding to the scheme with the obvious inflection point of intra-cluster squared error and the highest average silhouette coefficient, and conversely select the cluster number corresponding to the scheme with the largest average silhouette coefficient and the smallest number of clusters.

[0030] Specifically, the intra-class squared error and contour coefficient in step S442 are calculated using the following formula: The within-class squared error of the value is expressed as: ; Scene The contour coefficient is expressed as: ; In the above formula, express The within-class squared error of the value Take 1 to , Indicates the first The center of each cluster, Indicates the first A cluster; Representing a scene The profile coefficient, Representing a scene The average distance to other scenes in the same cluster, Representing a scene The average distance to the nearest other scenes within the cluster.

[0031] In step S443 The method for obtaining the initial cluster centers of each cluster is as follows: For any scenario Find its nearest Each scene, and calculate the scene. With its nearest The sum of distances between each scene Select The smallest scene is used as the first initial cluster center. Selection and The scene with the largest distance was used as the second initial cluster center. Select and The scene with the largest distance was used as the third initial cluster center. And so on, until the initial centers of all clusters are obtained.

[0032] In step S443, the scenario With its nearest The sum of distances between each scene Specifically, it is calculated using the following formula: ; In the above formula, express The first scenario One scenario, Take 1 to , express A collection of scenarios.

[0033] The predicted wind power output, photovoltaic power output, associated gas power generation, and oilfield load power obtained in step S5 are specifically calculated using the following formula: ; ; ; ; In the above formula, This represents the predicted wind power output. This represents the predicted photovoltaic power output. This represents the predicted available power for associated gas power generation. This represents the predicted load power of the oilfield; express The wind power output of the scenario at time t in the future. express The photovoltaic output of the scenario at time t in the future. express The associated gas power generation capacity of the scenario at time t in the future. express The scenario represents the oilfield load power at time t in the future.

[0034] Specifically, the source-load power deficit risk prediction performed in step S5 is as follows: The predicted value of source-load power mismatch is calculated as follows: ; Calculate the predicted value of source load power deficit risk based on the predicted value of source load power mismatch: ; In the above formula, This indicates the predicted source-load power mismatch at time t. This represents the predicted value of the source load power deficit risk at time t. This is an indicator function that returns 1 if the condition within the parentheses is true and 0 if it is false. This indicates the maximum allowable power deficit threshold.

[0035] The present invention has at least the following beneficial effects: (1) This invention adopts a source-load joint probability modeling method based on the actual data characteristics of wind power, photovoltaic, associated gas power generation and load in oilfield power grid. This avoids the problem of ignoring the correlation between sources and the coupling relationship between sources and load in traditional independent prediction methods, and can more realistically reflect the uncertainty propagation law in the actual operation of oilfield power grid.

[0036] (2) In the modeling of wind power edge distribution, the present invention adopts an adaptive kernel density estimation method. Compared with the traditional univariate kernel density estimation method, the accuracy index of the four different wind farms is improved by 18.48%, 19.88%, 23.25% and 26.14% respectively, and the comprehensive index is improved by 1.74%, 3.28%, 4.42% and 4.31% respectively. This shows that the method can more accurately characterize the probability distribution characteristics of random wind power output and improve the accuracy of source-side uncertainty description.

[0037] (3) This invention can effectively reduce the joint distribution distortion caused by scene splicing after independent modeling by uniformly modeling wind power, photovoltaic, associated gas power generation and load, and simultaneously consider spatial correlation, temporal correlation and source-load correlation in the scene generation process, thereby improving the realism and usability of the joint scene.

[0038] (4) By reducing typical scenarios and assigning probability weights, this invention significantly reduces the scale of scenarios while retaining the statistical characteristics of the original random samples, thereby improving the efficiency of subsequent model calculations. It is suitable for oilfield power grid operation analysis and engineering applications.

[0039] (5) The final output of this invention is not a single load forecast value, but a set of typical load forecast curves with probability weights, which can more completely characterize the range of changes in oilfield power grid load under different source-side random disturbances. Compared with the method of independently modeling and forecasting wind power, photovoltaic, associated gas power generation and load and then stitching the results, this invention can more accurately approximate the actual operating state because it simultaneously depicts the inter-source correlation, time correlation and source-load coupling relationship under a unified probability framework. Its comprehensive prediction accuracy can be improved by about 10% to 15%, and the improvement effect is more prominent in periods when new energy fluctuations are strong and peak-valley changes are more obvious. Attached Figure Description

[0040] Figure 1 This is a flowchart of the method of the present invention.

[0041] Figure 2This is a comparison chart of typical wind power scenarios, independent prediction, and source-load joint prediction in embodiments of the present invention.

[0042] Figure 3 This is a comparison chart of photovoltaic scenarios, independent prediction, and source-load joint prediction in embodiments of the present invention.

[0043] Figure 4 This is a comparison chart of actual load, independent forecast, and forecasting method of the present invention in the embodiments of the present invention. Detailed Implementation

[0044] The following non-limiting embodiments are intended to enable those skilled in the art to gain a more comprehensive understanding of the present invention, but do not limit the invention in any way. The following content is merely an exemplary description of the scope of protection claimed by the present invention, and those skilled in the art can make various changes and modifications to the present invention based on the disclosed content, and such changes should also fall within the scope of protection claimed by the present invention.

[0045] The present invention will be further described below by way of specific embodiments. Unless otherwise specified, all instruments, devices, equipment, reagents, products, etc., used in the embodiments of the present invention are obtained through conventional commercial means.

[0046] like Figure 1 As shown, this invention provides a method for joint probability modeling and prediction of uncertainties in oilfield power grid sources and loads, comprising the following steps: S1. Acquire multi-source, multi-dimensional data and perform unified preprocessing to obtain unified source-load time-series samples. Multi-source data includes wind power data, photovoltaic (PV) data, associated gas generation data, and load-side data. Wind power data includes wind speed, wind direction, wind measurement height, measured wind farm output, rated wind turbine power, cut-in wind speed, rated wind speed, cut-out wind speed, and turbine availability. PV data includes horizontal total irradiance, direct irradiance, diffuse irradiance, ambient temperature, wind speed, atmospheric pressure, measured PV output, PV installed capacity, and module temperature coefficient. Associated gas generation data includes associated gas raw flow rate, gas source pressure, gas source temperature, methane content or lower heating value, sulfur content, water content, preprocessing system operating status, gas storage facility inventory, gas turbine gas consumption, gas turbine output, and gas turbine efficiency curve. Load-side data includes the active power, reactive power, sampling time, production conditions, and start / stop status of major equipment for typical power-consuming units or aggregated loads in the oilfield.

[0047] The multi-source, multi-dimensional data acquired above undergoes unified preprocessing, specifically including the following steps: S11. Unify data from different sampling periods into the same time interval. Down, The time interval can be set to 1 minute, 5 minutes, 15 minutes or 60 minutes according to the needs of prediction and scheduling; for data with different sampling periods, time alignment is performed by time window mean, linear interpolation or aggregation at the same time point.

[0048] S12. Handle missing and outlier values, specifically: first identify outliers, and for the identified outliers, determine whether they are short-term missing data, continuous missing data, or data that obviously does not meet the physical boundaries of the equipment; for short-term missing data, interpolation between adjacent time points, the average of the same time point on the same day, or historical data from similar days can be used to fill in the missing data; for continuous missing data or data that obviously does not meet the physical boundaries of the equipment, remove the samples in the corresponding time period.

[0049] The method for outlier identification is: when data Data will be processed if either of the following two conditions is met. It was identified as an outlier.

[0050] Outlier identification condition 1: or .

[0051] Outlier identification condition 2: .

[0052] In the above formula, , Representing data respectively The physical lower limit and physical upper limit, Representing data The historical sample mean; This represents the anomaly detection coefficient, which is usually taken as 3; Representing data The historical sample standard deviation.

[0053] S13. Perform noise reduction and standardization on the data processed in step S12. First, perform noise reduction using methods such as moving average, extended Kalman filtering, or wavelet denoising to reduce the impact of instrument noise while preserving the true short-term fluctuations of new energy output and load. For standardization, use one of the following two methods: (1) Standardized processing method 1: .

[0054] (2) Standardized processing method 2: .

[0055] In the above formula, Representing data Standardized data.

[0056] The source-load time series samples obtained after processing steps S11-S14 are represented as follows: ; In the above formula, This represents the source load time series sample at time t. This represents the wind power output at time t. This represents the photovoltaic output at time t. This represents the available power for associated gas generation at time t. This represents the oilfield load power at time t; This indicates the transpose of the text within the parentheses.

[0057] When there are multiple wind farms, multiple photovoltaic sites, multiple associated gas generator units, and multiple load nodes in the oilfield power grid, the source-load time series sample can be extended as follows: ; In the above formula, This represents the wind power output of the first wind farm at time t. Let m represent the wind power output of the m-th wind farm at time t, where m represents the total number of wind farms. This represents the photovoltaic output of the first photovoltaic station at time t. This represents the photovoltaic output of the nth photovoltaic station at time t, where n represents the total number of photovoltaic stations; This represents the available power output of the associated gas generator unit at time t. Let t represent the available power of the associated gas generator set at time q, and q represent the total number of associated gas generator sets. This represents the oilfield load power at the first load node at time t. Let represent the oilfield load power of the s-th load node at time t, where s represents the total number of load nodes.

[0058] S2. A joint edge modeling process is performed, integrating wind farms, photovoltaic sites, associated gas generator units, and load nodes to obtain a multivariate adaptive kernel density estimation model. Simultaneously, mapping relationships are constructed between wind power output and wind speed, between photovoltaic output and irradiance-temperature, and between associated gas power generation and gas source-storage-power generation efficiency. These three mapping relationships are then incorporated into the multivariate adaptive kernel density estimation model to obtain the edge distributions of wind power output, photovoltaic output, and associated gas power generation, respectively. Furthermore, the load edge distribution is obtained based on the multivariate adaptive kernel density estimation model. The specific steps include: S21. Using an adaptive kernel density estimation method, the wind farm, photovoltaic site, associated gas generator unit, and load node are fused to obtain a multivariate adaptive kernel density estimation model, which specifically includes the following steps: S211. Using the adaptive kernel density estimation method, construct the marginal probability density function and marginal distribution function of a single variable, specifically as follows: S2111. Set the historical samples of one of the variables as follows: ,in, This represents the first historical sample of this variable. This represents the i-th historical sample of the variable. This represents the Nth historical sample of the variable, where i ranges from 1 to N, and N represents the total number of historical samples of the variable.

[0059] S2112. The leader density is obtained using fixed-bandwidth kernel density estimation, and is expressed as: ; In the above formula, Indicates the leader density; This represents the initial bandwidth, which can be determined using cross-validation, the Silverman rule, or the minimum mean square error of the integral criterion. This represents the kernel function. The preferred kernel function is the Gaussian kernel function, expressed as: ; In the above formula, The dependent variable represents the Gaussian kernel function.

[0060] S2113. Calculate the geometric mean of the leader density at each sample point in the historical sample constructed in S2111, expressed as: ; In the above formula, It represents the geometric mean.

[0061] S2114. Based on the geometric mean calculated in step S2113, calculate the adaptive bandwidth factor corresponding to the i-th historical sample, expressed as: ; In the above formula, This represents the adaptive bandwidth factor corresponding to the i-th historical sample. This represents the adaptive sensitivity parameter, and its value range is: .

[0062] During construction, A value of 0.5 is preferred; when the sample points are located in a high-density region, Larger Smaller bandwidth results in a correspondingly smaller bandwidth, enhancing the ability to depict local details; when sample points are located in low-density or tail regions, Smaller The larger the bandwidth, the better the stability of the tail estimation.

[0063] S2115. Based on the geometric mean and leading density, construct the marginal probability density function and marginal distribution function of a single variable, expressed as follows: The marginal probability density function is expressed as: ; The marginal distribution function is expressed as: ; In the above formula, Represents the marginal probability density function. This represents the marginal distribution function.

[0064] S212. Based on the single-variable marginal probability density function constructed in S211, a multivariable adaptive kernel density estimation model is constructed, specifically including the following steps: S2121. Set up multi-dimensional sample data for multiple wind farms, multiple photovoltaic sites, multiple associated gas generator units, and multiple load nodes during the same time period as follows: ; In the above formula, This represents the multidimensional sample data for time period r. , These represent the first and second dimensions of the multidimensional sample data, respectively. Let r represent the d-th dimension variable in the multidimensional sample data, where d represents the dimension of the variable; r takes values ​​from 1 to N.

[0065] S2122. Based on the multidimensional sample data set in step S2121, construct a multivariate adaptive kernel density estimation model, expressed as follows: ; In the above formula, This represents the multivariate adaptive kernel density estimation function. This represents the adaptive bandwidth matrix corresponding to the r-th multidimensional sample data. This represents a d-dimensional kernel function.

[0066] in, Represented as: ; In the above formula, This represents the sample covariance matrix, used to reflect the scale differences and correlation structure between different variables.

[0067] S2123. Based on the multivariate adaptive kernel density estimation model, the multivariate marginal distribution model is obtained, expressed as: ; In the above formula, This represents the multivariate marginal distribution function.

[0068] S22. Construct a power output mapping relationship between wind power and wind speed. Based on the constructed mapping relationship, obtain the edge distribution of wind power output. This includes the following steps: S221. Establish a deterministic mapping from wind speed to wind power output based on the wind speed and wind turbine power characteristic curves, represented as: Setting The equivalent wind speed at the wheel hub height at any given time is The cut-in wind speed of the wind turbine is Rated wind speed is Cut-out wind speed is The rated power of wind turbine generators or wind farms is Constructing wind power output With wind speed The mapping relationship is expressed as: ; In the above formula, This represents the mapping function between wind speed and wind power output. The above parameters should preferably be based on the actual wind farm turbine manufacturer's technical parameters or grid-connected test data; when specific turbine parameters are not yet available, they can be set according to commonly used engineering ranges. Take speeds from 2.5 m / s to 4 m / s. Take speeds from 10 m / s to 14 m / s. Take 20m / s to 25m / s. Determined based on the actual rated capacity of the generating unit or the grid-connected capacity of the wind farm.

[0069] S222, Set the wind speed random variable as Its corresponding marginal distribution function is ,from Wind speed samples are obtained by sampling from the middle, and then substituted into the mapping relationship obtained in step S221 to obtain the corresponding wind power output samples. Then, wind power output samples Substitute variable x The calculation formula yields the multivariate adaptive kernel density estimate of wind power output and the marginal distribution of wind power output.

[0070] S23. Construct a mapping relationship between photovoltaic power output and irradiance-temperature. Based on the constructed mapping relationship, obtain the edge distribution of photovoltaic power output. This includes the following steps: S231. Establish a probability model for irradiance, and set... The actual irradiance at time is The maximum irradiance during this period was Then the following conditions are met: Less than or equal to And greater than or equal to 0; the actual irradiance Normalized irradiance is obtained after normalization. , represented as: .

[0071] In the above formula It satisfies the condition that it is greater than or equal to 0 and less than or equal to 1.

[0072] Considering that light intensity exhibits bounded and skewed random fluctuations over a relatively short timescale, a Beta distribution is used to describe the normalized irradiance. The probabilistic model of irradiance is obtained, expressed as: ; In the above formula, The probability function representing irradiance. and Both are shape parameters of the Beta distribution. This represents the Beta distribution function.

[0073] in, and Specifically, it is calculated using the following formula: ; ; In the above formula, Represents the historical sample mean. To represent the historical sample variance, when modeling separately for different time periods, the variance can be estimated separately for each time period t. , , , This allows us to obtain the probability distribution of irradiance at different times.

[0074] S232, Actual irradiance based on time t The actual surface temperature of the photovoltaic cell is obtained, specifically calculated using the following formula: ; In the above formula, This represents the actual surface temperature of the photovoltaic cell at time t. This represents the ambient temperature at time t. This represents the wind speed at time t.

[0075] S233. Based on the irradiance probability distribution obtained in step S231 and the actual surface temperature of the photovoltaic cell obtained in step S232, a deterministic physical model for photovoltaic output is constructed, expressed as: ; In the above formula, This represents the photovoltaic output at time t. This indicates the rated maximum power output of a photovoltaic module or photovoltaic power station under standard testing conditions. Represents the irradiance under standard test conditions, taking... ; This represents the actual irradiance at time t. This represents the actual surface temperature of the photovoltaic cell at time t. This represents the battery temperature under standard test conditions, taken as 25. ; This is the power temperature coefficient of photovoltaic modules, usually a negative value, which can be determined according to the module manufacturer's parameters. For crystalline silicon modules, it is generally taken as... to .

[0076] Considering the physical boundaries of photovoltaic output, the deterministic physical model of photovoltaic output constructed in step S233 is further modified, and expressed as: ; In the above formula, This refers to the maximum grid-connected power or installed capacity of a photovoltaic power plant.

[0077] S234. Determine the mapping relationship between photovoltaic (PV) output, irradiance, and temperature. To maintain the correlation between PV output at different times within the same day, construct a time-series correlation matrix for irradiance or PV output and perform Cholesky decomposition. Multiply the decomposed matrix by independent standard random vectors, and then convert the resulting matrix into irradiance samples or PV output samples that satisfy the marginal distribution of each time period. This preserves the intraday continuity and correlation of PV output while maintaining the marginal distribution of each time period. The continuous PV output... Substitute variable x The calculation formula yields the multivariate adaptive kernel density estimate of the photovoltaic output and the marginal distribution of the photovoltaic output.

[0078] The mapping relationship between photovoltaic power output and irradiance and temperature is expressed as follows: ; ; ; S24. Construct a mapping relationship between associated gas power generation and gas source-storage-power generation efficiency. Based on the constructed mapping relationship, obtain the edge distribution of associated gas power generation output. This includes the following steps: S241. Obtain the gas source flow rate at time t, and set the original associated gas flow rate at time t as... The associated gas has a lower heating value. The gas source pressure is The efficiency of the preprocessing system is The indicator variable for qualified gas source quality is When associated gas meets the power generation requirements such as pressure, sulfur content, water content, and composition, When the requirements are not met, It may be pretreated by desulfurization, dehydration, and voltage stabilization before entering the power generation stage.

[0079] The available gas flow rate after pretreatment is expressed as: ; In the above formula, This represents the gas flow rate that can enter the gas storage or power generation stage at time t.

[0080] S242. Obtain the gas storage inventory at time t. The gas storage inventory of the gas storage buffer system is described by the inventory dynamic equation, expressed as: ; ; ; In the above formula, This represents the gas storage inventory at time t. express Real-time gas storage capacity This represents the amount of gas entering the gas generator set at time t. This indicates the amount of gas vented or bypassed at time t due to insufficient gas storage capacity, substandard gas quality, or safety control requirements. This represents the maximum allowable gas consumption of the unit at time t. Indicates the time step; , These represent the lower and upper limits of the safe storage capacity for gas storage facilities, respectively.

[0081] S243. The output power of a gas generator set is determined by the gas volume, lower heating value, and unit efficiency, expressed as: ; ; In the above formula, This represents the available power for associated gas generation at time t. Indicates the gas turbine unit at the load rate The power generation efficiency is reduced. This indicates the lower heating value of the associated gas. This indicates the gas consumption of the gas turbine unit. This indicates the rated power of the gas turbine unit.

[0082] The unit's power generation efficiency can be obtained by fitting manufacturer test data or on-site operating data, and is expressed as: ; In the above formula, , , These represent the curve fitting parameters for the gas turbine unit. This indicates the minimum stable load rate of the gas turbine unit.

[0083] If fuel consumption curves are used on site It can be expressed as the following formula: ; In the above formula, , , These are the fitting parameters for the fuel consumption curve.

[0084] Inversely derived from the fuel consumption curve And it is limited to the allowable output range of the gas turbine unit, specifically expressed as follows: ; In the above formula, This indicates the minimum allowable output range of the gas turbine unit. This indicates the maximum allowable output range of the gas turbine unit.

[0085] S244. The mapping relationship between associated gas power generation and gas source-storage-power generation efficiency. Based on this mapping relationship, if a certain sampling path leads to... Then reduce And recalculate If the inventory constraint is still not met after reducing the unit's minimum stable output, the path is deemed infeasible and resampling is required; if This can be achieved by restricting air intake, increasing gas consumption for power generation, or setting... Make corrections; thereby obtaining a probabilistic output scenario for associated gas power generation that satisfies gas source quality, inventory dynamics, and unit operating boundaries; thus obtaining the associated gas power generation output. ,Will Substitute variable x The calculation formula yields the multivariate adaptive kernel density estimate corresponding to the associated gas power output and the marginal distribution corresponding to the associated gas power output.

[0086] The mapping relationship is specifically represented as follows: ; In the above formula, This represents the mapping function between associated gas power generation output and gas source-storage-power generation efficiency.

[0087] S25. Based on the multivariate adaptive kernel density estimation model, the marginal distribution of the load is obtained. Due to the characteristics of oilfield load as a continuous production, small fluctuation range, and strong daily cycle repeatability, it is not appropriate to use only a general load model for a rough description. It is necessary to establish a load probability model with daily cycle baseline + short-term fluctuation residual. set up Let t be the load power of the oilfield. If the power consumption measured by the field meter is negative, it is expressed as: ; In the above formula, This indicates the power consumption of the on-site meters.

[0088] Divide one day into E sampling points, where E is preferably 288. Let t represent the sampling sequence number within a day corresponding to time t, then the load power Decomposed into: ; In the above formula, Indicates within the same day Typical load baseline at time, This represents the short-time fluctuation residual at time t.

[0089] Calculated from the historical average load at the same time on day D1, and expressed as: .

[0090] This is obtained by establishing a residual adaptive regression model, and is expressed as: ; In the above formula, express The residual autocorrelation coefficient at time step [time]. express Short-term fluctuation residuals at time points Indicates the standard deviation of the residuals; This represents a zero-mean random perturbation, which can follow a standard normal distribution or be obtained by adaptive kernel density estimation.

[0091] The load increment over a given time step is expressed as: ; The load increment at a given time step needs to satisfy short-time fluctuation constraints, expressed as: ; In the above formula, Determined based on the 95th percentile of historical load fluctuations or the allowable power variation rate of oilfield production equipment.

[0092] Based on the above reasoning, the load condition prediction model is expressed as follows: ; In the above formula, express The predicted load power of an oilfield at any given time can simultaneously characterize the concentrated distribution characteristics, daily cycle correlation, and short-term small-amplitude fluctuations of the oilfield load.

[0093] Substitute the predicted load power variable x obtained from the load condition prediction model into the input. The calculation formula yields the multivariate adaptive kernel density estimate corresponding to the oilfield load and the marginal distribution corresponding to the oilfield load.

[0094] S3. Based on the marginal distributions of each variable obtained in step S2, a multi-timescale source-load joint probability model is established. This model simultaneously includes the spatial correlation structure between different source-load variables at the same time point, as well as the temporal transition structure of the same variable in adjacent time periods. Specifically, it includes the following steps: S31, After processing in step S1 Set as a source-load joint random variable, and convert its expression to: ;in, , , Let be the source-load joint random variable of the first dimension, the source-load joint random variable of the j-th dimension, and the source-load joint random variable of the d-th dimension at time t, respectively, where j takes values ​​from 1 to d.

[0095] The result obtained after step S2 , , , As Set in the source-load joint random variable; Replace x in step S21 In this process, the multivariate adaptive kernel density estimate corresponding to the variable is obtained. Substitute The marginal distribution corresponding to this variable is obtained from the data. .

[0096] S32, based on , According to Sklar's theorem, the joint Copula distribution function is obtained as follows: S321. Determine the appropriate Copula function type from the candidate Copula functions. The candidate Copula functions include GaussianCopula, t-Copula, FrankCopula, ClaytonCopula, GumbelCopula, VineCopula, and Pair-Copula.

[0097] First, the samples of each variable are converted into pseudo-observations using marginal distributions, as follows: ; In the above formula, This represents the pseudo-observation of the j-th variable sample in the r-th digit.

[0098] Then, the Kendall and Spearman correlation coefficients between the sample variables were calculated, and candidate Copula functions were fitted to them respectively. For any variable pair... , Its Copula log-likelihood function is: ; In the above formula, Represents the set of Copula parameters. Represents the Copula density function, , Take values ​​from 1 to j.

[0099] Then, the parameter estimates are calculated based on the Copula log-likelihood function, expressed as: ; In the above formula, This represents the estimated value of the parameter.

[0100] Based on the parameter estimates, the Copula type is selected by comprehensively considering AIC, BIC, and goodness-of-fit tests. A smaller AIC or BIC indicates a better overall performance in terms of fitting accuracy and complexity. AIC and BIC are specifically calculated using the following formulas: ; ; In the above formula, This represents the number of arguments in the Copula function.

[0101] After the above screening process, the Copula function in this invention adopts the Pair-Copula type or the VineCopula type.

[0102] S322. Based on the Copula function type determined in step S321, conform to the variable... As the root node of source-load coupling, the correlation between load and wind power, photovoltaic, and associated gas power generation is taken as the first layer of Pair-Copula, and the correlation between various source-side variables under given load conditions is taken as the second layer of Pair-Copula; the resulting joint Copula distribution function is expressed as: ; In the above formula, Indicates load With the j-th source-side variable Pair-Copula density between Represents the i-th source-side variable under given load conditions. With the j-th source-side variable The condition between Pair-Copula density, , These are the corresponding Copula parameters.

[0103] S33. For time correlation, establish conditional transition models for adjacent time periods of each source load random variable, and uniformly denote the conditional transition relationship of the j-th source load random variable from the state at time t-1 to the state at time t as the time transition model, thereby obtaining a multi-timescale source load joint time series probability model, which specifically includes the following steps: S331. Establish conditional transition models for adjacent time periods of each source-load random variable. For wind farms, the conditional transition model is determined by a continuous-time Markov chain of wind speed or a transition probability density function; for photovoltaic sites, the conditional transition model establishes the correlation between adjacent time periods through time-series correlation matrices and Cholesky decomposition to maintain intraday power output continuity; for associated gas generator units, the conditional transition model establishes the state transition relationship between adjacent time periods through the gas storage dynamic equation to maintain the physical continuity of gas source storage and power generation output; for load nodes, the conditional transition relationship between adjacent time periods is established through daily cycle baselines and short-term fluctuation models.

[0104] S332. Based on the conditional transition model obtained in step S331, construct the time transition model, as follows: ; In the above formula, This indicates that given the j-th random variable... Given the state at time t, the variable takes the value of t. Conditional transition model; The conditional probability density function of the j-th source load is defined by the conditional transition model in step S331.

[0105] S333. Based on the conditional transition model and the joint Copula distribution function, a multi-timescale source-load joint time-series probabilistic model is constructed, expressed as: ; In the above formula This represents the joint temporal probability of source and load across multiple time scales. This represents the joint temporal probability of the source and load at time step 1.

[0106] S34, Constructing a set of engineering constraints This includes power up / down constraints, ramp rate constraints, and associated gas inventory constraints, specifically expressed as follows: (1) The upper and lower power constraints are expressed as: ; ; ; ; In the above formula, This indicates the maximum rated output of the wind power. This indicates the rated maximum output of the photovoltaic system. This indicates the minimum usable power for associated gas power generation. This indicates the maximum usable power output for associated gas power generation. This represents the minimum load power of the oil field. This indicates the maximum load power of the oil field.

[0107] (2) The climbing rate constraint is expressed as: ; ; ; ; In the above formula, Indicates the permissible rate of change of wind power. Indicates the allowable rate of change in photovoltaic power. This indicates the permissible rate of change of associated gas. This indicates the allowable rate of change of the load.

[0108] (3) The associated gas inventory constraint is expressed as: ; .

[0109] S35. Marginal probability density functions of each source charge random variable obtained based on step S31 and marginal distribution function The joint Copula distribution function obtained in step S32 The multi-timescale source-load joint temporal probability model obtained in step S33 The set of engineering constraints obtained in step S34 A multi-timescale source-load joint probability model is established, expressed as: ; In the above formula, This represents a multi-timescale source-load joint probability model; and Let f(j) represent the marginal probability density function and marginal distribution function of the j-th source load random variable, respectively.

[0110] The Copula correlation structure obtained in step S32 and the time transition model obtained in step S33 are not two independent joint probability models: the former is used to maintain the joint correlation between different source load variables at the same time segment, and the latter is used to maintain the state continuity between adjacent time segments of the same variable. Together with the marginal distribution of each variable, they constitute a complete multi-time-scale source load joint probability model.

[0111] S4. Based on the marginal distribution obtained in step S2 and the time-scale source-load joint probability model obtained in step S3, a source-load joint scenario set is generated using a combination of constrained sampling and feasibility correction. This specifically includes the following steps: S41. Generate based on the joint Copula distribution function. A set of d-dimensional uniform random vectors is generated, and samples are obtained by applying the inverse function of the marginal distribution of each random vector. Each set of samples corresponds to a source-load scenario. The sample representation of each source-load scenario is as follows: ; Indicates in the scene The sample set, , , They represent the scenes respectively. The samples of the first dimension, the j-th dimension, and the d-th dimension are given below.

[0112] S42, obtained based on step S41 A sample set for each scenario is used to convert various types of samples into corresponding power scenarios.

[0113] Specifically, for wind power, based on the sampled wind speed sequence and parameters such as the wind turbine's cut-in wind speed, rated wind speed, cut-out wind speed, and rated power, the wind power output at each moment is calculated using the wind turbine power characteristic curve. For photovoltaics, based on the sampled irradiance sequence and parameters such as ambient temperature, wind speed, rated power under standard test conditions, and temperature correction coefficient, the surface temperature of the photovoltaic cells is first calculated, and then the photovoltaic output at each moment is calculated. For associated gas power generation, based on the sampled gas source flow rate, lower heating value, gas source pressure, pretreatment efficiency, and gas storage status, the available power generation capacity that meets the storage constraints and unit operating boundaries is obtained through sequential calculations of gas source availability, gas storage inventory updates, and gas turbine unit efficiency conversions. For load, based on typical daily cycle load baselines and short-time residual fluctuation samples, the oilfield load power at each moment is superimposed to obtain a source-load combined scenario that includes wind power, photovoltaics, associated gas power generation, and load.

[0114] S43. Based on the set of engineering constraints, filter the multiple scenarios obtained in step S42 to obtain a set of feasible source-load joint scenarios.

[0115] The specific screening method is as follows: screening is performed in the order of power upper and lower limits, ramp rate constraints, and associated gas inventory constraints. If one or more variables in the ramp rate constraints violate the ramp rate constraints, the following formula is used for correction: ; In the above formula, This represents the variable corresponding to the j-th dimension at time t. The rate of ascent in the scene. This represents the variable corresponding to the j-th dimension at time t-1. The rate of ascent in the scene. This represents the allowable rate of change of the variable corresponding to the j-th dimension. Represents a symbolic function.

[0116] After correction, check the power upper and lower limits again until all variables satisfy the ramp rate constraint, and then obtain the result at time t. Gas storage in the scene ,when When, then reduce And recalculate If the inventory constraint is still not met after reducing the unit's minimum stable output, then this scenario is determined to be infeasible, and the next scenario is then selected. At that time, by restricting air intake, increasing gas consumption for power generation, or setting... The path is corrected, and if the inventory constraint is still not met after correction, the path is determined to be infeasible. Then, the next path is filtered, and after filtering all paths, feasible source-load joint paths are obtained, represented as: ; ; In the above formula, This represents a set of feasible source-load joint scenarios. Indicates the first Initial probabilities of a feasible source-load joint scenario Take 1 to , This represents the total number of feasible source-load joint scenarios.

[0117] S44. Further reduce the feasible source-load joint scenario set obtained in step S43 to obtain a typical scenario set, which specifically includes the following steps: S441, Let the first The curve for the joint scenario is as follows: ; In the above formula, Indicates the first The curve of the joint scenario, Indicates the first Wind power output curves from time 1 to T in a combined scenario. Indicates the first Photovoltaic output curves from time 1 to T in a combined scenario. Indicates the first The available power curve of associated gas power generation from time 1 to T in the combined scenario. Indicates the first Oilfield load-power curves from time 1 to time T in the combined scenario.

[0118] Integrating wind power, solar power, associated gas power generation, and loads The curves within each time period are stitched together to form a high-dimensional vector.

[0119] S442. Using K-means clustering, the number of clusters... The elbow method and profile coefficients are used to determine the appropriate profiles for different... Values ​​are calculated, including the intra-class squared error, and the scenario is also calculated. The silhouette coefficient is used to determine the number of clusters in the clustering method, expressed as: The within-class squared error of the value is expressed as: ; In the above formula, express The within-class squared error of the value Take 1 to , Indicates the first The center of each cluster, Indicates the first Clusters.

[0120] Scene The contour coefficient is expressed as: ; In the above formula, Representing a scene The profile coefficient, Representing a scene The average distance to other scenes in the same cluster, Representing a scene The average distance to other nearest scenes within the same cluster. A higher average silhouette coefficient indicates better clustering performance; in practice, this is determined... When choosing a value, prioritize If the scheme with a clear inflection point on the curve and the highest average profile coefficient does not exist, then select the scheme with an average profile coefficient close to the maximum. The solution with the minimum value is chosen to balance representativeness and computational efficiency.

[0121] S443. The number of clusters determined according to step S442. ,get The initial cluster centers of each cluster are determined, and then the feasible source-load joint scenarios from step S43 are assigned to the nearest cluster centers to form... For each cluster, the cluster center is calculated based on its internal scenario. The center of each cluster is updated, and then the feasible source-load joint scenario is redistributed based on the updated center. This process is repeated until the change value of the center of all clusters is less than a set threshold or the maximum number of iterations is reached.

[0122] In this step, for The initial cluster centers of each cluster are determined using an initial center selection method based on scene density. Specifically, for any scene... Find its nearest Each scenario is calculated according to the following formula. With its nearest The sum of distances between the scenes: ; In the above formula, Representing a scene With its nearest The sum of the distances between the scenes, express The first scenario One scenario, Take 1 to , express A collection of scenarios.

[0123] The smaller the value, the denser the samples are in the vicinity of the scene, and the greater the local density; (selection) The smallest scene is used as the first initial cluster center. Selection and The scene with the largest distance was used as the second initial cluster center. Selection and The scene with the largest distance was used as the third initial cluster center. And so on, until the initial centers of all clusters are obtained.

[0124] S444, the final result obtained based on step S443 For each cluster, select the most medoidic scene within each cluster that actually exists and satisfies all engineering constraints, and use it as a typical scene set, represented as: ; ; ; In the above formula, Represents a set of typical scenarios. , , They represent the 1st and the 2nd respectively. The, the A typical scenario , , They represent the 1st and the 2nd respectively. The, the The probability of a typical scenario Indicates the first Initial probabilities of feasible source-load joint scenarios corresponding to a typical scenario. Indicates the first The number of scenes in each cluster.

[0125] S5. Based on the typical scenario obtained in step S4, the predicted values ​​for wind power output, photovoltaic power output, associated gas power generation available power, and oilfield load power are obtained, specifically calculated using the following formula: ; ; ; ; In the above formula, This represents the predicted wind power output. This represents the predicted photovoltaic power output. This represents the predicted available power for associated gas power generation. This represents the predicted load power of the oilfield; express The wind power output of the scenario at time t in the future. express The photovoltaic output of the scenario at time t in the future. express The associated gas power generation capacity of the scenario at time t in the future. express The scenario represents the oilfield load power at time t in the future.

[0126] In addition to point prediction, this invention also outputs interval prediction and quantile prediction. Taking load as an example, quantiles satisfy:

[0127] In typical scenario formats, each scenario will be... Sort by value from smallest to largest and sum the corresponding probabilities. When the cumulative probability first reaches At that time, the corresponding That is Quantile forecast values. From these, the 5th, 50th, and 95th quantiles can be obtained, forming the load forecast range:

[0128] Similarly, the quantile prediction results for wind power, photovoltaic power, associated gas power generation, and source-load power mismatch can be obtained.

[0129] Simultaneously, source-load power deficit risk prediction is also conducted, specifically: The predicted value of source-load power mismatch is calculated as follows: ; In the above formula, This represents the predicted source-load power mismatch at time t.

[0130] Calculate the predicted value of source load power deficit risk based on the predicted value of source load power mismatch: ; In the above formula, This represents the predicted value of the source load power deficit risk at time t. This is an indicator function that returns 1 if the condition within the parentheses is true and 0 if it is false. This indicates the maximum allowable power deficit threshold.

[0131] Meanwhile, based on the current source-load state, the conditional distribution for the next h steps is calculated using the joint source-load probability model, and the conditional expectation, conditional quantile, and typical conditional scenarios are output.

[0132] Example Historical wind speed and output data from wind turbine anemometers or wind farms within the oilfield area, irradiance and measured output data from photovoltaic power plants, flow and pressure data from associated gas acquisition systems, and measured load data from a typical power-consuming unit, the "110,000-unit substation-light oil processing station," were selected as input samples. First, missing value removal, outlier handling, noise reduction, standardization, and time alignment were performed according to step S1 to obtain a unified time-series dataset. Second, according to step S2, edge distribution models for wind power, photovoltaic, and associated gas generation and load were established respectively, and wind turbine ingress / outgress constraints, photovoltaic output upper and lower limits constraints, associated gas storage constraints, and unit efficiency constraints were embedded into the modeling and sampling process. Then, according to step S3, a spatial correlation structure for multiple wind farms, a time transition structure for a single farm, and a source-load correlation structure were constructed to form a unified source-load joint probability model.

[0133] The comparison methods for constructing independent prediction methods are shown in Table 1: Table 1

[0134] In the prediction result generation stage, a source-load joint scenario set of a certain size is generated according to step S4, and a small number of typical joint scenarios and their probability weights are extracted using a scenario reduction method. In the clustering stage, a center initialization strategy based on scenario density is adopted to improve clustering stability, ultimately forming several typical load prediction curves with probability weights. This type of prediction result is no longer limited to a single deterministic load value, but can characterize the possible range of load changes under different source-side random disturbances, which is more in line with the actual operating characteristics of the oilfield power grid.

[0135] In the results verification phase, the source-load joint probabilistic modeling and load forecasting method proposed in this invention was compared with the method of "independently modeling and forecasting wind power, photovoltaic power, associated gas power generation, and load separately, and then stitching the results together". The comparison results show that, because this invention simultaneously considers the correlation between wind power, photovoltaic power, associated gas power generation, and load, as well as the continuity and transition characteristics of each random variable over time, it can effectively reduce the joint distribution bias and scenario distortion problems caused by the independent forecasting method, making the obtained load forecast curve closer to the actual operating state of the oilfield power grid during peak, valley, and transition periods. Based on the verification results of wind power probability distribution modeling in the interim report, the adaptive kernel density estimation method, compared with the traditional univariate kernel density estimation method, obtains the joint probability value of source and load through the adaptive kernel density estimation inverse method of this invention. Simultaneously, using the traditional univariate kernel density estimation method, probability values ​​are obtained for each of the four wind farms. Comparing the five probability values, the accuracy indicators for the four wind farms are improved by 18.48%, 19.88%, 23.25%, and 26.14%, respectively, while the overall indicators are improved by 1.74%, 3.28%, 4.42%, and 4.31%, respectively. Furthermore, when this probability modeling method is extended to the joint source and load prediction scenario, compared with the method of independent prediction followed by splicing, the overall prediction accuracy can be improved by approximately 10% to 15%, with a more significant improvement during typical periods of large fluctuations.

[0136] like Figure 2 As shown, one curve represents a reference curve for a typical wind power scenario, another curve represents the independent wind power prediction result, and the third curve represents the combined source-load prediction result. The horizontal axis represents the typical daily time, and the vertical axis represents the wind power output. As can be seen from the figure, wind power output exhibits stronger randomness and volatility compared to photovoltaic output. The scenario curve shows multiple fluctuations and local ups and downs within the day, reflecting the random fluctuations in wind speed and the temporal correlation characteristics of wind farms. While the independent prediction method can reflect the general trend of wind power output changes, it is prone to accumulated biases in local rapid fluctuation and transitional sections, making it difficult to fully characterize the continuity and correlation of wind power scenarios. In contrast, the combined source-load prediction result tracks typical wind power scenarios more closely, showing better fitting ability in local rising, falling, and fluctuating segments. This is mainly because the method adopts adaptive kernel density estimation and time-series transition modeling in wind power modeling, which can more accurately characterize the probability distribution characteristics of wind power output. By jointly generating and reducing scenarios, the typical random fluctuation patterns of wind power output are preserved, thereby effectively reducing the scenario distortion problem caused by independent prediction and then splicing, and improving the authenticity and usability of wind power scenario prediction results.

[0137] like Figure 3As shown, one curve represents a reference curve for a typical photovoltaic scenario, another curve represents the independent photovoltaic prediction result, and the third curve represents the combined source-load prediction result. The horizontal axis represents the typical daily time, and the vertical axis represents the photovoltaic power output. As can be seen from the figure, photovoltaic power output exhibits significant diurnal cyclical characteristics, generally showing a single-peak variation pattern of "approaching zero at night, gradually increasing during the day, reaching a peak around noon, and gradually declining in the afternoon." Simultaneously, there are obvious dips and short-term fluctuations in local afternoon periods, reflecting the stochastic characteristics under the coupled effects of environmental factors such as cloud cover changes, irradiance fluctuations, and temperature. Compared with the independent prediction method, the combined source-load prediction result provides more stable tracking of typical scenarios in the peak range, the afternoon dip range, and the decline phase, and can more accurately reflect the main trend and local disturbance characteristics of photovoltaic power output. The reason is that this method not only considers historical photovoltaic output information, but also comprehensively introduces influencing factors such as irradiance and temperature, and characterizes the random fluctuation characteristics of photovoltaic output under a unified probability framework. This reduces the systematic bias caused by prediction based on a single sequence or single factor, and improves the accuracy and engineering applicability of photovoltaic scenario prediction.

[0138] like Figure 4 As shown, typical load sample analysis reveals that over 85% of the load values ​​are concentrated in the -2.3MW to -2.7MW range, and the autocorrelation function exhibits a significant peak at a 24-hour delay, indicating that this load has strong concentrated distribution characteristics and diurnal periodic correlation. Incorporating these load characteristics into source-load joint probability modeling can further improve the stability and practical applicability of the joint prediction results, providing a reliable data foundation for subsequent operation analysis and optimized scheduling of the oilfield power grid.

[0139] As shown in the comparison figures, compared with the independent forecasting method, the forecast curve of this method is more stable in terms of overall trend fitting, and its characterization of the load mean level and direction of change is more consistent with the actual operating characteristics. Although the independent forecasting method responds quickly to instantaneous fluctuations at local points, it is prone to error accumulation in continuous fluctuation sections because it does not consider the correlation between sources and the coupling relationship between sources and loads. This method effectively suppresses the amplification effect of local random disturbances on the forecast results through joint probabilistic modeling of sources and loads and probabilistic weighting of typical scenarios, making the obtained forecast results superior in terms of overall accuracy and stability.

[0140] This invention addresses the actual data characteristics of wind power, photovoltaic power, associated gas power generation, and loads in oilfield power grids by employing a source-load joint probabilistic modeling approach. This avoids the problem of traditional independent prediction methods neglecting the correlation between sources and the coupling relationship between sources and loads, and can more realistically reflect the uncertainty propagation law in the actual operation of oilfield power grids.

[0141] This invention employs an adaptive kernel density estimation method in wind power edge distribution modeling. Compared with the traditional univariate kernel density estimation method, the accuracy indicators on four different wind farms are improved by 18.48%, 19.88%, 23.25%, and 26.14%, respectively, and the comprehensive indicators are improved by 1.74%, 3.28%, 4.42%, and 4.31%, respectively. This indicates that the method can more accurately characterize the probability distribution characteristics of random wind power output and improve the accuracy of source-side uncertainty description.

[0142] This invention achieves unified joint modeling of wind power, photovoltaic power, associated gas power generation and load, and simultaneously considers spatial correlation, temporal correlation and source-load correlation during the scene generation process. This can effectively reduce the joint distribution distortion caused by scene splicing after independent modeling, and improve the realism and usability of the joint scene.

[0143] This invention significantly reduces the scale of scenarios while preserving the statistical characteristics of the original random samples by reducing typical scenarios and assigning probability weights, thereby improving the computational efficiency of subsequent models. It is suitable for oilfield power grid operation analysis and engineering applications.

[0144] The final output of this invention is not a single load forecast value, but a set of typical load forecast curves with probability weights, which can more completely characterize the range of load variation in the oilfield power grid under different source-side random disturbances. Compared with the method of independently modeling and forecasting wind power, photovoltaic, associated gas power generation and load separately and then stitching the results together, this invention, because it simultaneously characterizes the inter-source correlation, time correlation and source-load coupling relationship under a unified probabilistic framework, can more accurately approximate the actual operating state. Its comprehensive forecast accuracy can be improved by about 10% to 15%, and the improvement effect is more prominent in periods when new energy fluctuations are strong and peak-valley changes are more obvious.

[0145] Finally, it should be noted that the above content is only used to illustrate the technical solution of the present invention, and is not intended to limit the scope of protection of the present invention. Simple modifications or equivalent substitutions made by those skilled in the art to the technical solution of the present invention do not depart from the essence and scope of the technical solution of the present invention.

Claims

1. A method for joint probability modeling and prediction of uncertainties in oilfield power grid sources and loads, characterized in that, Includes the following steps: S1. Acquire multi-source data, including wind farm data, photovoltaic site data, associated gas generator data, and load node data; and preprocess the acquired data. S2. By integrating wind farms, photovoltaic sites, associated gas generator units, and load nodes, a joint edge modeling is performed to obtain a multivariate adaptive kernel density estimation model. At the same time, the output mapping relationship between wind power and wind speed, the output mapping relationship between photovoltaic power and irradiance-temperature, and the output mapping relationship between associated gas power generation and gas source-storage-power generation efficiency are constructed. These three mapping relationships are then incorporated into the multivariate adaptive kernel density estimation model to obtain the edge distribution of wind power output, photovoltaic power output, and associated gas power generation output, respectively. The load edge distribution is also obtained based on the multivariate adaptive kernel density estimation model. The S2 step, which yields the multivariate adaptive kernel density estimation model, specifically includes the following steps: S211. Using the adaptive kernel density estimation method, construct the marginal probability density function and marginal distribution function of a single variable; S212. Based on the single-variable marginal probability density function constructed in S211, a multivariable adaptive kernel density estimation model is constructed, expressed as: ; In the above formula, This represents the multivariate adaptive kernel density estimation function. This represents the adaptive bandwidth matrix corresponding to the r-th multidimensional sample data. Represents a d-dimensional kernel function. This represents multidimensional sample data over time period r, where r ranges from 1 to N, and N represents the total number of historical samples for the variable. Indicates historical samples; S3. Based on the multivariate adaptive kernel density estimation of each variable obtained in step S2 and the corresponding marginal distribution, the joint Copula distribution function, the multi-timescale source-load joint temporal probability model, and the engineering constraint set are obtained, thus obtaining the multi-timescale source-load joint probability model. S4. Based on the marginal distribution obtained in step S2 and the multi-timescale source-load joint probability model obtained in step S3, a feasible source-load joint scenario set is generated by combining constrained sampling and feasibility correction. The feasible source-load joint scenario set is then reduced to obtain a typical scenario set, which includes multiple typical scenarios and their probabilities. S5. Based on the typical scenarios obtained in step S4, the predicted values ​​of wind power output, photovoltaic power output, associated gas power generation available power, and oilfield load power are obtained; at the same time, the source-load power deficit risk is also predicted.

2. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 1, characterized in that, In step S2, based on the multivariate adaptive kernel density estimation model, the multivariate marginal distribution model is obtained, expressed as: ; In the above formula, This represents the multivariate marginal distribution function.

3. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 2, characterized in that, In step S2, the output power mapping relationship between wind power and wind speed is expressed as: [Settings] The equivalent wind speed at the wheel hub height at any given time is The cut-in wind speed of the wind turbine is Rated wind speed is Cut-out wind speed is The rated power of wind turbine generators or wind farms is Constructing wind power output With wind speed The mapping relationship; Set the wind speed random variable as Its corresponding marginal distribution function is ,from Wind speed samples are obtained by sampling from the middle ground, and then substituted into the mapping relationship to obtain the corresponding wind power output samples. Then, wind power output samples Substitute variable x The calculation formula yields the multivariate adaptive kernel density estimate of wind power output and the marginal distribution of wind power output.

4. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 2, characterized in that, In step S2, a time-series correlation matrix of irradiance is constructed and Cholesky decomposition is performed. The decomposed matrix is ​​multiplied by an independent standard random vector, and the resulting matrix is ​​transformed into irradiance samples that satisfy the marginal distribution of each time period. Based on the irradiance samples and the mapping relationship between photovoltaic power output and irradiance-temperature, the photovoltaic power output is obtained. ; to increase photovoltaic power Substitute variable x The calculation formula yields the multivariate adaptive kernel density estimate of the photovoltaic output and the marginal distribution of the photovoltaic output.

5. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 3, characterized in that, In step S2, the mapping relationship between associated gas power generation and gas source-storage-power generation efficiency establishes a mapping relationship between the original associated gas flow rate, associated gas lower heating value, pretreatment system efficiency, gas storage inventory, gas turbine power generation efficiency, and associated gas power generation output. The associated gas power generation output obtained based on this mapping relationship is then used to determine the power generation output. ,Will Substitute variable x The calculation formula yields the multivariate adaptive kernel density estimate of associated gas power output and the marginal distribution of associated gas power output.

6. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 5, characterized in that, In step S2, a load condition prediction model is constructed, and the predicted load power is obtained based on the load condition prediction model. The predicted load power is then substituted into the variable x. The calculation formula yields the multivariate adaptive kernel density estimate corresponding to the oilfield load and the marginal distribution corresponding to the oilfield load; the predicted load condition prediction model is expressed as: ; In the above formula, express The predicted load power of the oilfield at any given time. express Typical load baseline at time, express The residual autocorrelation coefficient at time step [time]. express Short-term fluctuation residuals at time points express The standard deviation of the residuals at time points. express Zero-mean random perturbation at time t.

7. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 1, characterized in that, The joint Copula distribution function in step S3 is expressed as: ; In the above formula, Indicates load With the j-th source-side variable Pair-Copula density between Represents the i-th source-side variable under a given load condition. With the j-th source-side variable The condition between Pair-Copula density, , These are the corresponding Copula parameters. , Let represent the pseudo-observations of the first and d-th variable samples, respectively, where j ranges from 1 to d, and d represents the dimension. This represents the joint Copula distribution function.

8. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 7, characterized in that, The specific method for constructing the joint Copula distribution function in step S3 is as follows: Determine the appropriate Copula function type from the candidate Copula functions, and based on the determined Copula function type, use the conforming variables... As the root node of source-load coupling, the correlation between load and wind power, photovoltaic, and associated gas power generation is taken as the first layer of Pair-Copula, and the correlation between various source-side variables under given load conditions is taken as the second layer of Pair-Copula.

9. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 7, characterized in that, The specific method for constructing the multi-timescale source-load joint temporal probability model in step S3 is as follows: S331. Obtain the conditional transition model for each source load random variable in adjacent time periods; S332. Based on the conditional transition model, construct the corresponding time transition model. ; S333. Based on the conditional transition model and the joint Copula distribution function, a multi-timescale source-load joint time-series probabilistic model is constructed, expressed as: ; In the above formula This represents the joint temporal probability of source and load across multiple time scales. This represents the joint temporal probability of the source and load at time step 1.

10. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 1, characterized in that, The set of engineering constraints in step S3 includes power up / down constraints, ramp rate constraints, and associated gas inventory constraints.

11. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 1, characterized in that, S4 specifically includes the following steps: S41. Generate based on the joint Copula distribution function. A set of d-dimensional uniform random vectors is generated, and samples are obtained by applying the inverse function of the marginal distribution of each random vector. Each set of samples corresponds to a source-load scenario. The sample representation of each source-load scenario is as follows: ; Indicates in the scene The sample set, , , They represent the scenes respectively. The samples of the first dimension, the j-th dimension, and the d-th dimension are given below. S42, the result obtained in step S41 The various types of samples in the sample set of each scenario are converted into the corresponding power scenarios; S43. Based on the set of engineering constraints, filter the multiple scenarios obtained in step S42 to obtain feasible source-load joint scenarios, represented as: ; ; In the above formula, This represents a set of feasible source-load joint scenarios. Indicates the first Initial probabilities of a feasible source-load joint scenario Take 1 to , This represents the total number of feasible source-load joint scenarios; S44. Using the K-means clustering method, the feasible source-load joint scenarios obtained in step S43 are reduced to obtain a typical scenario set, represented as: ; ; ; In the above formula, Represents a set of typical scenarios. , , They represent the 1st and the 2nd respectively. The, the A typical scenario , , They represent the 1st and the 2nd respectively. The, the The probability of a typical scenario Indicates the first Initial probabilities of feasible source-load joint scenarios corresponding to a typical scenario. Indicates the first The number of scenes in each cluster.

12. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 11, characterized in that, In step S43, the selection method for feasible source-load joint scenarios is as follows: screening is performed in the order of power upper and lower limits, ramp rate constraints, and associated gas inventory constraints. If one or more variables in the ramp rate constraints violate the ramp rate constraints, the violated ramp rates are corrected. After correction, the power upper and lower limits are checked again until all variables satisfy the ramp rate constraints, and then the time t is obtained. Gas storage in the scene and the lower limit of safety storage capacity for gas storage facilities and upper limit ,when If the gas consumption of the gas turbine unit is reduced and the corrected ramp rate is recalculated, and the associated gas inventory constraint is still not met after reducing the unit's minimum stable output, then this scenario is determined to be infeasible, and the next scenario is then selected. When the gas intake is restricted, the gas consumption for power generation is increased, or the gas volume of the venting or bypass is set to make corrections. If the associated gas inventory constraint is still not met after the correction, the scenario path is determined to be an infeasible scenario. Then the next scenario is screened. After screening all scenarios, feasible source-load joint scenarios are obtained.

13. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 12, characterized in that, The violation of the climbing rate is corrected using the following formula: ; In the above formula, This represents the variable corresponding to the j-th dimension at time t. The rate of ascent in the scene. This represents the variable corresponding to the j-th dimension at time t-1. The rate of ascent in the scene. This represents the allowable rate of change of the variable corresponding to the j-th dimension. Represents a symbolic function.

14. The method for joint probabilistic modeling and prediction of source-load uncertainty in an oilfield power grid according to claim 11, characterized in that, Step S44 specifically includes the following steps: S441, obtained the first The curve of the joint scenario from time 1 to time T; S442. Using K-means clustering, the number of clusters... The elbow method and profile coefficients are used to determine the appropriate parameters for different profiles. Values ​​are calculated, including the intra-class squared error, and the scenario is also calculated. The silhouette coefficient is used to determine the number of clusters in the clustering method; S443. The number of clusters determined according to step S442. ,get The initial cluster centers of each cluster are determined, and then the feasible source-load joint scenarios from step S43 are assigned to the nearest cluster centers to form... For each cluster, the cluster center is calculated based on the scene within it. The center of each cluster is updated, and then the feasible source-load joint scene is redistributed based on the updated center. The process is iterated until the change value of the center of all clusters is less than the set threshold or the maximum number of iterations is reached. S444, the final result obtained based on step S443 For each cluster, the scene with the most medoid value within that cluster is selected as a typical scene, forming a set of typical scenes.

15. The method for joint probability modeling and prediction of source-load uncertainty in an oilfield power grid according to claim 14, characterized in that, In step S441, the first The curve representing the joint scenario from time 1 to time T is as follows: ; In the above formula, Indicates the first The curve of the joint scenario, Indicates the first Wind power output curves from time 1 to T in a combined scenario. Indicates the first Photovoltaic output curves from time 1 to T in a combined scenario. Indicates the first The available power curve of associated gas power generation from time 1 to T in the combined scenario. Indicates the first Oilfield load-power curves from time 1 to time T in the combined scenario.

16. The method for joint probability modeling and prediction of source-load uncertainty in an oilfield power grid according to claim 14, characterized in that, The specific method for determining the number of clusters in step S442 is as follows: calculate the intra-cluster squared error and the silhouette coefficient, select the cluster number corresponding to the scheme with the obvious inflection point of intra-cluster squared error and the highest average silhouette coefficient, and conversely select the cluster number corresponding to the scheme with the largest average silhouette coefficient and the smallest number of clusters.

17. The method for joint probability modeling and prediction of source-load uncertainty in an oilfield power grid according to claim 16, characterized in that, The intra-class squared error and contour coefficient in step S442 are specifically calculated using the following formula: The within-class squared error of the value is expressed as: ; Scene The contour coefficient is expressed as: ; In the above formula, express The within-class squared error of the value Take 1 to , Indicates the first The center of each cluster, Indicates the first A cluster; Representing a scene The profile coefficient, Representing a scene The average distance to other scenes in the same cluster, Representing a scene The average distance to the nearest other scenes within the cluster.

18. The method for joint probability modeling and prediction of source-load uncertainty in an oilfield power grid according to claim 14, characterized in that, In step S443 The method for obtaining the initial cluster centers of each cluster is as follows: For any scenario Find its nearest Each scene, and calculate the scene. With its nearest The sum of distances between each scene Select The smallest scene is used as the first initial cluster center. ; Selection and The scene with the largest distance was used as the second initial cluster center. Select and The scene with the largest distance was used as the third initial cluster center. And so on, until the initial centers of all clusters are obtained.

19. The method for joint probability modeling and prediction of source-load uncertainty in an oilfield power grid according to claim 18, characterized in that, S443 Step Scenario With its nearest The sum of distances between each scene Specifically, it is calculated using the following formula: ; In the above formula, express The first scenario One scenario, Take 1 to , express A collection of scenarios.

20. The method for joint probability modeling and prediction of source-load uncertainty in an oilfield power grid according to claim 1, characterized in that, The predicted wind power output, photovoltaic power output, associated gas power generation available power, and oilfield load power obtained in step S5 are specifically calculated using the following formula: ; ; ; ; In the above formula, This represents the predicted wind power output. This represents the predicted photovoltaic power output. This represents the predicted available power for associated gas power generation. This represents the predicted load power of the oilfield; express The wind power output of the scenario at time t in the future. express The photovoltaic output of the scenario at time t in the future. express The associated gas power generation capacity of the scenario at time t in the future. express The scenario represents the oilfield load power at time t in the future.

21. The method for joint probability modeling and prediction of source-load uncertainty in oilfield power grids according to claim 1, characterized in that, The source-load power deficit risk prediction performed in step S5 is as follows: The predicted value of source-load power mismatch is calculated as follows: ; Calculate the predicted value of source load power deficit risk based on the predicted value of source load power mismatch: ; In the above formula, This indicates the predicted source-load power mismatch at time t. This represents the predicted value of the source load power deficit risk at time t. This is an indicator function that returns 1 if the condition within the parentheses is true and 0 if it is false. This indicates the maximum allowable power deficit threshold.

Citation Information

Patent Citations

  • Energy and power distribution network collaborative optimization scheduling method based on source load uncertainty

    CN122267921A