CN107453407B - Intelligent micro-grid distributed energy scheduling method - Google Patents

Intelligent micro-grid distributed energy scheduling method Download PDF

Info

Publication number
CN107453407B
CN107453407B CN201710535081.9A CN201710535081A CN107453407B CN 107453407 B CN107453407 B CN 107453407B CN 201710535081 A CN201710535081 A CN 201710535081A CN 107453407 B CN107453407 B CN 107453407B
Authority
CN
China
Prior art keywords
energy
max
time slot
constraint
algorithm
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
CN201710535081.9A
Other languages
Chinese (zh)
Other versions
CN107453407A (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.)
Donghua University
Original Assignee
Donghua University
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 Donghua University filed Critical Donghua University
Priority to CN201710535081.9A priority Critical patent/CN107453407B/en
Publication of CN107453407A publication Critical patent/CN107453407A/en
Application granted granted Critical
Publication of CN107453407B publication Critical patent/CN107453407B/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/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • H02J3/46Controlling of the sharing of output between the generators, converters, or transformers
    • 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/28Arrangements for balancing of the load in a network by storage of energy
    • 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/28Arrangements for balancing of the load in a network by storage of energy
    • H02J3/32Arrangements for balancing of the load in a network by storage of energy using batteries with converting means
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P80/00Climate change mitigation technologies for sector-wide applications
    • Y02P80/10Efficient use of energy, e.g. using compressed air or pressurized fluid as energy carrier
    • Y02P80/14District level solutions, i.e. local energy networks

Abstract

The invention provides an intelligent micro-grid distributed energy scheduling method, which comprises the steps of firstly analyzing an intelligent micro-grid distributed energy scheduling system and establishing a corresponding system model; then, analyzing the established system model, and deducing corresponding constraint conditions and a target function; according to the objective function and the constraint condition, carrying out cost optimization by scaling and using a Lyapunov framework and establishing long-time average constraint; carrying out distributed algorithm research on the target function; and finally, establishing an ADMM algorithm framework, and calculating to obtain the optimal solution of the distributed algorithm. The invention aims at optimizing the output cost of power energy scheduling to carry out real-time distributed scheduling, gradually optimizes along with the increase of storage capacity and the loosening of slope constraint of the traditional generator, can independently optimize each large cogeneration and aggregator, has fast convergence speed in distributed realization, and can realize nearly optimal performance in a wide storage capacity range.

Description

