CN114841547B - Renewable energy source correlation scene generation method based on Markov chain and Copula function - Google Patents
Renewable energy source correlation scene generation method based on Markov chain and Copula function Download PDFInfo
- Publication number
- CN114841547B CN114841547B CN202210448983.XA CN202210448983A CN114841547B CN 114841547 B CN114841547 B CN 114841547B CN 202210448983 A CN202210448983 A CN 202210448983A CN 114841547 B CN114841547 B CN 114841547B
- Authority
- CN
- China
- Prior art keywords
- scene
- sequence
- renewable energy
- output
- correlation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 241000039077 Copula Species 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000005457 optimization Methods 0.000 claims description 16
- 230000007704 transition Effects 0.000 claims description 10
- 239000011159 matrix material Substances 0.000 claims description 7
- 230000001186 cumulative effect Effects 0.000 claims description 6
- 230000001932 seasonal effect Effects 0.000 claims description 5
- SLXKOJJOQWFEFD-UHFFFAOYSA-N 6-aminohexanoic acid Chemical compound NCCCCCC(O)=O SLXKOJJOQWFEFD-UHFFFAOYSA-N 0.000 claims description 3
- 230000009977 dual effect Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 238000005070 sampling Methods 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims description 3
- 238000009827 uniform distribution Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 28
- 238000005516 engineering process Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000000053 physical method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/29—Graphical models, e.g. Bayesian networks
- G06F18/295—Markov models or related models, e.g. semi-Markov models; Markov random fields; Networks embedding Markov models
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Tourism & Hospitality (AREA)
- Health & Medical Sciences (AREA)
- Entrepreneurship & Innovation (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Primary Health Care (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Life Sciences & Earth Sciences (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention discloses a renewable energy source correlation scene generation method based on a Markov chain and a Copula function, which comprises the following steps: 1, collecting historical data sequences of a plurality of renewable energy stations; 2, obtaining a scene sequence meeting the time sequence autocorrelation characteristic by using a scene generation method based on a Markov chain model; describing the output correlation of the multi-renewable energy station by using a Copula function theory, and generating a multi-station scene sequence containing cross-correlation characteristics; 4, based on the step 2 and the step 3, generating a random scene which takes the time sequence autocorrelation of the field station and the cross correlation property between the field stations into consideration; the method can realize scene generation considering the time sequence autocorrelation of renewable energy and the cross correlation characteristic of multiple types of energy, and is used for optimizing and dispatching a power system and planning a medium-long-term power grid.
Description
Technical Field
The invention belongs to the field of renewable energy scene generation methods, and particularly relates to a renewable energy correlation scene generation method based on a Markov chain and a Copula function.
Background
Along with the continuous improvement of the access proportion of renewable energy sources in the power system, the strong randomness and intermittence of the output of the renewable energy sources represented by wind power and photovoltaic power bring great challenges to the safe and stable operation of a power grid and the medium-and-long-term planning of the power system, and how to describe the uncertainty output of the renewable energy sources is an important cut-in point for solving the problems. The scene analysis method is a method for discretizing and describing an uncertainty time sequence, a renewable energy output uncertainty model is constructed and is the basis of renewable resource scene generation technology research, and the existing model is mainly developed from a physical method, a statistical method and a learning method. And for multi-time-section scenes, a Markov chain model, an autoregressive moving average model and other time sequence construction methods are generally needed to be combined to describe the time sequence correlation characteristics of the renewable energy sources. When considering the space-time correlation of the output of a plurality of renewable energy stations, a correlation model of multidimensional random variables is required to be introduced, and the existing method mainly comprises the steps of constructing multi-element joint probability distribution and acquiring correlation information by utilizing Copula functions. The existing scene generation technology can only describe time sequence autocorrelation characteristics of renewable energy sources or cross-correlation characteristics of the output of a plurality of renewable energy sources stations, and can not simultaneously retain the autocorrelation and cross-correlation characteristics.
Disclosure of Invention
The invention aims to solve the defects of the prior art, and provides a renewable energy source correlation scene generation method based on a Markov chain and a Copula function, so as to realize scene generation which takes into consideration the time sequence autocorrelation of renewable energy sources and the cross correlation among multiple types of energy sources, thereby being capable of serving the optimal scheduling of a power system and the medium-long-term power grid planning.
In order to achieve the aim of the invention, the invention adopts the following technical scheme:
The invention relates to a renewable energy source correlation scene generation method based on a Markov chain and a Copula function, which is characterized by comprising the following steps:
Step one, enabling a historical data sequence of a first renewable energy station to be Making the historical data sequence of the second renewable energy station beWherein x t is the historical output of the first renewable energy station in the t period, and y t is the historical output of the second renewable energy station in the t period; t h denotes the total sampling duration of the historical data;
Step two, based on the historical data sequences X and Y, a Markov chain scene generation method is used to obtain a first basic scene sequence X m and a second basic scene sequence Y m which meet the time sequence autocorrelation characteristic;
Step 2.1, uniformly dividing the output range of the renewable energy source into N state intervals, namely S= { S 1,s2,…,sn,…,sN }, wherein S n represents the nth state interval, and And s n is the upper and lower limits of the nth state interval, respectively;
step 2.2, dividing the historical data sequence X into ΛxΘ groups;
Step 2.2.1, dividing X into lambda groups according to seasonal characteristics, wherein lambda group historical data are recorded as X λ, lambda epsilon {1,2, …, lambda };
Step 2.2.2, uniformly dividing historical data X λ of a lambda-th group into theta-day characteristic groups according to different day characteristics, wherein any theta-th day characteristic group is marked as X λ,θ, theta epsilon {1,2, …, theta };
Step 2.3, defining and initializing a time period tau=1 in the basic scene, and enabling the output of the t' th time period in the basic scene of the first renewable energy station to be as follows And initializeFor x 1, letThe state interval is S (tau), S (tau) epsilon S; initializing λ=1, θ=1;
Step 2.4, calculating an accumulated transition probability matrix Q λ,θ of a theta day characteristic group X λ,θ in a lambda th group history number; wherein any ith row and jth column element Q λ,θ (i, j) in the cumulative transition probability matrix Q λ,θ represents the cumulative transition probability from state i to state j, i, j e S;
Step 2.5, randomly generating a random number epsilon obeying uniform distribution, wherein epsilon [0,1]; calculating the renewable energy output of tau+1 time period by using the formula (1) State interval s (τ+1):
Step 2.6, generating another [0,1] uniformly distributed random number epsilon', and calculating the renewable energy output in tau+1 time period by using the formula (2)
Step 2.7, updating lambda and theta:
step 2.7.1 if And mod (λ+1, Λ) +.Λ, then mod (λ+1, Λ) is assigned to λ; if it isAnd mod (λ+1, Λ) =Λ, then Λ is assigned to λ, where mod (a, b) represents the remainder operation; otherwise, sequentially executing the steps 2.7.2;
Step 2.7.2, if mod [ mod (τ, 24), 24/Θ ] =0 and mod (θ+1, Θ) +.Θ, assigning mod (θ+1, Θ) to θ; if mod [ mod (τ, 24), 24/Θ ] =0 and mod (θ+1, Θ) =Θ, then Θ is assigned to θ; otherwise, sequentially executing the step 2.8;
step 2.8, assigning τ+1 to τ, if τ > T, returning to step 2.4, otherwise, obtaining a first base scene sequence with time sequence autocorrelation characteristics Wherein T is the total duration of a Markov chain generated scene;
step 2.9, processing the historical data sequence Y according to the process from step 2.2 to step 2.8, thereby generating a second basic scene sequence with time sequence autocorrelation characteristics Wherein, Indicating the output of the t time period in Y m;
step three, generating a scene sequence containing variable cross-correlation characteristics by using a Copula function model based on the historical data sequences X and Y;
Step 3.1, constructing a binary group (X, Y), calculating an empirical Copula function (X, Y), selecting a theoretical Copula function with the smallest distance error by calculating the Euclidean distance between the theoretical Copula function and the empirical Copula function, and fitting the shape parameter of the theoretical Copula function with the smallest distance error to obtain a Copula function C (u, v) describing the output correlation of two renewable energy stations;
step 3.2, generating a binary random number sequence (U, V) with a value of [0,1] which has consistent correlation with a binary group (X, Y) by using a Copula function C (U, V);
step 3.3, performing inverse probability integral transformation on the binary random number sequence (U, V) with the value of [0,1] to obtain a first scene search sequence And a second scene search sequenceWherein, AndThe output of the kth period in the first scene search sequence and the output of the kth period in the second scene search sequence are respectively, K is the total duration of a Copula function generating scene, and K is more than T;
step four, obtaining a renewable energy station scene generation sequence (X ', Y') based on the sequences (X m,Ym) and (X c,Yc);
Step 4.1, taking a basic scene sequence (X m,Ym) as a basic sequence set, taking a scene search sequence (X c,Yc) as a search sequence set, and initializing a period t' =1; initializing a cycle counter Assign sequence (X c,Yc) to the firstSub-cyclic scene search sequence
Step 4.2, establishing an equal step length correlation scene search optimization model:
Step 4.2.1, establishing an objective function of the equal step-length correlation scene search optimization model by utilizing the step (3)
In the formula (3), t' is the current firstA starting period of scene generation in the sub-cycle, t' +Γ -1 is a termination period, Γ is a step length of scene searching; Is the first The first renewable energy scene in the sub-cycle generates the output of the ith period in sequence X',Is the firstThe output of the ith period in the second renewable energy station scene generation sequence Y' in the secondary cycle; And The output average values of the basic scene sequences X m and Y m are respectively; Pearson correlation coefficients for sequences X m and Y m;
Step 4.2.2, establishing constraint conditions of an equal step correlation scene search optimization model by using the formula (4) and the formula (5):
in the formulas (4) and (5), Representation ofThe value of (2) isThe (k i) th element of the (c) tree,Representation ofThe value of (2) isThe k i th element, k i and k j represent the kSearching decision variables of an optimization model by using a sub-loop medium step size correlation scene, wherein i, j is epsilon { t ', t ' +1, …, t ' +Γ -1};
Step 4.3, solving the equal step length correlation scene search optimization model to obtain the first step First scene generation sequence of sub-loopAnd (d)Second scene generation sequence of sub-loopWherein, Represent the firstThe magnitude of the output of the first renewable energy farm of the secondary cycle during period t',Represent the firstThe output of the second renewable energy station of the secondary cycle in the period t';
Step 4.4, delete the first In the first scene generation sequence of the sub-loopCorresponding toElements of (a) And will be deletedPost sequenceAssignment toDelete the firstIn the second scene generation sequence of the sub-loopCorresponding toMiddle element And will be deletedPost sequenceAssignment to
Step 4.5, if T '+Γ -1 is less than or equal to T', then T '+Γ is assigned to T',Assignment toAnd returning to the step 4.2 for sequential execution, otherwise, the sequence (X ', Y ') of renewable energy generation scenes taking the dual correlation characteristics into consideration is obtained, wherein the first renewable energy scene generation sequence X ' = { X ' (1), X ' (2), …, X ' (T ') …, X ' (T ') } and the second renewable energy scene generation sequence Y ' = { Y ' (1), Y ' (2), …, Y ' (T '), …, Y ' (T ') } are represented, X ' (T ') represents the output of the first renewable energy scene in the period T ', Y ' (T ') represents the output of the second renewable energy scene in the period T ', and T ' represents the total duration of the generation scenes (X ', Y ').
Compared with the prior art, the invention has the beneficial effects that:
1. The invention combines the advantages of the Markov chain method and the Copula function model in the aspect of correlation description, avoids the unilaterality of the traditional single method applied to scene generation, and takes account of the scene generation of the time sequence autocorrelation of renewable energy and the cross correlation among multiple types of energy sources.
2. The invention provides an equal step length correlation scene search optimization model, which can realize the periodical generation of a renewable energy output scene by solving the model, and reserves the time sequence autocorrelation characteristic of renewable energy historical data and the cross correlation characteristic among a plurality of renewable energy stations.
3. According to the method, the seasonal characteristic and the intra-day characteristic of the renewable energy are considered, the historical data are grouped based on the seasonal characteristic and the intra-day characteristic, the change rule of the wind speed is counted independently, a corresponding Markov transition probability matrix is established, and the accuracy of scene generation is improved.
Drawings
FIG. 1 is a flow chart of a basic scene sequence calculation based on a Markov chain method in the invention;
FIG. 2 is a flow chart of a method for generating renewable energy source correlation scene based on Markov chain and Copula function.
Detailed Description
In this embodiment, a method for generating a renewable energy source correlation scene based on a markov chain and a Copula function is performed according to the following steps:
Step one, enabling a historical data sequence of a first renewable energy station to be Making the historical data sequence of the second renewable energy station beWherein x t is the historical output of the first renewable energy station in the t period, and y t is the historical output of the second renewable energy station in the t period; t h denotes the total sampling duration of the historical data;
Step two, based on the historical data sequences X and Y, a Markov chain scene generation method is used to obtain a first basic scene sequence X m and a second basic scene sequence Y m which meet the time sequence autocorrelation characteristic, as shown in figure 1;
Step 2.1, uniformly dividing the output range of the renewable energy source into N state intervals, namely S= { S 1,s2,…,sn,…,sN }, wherein S n represents the nth state interval, and And s n are the upper and lower limits of the nth state interval, respectively;
step 2.2, dividing the historical data sequence X into ΛxΘ groups;
Step 2.2.1, dividing X into lambda groups according to seasonal characteristics, wherein lambda group historical data are recorded as X λ, lambda epsilon {1,2, … and lambda }, lambda is a factor of 12, and generally 4,6 or 12 are taken;
step 2.2.2, uniformly dividing historical data X λ of a lambda-th group into theta-day characteristic groups according to different day characteristics, wherein any theta-th day characteristic group is marked as X λ,θ, theta epsilon {1,2, …, theta } is a factor of 24, and generally 3,4 or 6 is taken, so that inapplicability of a Markov chain method caused by too small value of grouping theta or reduction of day characteristic modeling accuracy caused by too large value of theta is avoided;
Step 2.3, defining and initializing a time period tau=1 in the basic scene, and enabling the output of the t' th time period in the basic scene of the first renewable energy station to be as follows And initializeFor x 1, letThe state interval is S (tau), S (tau) epsilon S, wherein x 1 is a given value, and can be any value in the upper limit and the lower limit of the output of the renewable energy source; initializing λ=1, θ=1;
Step 2.4, calculating an accumulated transition probability matrix Q λ,θ of a theta day characteristic group X λ,θ in a lambda th group history number; wherein any ith row and jth column element Q λ,θ (i, j) in the cumulative transition probability matrix Q λ,θ represents the cumulative transition probability from state i to state j, i, j e S;
Step 2.5, randomly generating a random number epsilon obeying uniform distribution, wherein epsilon [0,1]; calculating the renewable energy output of tau+1 time period by using the formula (1) State interval s (τ+1):
Step 2.6, generating another [0,1] uniformly distributed random number epsilon', and calculating the renewable energy output in tau+1 time period by using the formula (2)
Step 2.7, updating lambda and theta:
step 2.7.1 if And mod (λ+1, Λ) +.Λ, then mod (λ+1, Λ) is assigned to λ; if it isAnd mod (λ+1, Λ) =Λ, then Λ is assigned to λ, where mod (a, b) represents the remainder operation; otherwise, sequentially executing the steps 2.7.2;
Step 2.7.2, if mod [ mod (τ, 24), 24/Θ ] =0 and mod (θ+1, Θ) +.Θ, assigning mod (θ+1, Θ) to θ; if mod [ mod (τ, 24), 24/Θ ] =0 and mod (θ+1, Θ) =Θ, then Θ is assigned to θ; otherwise, sequentially executing the step 2.8;
step 2.8, assigning τ+1 to τ, if τ > T, returning to step 2.4, otherwise, obtaining a first base scene sequence with time sequence autocorrelation characteristics Wherein T is the total duration of a Markov chain generated scene;
step 2.9, processing the historical data sequence Y according to the process from step 2.2 to step 2.8, thereby generating a second basic scene sequence with time sequence autocorrelation characteristics Wherein, Indicating the output of the t time period in Y m;
step three, generating a scene sequence containing variable cross-correlation characteristics by using a Copula function model based on the historical data sequences X and Y;
Step 3.1, constructing a binary group (X, Y), calculating an empirical Copula function (X, Y), selecting a theoretical Copula function with the smallest distance error by calculating the Euclidean distance between the theoretical Copula function and the empirical Copula function, and fitting the shape parameter of the theoretical Copula function with the smallest distance error to obtain a Copula function C (u, v) describing the output correlation of two renewable energy stations;
step 3.2, generating a binary random number sequence (U, V) with a value of [0,1] which has consistent correlation with a binary group (X, Y) by using a Copula function C (U, V);
step 3.3, performing inverse probability integral transformation on the binary random number sequence (U, V) with the value of [0,1] to obtain a first scene search sequence And a second scene search sequenceWherein, AndThe output of the kth period in the first scene search sequence and the output of the kth period in the second scene search sequence are respectively, K is the total duration of a Copula function generating scene, and K is more than T;
Step four, obtaining a renewable energy station scene generation sequence (X ', Y') based on the sequences (X m,Ym) and (X c,Yc), as shown in figure 2;
Step 4.1, taking a basic scene sequence (X m,Ym) as a basic sequence set, taking a scene search sequence (X c,Yc) as a search sequence set, and initializing a period t' =1; initializing a cycle counter Assign sequence (X c,Yc) to the firstSub-cyclic scene search sequence
Step 4.2, establishing an equal step length correlation scene search optimization model:
Step 4.2.1, establishing an objective function of the equal step-length correlation scene search optimization model by utilizing the step (3)
In the formula (3), the objective functionMinimizing the difference between the correlation index representing the sequence of the generated scene and the correlation index of the sequence (X m,Ym), t' being the current firstA starting period of scene generation in the sub-cycle, t' +Γ -1 is a termination period, Γ is a step length of scene searching; Is the first The first renewable energy scene in the sub-cycle generates the output of the ith period in sequence X',Is the firstThe output of the ith period in the second renewable energy station scene generation sequence Y' in the secondary cycle; And The output average values of the basic scene sequences X m and Y m are respectively; Pearson correlation coefficients for sequences X m and Y m;
Step 4.2.2, establishing constraint conditions of an equal step correlation scene search optimization model by using the formula (4) and the formula (5):
in the formulas (4) and (5), The value of x' (i) isThe (k i) th element of the (c) tree,The value of y' (i) isThe k i th element, k i and k j represent the kThe sub-loop mid-step correlation scene searches for decision variables of the optimization model and i, j e { t ', t ' +1, …, t ' +Γ -1}, equation (5) represents the thAny two decision variables k i in the secondary cycle are different in value;
step 4.3, solving an equal step length correlation scene search optimization model to obtain the first step First scene generation sequence of sub-loopAnd (d)Second scene generation sequence of sub-loopWherein, Represent the firstThe magnitude of the output of the first renewable energy farm of the secondary cycle during period t',Represent the firstThe output of the second renewable energy station of the secondary cycle in the period t';
Step 4.4, delete the first In the first scene generation sequence of the sub-loopCorresponding toElements of (a) Will deletePost sequenceAssignment toDelete the firstIn the second scene generation sequence of the sub-loopCorresponding toMiddle element Will deletePost sequenceAssignment to
Step 4.5, if T '+Γ -1 is less than or equal to T', then T '+Γ is assigned to T',Assignment toAnd returning to the step 4.2 for sequential execution, otherwise, the sequence (X ', Y ') of renewable energy generation scenes taking the dual correlation characteristics into consideration is obtained, wherein the first renewable energy scene generation sequence X ' = { X ' (1), X ' (2), …, X ' (T ') …, X ' (T ') } and the second renewable energy scene generation sequence Y ' = { Y ' (1), Y ' (2), …, Y ' (T '), …, Y ' (T ') } are represented, X ' (T ') represents the output of the first renewable energy scene in the period T ', Y ' (T ') represents the output of the second renewable energy scene in the period T ', and T ' represents the total duration of the generation scenes (X ', Y ').
Claims (1)
1. A renewable energy source correlation scene generation method based on a Markov chain and a Copula function is characterized by comprising the following steps:
Step one, enabling a historical data sequence of a first renewable energy station to be Making the historical data sequence of the second renewable energy station beWherein x t is the historical output of the first renewable energy station in the t period, and y t is the historical output of the second renewable energy station in the t period; t h denotes the total sampling duration of the historical data;
Step two, based on the historical data sequences X and Y, a Markov chain scene generation method is used to obtain a first basic scene sequence X m and a second basic scene sequence Y m which meet the time sequence autocorrelation characteristic;
Step 2.1, uniformly dividing the output range of the renewable energy source into N state intervals, namely S= { S 1,s2,…,sn,…,sN }, wherein S n represents the nth state interval, and And s n is the upper and lower limits of the nth state interval, respectively;
step 2.2, dividing the historical data sequence X into ΛxΘ groups;
Step 2.2.1, dividing X into lambda groups according to seasonal characteristics, wherein lambda group historical data are recorded as X λ, lambda epsilon {1,2, …, lambda };
Step 2.2.2, uniformly dividing historical data X λ of a lambda-th group into theta-day characteristic groups according to different day characteristics, wherein any theta-th day characteristic group is marked as X λ,θ, theta epsilon {1,2, …, theta };
Step 2.3, defining and initializing a time period tau=1 in the basic scene, and enabling the output of the t' th time period in the basic scene of the first renewable energy station to be as follows And initializeFor x 1, letThe state interval is S (tau), S (tau) epsilon S; initializing λ=1, θ=1;
Step 2.4, calculating an accumulated transition probability matrix Q λ,θ of a theta day characteristic group X λ,θ in a lambda th group history number; wherein any ith row and jth column element Q λ,θ (i, j) in the cumulative transition probability matrix Q λ,θ represents the cumulative transition probability from state i to state j, i, j e S;
Step 2.5, randomly generating a random number epsilon obeying uniform distribution, wherein epsilon [0,1]; calculating the renewable energy output of tau+1 time period by using the formula (1) State interval s (τ+1):
Step 2.6, generating another [0,1] uniformly distributed random number epsilon', and calculating the renewable energy output in tau+1 time period by using the formula (2)
Step 2.7, updating lambda and theta:
step 2.7.1 if And mod (λ+1, Λ) +.Λ, then mod (λ+1, Λ) is assigned to λ; if it isAnd mod (λ+1, Λ) =Λ, then Λ is assigned to λ, where mod (a, b) represents the remainder operation; otherwise, sequentially executing the steps 2.7.2;
Step 2.7.2, if mod [ mod (τ, 24), 24/Θ ] =0 and mod (θ+1, Θ) +.Θ, assigning mod (θ+1, Θ) to θ; if mod [ mod (τ, 24), 24/Θ ] =0 and mod (θ+1, Θ) =Θ, then Θ is assigned to θ; otherwise, sequentially executing the step 2.8;
step 2.8, assigning τ+1 to τ, if τ > T, returning to step 2.4, otherwise, obtaining a first base scene sequence with time sequence autocorrelation characteristics Wherein T is the total duration of a Markov chain generated scene;
step 2.9, processing the historical data sequence Y according to the process from step 2.2 to step 2.8, thereby generating a second basic scene sequence with time sequence autocorrelation characteristics Wherein, Indicating the output of the t time period in Y m;
step three, generating a scene sequence containing variable cross-correlation characteristics by using a Copula function model based on the historical data sequences X and Y;
Step 3.1, constructing a binary group (X, Y), calculating an empirical Copula function (X, Y), selecting a theoretical Copula function with the smallest distance error by calculating the Euclidean distance between the theoretical Copula function and the empirical Copula function, and fitting the shape parameter of the theoretical Copula function with the smallest distance error to obtain a Copula function C (u, v) describing the output correlation of two renewable energy stations;
step 3.2, generating a binary random number sequence (U, V) with a value of [0,1] which has consistent correlation with a binary group (X, Y) by using a Copula function C (U, V);
step 3.3, performing inverse probability integral transformation on the binary random number sequence (U, V) with the value of [0,1] to obtain a first scene search sequence And a second scene search sequenceWherein, AndThe output of the kth period in the first scene search sequence and the output of the kth period in the second scene search sequence are respectively, K is the total duration of a Copula function generating scene, and K is more than T;
step four, obtaining a renewable energy station scene generation sequence (X ', Y') based on the sequences (X m,Ym) and (X c,Yc);
Step 4.1, taking a basic scene sequence (X m,Ym) as a basic sequence set, taking a scene search sequence (X c,Yc) as a search sequence set, and initializing a period t' =1; initializing a cycle counter Assign sequence (X c,Yc) to the firstSub-cyclic scene search sequence
Step 4.2, establishing an equal step length correlation scene search optimization model:
Step 4.2.1, establishing an objective function of the equal step-length correlation scene search optimization model by utilizing the step (3)
In the formula (3), t' is the current firstA starting period of scene generation in the sub-cycle, t' +Γ -1 is a termination period, Γ is a step length of scene searching; Is the first The first renewable energy scene in the sub-cycle generates the output of the ith period in sequence X',Is the firstThe output of the ith period in the second renewable energy station scene generation sequence Y' in the secondary cycle; And The output average values of the basic scene sequences X m and Y m are respectively; Pearson correlation coefficients for sequences X m and Y m;
Step 4.2.2, establishing constraint conditions of an equal step correlation scene search optimization model by using the formula (4) and the formula (5):
in the formulas (4) and (5), Representation ofThe value of (2) isThe (k i) th element of the (c) tree,Representation ofThe value of (2) isThe k i th element, k i and k j represent the kSearching decision variables of an optimization model by using a sub-loop medium step size correlation scene, wherein i, j is epsilon { t ', t ' +1, …, t ' +Γ -1};
Step 4.3, solving the equal step length correlation scene search optimization model to obtain the first step First scene generation sequence of sub-loopAnd (d)Second scene generation sequence of sub-loopWherein, Represent the firstThe magnitude of the output of the first renewable energy farm of the secondary cycle during period t',Represent the firstThe output of the second renewable energy station of the secondary cycle in the period t';
Step 4.4, delete the first In the first scene generation sequence of the sub-loopCorresponding toElements of (a) And will be deletedPost sequenceAssignment toDelete the firstIn the second scene generation sequence of the sub-loopCorresponding toMiddle elementAnd will be deletedPost sequenceAssignment to
Step 4.5, if T '+Γ -1 is less than or equal to T', then T '+Γ is assigned to T',Assignment toAnd returning to the step 4.2 for sequential execution, otherwise, the sequence (X ', Y ') of renewable energy generation scenes taking the dual correlation characteristics into consideration is obtained, wherein the first renewable energy scene generation sequence X ' = { X ' (1), X ' (2), …, X ' (T ') …, X ' (T ') } and the second renewable energy scene generation sequence Y ' = { Y ' (1), Y ' (2), …, Y ' (T '), …, Y ' (T ') } are represented, X ' (T ') represents the output of the first renewable energy scene in the period T ', Y ' (T ') represents the output of the second renewable energy scene in the period T ', and T ' represents the total duration of the generation scenes (X ', Y ').
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210448983.XA CN114841547B (en) | 2022-04-26 | 2022-04-26 | Renewable energy source correlation scene generation method based on Markov chain and Copula function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210448983.XA CN114841547B (en) | 2022-04-26 | 2022-04-26 | Renewable energy source correlation scene generation method based on Markov chain and Copula function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114841547A CN114841547A (en) | 2022-08-02 |
CN114841547B true CN114841547B (en) | 2024-09-06 |
Family
ID=82566729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210448983.XA Active CN114841547B (en) | 2022-04-26 | 2022-04-26 | Renewable energy source correlation scene generation method based on Markov chain and Copula function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114841547B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108564206A (en) * | 2018-03-27 | 2018-09-21 | 中国农业大学 | A kind of wind power forecasting method based on distributed optimization and spatial coherence |
CN108592824A (en) * | 2018-07-16 | 2018-09-28 | 清华大学 | A kind of frequency conversion fringe projection structural light measurement method based on depth of field feedback |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10448898B2 (en) * | 2015-07-14 | 2019-10-22 | Conduent Business Services, Llc | Methods and systems for predicting a health condition of a human subject |
CN107591800B (en) * | 2017-09-04 | 2020-01-17 | 国网江苏省电力公司南京供电公司 | Method for predicting running state of power distribution network with distributed power supply based on scene analysis |
CN109783841A (en) * | 2018-11-28 | 2019-05-21 | 河海大学 | A kind of photovoltaic power output time series analogy method based on more scene state transfer matrixes and conditional probability sampling |
CN113343491A (en) * | 2021-06-30 | 2021-09-03 | 东南大学 | Random scene analysis method considering time sequence autocorrelation and cross correlation |
CN114282336B (en) * | 2021-07-08 | 2024-08-16 | 国网青海省电力公司 | New energy power station output scene generation method and system |
-
2022
- 2022-04-26 CN CN202210448983.XA patent/CN114841547B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108564206A (en) * | 2018-03-27 | 2018-09-21 | 中国农业大学 | A kind of wind power forecasting method based on distributed optimization and spatial coherence |
CN108592824A (en) * | 2018-07-16 | 2018-09-28 | 清华大学 | A kind of frequency conversion fringe projection structural light measurement method based on depth of field feedback |
Also Published As
Publication number | Publication date |
---|---|
CN114841547A (en) | 2022-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110288136B (en) | Wind power multi-step prediction model establishment method | |
CN111260126B (en) | Short-term photovoltaic power generation prediction method considering correlation degree of weather and meteorological factors | |
CN113191918B (en) | Moon wind-solar power generation power scene analysis method based on time sequence generation countermeasure network | |
CN102709909B (en) | Active distribution network reliability estimation method when wind-power electricity generation accesses | |
CN110909911B (en) | Aggregation method of multidimensional time series data considering space-time correlation | |
CN107528350B (en) | A kind of wind power output typical scene generation method adapting to long -- term generation expansion planning | |
CN111401757A (en) | Multi-region power load time sequence scene modeling method considering time-space correlation | |
CN102129511A (en) | System for forecasting short-term wind speed of wind power station based on MATLAB | |
CN110516944A (en) | A kind of power distribution network multistage typical case's Run-time scenario generation method | |
CN112100911A (en) | Solar radiation prediction method based on deep BISLTM | |
CN111859283A (en) | Scene generation method considering multi-energy charge-time sequence and correlation | |
CN114792158A (en) | Multi-wind-farm short-term power prediction method based on space-time fusion graph neural network | |
CN116845875A (en) | WOA-BP-based short-term photovoltaic output prediction method and device | |
CN110084430A (en) | A method of considering space-time characterisation design distributed photovoltaic power output prediction model | |
CN112651576A (en) | Long-term wind power prediction method and device | |
CN116502074A (en) | Model fusion-based photovoltaic power generation power prediction method and system | |
Agga et al. | Convolutional neural network (cnn) extended architectures for photovoltaic power production forecasting | |
CN116894504A (en) | Wind power cluster power ultra-short-term prediction model establishment method | |
CN114841547B (en) | Renewable energy source correlation scene generation method based on Markov chain and Copula function | |
CN108694475B (en) | Short-time-scale photovoltaic cell power generation capacity prediction method based on hybrid model | |
CN118070010A (en) | Renewable energy scene generation method based on generation countermeasure network | |
CN113095596B (en) | Photovoltaic power prediction method based on multi-stage Gate-SA-TCN | |
CN113449466B (en) | Solar radiation prediction method and system for optimizing RELM based on PCA and chaos GWO | |
CN116776921A (en) | Solar radiation prediction method and device based on improved patch-index | |
CN113222216B (en) | Cold and hot electric load prediction method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |