CN110768294B - Random scheduling method and device for distributed power supply - Google Patents

Random scheduling method and device for distributed power supply Download PDF

Info

Publication number
CN110768294B
CN110768294B CN201911099312.1A CN201911099312A CN110768294B CN 110768294 B CN110768294 B CN 110768294B CN 201911099312 A CN201911099312 A CN 201911099312A CN 110768294 B CN110768294 B CN 110768294B
Authority
CN
China
Prior art keywords
random scheduling
distributed power
black box
random
model
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
Application number
CN201911099312.1A
Other languages
Chinese (zh)
Other versions
CN110768294A (en
Inventor
邓卓明
洪潮
周保荣
郭知非
姚文峰
苗璐
杨诚
黄东启
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Research Institute of Southern Power Grid Co Ltd
Original Assignee
Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Research Institute of Southern Power Grid Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd, Research Institute of Southern Power Grid Co Ltd filed Critical Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Priority to CN201911099312.1A priority Critical patent/CN110768294B/en
Publication of CN110768294A publication Critical patent/CN110768294A/en
Application granted granted Critical
Publication of CN110768294B publication Critical patent/CN110768294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/04Circuit arrangements for ac mains or ac distribution networks for connecting networks of the same frequency but supplied from different sources
    • H02J3/06Controlling transfer of power between connected networks; Controlling sharing of load between connected networks
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A30/00Adapting or protecting infrastructure or their operation
    • Y02A30/60Planning or developing urban green infrastructure

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a distributed power supply random scheduling method, which is suitable for intelligent buildings with distributed power supplies and comprises the following steps: establishing an original random scheduling model containing a distributed power supply for the intelligent building; acquiring an input variable and an output variable of a black box random scheduling model according to the original random scheduling model; describing an equality relation of the input variable and the output variable by adopting a tensor product to fit the black box random scheduling model; and solving the optimal solution of the black box random scheduling model based on Monte Carlo power sampling and scene random conversion scheme to obtain a random scheduling scheme. The invention also discloses a corresponding random scheduling device for the distributed power supply. By implementing the method, the random scheduling model can be effectively simplified, so that the calculation amount and the calculation difficulty can be effectively reduced in the process of obtaining the optimal solution of the random scheduling scheme, and the solution efficiency of the random scheduling is further improved.

Description

Random scheduling method and device for distributed power supply
Technical Field
The invention relates to the field of optimized scheduling of power systems, in particular to a distributed power supply random scheduling method and device.
Background
On a global scale, energy problems are a bottleneck that limits human exploration into the future and black technology to a great extent. Traditional fossil energy, such as oil, natural gas and the like, is increasingly difficult to exploit and difficult to meet the increasing energy demand of all mankind. The development of the distributed new energy power supply can relieve the tension of energy shortage. However, the generated energy of the new energy power generation source has certain uncertainty along with the change of factors such as weather, and the fluctuation may be relatively large, so that certain impact is brought to the scheduling of the electric energy, and the concept of random scheduling needs to be applied. In the aspect of power distribution networks, the traditional power distribution networks gradually develop towards intellectualization along with the impact of emerging industries such as artificial intelligence and smart power grids. The intelligent building can integrate a large amount of new forms of energy power generation sources such as photovoltaic board, fan etc. not only can satisfy the electric power demand of self, can also be when necessary to the electric wire netting reverse power transmission, alleviates the pressure of electric wire netting. Therefore, by utilizing the intelligent control of the intelligent building, the uncertainty of the new energy power generation can be fully considered, and the appropriate power system random scheduling scheme can be solved.
So far, the modeling and fitting of the new energy distributed power supply mainly adopts a power sampling scheme based on Monte Carlo and a random transformation scheme based on scenes, and scene transfer constraints are added in constraint conditions to link a plurality of scenes. However, in the process of implementing the invention, the inventor finds that the prior art has at least the following problems: in the prior art scheduling scheme, the calculation scale increases in multiple steps along with the increase of the number of sampling scenes, and the large-scale calculation thereof troubles many scheduling personnel. Even for high-dimensional (multiple distributed power) scenarios, no scheduling scheme can be obtained using the above approach. Therefore, for the distributed power supply of the intelligent building, an efficient random scheduling modeling scheme needs to be established so as to reduce the difficulty of solving as much as possible.
Disclosure of Invention
The embodiment of the invention aims to provide a distributed power supply random scheduling method and device, which can effectively simplify a random scheduling model, so that the calculation amount and the calculation difficulty can be effectively reduced in the process of obtaining the optimal solution of a random scheduling scheme, and the solution efficiency of random scheduling is further improved.
In order to achieve the above object, an embodiment of the present invention provides a distributed power supply random scheduling method, which is applicable to an intelligent building including a distributed power supply, and includes:
establishing an original random scheduling model containing a distributed power supply for the intelligent building; wherein the original stochastic scheduling model comprises a constraint condition and an objective function; the constraint conditions comprise a power flow equation, a distributed power supply model and variable upper and lower limit constraints;
acquiring an input variable and an output variable of a black box random scheduling model according to the original random scheduling model;
describing an equality relation of the input variable and the output variable by adopting a tensor product to fit the black box random scheduling model;
and solving the optimal solution of the black box random scheduling model based on Monte Carlo power sampling and scene random conversion scheme to obtain a random scheduling scheme.
As an improvement of the above scheme, the power flow equation is a classical polar coordinate node type equation, and specifically satisfies the following conditions:
Figure BDA0002269347020000021
Figure BDA0002269347020000022
wherein, PSi(t) and QSi(t) active power and reactive power injected by the distribution network, respectively; pGi(t) and QGi(t) active and reactive power, P, respectively, of the distributed power supply of the intelligent buildingLi(t) and QLi(t) active and reactive requirements of the intelligent building, respectively; pi c(t) and Pi d(t) is the charging power and the discharging power of the energy storage device of the intelligent building, respectively; qCi(t) is the reactive power provided by the intelligent building reactive power compensation device; vi(t) and Vj(t) is the voltage value of the intelligent building at the node i and the node j; deltaij(t) is the voltage phase angle difference between the intelligent building at the node i and the node j; pij(t) and Qij(t) active and reactive power, G, transmitted at nodes i and j, respectively, by the transformer branchesijThe self/mutual conductance of the ith row and the jth column of the node admittance matrix without the transformer branch; b isijThe self/mutual susceptances of the ith row and the jth column of the node admittance matrix without the transformer branch; sTRepresenting a set of on-load tap changers; n is a radical ofBThe number of the building nodes of the power distribution network.
As an improvement of the scheme, the model of the distributed power supply comprises a model of a new energy power generation source; the predicted output of the distributed power supply based on new energy follows normal distribution, and specifically meets the following requirements:
Figure BDA0002269347020000031
Figure BDA0002269347020000032
Figure BDA0002269347020000033
Figure BDA0002269347020000034
wherein the content of the first and second substances,
Figure BDA0002269347020000035
is the predicted contribution of the distributed power source of the new energy; ξ (t) is the prediction error of the distributed power supply of the new energy source, which follows a normal distribution N (μ, σ)2);
Figure BDA0002269347020000036
Is a power factor angle of the distributed power supply; rGiminAnd RGimaxRespectively, a lower limit and an upper limit of the climbing power of the distributed power supply.
As an improvement of the above scheme, the objective function is the sum of the network loss cost of the power distribution network, the power generation cost and the punished operation cost of the clean energy rejection, and specifically satisfies the following conditions:
J=C1+C2+C3
wherein, C1The network loss cost is the cost of the difference value of the generated energy and the electricity sales amount, and specifically meets the following requirements:
Figure BDA0002269347020000037
C2is the power generation cost, including the cost of main network electricity and fossil energy, specifically satisfies:
Figure BDA0002269347020000038
C3is the punishment of the abandonment of the clean energy, and specifically meets the following requirements:
Figure BDA0002269347020000041
wherein, CS(t) is the segmented real-time electricity prices for the distribution grid.
As an improvement of the above scheme, the obtaining of the input variable and the output variable of the black box stochastic scheduling model according to the original stochastic scheduling model specifically includes:
converting decision variables into uniform distribution subject to upper and lower limit constraints to obtain the input variables of the black box random scheduling model; wherein the decision variable comprises an active power output P of the distributed power supplyGi(t) reactive power QGi(t) charging power P of said energy storage devicei c(t) and discharge power P of the energy storage devicei d(t);
Obtaining the active power P injected into the power distribution networkSi(t) to obtain the output variable of the black box stochastic scheduling model.
As an improvement of the above scheme, the fitting of the black box stochastic scheduling model by describing an equality relationship between the input variable and the output variable by using a tensor product specifically includes:
defining two interpolation point sets U on each dimension of input variable1And U2
Calculating a tensor product of a sparse grid type according to the interpolation point set;
and transforming the tensor product of the sparse grid type by introducing adaptive dimensionality so as to fit the black box random scheduling model.
As an improvement of the above scheme, the interpolation point set U1And U2The method specifically comprises the following steps:
U1={0};
Figure BDA0002269347020000042
wherein m is the number of interpolation points of each dimension of the input variable, parameters A, B and C … are the interpolation points, and the value of the interpolation points is determined by obtaining an orthogonal polynomial and an order corresponding to the distribution characteristic of the input variable;
and calculating a sparse grid type tensor product according to the interpolation point set, wherein the formula is satisfied:
Figure BDA0002269347020000043
wherein the content of the first and second substances,
Figure BDA0002269347020000051
a column vector that is the output variable; i | ═ i1+i2+…+in,i1,i2,...,inInterpolation levels corresponding to 1,2, …, n-dimensional input variables, respectively; n is the total dimension of the input variables; p is a dimension equal to or greater than n.
As an improvement of the above scheme, the tensor product of the sparse grid type is modified by introducing adaptive dimensionality to fit the black box random scheduling model, and a formula is satisfied:
Figure BDA0002269347020000052
wherein the content of the first and second substances,
Figure BDA0002269347020000053
Figure BDA0002269347020000054
the total number of interpolation points related to the black box random scheduling model specifically meets the following requirements:
N=1+(m-1)·r=1+(m-1)·n;
and r is the number of the distributed power supplies of the intelligent building.
The embodiment of the invention also provides a distributed power supply random scheduling device, which comprises an original model establishing module, a variable acquiring module, a black box model fitting module and a scheduling scheme solving module; wherein the content of the first and second substances,
the original model establishing module is used for establishing an original random scheduling model containing a distributed power supply for the intelligent building; wherein the original stochastic scheduling model comprises a constraint condition and an objective function; the constraint conditions comprise a power flow equation, a distributed power supply model and variable upper and lower limit constraints;
the variable acquisition module is used for acquiring an input variable and an output variable of the black box random scheduling model according to the original random scheduling model;
the black box model fitting module is used for describing an equality relation of the input variable and the output variable by adopting a tensor product so as to fit the black box random scheduling model;
and the scheduling scheme solving module is used for solving the optimal solution of the black box random scheduling model based on Monte Carlo power sampling and scene random conversion scheme so as to obtain the random scheduling scheme.
The embodiment of the present invention further provides a distributed power supply random scheduling apparatus, which is characterized by comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the distributed power supply random scheduling method according to any one of the above items when executing the computer program.
Compared with the prior art, the distributed power supply random scheduling method and device disclosed by the invention have the advantages that the original random scheduling model is pre-established to obtain the input variable and the output variable of the black box random scheduling model, the black box random scheduling model is fitted by adopting the tensor product of the sparse grid and the adaptive dimensionality, and the optimal solution of the black box random scheduling model is solved based on the power sampling of Monte Carlo and the random transformation scheme of the scene to obtain the random scheduling scheme. The method can effectively simplify the random scheduling model, so that the calculation amount and the calculation difficulty can be effectively reduced in the process of obtaining the optimal solution of the random scheduling scheme, and the solution efficiency of the random scheduling is further improved.
Drawings
Fig. 1 is a schematic flowchart illustrating steps of a distributed power supply random scheduling method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of fitting a black box random scheduling model according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a distributed power supply random scheduling apparatus according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of another distributed power random scheduling apparatus according to a third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a schematic flowchart illustrating a step of a distributed power supply random scheduling method according to an embodiment of the present invention. The distributed power supply random scheduling method provided by the embodiment of the invention is suitable for intelligent buildings containing distributed power supplies, and comprises the following steps of S11-S14:
s11, establishing an original random scheduling model of the intelligent building containing the distributed power supply; wherein the original stochastic scheduling model comprises a constraint condition and an objective function; the constraint conditions comprise a power flow equation, a distributed power supply model and variable upper and lower limit constraints;
specifically, the power flow equation is a classical polar coordinate node type equation, and specifically satisfies the following conditions:
Figure BDA0002269347020000071
Figure BDA0002269347020000072
wherein, PSi(t) and QSi(t) active power and reactive power injected by the distribution network, respectively; pGi(t) and QGi(t) active and reactive power, P, respectively, of the distributed power supply of the intelligent buildingLi(t) and QLi(t) active and reactive requirements of the intelligent building, respectively; pi c(t) and Pi d(t) is the charging power and the discharging power of the energy storage device of the intelligent building, respectively; qCi(t) is the reactive power provided by the intelligent building reactive power compensation device; vi(t) and Vj(t) is the intelligent buildingVoltage values at node i and node j; deltaij(t) is the voltage phase angle difference between the intelligent building at the node i and the node j; pij(t) and Qij(t) active and reactive power, G, transmitted at nodes i and j, respectively, by the transformer branchesijThe self/mutual conductance of the ith row and the jth column of the node admittance matrix without the transformer branch; b isijThe self/mutual susceptances of the ith row and the jth column of the node admittance matrix without the transformer branch; sTRepresenting a set of on-load tap changers; n is a radical ofBThe number of the building nodes of the power distribution network.
The model of the distributed power supply comprises a model of a new energy power generation source; the predicted output of the distributed power supply based on new energy follows normal distribution, and specifically meets the following requirements:
Figure BDA0002269347020000073
Figure BDA0002269347020000074
Figure BDA0002269347020000075
Figure BDA0002269347020000081
wherein the content of the first and second substances,
Figure BDA0002269347020000082
is the predicted contribution of the distributed power source of the new energy; ξ (t) is the prediction error of the distributed power supply of the new energy source, which follows a normal distribution N (μ, σ)2);
Figure BDA0002269347020000083
Is a power factor angle of the distributed power supply; rGiminAnd RGimaxRespectively of said distributed power supplyA hill climbing power lower limit and an upper limit.
Further, the model of the distributed power supply also includes a model of a fossil energy power generation source, and in order to perfect the distributed power supply model of the intelligent building, the model of the fossil energy power generation source is further described herein, the output of the fossil energy-based distributed power supply is completely controllable within the rated power, but needs to bear the power generation cost and the climbing constraint:
Figure BDA0002269347020000084
Figure BDA0002269347020000085
Figure BDA0002269347020000086
Figure BDA0002269347020000087
wherein
Figure BDA0002269347020000088
Is the rated power of the fossil energy distributed power source.
Furthermore, variables contained in an original random scheduling model of the intelligent building containing the distributed power supply, including random variables or decision variables and the like, are subject to upper and lower limit constraints, and the upper and lower limit constraints contain upper limits and lower limits of all the variables.
The objective function is the sum of the network loss cost of the power distribution network, the power generation cost and the operation cost of punishment of abandoning clean energy, and specifically satisfies the following conditions:
J=C1+C2+C3
wherein, C1The network loss cost is the cost of the difference value of the generated energy and the electricity sales amount, and specifically meets the following requirements:
Figure BDA0002269347020000089
C2is the power generation cost, including the cost of main network electricity and fossil energy, specifically satisfies:
Figure BDA00022693470200000810
C3is the punishment of the abandonment of the clean energy, and specifically meets the following requirements:
Figure BDA0002269347020000091
wherein, CS(t) is the segmented real-time electricity prices for the distribution grid.
S12, acquiring an input variable and an output variable of the black box random scheduling model according to the original random scheduling model;
specifically, a decision variable is converted into uniform distribution subject to upper and lower limit constraints, so as to obtain the input variable of the black box random scheduling model; wherein the decision variable comprises an active power output P of the distributed power supplyGi(t) reactive power QGi(t) charging power P of said energy storage devicei c(t) and discharge power P of the energy storage devicei d(t);
Obtaining the active power P injected into the power distribution networkSi(t) to obtain the output variable of the black box stochastic scheduling model. To minimize the objective function, P isSi(t) is selected as the output variable.
By way of example, the charging power P of the energy storage device of the intelligent buildingi c(t) is converted into uniform distribution subject to upper and lower limit constraints, and specifically comprises the following steps:
Figure BDA0002269347020000092
wherein the content of the first and second substances,
Figure BDA0002269347020000093
and obeys uniform distribution.
Figure BDA0002269347020000094
And
Figure BDA0002269347020000095
respectively an upper limit and a lower limit of the charging power of the energy storage device.
It will be appreciated that the remaining decision variables include the active power contribution P of the distributed power supplyGi(t) reactive power QGi(t) and discharge power P of the energy storage devicei d(t) also translates to a uniform distribution subject to upper and lower bound constraints and serves as the input variable for the black box.
And S13, describing the equation relation of the input variable and the output variable by adopting a tensor product to fit the black box random scheduling model. Referring to fig. 2, a schematic flow chart of the steps of fitting the black box random scheduling model in the first embodiment of the present invention specifically includes steps S21 to S23:
s21, defining two interpolation point sets U on each dimension of input variable1And U2
S22, calculating a sparse grid type tensor product according to the interpolation point set;
s23, transforming the tensor product of the sparse grid type by introducing adaptive dimensionality to fit the black box random scheduling model.
In particular, the set of interpolation points U1And U2The method specifically comprises the following steps:
U1={0};
Figure BDA0002269347020000101
wherein m is the number of interpolation points of each dimension of the input variable, parameters A, B and C … are the interpolation points, and the value of the interpolation points is determined by obtaining an orthogonal polynomial and an order corresponding to the distribution characteristic of the input variable;
specifically, referring to table 1, the distribution characteristics of the input variables correspond to the orthogonal polynomials, the corresponding orthogonal polynomials are obtained by determining the distribution characteristics of the input variables, and the corresponding orders are determined according to the number of interpolation points of each dimension of the input variables, so as to calculate the values of the interpolation points a, B, and C …. For example, when the distribution characteristic of the input variable is Normal, the corresponding orthogonal polynomial is Hermite, and assuming that the number m of interpolation points of each dimension of the input variable is 3, the corresponding order is 3, and searching for the Hermite polynomial of 3 th order can be known as H3(x)=8x312x, calculated H3(x) Zero point of (a) is 0 and
Figure BDA0002269347020000102
calculating the interpolation point according to the correspondence
Figure BDA0002269347020000103
And increasing the value of m to calculate the values of other different interpolation points, so as to calculate the interpolation point set.
TABLE 1 orthogonal polynomials to profiles of input variables
Figure BDA0002269347020000104
It should be understood that the above scenario is only an example, and in practical applications, the corresponding orthogonal polynomial may be selected according to distribution characteristics of different input variables, and the interpolation point set is calculated according to a corresponding order, which is not limited herein.
Step S22 specifically satisfies the formula:
Figure BDA0002269347020000111
wherein the content of the first and second substances,
Figure BDA0002269347020000112
a column vector that is the output variable; i | ═ i1+i2+…+in,i1,i2,...,inInterpolation levels corresponding to 1,2, …, n-dimensional input variables, respectively; n is the total dimension of the input variables; p is a dimension equal to or greater than n.
Further, by introducing adaptive dimensionality, the process of reconstructing the tensor product of the sparse grid type is specifically as follows:
introducing a variable r to replace p ═ r +1 and n ═ r, wherein r is the number of distributed power supplies of the intelligent building, and r ═ n is more than or equal to 2, and | > r | ≧ n ≧ 2, and substituting to obtain an equation (1) as follows:
Figure BDA0002269347020000113
the summation process of the above equation contains 2 types: i.e., i | ═ r and i | ═ r + 1:
when | i | ═ r ═ n, by definition | i | ═ i | >1+i2+…+inAvailable i1=i2=…=in1. The summation term of equation (1) relating to i | ═ r ═ n is:
Figure BDA0002269347020000114
when | i | ═ r +1 ═ n +1, by definition | i | ═ i | >1+i2+…+inCan know that i1,i2,...,inThere are certainly one term of 2 and the rest are all 1. Thus, assume ix2 and ij1(j ═ 1, 2.., r, and j ≠ x), then the summation term of equation (1) involving | i | ═ r +1 ═ n +1 is:
Figure BDA0002269347020000121
ix2 and ij1(j ═ 1, 2.., r and j ≠ g)x) there are actually r combinations. Therefore, the formula (1) relates to a summation of | i | ═ r +1 ═ n +1, and r combinations described above need to be superimposed in total.
Combining the two situations, the formula (1) is specifically as follows:
Figure BDA0002269347020000122
thereby obtaining the black box random scheduling model. The total number of interpolation points related to the black box random scheduling model specifically meets the following requirements:
N=1+(m-1)·r=1+(m-1)·n;
and r is the number of the distributed power supplies of the intelligent building.
S14, solving the optimal solution of the black box random scheduling model based on Monte Carlo power sampling and scene random conversion scheme to obtain a random scheduling scheme.
The Monte Carlo-based power sampling and scene-based random conversion scheme is characterized in that a large number of scenes including a plurality of output conditions of random output power are extracted, and a sampling scene transfer constraint is added in a constraint condition to link a plurality of sampling scenes, so that the optimal solution of the black box random scheduling model is solved, and the random scheduling scheme is obtained.
By way of example, an intelligent building comprises three distributed power supplies with rated power of 300kW and adjustable power factor in the range of 0.95 to 1, a diesel generator with rated power of 500kW, an energy storage device with capacity of 800kWh and charging and discharging efficiency of 0.95, and a plurality of reactive power compensation devices. The black box random scheduling model of the intelligent building is constructed through the method, in the fitting process, the random variables are normally distributed, the decision variables are uniformly distributed, and according to the distribution characteristics of the input variables and the number of interpolation points of each dimension, 11-order Hermite polynomial and 11-order Legendre polynomial are used. Referring to table 2, the black box stochastic scheduling model and the original stochastic scheduling model are compared in terms of the computation time and the operating cost of the scheduling scheme required in the case of involving 100, 1000, 5000 and 10000 sampling scenarios, using Monte Carlo-based power sampling and scenario-based conversion schemes.
TABLE 2 calculation time and operating costs of two scheduling models
Figure BDA0002269347020000131
As can be seen from table 2, in each sampling scenario, the scheduling scheme obtained by using the black box random scheduling model has shorter calculation time, higher efficiency, and lower operation cost compared to the scheduling scheme using the original random scheduling model. Particularly, when the sampling scene reaches 10000, the original scheduling model cannot be solved to obtain a scheduling scheme, and the black box random scheduling model still obtains a corresponding scheduling scheme within acceptable calculation time. This shows that the scheduling method of the black box random scheduling model can be more suitable for the scheduling model with a larger scale, and the solving efficiency is also higher.
The distributed power supply random scheduling method provided by the embodiment of the invention obtains the input variable and the output variable of the black box random scheduling model by pre-establishing an original random scheduling model, adopts the tensor product of a sparse grid and a self-adaptive dimension to fit the black box random scheduling model, and solves the optimal solution of the black box random scheduling model based on the power sampling of Monte Carlo and the random conversion scheme of a scene to obtain the random scheduling scheme. The method can effectively simplify the random scheduling model, so that the calculation amount and the calculation difficulty can be effectively reduced in the process of obtaining the optimal solution of the random scheduling scheme, and the solution efficiency of the random scheduling is further improved.
Example two
Referring to fig. 3, which is a schematic structural diagram of a distributed power supply random scheduling apparatus in the second embodiment of the present invention, the second embodiment of the present invention further provides a distributed power supply random scheduling apparatus 20, which includes an original model building module 21, a variable obtaining module 22, a black box model fitting module 23, and a scheduling scheme solving module 24.
The original model establishing module 21 is used for establishing an original random scheduling model containing a distributed power supply for the intelligent building; wherein the original stochastic scheduling model comprises a constraint condition and an objective function; the constraint conditions comprise a power flow equation, a distributed power supply model and variable upper and lower limit constraints;
the variable obtaining module 22 is configured to obtain an input variable and an output variable of the black box random scheduling model according to the original random scheduling model;
the black box model fitting module 23 is configured to describe an equality relationship between the input variable and the output variable by using a tensor product, so as to fit the black box random scheduling model;
and the scheduling scheme solving module 24 is configured to solve an optimal solution of the black box random scheduling model based on Monte Carlo power sampling and a scene random conversion scheme to obtain a random scheduling scheme.
It should be noted that, the distributed power supply random scheduling apparatus provided in the embodiment of the present invention is configured to execute all the process steps of the distributed power supply random scheduling method in the above embodiment, and working principles and beneficial effects of the two are in one-to-one correspondence, so that details are not described again.
The distributed power supply random scheduling device provided by the embodiment of the invention obtains the input variable and the output variable of the black box random scheduling model by pre-establishing an original random scheduling model, adopts the tensor product of the sparse grid and the self-adaptive dimensionality to fit the black box random scheduling model, and solves the optimal solution of the black box random scheduling model based on the power sampling of Monte Carlo and the random transformation scheme of the scene to obtain the random scheduling scheme. The method can effectively simplify the random scheduling model, so that the calculation amount and the calculation difficulty can be effectively reduced in the process of obtaining the optimal solution of the random scheduling scheme, and the solution efficiency of the random scheduling is further improved.
EXAMPLE III
Fig. 4 is a schematic structural diagram of another distributed power random scheduling apparatus in the third embodiment of the present invention. The third embodiment of the present invention provides a distributed power random scheduling apparatus 30, which includes a processor 31, a memory 32, and a computer program stored in the memory and configured to be executed by the processor, for example, a program fitting the black box random scheduling model method. The processor, when executing the computer program, implements the steps of the method embodiment for fitting the black box stochastic scheduling model described above, such as steps S21-S23 shown in fig. 2. Alternatively, the processor implements the functions of the modules in the embodiments of the apparatuses described above when executing the computer program, for example, the random scheduling apparatus for distributed power supplies according to the second embodiment.
Illustratively, the computer program may be divided into one or more modules, which are stored in the memory 32 and executed by the processor 31 to accomplish the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the distributed power random scheduling apparatus 30. For example, the computer program may be divided into an original model building module 21, a variable obtaining module 22, a black box model fitting module 23, and a scheduling scheme solving module 24; the specific functions of each module are as follows:
the original model establishing module 21 is used for establishing an original random scheduling model containing a distributed power supply for the intelligent building; wherein the original stochastic scheduling model comprises a constraint condition and an objective function; the constraint conditions comprise a power flow equation, a distributed power supply model and variable upper and lower limit constraints;
the variable obtaining module 22 is configured to obtain an input variable and an output variable of the black box random scheduling model according to the original random scheduling model;
the black box model fitting module 23 is configured to describe an equality relationship between the input variable and the output variable by using a tensor product, so as to fit the black box random scheduling model;
and the scheduling scheme solving module 24 is configured to solve an optimal solution of the black box random scheduling model based on Monte Carlo power sampling and a scene random conversion scheme to obtain a random scheduling scheme.
The distributed power supply random scheduling apparatus 30 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or other computing devices. The distributed power random scheduling device 30 may include, but is not limited to, a processor 31 and a memory 32. Those skilled in the art will appreciate that the schematic diagram is merely an example of the distributed power random scheduling apparatus 30, and does not constitute a limitation to the distributed power random scheduling apparatus 30, and may include more or less components than those shown, or combine some components, or different components, for example, the distributed power random scheduling apparatus 30 may further include an input-output device, a network access device, a bus, etc.
The Processor 31 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor, and the processor 31 is a control center of the distributed power supply random scheduling apparatus 30, and various interfaces and lines are used to connect various parts of the entire distributed power supply random scheduling apparatus 30.
The memory 32 may be used to store the computer programs and/or modules, and the processor may implement the various functions of the distributed power random access scheduling apparatus 30 by running or executing the computer programs and/or modules stored in the memory and calling the data stored in the memory. The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 32 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The modules integrated by the distributed power random scheduling apparatus 30 may be stored in a computer readable storage medium if they are implemented in the form of software functional units and sold or used as independent products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
It should be noted that the above-described embodiments of the distributed power random scheduling apparatus are merely illustrative, where the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (7)