Intelligent micro-grid distributed energy scheduling method
Technical Field
The invention relates to a real-time distributed scheduling algorithm aiming at optimizing the output cost of power energy scheduling, and belongs to the technical field of intelligent micro-grid distributed energy scheduling.
Background
Energy is the foundation on which development and production can be realized in the world at present, and electric power resources are the most convenient and clean energy development form and are the important supporting points for developing economy in the current country. As environmental problems increase, more and more renewable energy sources, such as wind energy, solar energy, etc., are incorporated into the power grid. For example, the goal of the european union committee is: 20% of renewable energy is brought into the energy interests of the european union by the year 2020, and california plans to achieve 33% of the retail amount of renewable energy by the year 2020.
Renewable energy sources are often intermittent, have limited scheduling capabilities, and thus, their large-scale integration may upset the supply-demand balance, affecting the reliability of the system. Under such circumstances, many countries in the world are oriented to coherent technical categories such as distributed power generation using various renewable energy sources. An important feature of distributed power generation technology is that: flexibility: is economical and environment-friendly.
In terms of technology and feasibility of large cogeneration, it is required to meet large heat or cold demand, and it is required that the local demand for heat must be large enough to evaluate the scale of large cogeneration, and that the heat load is constant every season, so that it is ensured that the large cogeneration system can operate at full load most of the time. Efficiency must be reduced if operating at low load. Yet another requirement is that: the large-scale cogeneration needs to be consistent with the characteristics of heat load, and the fuel needs to have easy availability, mainly considering the uninterrupted supply characteristics of the fuel. Some countries in europe and some countries in north america are now widely used in large cogeneration systems for natural gas, and therefore the technology is relatively practicable and reliable. In the aspect of application, large-scale cogeneration needs to have a relatively proper price and be connected with a power grid, and the premise is that a supply position with a heat load demand has the power grid, so that the proper and expected prices of prepared power and supplemented insufficient power can be obtained, the flexibility of the large-scale cogeneration can be increased to a certain extent, excessive redundant power can be sold, the economic source can be increased, and the economy of the large-scale cogeneration can be improved.
The large-scale integration of cogeneration may cause unstable energy output and directly affect the reliability of the grid. In studying the power balance problem, the following problems are included: (1) supply management; (2) managing the demand; (3) battery storage management; (4) a random problem; (5) slope constraint; (6) a real-time algorithm; (7) a distributed algorithm. Considering a general power grid provided by a conventional generator and a plurality of large cogeneration systems, each large cogeneration system is connected to one heat storage tank and to an external power market. The aggregator operates the grid to ensure operation of the grid by coordinating the supply units, demand units and thermal storage tanks to maintain a power balance between supply and demand. Considering the problems of power balance, storage and flexible load of a common combined heat and power generation comprehensive power grid, how to reduce the long-term system cost as much as possible, get rid of the limitation on operation and improve the service quality of inflammable loads is a difficult problem which is solved by the technical personnel in the field.
Disclosure of Invention
The invention aims to solve the technical problems of power balance, storage and flexible load of a common combined heat and power generation comprehensive power grid, reduce the long-term system cost as much as possible when performing real-time distributed scheduling, loosen the limitation of the slope constraint requirement of the traditional generator and enable each large combined heat and power generation system and a aggregator to be independently optimized and controlled.
In order to solve the technical problem, the technical scheme of the invention is to provide an intelligent micro-grid distributed energy scheduling method, which is characterized by comprising the following 5 steps:
step 1: analyzing the intelligent micro-grid distributed energy scheduling system, and establishing a corresponding system model;
step 2: analyzing the established system model, and deducing corresponding constraint conditions and a target function;
and step 3: according to the objective function and the constraint condition, carrying out cost optimization by scaling and using a Lyapunov framework and establishing long-time average constraint;
and 4, step 4: carrying out distributed algorithm research on the target function;
and 5: and establishing an ADMM alternative direction multiplier algorithm framework, and calculating to obtain the optimal solution of the distributed algorithm.
Preferably, in step 1, the system model includes: the system comprises a traditional generator CG, a aggregator, a flexible load, a base load, a heat load, an external energy market and a plurality of cogeneration CHPs, wherein the aggregator is connected with the traditional generator, the flexible load, the base load, the external energy market and the plurality of cogeneration, the cogeneration is connected with an external natural gas supply and the heat load, and each cogeneration corresponds to a heat storage tank.
Preferably, in step 2, a power grid is considered to be composed of CG and N CHPs, N being a positive integer, each CHP being connected to an on-site heat storage tank, the power grid being connected to an external energy market and operated by an aggregator responsible for satisfying loads by managing energy from various sources; suppose the system operates in discrete time with time slots t e {0, 1, 2. }; for symbol simplicity, energy units are used instead of power units;
(1) loading: loads include foundation, compliance and thermal loads; the base load represents the base energy demand, which must be met once requested; the flexible load represents a controllable energy requirement which can be partially reduced when cost conditions are considered; at time slot t, by lb,t∈[lb,min,lb,max]Represents the total amount of the base load of the request, and passes lf,t∈[lf,min,lf,max]Representing the total amount of requested flexible load,/b,min、lb,maxRespectively representing the minimum and maximum values of the total amount of base load requested during a time slot t, lf,min,lf,maxRespectively representing the minimum value and the maximum value of the total amount of the flexible load requested during the time slot t; total amount lb,tAnd lf,tGenerated by the user based on his own needs and considered random; let the total amount of load satisfied during a time slot t be lm,tWhich should satisfy
lb,t≤lm,t≤lb,t+lf,t(1)
The control of the flexible load needs to meet specific quality of service requirements; imposing an upper bound on the portion of the compliance load that is not satisfied, introducing a long-term time-averaged constraint
Figure BDA0001339499330000031
Where α E0, 1 is a preset threshold with a specific value indicating a strict quality of service requirement, where E indicates the desirability of the content within.
By aw,tRepresenting the total amount of thermal load requested during time slot t, which should satisfy, due to the design and hardware constraints of the thermal storage tank:
lh,min≤lw,t≤lh,max(3)
wherein lh,minAnd lh,maxMinimum and maximum values representing the total amount of thermal load requested, respectively;
(2) CHP and field heat storage tank: at the ith CHP, i is 1, 2, … …, N, during time slot t, by ai,t∈[0,ai,max]Represents a large cogeneration power generation amount, wherein ai,maxIs the maximum energy produced; due to the stochastic nature of large cogeneration, ai,tIs random;
the present invention assumes that each CHP corresponds to one on-site thermal storage tank unit that can be charged and discharged; during time slot t, with x representing the chargei,t> 0 denotes the charging energy x of the ith batteryi,tBy x representing dischargei,t< 0 indicates the discharge energy x of the ith celli,t(ii) a Due to battery design and hardware constraints, xi,tThe values of (c) are bounded as follows:
xi,min≤xi,t≤xi,max,(xi,min<0<xi,max) (4)
here, | xi,minI and xi,maxMaximum values representing total amounts of discharge and charge, respectively; for the ith cell, use si,tRepresents the energy state at the beginning of time slot t; due to charge-discharge operation, si,tThe equation of (c) can be given by:
si,t+1=si,t+xi,t(5)
furthermore, due to battery capacity and operating constraints, the energy state s is madei,tThe upper and lower bounds of (A) are as follows:
si,mmin≤si,t≤si,max(6)
si,minrepresenting the minimum state of energy, s, allowed for the batteryi,maxRepresents the maximum energy state value allowed and may be used to indicate battery storage capacity; to simulate the cost of the battery, D was usediTo express the charge or discharge quantity xi,tAn associated degradation cost function;
during each timeslot, the CHP provides energy to the aggregator; by bi,tTo represent the total amount of energy contributed by the ith CHP during time slot t; since the energy flow with respect to CHP should be balanced, there are:
bi,t=ai,t-xi,t,bi,t>0 (7)
in particular, if xi,t> 0, the energy b contributedi,tDirectly from large cogeneration; if xi,t< 0, then bi,tFrom large cogeneration power generation and batteries;
(3) CG: unlike CHP, the energy output of CG is controllable; by gtRepresenting the energy output of the CG during time slot t, which satisfies:
0≤gt≤gmax(8)
gmaxrepresents the maximum value of the energy output; due to the operating limitations of the CG, the change in output at two consecutive time slots is bounded, which typically reflects a ramp constraint on the CG output; assuming that the ramp-up and ramp-down constraints are the same, the overall ramp constraint is expressed as:
|gt-gt-1|≤rgmax(9) wherein the coefficient r ∈ [0, 1]]Representing the required tightness of the slope; for r-0, CG produces a fixed output over time, while for r-1, the slope requirement becomes invalid; further, the power generation cost function of CG is represented by C (·);
(4) external energy market: in addition to internal energy resources, the aggregator can resort to external energy markets as needed; in the case of energy shortage, the aggregator can buy energy from an external energy market, or sell energy to the market in the case of energy surplus; each using pb,t∈[pb,min,pb,max]And ps,t∈[ps,min,ps,max]Representing the unit price, p, for buying and selling energy to the external energy market at time slot tw,t∈[pw,min,pw,max]Representing the unit price, p, of energy purchased from the external natural gas at time slot tb,min、pb,maxRespectively representing the minimum and maximum value of the unit price of energy purchased to the external energy market at time slot t, ps,min、ps,maxRespectively representing the minimum and maximum value of the unit price of energy sold to the external energy market at time slot t, pw,min、pw,maxMinimum and maximum values representing unit prices for purchasing energy from external natural gas at time slot t, respectively; to avoid energy arbitrage, assume that the purchase price is strictly greater than the sale price, i.e. pb,t>ps,t(ii) a Price p due to unexpected market behaviorb,tAnd ps,tAnd pw,tIs random; respectively using eb,tAnd es,tRepresents the total amount of energy purchased and sold by the external energy market during time slot t, wherein:
eb,t≥0,es,t≥0 (10)
the balance requirements of the overall system are as follows:
Figure BDA0001339499330000051
ew,trepresenting the total amount of energy supplied by the external natural gas during time slot t, the overall system meets the thermal load supply requirements as follows:
Figure BDA0001339499330000052
wherein the coefficient ηw∈[0,1]Indicating the extent to which CHP supply is required, for ηwCHP produces a fixed output to the polymerizer over time, 0, and for ηwThe CHP output to the polymerizer requirement becomes invalid at 1.
Preferably, in the step 3, a control action at a time slot t is defined:
Figure BDA0001339499330000053
wherein
Figure BDA0001339499330000061
The cost of the overall system at time slot t, including the cost of all CHPs and CGs and the cost of utilizing the external energy market, is given by:
Figure BDA0001339499330000062
based on the system model described previously, the problem of power balancing is formulated as a stochastic optimization problem
P1:
Figure BDA0001339499330000063
Wherein the expectation in the target and equation (2) depend on the randomness of the system state
Figure BDA0001339499330000064
And possible randomness of control actions, wherein
Figure BDA0001339499330000065
Figure BDA0001339499330000066
To keep the mathematical statements simple, cost functions C (-) and D are assumedi(. is) a continuously differentiable convex function, using C ' (. and D ' respectively 'i(. represents C (-)And DiDerivative of (g), on the assumption that the derivative C' (g) can be obtainedt)∈[C′min,C′max],
Figure BDA0001339499330000067
And derivative D'i(xi,t)∈[D′i,min,D′i,max],
Figure BDA0001339499330000068
In order to provide a real-time algorithm, a Lyapunov optimization method is adopted; the following problems are posed:
P2:
Figure BDA0001339499330000069
Figure BDA00013394993300000610
compared with P1, the energy state constraint formula (5) and formula (6) in P2 are replaced by a new time-averaged constraint formula (13), and the ramp constraint formula (9) is removed;
scaling certification process of P1 to P2:
with the energy state update in equation (5), the left side of resulting constraint equation (13) equals:
Figure BDA00013394993300000611
in the formula (14), if si,tAlways bounded, keeping constraint equation (6), then the right of equation (14) is equal to 0 and constraint equation (13) is also satisfied; thus, P2 is a scaling for the P1 problem;
the steps enable the invention to work under a standard Lyapunov optimization framework;
to satisfy constraint equation (2), a virtual queue backlog J is introducedtThe evolution is as follows:
Figure BDA0001339499330000071
in equation (15), the virtual queue JtAccumulate the portion of the compliant load that is not met, hold JtIs equivalent to satisfy the constraint equation (2) bytInitialized to J0=0;
At time slot t, a vector is defined
Figure BDA0001339499330000072
This vector is backlogged by the energy states of all thermal storage tank units and the virtual queue JtComposition is carried out; by using thetatDefining a Lyapunov function:
Figure BDA0001339499330000073
β thereiniIs a perturbation parameter designed to ensure the bounding of the energy states, i.e. a constraint (6); in addition to this, the present invention is,
defining the single-slot condition lyapunov offset as:
Figure BDA0001339499330000074
consider that
Figure BDA0001339499330000075
The offset given adds a cost function, instead of directly minimizing the system cost target, it is Δ (Θ)t) And a weighted sum of the system cost at time slot t, where V is used as a weight;
in the algorithm design, an upper bound of an offset plus cost function is considered firstly, and then a real-time optimization problem is formulated so as to minimize the upper bound of the function under each time slot t; therefore, at each time slot t, there is the following optimization problem:
P3:
Figure BDA0001339499330000076
Figure BDA0001339499330000077
s.t.(1),(4),(7)-(11)
Figure BDA0001339499330000078
the design of the real-time problem P3 may yield some analytical performance guarantees; in addition, to ensure gtThe step of obtaining P2 is taken and the ramp constraint equation (9) is moved back to P3;
due to C (-) and Di(. h) is a convex function, P3 is a convex function optimization problem, which can be effectively solved by a standard convex optimization software package; the optimal solution for P3 at time slot t is represented as
Figure BDA0001339499330000081
At each time slot t, obtaining
Figure BDA0001339499330000082
Then, s is updated according to their evolution equationi,t
Figure BDA0001339499330000083
And Jt
In the following proposition, it is demonstrated that despite relaxation to P2, by properly designing perturbation parameters βiThe bounding of the energy states, and thus the control actions, can be ensured
Figure BDA0001339499330000084
Feasibility for P1;
proposition 1 for the ith battery cell, perturbation parameter βiThe method comprises the following steps:
Figure BDA0001339499330000085
wherein V is (0, V)max],
Figure BDA0001339499330000086
Then, the control action derived by solving P3 at each time t
Figure BDA0001339499330000087
Is feasible for P1;
now analyze the solution provided by algorithm 1 with respect to P1; in algorithm 1, w is used to emphasize the dependency of the cost target value on the ramp coefficient r and the control parameter V*(r, V) represents the cost target value achieved; from wopt(r) represents the minimum cost target value of P1, which depends only on r, the main results are summarized in the following scheme;
theorem 1: assuming a random system state q of the gridtAre independently and simultaneously distributed and are time-lapse; under algorithm 1, there are the following:
1)w*(r,V)-wopt(r)≤(1-r)gmaxmax{pb,max,C′max}+B/V
where B is a constant defined as:
Figure BDA0001339499330000088
2)wopt(r)≥w*(1,V)-B/V
assume battery capacity si,maxIs fixed, so to ensure the feasibility of the solution, the control parameter V should be such that
(21) Middle VmaxTo an upper bound, additionally, if the battery capacity can be designed, the question is what its value should be in order to achieve some desired performance; in the proposition below, by giving can be greater than VmaxOf any positive V energy state si,tI.e. the upper bound of the minimum required energy capacity, provides an answer to this question;
proposition 2: for any V > 0, the energy state s of the ith cell at time slot ti,tBased on an algorithm1Satisfies si,t∈[si,min,si,up]Wherein:
Figure BDA0001339499330000089
in the above formula with respect to si,upCan provide useful information and can reveal some beliefs about the dependence of the design of battery capacity on certain system parameters; first, si,upLinearly increases with the control parameter V; second, if the energy price is more subject to fluctuations or the marginal cost of degradation increases rapidly, si,upIs larger; finally, if there is pb,max=ps,minAnd D'i,max=D′i,minThen si,upIs given by xi,max-xi,min+si,minIt is given.
Other attributes regarding flexible loads and external transactions are summarized in the following propositions;
proposition 3: based on algorithm 1, the following holds:
(1) queue backlog JtLimited uniformly from above to Jt≤Vpb,maxlf,max+1
(2) External transaction amount
Figure BDA0001339499330000091
And
Figure BDA0001339499330000092
satisfy the requirement of
Figure BDA0001339499330000093
In the current system model, one CG is incorporated to the supply side in addition to the CHP; if there are multiple CGs with the same characteristics, i.e. the same maximum output gmaxThe ramp coefficient r and the cost function C (-) which, for mathematical analysis, are combined into one generator; in this case, the current mathematical framework and performance analysis is applied directly to the combined generator, and then the output of each individual CG is obtained by distributing the output of the combined generator evenly over all the individual generators; on the other hand, if these CGs have heterogeneous characteristics, and thus cannot be combined into one,the proposed algorithm can still be used; in particular, in the original problem P1, for each individual generator, the total output of the generators in equations (8) and (9), (11) with the constraints is
Figure BDA0001339499330000094
And the total cost of the generator is
Figure BDA0001339499330000095
The resulting relaxation problem P2 will be similar to the current problem, with the ramp constraint removed for each individual CG (9); for real-time algorithms, the formulation of the optimization problem per time slot follows the current mathematical framework, and furthermore, the same approach proposed by the present invention can be used to develop distributed implementations of the algorithm.
Preferably, in step 4, for the convenience of algorithm development, first P3 is converted into an equivalent problem, and for the sake of symbolic simplicity, the time index t is discarded; defining a new optimization vector
Figure BDA0001339499330000096
By making yi=(1+ηw)xiTo the optimization variables involved in P3, where 1 ≦ i ≦ N, yN+1=lm,yN+2=-g,yN+3=-eb,yN+4=es,yN+5=lw,yN+6=-ewThe target of P3 can be rewritten as each yiOf a particular function of (A), which is represented by Fi(yi) Represents; further, based on the constraint condition formula (7), b is set in the constraint of P3iIs replaced by
Figure BDA0001339499330000097
Where 1 ≦ i ≦ N, therefore, P3 may be rewritten in the general form P4:
P4:
Figure BDA0001339499330000101
wherein, constraint set { gammaiDerived from constraint equations (1), (4) and (7) - (12),
Figure BDA0001339499330000102
Figure BDA0001339499330000103
Figure BDA0001339499330000104
Figure BDA0001339499330000105
next, an auxiliary vector z is introduced as a copy of y, and further P4 is transformed into the equivalent problem:
P5:
Figure BDA0001339499330000106
s.t.y-z=0 (18)
where 1 (-) is an indicator function, 0 if the event indicated is true, and infinity otherwise.
Preferably, in step 5, the equation in P5 is constrained (18) to bivariate following the general ADMM method
Figure BDA0001339499330000107
Is associated with and will
Figure BDA0001339499330000108
And
Figure BDA0001339499330000109
expressed as the respective variable values at the k-th iteration, these values will then be updated according to ADMM as follows:
Figure BDA00013394993300001010
Figure BDA00013394993300001011
Figure BDA00013394993300001012
where ρ > 0 is a penalty factor, ρ is adjusted to achieve good convergence performance.
The method provided by the invention overcomes the defects of the prior art, performs real-time distributed scheduling aiming at optimal output cost of power energy scheduling, gradually optimizes along with the increase of storage capacity and the loosening of slope constraint of the traditional generator, can independently optimize each large-scale cogeneration and aggregator, has fast convergence speed in distributed realization, and can realize nearly optimal performance in a wide storage capacity range.
Drawings
FIG. 1 is a schematic diagram of a system model for distributed energy scheduling of an intelligent micro-grid;
FIG. 2 is a graph of the average time system cost versus the average time system cost for various algorithms at various values of the control parameter V;
fig. 3 is a system cost versus system cost (in the case of a large load) for various algorithms at a ramp coefficient r.
Detailed Description
The invention will be further illustrated with reference to the following specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications can be made by persons skilled in the art without departing from the spirit of the invention. All falling within the scope of the present invention.
In order to reduce the long-term system cost as much as possible, the invention firstly provides a real-time centralized power balance solution, simultaneously considers the uncertainty, the load and the energy price of large-scale cogeneration, and provides a distributed implementation algorithm based on a Lyapunov optimization framework, and the algorithm can reduce the calculation complexity by controlling the charging and discharging amount of the battery to schedule the energy. The distributed algorithm provided by the invention is asymptotically optimized along with the increase of the storage capacity, the slope constraint requirement of the traditional generator is loosened, and the constraint condition requirement is not so tight. In addition, the distributed implementation has fast convergence speed and fast trend towards stable values, and each large cogeneration system and aggregator can be independently and optimally controlled, and near-optimal performance can be achieved in a wide range of storage capacity.
According to the intelligent micro-grid distributed energy scheduling method, the intelligent micro-grid distributed energy scheduling system is analyzed, and a corresponding system model is established; then, analyzing the established system model to deduce corresponding constraint conditions and a target function; then, a Lyapunov framework is used in a scaling mode according to the objective function and the constraint condition, and long-time average constraint is established so as to carry out cost optimization; then carrying out distributed algorithm research on the target function deduced in the previous step; and finally, establishing an ADMM algorithm framework so as to facilitate MATLAB simulation.
The invention provides a method for performing real-time distributed scheduling aiming at optimizing the output cost of power energy scheduling, which specifically comprises the following steps:
the method comprises the steps of firstly, analyzing an intelligent micro-grid distributed energy scheduling system, and establishing a corresponding system model.
As shown in fig. 1, the system model established by the present invention is a model with a conventional generator, an aggregator, flexible loads, base loads, thermal loads, external energy market, and multiple cogeneration CHPs and their respective heat storage tanks.
The definition of the corresponding primary symbols in the established system model is shown in the following table.
Figure BDA0001339499330000121
And secondly, analyzing the established system model to deduce corresponding constraint conditions and a target function.
The invention considers that a power grid is composed of a CG (traditional generator) and N CHPs (combined heat and power), wherein N is a positive integer. Each CHP is connected to one on-site thermal storage tank unit. The grid is connected to an external energy market and operated by an aggregator, which is responsible for meeting the load by managing energy from various sources. Suppose the system operates in discrete time with time slots t e {0, 1, 2. For symbol simplicity, in the present invention, the present invention uses units of energy rather than units of power.
(1) Loading: the loads include foundation, compliance and thermal loads. The base load represents the base energy demand, such as lighting, that must be met upon request. The flexible load here means some controllable energy demand, which can be partly reduced if the energy supply costs are high. At time slot t, by lb,t∈[lb,min,lb,max]Represents the total amount of the base load of the request, and passes lf,t∈[lf,min,lf,max]Representing the total amount of requested flexible load,/b,min、lb,maxRespectively representing the minimum and maximum values of the total amount of base load requested during a time slot t, lf,min,lf,maxRespectively representing the minimum and maximum values of the total amount of flex load requested during the time slot t. Total amount lb,tAnd lf,tGenerated by the user based on his own needs and considered random. Let the total amount of load satisfied during a time slot t be lm,tWhich should satisfy
lb,t≤lm,t≤lb,t+lf,t(1)
The control of the flexible load needs to meet specific quality of service requirements. In the present invention, an upper bound is imposed on the portion of the flexural load that is not satisfied. In general, the present invention introduces a long-term time-averaging constraint
Figure BDA0001339499330000131
Where α ∈ [0, 1] is a preset threshold with a small value indicating a strict quality of service requirement, where E [ ] indicates a desire for the content within [ ].
By aw,tRepresenting the total amount of heat load requested during time slot t, due to the provision of the heat storage tankAnd hardware constraints, which should satisfy:
lh,min≤lw,t≤lh,max(3)
wherein lh,minAnd lh,maxRepresenting the minimum and maximum requested heat load totals, respectively.
(2) CHP and field heat storage tank: at the ith CHP, i is 1, 2, … …, N, during time slot t, by ai,t∈[0,ai,max]Represents a large cogeneration power generation amount, wherein ai,maxIs the maximum energy produced. Due to the stochastic nature of large cogeneration, ai,tIs random.
The present invention assumes that each CHP corresponds to an on-site thermal storage tank unit that can be charged and discharged. During time slot t, with x representing charging (and correspondingly discharging)i,t> 0 (corresponding, x)i,t<0) Representing the charging (corresponding, discharging) energy x of the ith celli,t. Due to battery design and hardware constraints, xi,tThe values of (c) are bounded as follows:
xi,min≤xi,t≤xi,max,(xi,min<0<xi,max) (4)
here, | xi,minI and xi,maxRepresenting the maximum values of the total amount of discharge and charge, respectively. For the ith cell, use si,tRepresenting the energy state at the beginning of time slot t. Due to charge-discharge operation, si,tThe equation of (c) can be given by:
si,t+1=si,t+xi,t(5)
furthermore, due to battery capacity and operating constraints, the energy state s is madei,tThe upper and lower bounds of (A) are as follows:
si,min≤si,t≤si,max(6)
here, si,minRepresenting the minimum state of energy, s, allowed for the batteryi,maxRepresents the maximum energy state value allowed and may be used to indicate battery storage capacity. As is well known, quick charging orThe discharge may cause degradation of the battery, which may shorten the life of the battery. To simulate the cost of a battery, the invention uses DiTo express the charge or discharge quantity xi,tAn associated degradation cost function.
During each time slot, the CHP provides energy to the aggregator. For the invention bi,tTo indicate the total amount of energy contributed by the ith CHP during time slot t. Since the energy flow with respect to CHP should be balanced, the present invention has:
bi,t=ai,t-xi,t,bi,t>0 (7)
in particular, if xi,t> 0 (charging), the energy b contributedi,tDirectly from large cogeneration; if xi,t< 0 (discharge), bi,tFrom large cogeneration power generation and batteries.
(3) CG: unlike CHP, the energy output of the CG is controllable. By gtRepresenting the energy output of the CG during time slot t, which satisfies:
0≤gt≤gmax(8)
here gmaxRepresenting the maximum value of the energy output. Due to the operating limitations of the CG, the change in output at two consecutive time slots is bounded. This typically reflects a ramp constraint on the CG output. Assuming that the ramp-up and ramp-down constraints are the same, the present invention represents the entire ramp constraint as:
|gt-gt-1|≤rgmax(9) wherein the coefficient r ∈ [0, 1]]Indicating the tightness required for the ramp. In particular, for r-0, CG produces a fixed output over time, while for r-1, the slope requirement becomes invalid. In addition, the present invention represents the cost function of power generation by CG by C (·).
(4) External energy market: in addition to internal energy resources, the aggregator can resort to external energy markets as needed. For example, the aggregator may purchase energy from an external energy market in the event of an energy deficit, or sell energy to the market in the event of an energy surplus. Each using pb,t∈[pb,min,pb,max]And ps,t∈[ps,min,ps,max]Representing the unit price, p, for buying and selling energy to the external energy market at time slot tw,t∈[pw,min,pw,max]Representing the unit price, p, of energy purchased from the external natural gas at time slot tb,min、pb,maxRespectively representing the minimum and maximum value of the unit price of energy purchased to the external energy market at time slot t, ps,min、ps,maxRespectively representing the minimum and maximum value of the unit price of energy sold to the external energy market at time slot t, pw,min、pw,maxRespectively representing the minimum and maximum values of the unit price of energy purchased from the external natural gas at time slot t. To avoid energy arbitrage, assume that the purchase price is strictly greater than the sale price, i.e. pb,t>ps,t. Price p due to unexpected market behaviorb,tAnd ps,tAnd pw,tUsually random. Respectively using eb,tAnd es,tRepresents the total amount of energy purchased and sold by the external energy market during time slot t, wherein:
eb,t≥0,es,t≥0 (10)
the balance requirements of the overall system are as follows:
Figure BDA0001339499330000151
ew,trepresenting the total amount of energy supplied by the external natural gas during time slot t, the overall system meets the thermal load supply requirements as follows:
Figure BDA0001339499330000161
wherein the coefficient ηw∈[0,1]Indicating the extent to which CHP supply is required, particularly for ηwCHP produces a fixed output to the polymerizer over time, whereas for ηwThe CHP output to the polymerizer requirement becomes invalid at 1.
And thirdly, according to the objective function and the constraint conditions, carrying out cost optimization by using the Lyapunov framework in a scaling mode and establishing long-time average constraint.
The invention defines the control action at time slot t:
Figure BDA0001339499330000162
wherein
Figure BDA0001339499330000163
The cost of the overall system at time slot t, including the cost of all CHPs and CGs and the cost of utilizing the external energy market, is given by:
Figure BDA0001339499330000164
based on the system model described previously, the present invention makes the problem of power balancing a stochastic optimization problem
P1:
Figure BDA0001339499330000165
Wherein the expectation in the target and equation (2) depend on the randomness of the system state
Figure BDA0001339499330000166
And possible randomness of control actions, wherein
Figure BDA0001339499330000167
Figure BDA0001339499330000168
To keep the mathematical statements simple, the present invention assumes cost functions C (-) and Di(. cndot.) is a continuously differentiable convex function, and this assumption is reasonable because many practical costs can be well approximated by such a function. From C ' (. cndot.) and D ' respectively 'i(. cndot.) represents C (. cndot.) and DiThe derivative of (c) of the derivative of (c),based on this assumption, the present invention can obtain the derivative C' (g)t)∈[C′min,C′max],
Figure BDA0001339499330000169
And derivative D'i(xi,t)∈[D′i,min,D′i,max],
Figure BDA00013394993300001610
In order to provide a real-time algorithm, the invention adopts a Lyapunov optimization method. Lyapunov optimization can be used to convert some long-term time-averaged constraints, such as equation (2), into queue stability constraints and provide efficient real-time algorithms for complex dynamic systems. However, the time coupling constraints equation (6) and equation (9) are not time averaging constraints but are hard constraints required at each slot, and therefore, the lyapunov optimization framework cannot be directly applied. In order to solve such a problem, the present invention proposes the following problems:
P2:
Figure BDA0001339499330000171
Figure BDA0001339499330000172
compared to P1, the energy state constraint equations (5) and (6) in P2 are replaced by a new time-averaged constraint equation (13), and the ramp constraint equation (9) is removed.
Scaling certification process of P1 to P2:
with the energy state update in equation (5), the present invention can obtain the constraint equation (13) with the left side equal to:
Figure BDA0001339499330000173
in the formula (14), if si,tAlways bounded, keeping constraint equation (6), then the right side of equation (14) is equal to0 and the constraint equation (13) is also satisfied. Thus, P2 is a scaling for the P1 problem.
The above steps are critical to enable the present invention to work under the standard lyapunov optimization framework, however, the present invention emphasizes that solving P2 is not an objective of the present invention. In contrast, the significance of P2 is presented to facilitate the design of real-time algorithms and performance analysis for P1. It is noted that the solution to P2 may not be feasible for P1, and for this reason, the present invention next provides a real-time algorithm that ensures that all constraints of P1 are satisfied.
In order to satisfy the constraint formula (2), the invention introduces a virtual queue backlog JtThe evolution is as follows:
Figure BDA0001339499330000174
in equation (15), the virtual queue JtThe portion of the unsatisfied compliant load is accumulated, and it can be seen that J is maintainedtIs equivalent to satisfy the constraint equation (2), the present invention puts J ontInitialized to J0=0。
At time slot t, the invention defines a vector
Figure BDA0001339499330000175
This vector is backlogged by the energy states of all thermal storage tank units and the virtual queue JtAnd (4) forming. By using thetatThe invention defines a lyapunov function:
Figure BDA0001339499330000176
β thereiniIs a perturbation parameter, i.e. constraint (6), designed to ensure the bounding of the energy states. In addition to this, the present invention is,
the invention defines the single time slot condition Lyapunov offset as:
Figure BDA0001339499330000177
the invention is considered to consist of
Figure BDA0001339499330000181
The offset given adds a cost function instead of directly minimizing the system cost target. It is Δ (Θ)t) And a weighted sum of the system cost at time slot t, where V is used as the weight.
In the algorithm design of the present invention, the present invention first considers an upper bound of the offset plus cost function and then formulates a real-time optimization problem to minimize the upper bound of the function at each time slot t. Therefore, at each time slot t, the present invention has the following optimization problem:
P3:
Figure BDA0001339499330000182
Figure BDA0001339499330000183
s.t.(1),(4),(7)-(11)
Figure BDA0001339499330000184
the design of the real-time problem P3 may yield some analytical performance guarantees. In addition, to ensure gtThe invention takes the steps of obtaining P2 and moving ramp constraint equation (9) back to P3.
Since C (-) and Di (-) are convex functions, P3 is a convex function optimization problem that can be effectively solved by a standard convex optimization software package. The optimal solution for P3 at time slot t is represented as
Figure BDA0001339499330000185
At each time slot t, obtaining
Figure BDA0001339499330000186
The invention then updates s according to their evolution equationi,t
Figure BDA0001339499330000187
And Jt
Below is providedIn proposition, the present invention demonstrates that despite relaxation to P2, by properly designing perturbation parameters βiThe invention may ensure the bounding of energy states and thus control actions
Figure BDA0001339499330000188
Feasibility for P1.
Proposition 1 for the ith battery cell, perturbation parameter βiThe method comprises the following steps:
Figure BDA0001339499330000189
wherein V is (0, V)max],
Figure BDA00013394993300001810
Then, the control action derived by solving P3 at each time t
Figure BDA00013394993300001811
This is possible for P1.
The invention now analyzes the solution provided by algorithm 1 with respect to P1. In algorithm 1, to emphasize the dependency of the cost target value on the ramp coefficient r and the control parameter V, the present invention uses w*(r, V) represents the cost target value achieved. From wopt(r) represents the minimum cost target value of P1, which depends only on r. The main results are summarized in the following schemes.
Theorem 1: assuming a random system state q of the gridtAre independently co-distributed and over time. Under algorithm 1, the invention has the following:
2)w*(r,V)-wopt(r)≤(1-r)gmaxmax{pb,max,C′max}+B/V
where B is a constant defined as:
Figure BDA0001339499330000191
2)wopt(r)≥w*(1,V)-B/V
assume battery capacity si,maxIs fixed, so to ensure the feasibility of the solution, the control parameter V should be V in (21)maxTo an upper bound, additionally, if the battery capacity can be designed, the question is what its value should be in order to achieve some desired performance. In the propositions below, the present invention can be greater than V by givingmaxOf any positive V energy state si,t(i.e., the upper bound of the minimum required energy capacity) provides an answer to this question.
Proposition 2: for any V > 0, the energy state s of the ith cell at time slot ti,tSatisfies s based on Algorithm 1i,t∈[si,min,si,up]Wherein:
Figure BDA0001339499330000192
in the above formula with respect to si,upCan provide useful information and can reveal some beliefs about the dependence of the design of battery capacity on certain system parameters. First, si,upIncreases linearly with the control parameter V. Second, if the energy price is more subject to fluctuations or the marginal cost of degradation increases rapidly, si,upAnd is larger. Finally, if there is pb,max=ps,minAnd D'i,max=D′i,minThen si,upIs given by xi,max-xi,min+si,minIt is given.
Other attributes regarding flexible loads and external transactions are summarized in the following propositions.
Proposition 3: based on algorithm 1, the following results hold.
(1) Queue backlog JtLimited uniformly from above to Jt≤Vpb,maxlf,max+1
(2) External transaction amount
Figure BDA0001339499330000193
And
Figure BDA0001339499330000194
satisfy the requirement of
Figure BDA0001339499330000195
In the current system model, the present invention incorporates one CG to the supply side in addition to the CHP. If there are multiple CGs with the same characteristics, i.e. the same maximum output gmaxThe ramp coefficient r and the cost function C (-) which the present invention can combine into one generator for mathematical analysis. In this case, the current mathematical framework and performance analysis is applied directly to the combined generator, and then the output of each individual CG can be obtained by equally distributing the output of the combined generator over all individual generators. On the other hand, if these CGs have heterogeneous characteristics and therefore cannot be combined into one, the proposed algorithm can still be used. In particular, in the original problem P1, the present invention will have the total output of the generators in the constraint equations (8) and (9), (11) for each individual generator as
Figure BDA0001339499330000201
And the total cost of the generator is
Figure BDA0001339499330000202
The resulting relaxation problem P2 will be similar to the current problem, with the ramp constraint removed for each individual CG (9). For real-time algorithms, the formulation of the optimization problem per time slot follows the current mathematical framework, and furthermore, the same approach proposed by the present invention can be used to develop distributed implementations of the algorithm.
And fourthly, carrying out distributed algorithm research on the previously deduced objective function.
For ease of algorithm development, the invention first converts P3 into an equivalent problem, and for symbolic simplicity, the invention discards the time index t. The invention defines a new optimization vector
Figure BDA0001339499330000209
By making yi=(1+ηw)xiTo the optimization variables involved in P3, where 1 ≦ i ≦ N, yN+1=lm,yN+2=-g,yN+3=-eb,yN+4=es,yN+5=lw,yN+6=-ewThe target of P3 can be rewritten as each yiOf a particular function of (A), which is represented by Fi(yi) The sections are omitted for brevity. Furthermore, based on the constraint condition equation (7), the present invention sets b in the constraint of P3iIs replaced by
Figure BDA0001339499330000203
Where 1 ≦ i ≦ N, therefore, P3 may be rewritten in the general form P4:
P4:
Figure BDA0001339499330000204
wherein, constraint set { gammaiDerived from constraint equations (1), (4) and (7) - (12),
Figure BDA0001339499330000205
Figure BDA0001339499330000206
Figure BDA0001339499330000207
Figure BDA0001339499330000208
next, the present invention introduces an auxiliary vector z as a copy of y and further translates P4 into the following equivalent problem:
P5:
Figure BDA0001339499330000211
s.t.y-z=0 (18)
where 1 (-) is an indicator function, 0 if the event indicated is true, and infinity otherwise.
And fifthly, establishing an ADMM (alternating direction multiplier algorithm) algorithm framework so as to facilitate MATLAB simulation.
Following the general ADMM approach, the present invention constrains (18) the equation in P5 to bivariates
Figure BDA0001339499330000212
Is associated with and will
Figure BDA0001339499330000213
And
Figure BDA0001339499330000214
expressed as the respective variable values at the k-th iteration, these values will then be updated according to ADMM as follows:
Figure BDA0001339499330000215
Figure BDA0001339499330000216
Figure BDA0001339499330000217
where ρ > 0 is a penalty factor that needs to be carefully adjusted to obtain good convergence performance.
In experiments, the problem studied by the present invention is, mathematically, novel and different from all the problems previously proposed, which cannot be directly compared with the existing ones. To overcome this difficulty, the present invention employs two alternative algorithms and a lower bound on the minimum system cost obtained in theorem 1.2 for comparison.
The first alternative is a greedy algorithm that can only minimize the current system cost, and the optimization problem of the greedy algorithm at time slot t is as follows:
Figure BDA0001339499330000218
lb,t+(1-α)lf,t≤lm,t≤lb,t+lf,t
-si,t≤xi,t≤si,max-si,t
the second alternative is mainly to show the effect of the ramp constraint, especially at each slot t, except that without the ramp constraint (9), the invention solves the same optimization problem as P3, so the resulting CG output may not be feasible for P1, and in order to maintain feasibility, the aggregator only uses the external energy market to increase the CG output whenever it violates the ramp constraint. The invention is called as 'algorithm of nature'.
The specific implementation comprises the following contents:
in conjunction with fig. 2 and 3, each time slot is 15 minutes in length. Base load lb,tAnd a flexible load lf,tIs evenly distributed between 5 and 25kWh, the unsatisfied flexible load portion α is 0.07, assuming a CHP number of aggregator connections N-30, the present invention assumes a discharge and charge rate of 6.6kW for each corresponding field cell, and a maximum discharge and charge of 1.1kWh is set, since the model of the battery's degradation cost function is generally proprietary and unusable, so in the simulation, the present invention takes D as the value ofi(x)=10x2For example. Large-scale cogeneration power generation amount ai,tEvenly distributed between 0 and 1.1kWh, and for the traditional generator, the invention sets the generating cost function as C (x) 8x and the maximum output gmax50kWh, and the ramp coefficient r is 0.1. Unit price p of purchase electricity priceb,tUniformly distributed between 1.6 and 8.2 cents/degree, and the price unit p of the selling price of electricitys,tUniformly distributed between 1.0 and 1.2 cents/degree, slightly lower than the price of purchasing electric power and the unit price p of the price of purchasing external natural gasw,tEvenly distributed in 1.2 to 1.4 cents/kwh. The control parameter V is set to 1, si,min=0。
While the invention has been described with respect to a preferred embodiment, it will be understood by those skilled in the art that the foregoing and other changes, omissions and deviations in the form and detail thereof may be made without departing from the scope of this invention. Those skilled in the art can make various changes, modifications and equivalent arrangements, which are equivalent to the embodiments of the present invention, without departing from the spirit and scope of the present invention, and which may be made by utilizing the techniques disclosed above; meanwhile, any changes, modifications and variations of the above-described embodiments, which are equivalent to those of the technical spirit of the present invention, are within the scope of the technical solution of the present invention.

Claims (4)

1. A distributed energy scheduling method for an intelligent micro-grid is characterized by comprising the following steps: the method comprises the following 5 steps:
step 1: analyzing the intelligent micro-grid distributed energy scheduling system, and establishing a corresponding system model; the system model includes: the system comprises a traditional generator CG, a aggregator, a flexible load, a base load, a heat load, an external energy market and a plurality of cogeneration CHPs, wherein the aggregator is connected with the traditional generator, the flexible load, the base load, the external energy market and the plurality of cogeneration, the cogeneration is connected with an external natural gas supply and the heat load, and each cogeneration corresponds to a heat storage tank;
step 2: analyzing the established system model, and deducing corresponding constraint conditions and a target function; in step 2, considering that a power grid is composed of a CG and N CHPs, N being a positive integer, each CHP is connected to a site heat storage tank, the power grid is connected to an external energy market and operated by a aggregator responsible for meeting the load by managing energy from various sources; suppose the system operates in discrete time with time slots t e {0, 1, 2. }; for symbol simplicity, energy units are used instead of power units;
(1) loading: loads include foundation, compliance and thermal loads; the base load represents the base energy demand, which must be met once requested; the flexible load represents the controllable energy demand, and the controllable energy can be partially reduced when the cost condition is consideredA quantity demand; at time slot t, by lb,t∈[lb,min,lb,max]Represents the total amount of the base load of the request, and passes lf,t∈[lf,min,lf,max]Representing the total amount of requested flexible load,/b,min、lb,maxRespectively representing the minimum and maximum values of the total amount of base load requested during a time slot t, lf,min,lf,maxRespectively representing the minimum value and the maximum value of the total amount of the flexible load requested during the time slot t; total amount lb,tAnd lf,tGenerated by the user based on his own needs and considered random; let the total amount of load satisfied during a time slot t be lm,tIt should satisfy
Lb,t≤lm,t≤lb,t+lf,t(1)
The control of the flexible load needs to meet specific quality of service requirements; applying an upper bound to the portion of the compliance load that is not satisfied, introducing a long term time averaging constraint;
Figure FDA0002392017770000011
wherein α ∈ [0, 1] is a preset threshold with a specific value indicating a strict quality of service requirement, where E [ ] represents de-expectation for content within [ ];
by aw,tRepresenting the total amount of thermal load requested during time slot t, which should satisfy, due to the design and hardware constraints of the thermal storage tank:
lh,min≤lw,t≤lh,max(3)
wherein lh,minAnd lh,maxMinimum and maximum values representing the total amount of thermal load requested, respectively;
(2) CHP and field heat storage tank: at the ith CHP, i is 1, 2, … …, N, during time slot t, by ai,t∈[0,ai,max]Represents a large cogeneration power generation amount, wherein ai,maxIs the maximum energy produced; due to the stochastic nature of large cogeneration, ai,tIs random;
assuming that each CHP corresponds to one on-site thermal storage tank unit capable of charging and discharging; during time slot t, with x representing the chargei,t> 0 denotes the charging energy x of the ith batteryi,tBy x representing dischargei,t< 0 indicates the discharge energy x of the ith celli,t(ii) a Due to battery design and hardware constraints, xi,tThe values of (c) are bounded as follows:
xi,min≤xi,t≤xi,max,(xi,min<0<xi,max) (4)
here, | xi,minI and xi,maxMaximum values representing total amounts of discharge and charge, respectively; for the ith cell, use si,tRepresents the energy state at the beginning of time slot t; due to charge-discharge operation, si,tThe equation of (c) can be given by:
si,t+1=si,t+xi,t(5)
furthermore, due to battery capacity and operating constraints, the energy state s is madei,tThe upper and lower bounds of (A) are as follows:
Si,min≤si,t≤si,max(6)
Si,minrepresenting the minimum state of energy, s, allowed for the batteryi,maxRepresents the maximum energy state value allowed and may be used to indicate battery storage capacity; to simulate the cost of a battery, Di (-) is used to represent the charge or discharge amount xi,tAn associated degradation cost function;
during each timeslot, the CHP provides energy to the aggregator; by bi,tTo represent the total amount of energy contributed by the ith CHP during time slot t; since the energy flow with respect to CHP should be balanced, there are:
bi,t=ai,t-xi,t,bi,t>0 (7)
in particular, if xi,t> 0, the energy b contributedi,tDirectly from large cogeneration; if xi,t< 0, then bi,tFrom large cogeneration power generation and batteries;
(3) CG: in contrast to the CHP,the energy output of the CG is controllable; by gtRepresenting the energy output of the CG during time slot t, which satisfies:
0≤gt≤gmax(8)
gmaxrepresents the maximum value of the energy output; due to the operating limitations of the CG, the change in output at two consecutive time slots is bounded, which typically reflects a ramp constraint on the CG output; assuming that the ramp-up and ramp-down constraints are the same, the overall ramp constraint is expressed as:
|gt-gt-1|≤rgmax(9)
wherein the coefficient r belongs to [0, 1] to represent the compactness required by the slope; for r-0, CG produces a fixed output over time, while for r-1, the slope requirement becomes invalid; further, the power generation cost function of CG is represented by C (·);
(4) external energy market: in addition to internal energy resources, the aggregator can resort to external energy markets as needed; in the case of energy shortage, the aggregator can buy energy from an external energy market, or sell energy to the market in the case of energy surplus; each using pb,t∈[pb,min,pb,max]And ps,t∈[ps,min,ps,max]Representing the unit price, p, for buying and selling energy to the external energy market at time slot tw,t∈[pw,min,pw,max]Representing the unit price, p, of energy purchased from the external natural gas at time slot tb,min、pb,maxRespectively representing the minimum and maximum values of the unit price of energy purchased to the external energy market at time slot t, ps,min、ps,maxRespectively representing the minimum and maximum value of the unit price of energy sold to the external energy market at time slot t, pw,min、pw,maxMinimum and maximum values representing unit prices for purchasing energy from external natural gas at time slot t, respectively; to avoid energy arbitrage, assume that the purchase price is strictly greater than the sale price, i.e. pb,t>ps,t(ii) a Price p due to unexpected market behaviorb,tAnd ps,tAnd pw,tIs random; respectively using eb,tAnd es,tRepresents the total amount of energy purchased and sold by the external energy market during time slot t, wherein:
eb,t≥0,es,t≥0 (10)
the balance requirements of the overall system are as follows:
Figure FDA0002392017770000031
ew,trepresenting the total amount of energy supplied by the external natural gas during time slot t, the overall system meets the thermal load supply requirements as follows:
Figure FDA0002392017770000032
wherein the coefficient ηw∈[0,1]Indicating the extent to which CHP supply is required, for ηwCHP produces a fixed output to the polymerizer over time, 0, and for ηwThe CHP output to the polymerizer request becomes invalid at 1;
and step 3: according to the objective function and the constraint condition, carrying out cost optimization by scaling and using a Lyapunov framework and establishing long-time average constraint;
and 4, step 4: carrying out distributed algorithm research on the target function;
and 5: and establishing an ADMM alternative direction multiplier algorithm framework, and calculating to obtain the optimal solution of the distributed algorithm.
2. The intelligent micro-grid distributed energy scheduling method of claim 1, wherein: in said step 3, a control action at time slot t is defined:
Figure FDA0002392017770000041
wherein
Figure FDA0002392017770000042
The cost of the overall system at time slot t, including the cost of all CHPs and CGs and the cost of utilizing the external energy market, is given by:
Figure FDA0002392017770000043
based on the system model described previously, the problem of power balancing is formulated as a stochastic optimization problem
P1:
Figure FDA0002392017770000044
Wherein the expectation in the target and equation (2) depend on the randomness of the system state
Figure FDA0002392017770000045
And possible randomness of control actions, wherein
Figure FDA0002392017770000046
To keep the mathematical statements simple, it is assumed that the cost functions C (-) and Di (-) are continuously differentiable convex functions, the derivatives of C (-) and Di (-) being represented by C '(. cndot.) and D' i (-) respectively, and based on this assumption, it is possible to
Figure FDA00023920177700000413
Obtaining a derivative
Figure FDA0002392017770000047
And derivative of
Figure FDA0002392017770000048
Figure FDA0002392017770000049
In order to provide a real-time algorithm, a Lyapunov optimization method is adopted; the following problems are posed:
P2:
Figure FDA00023920177700000410
Figure FDA00023920177700000411
compared with P1, the energy state constraint formula (5) and formula (6) in P2 are replaced by a new time-averaged constraint formula (13), and the ramp constraint formula (9) is removed;
scaling certification process of P1 to P2:
with the energy state update in equation (5), the left side of resulting constraint equation (13) equals:
Figure FDA00023920177700000412
in the formula (14), if si,tAlways bounded, keeping constraint equation (6), then the right of equation (14) is equal to 0 and constraint equation (13) is also satisfied; thus, P2 is a scaling for the P1 problem;
the steps work under a standard Lyapunov optimization framework;
in order to satisfy the constraint formula (2), the virtual queue backlog Jt is introduced to evolve as follows;
Figure FDA0002392017770000051
in equation (15), the virtual queue JtAccumulate the portion of the compliant load that is not met, hold JtIs equivalent to satisfy the constraint equation (2) bytInitialized to J0=0;
At time slot t, a vector is defined
Figure FDA0002392017770000052
This vector is backlogged by the energy states of all thermal storage tank units and the virtual queue JtComposition is carried out; by using the value of Θ t,defining a Lyapunov function:
Figure FDA0002392017770000053
where β i is a perturbation parameter designed to ensure the bounding of energy states, i.e. constraint (6), and further, defining the single-slot condition lyapunov offset as:
Figure FDA0002392017770000054
consider that
Figure FDA0002392017770000055
The offset given adds a cost function, instead of directly minimizing the system cost target, it is a weighted sum of Δ (Θ t) and the system cost at time slot t, where V is used as a weight;
in the algorithm design, an upper bound of an offset plus cost function is considered firstly, and then a real-time optimization problem is formulated so as to minimize the upper bound of the function under each time slot t; therefore, at each time slot t, there is the following optimization problem:
P3:
Figure FDA0002392017770000056
s.t.(1),(4),(7)-(11)
algorithm 1: real-time algorithm of power balancing: initialization J0At each time slot t, the aggregator sequentially performs the following steps: 1) observing the system state qtEnergy state si,t
Figure FDA0002392017770000057
And the column backlog Jt
2) Solving P3 and obtaining the optimal solution u* t
3) Using u* tUpdating s according to equations (5), (15) respectivelyi,t
Figure FDA0002392017770000058
And Jt
The design of the real-time problem P3 may yield some analytical performance guarantees; in addition, to ensure gtThe step of obtaining P2 is taken and the ramp constraint equation (9) is moved back to P3;
since C (-) and Di (-) are convex functions, P3 is a convex function optimization problem, which can be effectively solved by a standard convex optimization software package; the optimal solution for P3 at time slot t is represented as
Figure FDA0002392017770000059
At each time slot t, obtaining
Figure FDA00023920177700000510
Then, s is updated according to their evolution equationi,t
Figure FDA00023920177700000511
And Jt;
in the following proposition, it is demonstrated that by properly designing the perturbation parameters β i, it is possible to ensure the bounding of the energy states, and therefore the control actions, despite the relaxation of P2
Figure FDA0002392017770000061
Feasibility for P1;
proposition 1 for the ith battery cell, the perturbation parameter β i is set as:
Figure FDA0002392017770000062
where V is (0, Vmax),
Figure FDA0002392017770000063
then, the control action derived by solving P3 at each time t
Figure FDA0002392017770000064
Is feasible for P1;
now analyze the solution provided by algorithm 1 with respect to P1; in algorithm 1, in order to emphasize the dependency of the cost target value on the ramp coefficient r and the control parameter V, the cost target value achieved is denoted by w (r, V); from wopt(r) represents the minimum cost target value of P1, which depends only on r, the main results are summarized in the following scheme;
theorem 1: assuming a random system state q of the gridtAre independently and simultaneously distributed and are time-lapse; under algorithm 1, there are the following:
3)w*(r,V)-wopt(r)≤(1-r)gmaxmax{pb,max,C′max}+B/V
wherein B is a constant defined as
Figure FDA0002392017770000065
2)wopt(r)≥w*(1,V)-B/V
Assume battery capacity si,maxIs fixed, so to ensure the feasibility of the solution, the control parameter V should be bounded by Vmax in (21), and further, if the battery capacity can be designed, the question is what its value should be in order to achieve some desired performance; in the proposition below, by giving the energy state s of any positive V that can be greater than Vmaxi,tI.e. the upper bound of the minimum required energy capacity, provides an answer to this question;
proposition 2: for any V > 0, the energy state s of the ith cell at time slot ti,tSatisfies s based on Algorithm 1i,t∈[si,min,si,up]Wherein:
Figure FDA0002392017770000066
in the above formula with respect to si,upCan provide useful information and can reveal some beliefs about the dependence of the design of battery capacity on certain system parameters; first, si,upLinearly increases with the control parameter V; secondly, if canThe source price is more prone to fluctuation or the marginal degradation cost rapidly increases, then si,upIs larger; finally, if there is pb,max=ps,minAnd D'i,max=D′i,minThen si,upIs given by xi,max-xi,min+si,minGiving out;
other attributes regarding flexible loads and external transactions are summarized in the following propositions;
proposition 3: based on algorithm 1, the following holds:
(1) queue backlog JtLimited uniformly from above to Jt≤Vpb,maxlf,max+1
(2) External transaction amount
Figure FDA0002392017770000071
And
Figure FDA0002392017770000072
satisfy the requirement of
Figure FDA0002392017770000073
In the current system model, one CG is incorporated to the supply side in addition to the CHP; if there are multiple CGs with the same characteristics, i.e. the same maximum output gmaxThe ramp coefficient r and the cost function C (-) which, for mathematical analysis, are combined into one generator; in this case, the current mathematical framework and performance analysis is applied directly to the combined generator, and then the output of each individual CG is obtained by distributing the output of the combined generator evenly over all the individual generators; on the other hand, if these CGs have heterogeneous characteristics and therefore cannot be combined into one, the proposed algorithm can still be used; in particular, in the original problem P1, for each individual generator, the total output of the generators in equations (8) and (9), (11) with the constraints is
Figure FDA0002392017770000074
And a generatorThe total cost of
Figure FDA0002392017770000075
The resulting relaxation problem P2 will be similar to the current problem, with the ramp constraint removed for each individual CG (9); for real-time algorithms, the formulation of the optimization problem per time slot follows the current mathematical framework, and furthermore, the same proposed method can be used to develop distributed implementations of the algorithm.
3. The intelligent micro-grid distributed energy scheduling method of claim 2, wherein: in the step 4, in order to facilitate algorithm development, P3 is first converted into an equivalent problem, and for simplicity of notation, the time index t is discarded; defining a new optimization vector
Figure FDA0002392017770000076
The optimization variables involved in P3 are linked by letting yi ≦ N, y ≦ i ≦ N, and (1+ η w) xiN+1=lm,yN+2=-g,yN+3=-eb,yN+4=es,yN+5=lw,yN+6=-ewThe target of P3 can be rewritten as each yiOf a particular function of (A), which is represented by Fi(yi) Represents; further, based on the constraint condition formula (7), b is set in the constraint of P3iIs replaced by
Figure FDA0002392017770000077
Where 1 ≦ i ≦ N, therefore, P3 may be rewritten in the general form P4:
P4:
Figure FDA0002392017770000078
wherein the constraint set { gammaiDerived from constraint equations (1), (4) and (7) - (12),
Figure FDA0002392017770000079
Figure FDA00023920177700000710
Figure FDA00023920177700000711
next, an auxiliary vector z is introduced as a copy of y, and further P4 is transformed into the equivalent problem:
P5:
Figure FDA00023920177700000712
s.t.y-z=0 (18)
where 1 (-) is an indicator function, 0 if the event indicated is true, and infinity otherwise.
4. The intelligent micro-grid distributed energy scheduling method of claim 3, wherein: in step 5, following the general ADMM method, the equation in P5 is constrained (18) to bivariate
Figure FDA0002392017770000081
Is associated with and will
Figure FDA0002392017770000082
And
Figure FDA0002392017770000083
expressed as the respective variable values at the k-th iteration, these values will then be updated according to ADMM as follows:
Figure FDA0002392017770000084
Figure FDA0002392017770000085
Figure FDA0002392017770000086
where ρ > 0 is a penalty factor, ρ is adjusted to achieve good convergence performance.
CN201710535081.9A 2017-07-03 2017-07-03 Intelligent micro-grid distributed energy scheduling method Active CN107453407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710535081.9A CN107453407B (en) 2017-07-03 2017-07-03 Intelligent micro-grid distributed energy scheduling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710535081.9A CN107453407B (en) 2017-07-03 2017-07-03 Intelligent micro-grid distributed energy scheduling method

Publications (2)

Publication Number Publication Date
CN107453407A CN107453407A (en) 2017-12-08
CN107453407B true CN107453407B (en) 2020-05-26

Family

ID=60487678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710535081.9A Active CN107453407B (en) 2017-07-03 2017-07-03 Intelligent micro-grid distributed energy scheduling method

Country Status (1)

Country Link
CN (1) CN107453407B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3518369A1 (en) * 2018-01-30 2019-07-31 Siemens Aktiengesellschaft Method and control device for regulating electric power transfer and power network
CN108400585B (en) * 2018-02-08 2021-04-02 东华大学 Distributed real-time energy distribution method of multiple electric vehicles in micro-grid system
US10601226B2 (en) * 2018-04-04 2020-03-24 Bloom Energy Corporation Advanced uninterruptable power module controller and method of operating same
CN109830991B (en) * 2019-04-02 2020-10-09 广西大学 Two-stage distributed power system unit investment configuration method and system
CN110826781B (en) * 2019-10-25 2023-10-03 东华大学 Multi-intelligent power grid resource collaborative management method based on service quality
CN110854849B (en) * 2019-11-26 2021-07-09 国网山东省电力公司电力科学研究院 Distributed energy optimization control method in power grid with uncertain power
CN113779493A (en) * 2021-09-16 2021-12-10 重庆大学 Distributed intelligent energy management method for multiple intelligent families

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010126741A2 (en) * 2009-04-29 2010-11-04 Carrier Corporation Controller for combined heat and power system
CN102623991A (en) * 2012-04-09 2012-08-01 深圳市理工新能源有限公司 Microgrid energy management system and method
CN103246263A (en) * 2013-04-22 2013-08-14 天津大学 General optimized dispatching strategy for combined supply of cooling, heating and power microgrid system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090088907A1 (en) * 2007-10-01 2009-04-02 Gridpoint, Inc. Modular electrical grid interface device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010126741A2 (en) * 2009-04-29 2010-11-04 Carrier Corporation Controller for combined heat and power system
CN102623991A (en) * 2012-04-09 2012-08-01 深圳市理工新能源有限公司 Microgrid energy management system and method
CN103246263A (en) * 2013-04-22 2013-08-14 天津大学 General optimized dispatching strategy for combined supply of cooling, heating and power microgrid system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Cost Minimization Online Energy Management for Microgrids with Power and Thermal Storages";Xiaoxian Ou, et al.;《2015 24th International Conference on Computer Communication and Networks 》;20151005;摘要、第I-Ⅳ节,图1-3 *
"Distributed Online Energy Management for Data Centers and Electric Vehicles in Smart Grid";Liang Yu, et al.;《IEEE INTERNET OF THINGS JOURNAL》;20161231;第3卷(第6期);第1373页摘要、第1374-1382页第Ⅳ节 *
"Generation following with thermostatically controlled loads viaalternating direction method of multipliers sharing algorithm";Eric M. Burger, Scott J. Moura;《Electric Power Systems Research》;20170531;第146卷;第141-157页 *

Also Published As

Publication number Publication date
CN107453407A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107453407B (en) Intelligent micro-grid distributed energy scheduling method
Pan et al. Optimal design and operation of multi-energy system with load aggregator considering nodal energy prices
CN110188950B (en) Multi-agent technology-based optimal scheduling modeling method for power supply side and demand side of virtual power plant
JP7261507B2 (en) Electric heat pump - regulation method and system for optimizing cogeneration systems
CN110350523A (en) Multi-energy complementation Optimization Scheduling based on demand response
Wang et al. Bargaining-based energy trading market for interconnected microgrids
Ma et al. Comprehensive stochastic optimal scheduling in residential micro energy grid considering pumped-storage unit and demand response
CN111293682B (en) Multi-microgrid energy management method based on cooperative model predictive control
CN115271467A (en) Virtual power plant scheduling optimization method considering electric carbon collaborative optimization and application
Elkazaz et al. Optimization based real-time home energy management in the presence of renewable energy and battery energy storage
Hou et al. Multi-time scale optimization scheduling of microgrid considering source and load uncertainty
CN115293457A (en) Seasonal hydrogen storage optimization configuration method of comprehensive energy system based on distributed collaborative optimization strategy
CN116011821A (en) Virtual power plant optimization risk scheduling method in power market environment
Wu et al. Dynamic pricing and energy management of hydrogen-based integrated energy service provider considering integrated demand response with a bi-level approach
Liu et al. Optimal dispatch strategy of virtual power plants using potential game theory
CN111967639A (en) Power distribution network optimization method and system considering wind-solar power output and price demand response
Cai et al. Optimal scheduling of a hybrid AC/DC multi-energy microgrid considering uncertainties and Stackelberg game-based integrated demand response
Gu et al. A data-driven stochastic energy sharing optimization and implementation for community energy storage and PV prosumers
Dixit et al. Energy Management in Microgrids with Renewable Energy Sources and Demand Response
Pan et al. Multi-level games optimal scheduling strategy of multiple virtual power plants considering carbon emission flow and carbon trade
Ye et al. Optimal dispatch of integrated energy systems considering integrated demand response and stepped carbon trading
CN114498769B (en) High-proportion wind-solar island micro-grid group energy scheduling method and system
CN116050637A (en) Comprehensive energy virtual power plant optimal scheduling method and system based on time-of-use electricity price
CN112653195B (en) Method for configuring robust optimization capacity of grid-connected micro-grid
Ling et al. Real-time economic dispatching of microgrid using alternating direction multiplier method

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Wang Chenyan

Inventor after: Li Longlong

Inventor after: Zhang Guanglin

Inventor before: Li Longlong

Inventor before: Zhang Guanglin