The invention generally belongs to the technical field of multi-energy complementary micro-grids, and relates to a method for real-time scheduling of multi-energy complementary micro-grids, and in particular to a method for real-time scheduling of multi-energy complementary micro-grids based on a Rollout algorithm
As the smart grid technology evolves, a multi-energy complementary micro-grid system incorporating new energies with an energy storage feature has aroused widespread concerns from researchers. As an autonomous system capable of self-control, protection and management, the multi-energy complementary micro-grids can facilitate the utilization of distributed energy on the spot and enable highly reliable supply of various forms of energy loaded in a more economic and friendly way, transitioning from the traditional grid to the smart grid.
The fluctuation and intermittence in the new-energy outputs pose great challenges to the real-time scheduling of the multi-energy complementary micro-grids, and since the real-time scheduling is a moving-horizon process, the control behavior in a current scheduling interval not only affects the current cycle but also affects the state of a next scheduling interval. The Markov decision model provides a good idea to solve this moving scheduling problem with uncertain variables, but the large number of variables brings a disaster on dimension, leading to a difficulty in finding a solution to the model, and how to find an effective method to solve the difficulty above has become the key to real-time scheduling.
An objective of the present invention is to overcome the deficiencies of the prior art, and to provide a method for real-time scheduling of multi-energy complementary micro-grids based on a Rollout algorithm, which is simple, feasible, efficient and rapid with reasonable design and high practicability.
The invention solves the technical problem with the following technical solution:
Step 4, finding a solution to the moving-horizon Markov decision process model for the real-time scheduling of the multi-energy complementary micro-grids by using the Rollout algorithm based on the basic feasible solution from Step 3.
Furthermore, the constraint conditions established for the real-time scheduling in Step 1 comprise: micro-grid electric equilibrium constraints, storage battery operating constraints, exchange electric power constraints for the micro-grids and a main grid, and electric power output constraints for combined heat and power equipment;
the micro-grid electric equilibrium constraints are as follows:
in the formula, t is a time parameter; pG (t) is exchange electric power for the micro-grids and the main grid at a time t, which is positive during the purchasing of electricity from the main grid and negative during selling of electricity to the main grid; N is the quantity of the combined heat and power equipment; pic(t) is the output electric power of the ith combined heat and power equipment at the time t; pB(t) is charging/discharging power of the storage battery at the time t, which is negative during charging and positive during discharging; pw(t) is generated output of wind power at the time t; and pD(t) is an electric load demand at the time t;
the storage battery operating constraints are as follows:
in the formulae, E(t) and E(t+1) are energy storage levels of the storage battery at the time t and a time t+1 respectively; E and Ē are upper and lower boundaries of the capacity of the storage battery respectively; ΔT is a time interval from the time t to the time t+1; ac and ad are charging and discharging efficiencies of the storage battery respectively; pB (t) is charging/discharging power of the storage battery at the time t, which is negative during charging and positive during discharging; and
the exchange electric power constraints for the micro-grids and the main grid are as follows:
in the formulae, pG(t) and pG(t−1) are exchange electric power between the micro-grids and the main grid at the times t and t−1 respectively, which is positive during purchasing of electricity from the main grid and negative during selling of electricity to the main grid;
the electric power output constraints for the combined heat and power equipment are as follows:
in the formulae, pic(t) is output electric power of the ith combined heat and power equipment at the time t;
Furthermore, establishing a target function of the real-time scheduling for the moving-horizon Markov decision process model for the real-time scheduling of the multi-energy complementary micro-grids with random new-energy outputs in Step 2 specifically comprises the following sub-steps of: first setting up an operating cost function of the micro-grid system at a single scheduling interval with the goal of minimum operating cost of the micro-grid system at the single scheduling interval, and then establishing a target function of the real-time scheduling with the goal of the minimum operating cost of the micro-grid system in the moving-horizon Markov decision cycle;
the operating cost function of the micro-grid system at the single scheduling interval is as follows:
in the formulae, X(t) is a state variable of the micro-grid system at the time t; A(t) is a control variable of the micro-grid system at the time t; ct(X(t),A(t)) is a function of the system operating cost at the single scheduling interval; λ(t) is a grid electricity price at the time t; c is a price of natural gas; Fic(t) is a linear function between a gas consumption and an electric output of the ith combined heat and power equipment; and ai and bi are coefficients of the linear function between the gas consumption and the electric output of the ith combined heat and power equipment;
the target function of the real-time scheduling is as follows:
in the formula, Jt(X(t),A(t)) is a function of the operating cost of the micro-grid system in the moving-horizon Markov decision cycle;
Furthermore, Step 3 specifically comprises the following sub-steps of: dividing a complete scheduling cycle into a plurality of scheduling intervals, finding a solution specific to a scheduling optimization problem in each of the scheduling intervals based on the greedy algorithm respectively, and finally synthesizing locally optimal solutions to respective scheduling intervals into one basic feasible solution across the complete scheduling interval.
Furthermore, the finding a solution specific to a scheduling optimization problem in each of the scheduling intervals based on the greedy algorithm respectively in Step 3 specifically comprises the following sub-steps of:
the constraint conditions are as follows:
in the formulae, pb(t) and
Furthermore, Step 4 specifically comprises the following sub-steps of:
in the formula,
The present invention has the following advantages and positive effects:
The embodiments of the present invention are further described in detail below with reference to the accompanying drawings:
The present invention provides a method for real-time scheduling of multi-energy complementary micro-grids based on the Rollout algorithm, which not only takes the fluctuations in the new energy outputs into consideration, but also more effectively solves the problem on the moving-horizon scheduling of the multi-energy complementary micro-grids, solving the problem on the moving-horizon Marcov decision model with the Rollout algorithm. According to the method, at first, the moving-horizon Markov decision process model for multi-energy complementary micro-grid real-time scheduling with random new-energy output is set up, and the constraint conditions and the target function for the real-time scheduling are established; then, a complete scheduling cycle is divided into a plurality of scheduling intervals, and one basic feasible solution meeting the constraint conditions for the real-time scheduling is found based on the greedy algorithm; and finally, a solution to the moving-horizon Markov decision model for multi-energy complementary micro-grids is found by using the Rollout algorithm based on the basic feasible solution above.
A method for real-time scheduling of multi-energy complementary micro-grids based on a Rollout algorithm, as shown in
Step 1, setting up a moving-horizon Markov decision process model for the real-time scheduling of the multi-energy complementary micro-grids with random new-energy outputs, and establishing constraint conditions for the real-time scheduling;
where the constraint conditions established for the real-time scheduling in Step 1 comprises: micro-grid electric equilibrium constraints, storage battery operating constraints, exchange electric power constraints for the micro-grids and a main grid, and electric power output constraints for combined heat and power equipment;
the micro-grid electric equilibrium constraints are as follows:
in the formula, t is a time parameter; pG(t) is exchange electric power for the micro-grids and the main grid at a time t, which is positive during purchasing of electricity from the main grid and negative during selling of electricity to the main grid; N is the quantity of the combined heat and power equipment; pic(t) is output electric power of the ith combined heat and power equipment at the time t; pB(1) is charging/discharging power of the storage battery at the time t, which is negative during charging and positive during discharging; pw(t) is generated output of wind power at the time t; and pD(t) is an electric load demand at the time t;
the storage battery operating constraints are as follows:
in the formulae, E(t) and E(t+1) are energy storage levels of the storage battery at the time t and a time t+1 respectively; E and Ē are upper and lower boundaries of the capacity of the storage battery respectively; ΔT is a time interval from the time t to the time t+1; ac and ad are charging and discharging efficiencies of the storage battery respectively; pB(t) is charging/discharging power of the storage battery at the time t, which is negative during charging and positive during discharging; and
the exchange electric power constraints for the micro-grids and the main grid are as follows:
in the formulae, pG(t) and pG(t−1) are exchange electric power between the micro-grids and the main grid at the times t and t−1 respectively, which is positive during purchasing of electricity from the main grid and negative during selling of electricity to the main grid;
the electric power output constraints for the combined heat and power equipment are as follows:
in the formulae, pic(t) is output electric power of the ith combined heat and power equipment at the time t;
Step 2, establishing a target function of the real-time scheduling for the moving-horizon Markov decision process model for the real-time scheduling of the multi-energy complementary micro-grids with random new-energy outputs, with the goal of minimum operating cost of a micro-grid system in a moving-horizon Markov decision cycle;
wherein when in a grid-connected state with the main grid, the multi-energy complementary micro-grids can exchange electricity with the main grid, with energy supply equipment comprising wind driven generators, combined heat and power (CHP) equipment, and storage batteries; and the target function for real-time scheduling is to achieve the minimum operating cost, including system electricity purchasing cost and fuel cost of the CHP equipment, for the micro-grid system.
the establishing a target function of the real-time scheduling for the moving-horizon Markov decision process model for the real-time scheduling of the multi-energy complementary micro-grids with random new-energy outputs specifically comprises the following sub-steps of: first setting up an operating cost function of the micro-grid system at a single scheduling interval with the goal of minimum operating cost of the micro-grid system at the single scheduling interval, and then establishing a target function of the real-time scheduling with the goal of the minimum operating cost of the micro-grid system in the moving-horizon Markov decision cycle;
the operating cost function of the micro-grid system at the single scheduling interval is as follows:
in the formulae, X(t) is a state variable of the micro-grid system at the time t; A(t) is a control variable of the micro-grid system at the time t; ct(X(t),A(t)) is a function of system operating cost at the single scheduling interval; λ(t) is a grid electricity price at the time t; c is a price of natural gas; Fic(t) is a linear function between a gas consumption and an electric output of the ith combined heat and power equipment; and ai and bi are coefficients of the linear function between the gas consumption and the electric output of the ith combined heat and power equipment;
the target function of the real-time scheduling is as follows:
in the formula, Jt(X(t),A(t)) is a function of the operating cost of the micro-grid system in the moving-horizon Markov decision cycle;
Step 3, dividing a single complete scheduling cycle into a plurality of scheduling intervals, and finding one basic feasible solution meeting the constraint conditions for the real-time scheduling based on a greedy algorithm;
where Step 3 specifically comprises the following sub-steps of: dividing a complete scheduling cycle into a plurality of scheduling intervals, finding a solution specific to a scheduling optimization problem in each of the scheduling intervals based on the greedy algorithm respectively, and finally synthesizing locally optimal solutions to respective scheduling intervals into one basic feasible solution across the complete scheduling interval.
the finding a solution specific to a scheduling optimization problem in each of the scheduling intervals based on the greedy algorithm respectively in Step 3 specifically comprises the following sub-steps of:
the constraint conditions are as follows:
in the formulae, pb (t)and
Step 4, finding a solution to the moving-horizon Markov decision process model for the real-time scheduling of the multi-energy complementary micro-grids by using the Rollout algorithm based on the basic feasible solution from Step 3.
Step 4 specifically comprises the following sub-steps of:
in the formula,
It should be noted that the described embodiments of the present invention are for an illustrative purpose rather than a limiting purpose, and the present invention thus includes but not limited to the embodiments described in the Description of Preferred Embodiments. Any other embodiments obtained by those skilled in the art according to the technical solution of the present invention likewise fall within the protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201710168834.7 | Mar 2017 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2017/109862 | 11/8/2017 | WO | 00 |