1. A distributed power supply random scheduling method is suitable for intelligent buildings with distributed power supplies, and is characterized by comprising the following steps:
establishing an original random scheduling model containing a distributed power supply for the intelligent building; wherein the original stochastic scheduling model comprises a constraint condition and an objective function; the constraint conditions comprise a power flow equation, a distributed power supply model and variable upper and lower limit constraints;
acquiring an input variable and an output variable of a black box random scheduling model according to the original random scheduling model;
describing an equality relation of the input variable and the output variable by adopting a tensor product to fit the black box random scheduling model;
solving the optimal solution of the black box random scheduling model based on Monte Carlo power sampling and scene random conversion scheme to obtain a random scheduling scheme;
the equation relationship between the input variable and the output variable is described by using a tensor product to fit the black box random scheduling model, and the method specifically comprises the following steps:
defining two interpolation point sets U on each dimension of input variable1And U2
Calculating a tensor product of a sparse grid type according to the interpolation point set;
transforming tensor products of the sparse grid type by introducing adaptive dimensionality to fit the black box random scheduling model;
the interpolation point set U1And U2The method specifically comprises the following steps:
U1={0};
Figure FDA0002716877450000011
wherein m is the number of interpolation points of each dimension of the input variable, parameters A, B and C … are the interpolation points, and the value of the interpolation points is determined by obtaining an orthogonal polynomial and an order corresponding to the distribution characteristic of the input variable;
and calculating a sparse grid type tensor product according to the interpolation point set, wherein the formula is satisfied:
Figure FDA0002716877450000021
wherein the content of the first and second substances,
Figure FDA0002716877450000022
a column vector that is the output variable; i | ═ i1+i2+…+in,i1,i2,...,inInterpolation levels corresponding to 1,2, …, n-dimensional input variables, respectively; n is the total dimension of the input variables; p is a dimension greater than or equal to n;
and transforming the tensor product of the sparse grid type by introducing adaptive dimensionality to fit the black box random scheduling model, so as to satisfy the formula:
Figure FDA0002716877450000023
wherein the content of the first and second substances,
Figure FDA0002716877450000024
Figure FDA0002716877450000025
the total number of interpolation points related to the black box random scheduling model specifically meets the following requirements:
N=1+(m-1)·r=1+(m-1)·n;
and r is the number of the distributed power supplies of the intelligent building.
2. The distributed power supply random scheduling method of claim 1, wherein the power flow equation is a classical polar node type equation, and specifically satisfies:
Figure FDA0002716877450000026
Figure FDA0002716877450000031
wherein, PSi(t) and QSi(t) active power and reactive power injected by the distribution network, respectively; pGi(t) and QGi(t) active and reactive power, P, respectively, of the distributed power supply of the intelligent buildingLi(t) and QLi(t) active and reactive requirements of the intelligent building, respectively; pi c(t) and Pi d(t) is the charging power and the discharging power of the energy storage device of the intelligent building, respectively; qCi(t) is the reactive power provided by the intelligent building reactive power compensation device; vi(t) and Vj(t) is the voltage value of the intelligent building at the node i and the node j; deltaij(t) is the voltage phase angle difference between the intelligent building at the node i and the node j; pij(t) and Qij(t) active and reactive power, G, transmitted at nodes i and j, respectively, by the transformer branchesijThe self/mutual conductance of the ith row and the jth column of the node admittance matrix without the transformer branch; b isijThe self/mutual susceptances of the ith row and the jth column of the node admittance matrix without the transformer branch; sTRepresenting a set of on-load tap changers; n is a radical ofBThe number of the building nodes of the power distribution network.
3. The distributed power random scheduling method of claim 2 wherein the model of the distributed power source comprises a model of a new energy generation source; the predicted output of the distributed power supply based on new energy follows normal distribution, and specifically meets the following requirements:
Figure FDA0002716877450000032
Figure FDA0002716877450000033
Figure FDA0002716877450000034
Figure FDA0002716877450000035
wherein the content of the first and second substances,
Figure FDA0002716877450000036
is the predicted contribution of the distributed power source of the new energy; ξ (t) is the prediction error of the distributed power supply of the new energy source, which follows a normal distribution N (μ, σ)2);
Figure FDA0002716877450000037
Is a power factor angle of the distributed power supply; rGiminAnd RGimaxRespectively, a lower limit and an upper limit of the climbing power of the distributed power supply.
4. The distributed power supply random scheduling method according to claim 3, wherein the objective function is the sum of the network loss cost, the power generation cost and the operation cost of punishment of the rejection of clean energy of the power distribution network, and specifically satisfies the following conditions:
J=C1+C2+C3
wherein, C1The network loss cost is the cost of the difference value of the generated energy and the electricity sales amount, and specifically meets the following requirements:
Figure FDA0002716877450000041
C2is the power generation cost, including the cost of main network electricity and fossil energy, specifically satisfies:
Figure FDA0002716877450000042
C3is the punishment of the abandonment of the clean energy, and specifically meets the following requirements:
Figure FDA0002716877450000043
wherein, CS(t) is the segmented real-time electricity prices for the distribution grid.
5. The distributed power random scheduling method of claim 4, wherein the obtaining of the input variable and the output variable of the black box random scheduling model according to the original random scheduling model specifically comprises:
converting decision variables into uniform distribution subject to upper and lower limit constraints to obtain the input variables of the black box random scheduling model; wherein the decision variable comprises an active power output P of the distributed power supplyGi(t) reactive power QGi(t) charging power P of said energy storage devicei c(t) and discharge power P of the energy storage devicei d(t);
Obtaining the active power P injected into the power distribution networkSi(t) to obtain the output variable of the black box stochastic scheduling model.
6. A distributed power supply random scheduling device is characterized by comprising an original model establishing module, a variable acquiring module, a black box model fitting module and a scheduling scheme solving module; wherein the content of the first and second substances,
the original model establishing module is used for establishing an original random scheduling model containing a distributed power supply for the intelligent building; wherein the original stochastic scheduling model comprises a constraint condition and an objective function; the constraint conditions comprise a power flow equation, a distributed power supply model and variable upper and lower limit constraints;
the variable acquisition module is used for acquiring an input variable and an output variable of the black box random scheduling model according to the original random scheduling model;
the black box model fitting module is used for describing an equality relation of the input variable and the output variable by adopting a tensor product so as to fit the black box random scheduling model;
the scheduling scheme solving module is used for solving the optimal solution of the black box random scheduling model based on Monte Carlo power sampling and scene random conversion scheme to obtain a random scheduling scheme;
wherein, the black box model fitting module is specifically configured to:
defining two interpolation point sets U on each dimension of input variable1And U2
Calculating a tensor product of a sparse grid type according to the interpolation point set;
transforming tensor products of the sparse grid type by introducing adaptive dimensionality to fit the black box random scheduling model;
the interpolation point set U1And U2The method specifically comprises the following steps:
U1={0};
Figure FDA0002716877450000051
wherein m is the number of interpolation points of each dimension of the input variable, parameters A, B and C … are the interpolation points, and the value of the interpolation points is determined by obtaining an orthogonal polynomial and an order corresponding to the distribution characteristic of the input variable;
and calculating a sparse grid type tensor product according to the interpolation point set, wherein the formula is satisfied:
Figure FDA0002716877450000052
wherein the content of the first and second substances,
Figure FDA0002716877450000053
a column vector that is the output variable; i | ═ i1+i2+…+in,i1,i2,...,inInterpolation levels corresponding to 1,2, …, n-dimensional input variables, respectively; n is the total dimension of the input variables; p is a dimension greater than or equal to n;
and transforming the tensor product of the sparse grid type by introducing adaptive dimensionality to fit the black box random scheduling model, so as to satisfy the formula:
Figure FDA0002716877450000061
wherein the content of the first and second substances,
Figure FDA0002716877450000062
Figure FDA0002716877450000063
the total number of interpolation points related to the black box random scheduling model specifically meets the following requirements:
N=1+(m-1)·r=1+(m-1)·n;
and r is the number of the distributed power supplies of the intelligent building.
7. A distributed power random scheduling apparatus comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the distributed power random scheduling method of any one of claims 1 to 5 when executing the computer program.
CN201911099312.1A 2019-11-12 2019-11-12 Random scheduling method and device for distributed power supply Active CN110768294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911099312.1A CN110768294B (en) 2019-11-12 2019-11-12 Random scheduling method and device for distributed power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911099312.1A CN110768294B (en) 2019-11-12 2019-11-12 Random scheduling method and device for distributed power supply

Publications (2)

Publication Number Publication Date
CN110768294A CN110768294A (en) 2020-02-07
CN110768294B true CN110768294B (en) 2021-02-26

Family

ID=69337561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911099312.1A Active CN110768294B (en) 2019-11-12 2019-11-12 Random scheduling method and device for distributed power supply

Country Status (1)

Country Link
CN (1) CN110768294B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100821B (en) * 2020-08-26 2022-03-22 西北工业大学 Robustness optimization design method of photovoltaic cell

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003331128A (en) * 2002-05-15 2003-11-21 Toshiba Corp Evaluation system for derivative security and price evaluating method for derivative security
CN108599239A (en) * 2018-04-27 2018-09-28 西安理工大学 A kind of droop control type isolated island micro-capacitance sensor voltage quality probability evaluation method of failure

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159072A (en) * 2015-08-17 2015-12-16 宁波伟吉电力科技有限公司 Stochastic-programming non-deterministic scheduling model-based scheduling method
CN108564658A (en) * 2018-05-03 2018-09-21 宁德师范学院 A kind of gradual three-dimensional entity model structure system and method based on reverse-engineering
CN108964103B (en) * 2018-07-27 2021-11-05 广州穗华能源科技有限公司 Microgrid energy storage configuration method considering schedulability of microgrid system
CN109546646A (en) * 2018-11-19 2019-03-29 南方电网科学研究院有限责任公司 A kind of region power spot market distributing goes out clearing method, device, equipment and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003331128A (en) * 2002-05-15 2003-11-21 Toshiba Corp Evaluation system for derivative security and price evaluating method for derivative security
CN108599239A (en) * 2018-04-27 2018-09-28 西安理工大学 A kind of droop control type isolated island micro-capacitance sensor voltage quality probability evaluation method of failure

Also Published As

Publication number Publication date
CN110768294A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
Kourounis et al. Toward the next generation of multiperiod optimal power flow solvers
US9953117B2 (en) Planning economic energy dispatch in electrical grid under uncertainty
US9964980B2 (en) Method and apparatus for optimal power flow with voltage stability for large-scale electric power systems
CN108390393B (en) Multi-target reactive power optimization method for power distribution network and terminal equipment
Samet et al. Analytic time series load flow
Zhang et al. Feasibility identification and computational efficiency improvement for two-stage RUC with multiple wind farms
CN112736918B (en) Two-stage optimization scheduling method, device and equipment for source storage and load coordination in micro-grid
CN109272353A (en) Meter and integration requirement, which respond probabilistic system dynamic probability, can flow analysis method
CN113241759A (en) Power distribution network and multi-microgrid robust scheduling method, electronic equipment and storage medium
CN115146872A (en) Flexible aggregation method, device, equipment and medium for adjustable resources in power distribution network
CN115313519A (en) Power distribution network energy storage optimal configuration method, device, equipment and storage medium
CN110768294B (en) Random scheduling method and device for distributed power supply
CN113268698A (en) New energy consumption capacity optimization method and device of comprehensive energy system and terminal equipment
Zavala et al. Computational and economic limitations of dispatch operations in the next-generation power grid
CN109615151B (en) Load energy storage double-optimization prediction method, device and medium
Ahmed et al. Optimal transmission switching based on probabilistic load flow in power system with large-scale renewable energy integration
Carvalho et al. Predispatch of hydroelectric power systems with modifications in network topologies
CN115360768A (en) Power scheduling method and device based on muzero and deep reinforcement learning and storage medium
CN114692994A (en) Balanced optimization device based on electric power green certificate market combined clearing model
CN110417020B (en) Load flow calculation method and system for comprehensive energy system for processing non-smooth constraint
Alshamrani et al. A joint optimization model for transmission capacity and wind power investment considering system security
CN113507124A (en) Energy internet fast scheduling method and device based on sequence convex optimization
CN108009665A (en) A kind of optimal load flow Optimized model for considering flexible electric load
CN115800286A (en) Fully distributed direct current optimal power flow method, device, equipment and medium
CN112039122B (en) Planning method and device for designing distributed power supply grid connection based on power grid access capacity

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