Micro-grid multi-time scale scheduling method and system and computer equipment

By adopting a multi-time scale scheduling method in the microgrid, using PSO algorithm and MPC technology to construct objective functions and constraints, and generate scheduling plans for the day-ahead and intraday stages, the problems of low microgrid scheduling efficiency and poor adaptability are solved, and the Greater scheduling accuracy and flexibility.

CN118676897APending Publication Date: 2024-09-20GUANGXI POWER GRID CORP
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410670495.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing microgrid dispatch strategies mainly focus on the day-ahead market and real-time market, which are difficult to effectively cope with the intermittency and instability of renewable energy, resulting in low dispatch efficiency, high computational complexity, and difficulty in adapting to rapidly changing operating conditions.

Method used

Using a multi-time scale scheduling method, by constructing the objective function and constraints of the day-ahead stage, using the particle swarm optimization algorithm (PSO) for robust optimization, the scheduling plan for the day-ahead stage is generated, and the MPC for the intra-day stage is constructed based on the scheduling plan for the day-ahead stage. The prediction model provides real-time feedback and corrections to generate target scheduling plans for the intraday period.

Benefits of technology

It improves the accuracy and flexibility of microgrid dispatching, can adapt to large-scale fluctuations and uncertainties, and reduces prediction errors and operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118676897A
    Figure CN118676897A
Patent Text Reader

Abstract

The invention is suitable for the technical field of micro-grid regulation and control, and provides a micro-grid multi-time-scale scheduling method and system and computer equipment, and the method comprises the steps: constructing a target function of a day-ahead stage based on the comprehensive cost of a diesel generator, the comprehensive cost of energy storage and the comprehensive cost of large power grid interaction; constraint conditions are determined to be day-ahead power balance, namely daily power balance, upper and lower constraints of controllable UNIT output and interaction power, unit climbing, energy storage SOC and rotary energy storage; determining a scheduling model of the day-ahead stage according to the constraint condition, and performing robust optimization by using a PSO algorithm to obtain an optimized scheduling scheme of the day-ahead stage; based on the scheduling scheme of the day-ahead stage, constructing an MPC prediction model of the intra-day stage, and feeding back and correcting the model to obtain a scheduling model of the intra-day stage; and performing rolling optimization on the scheduling model of the intra-day stage, generating a target scheduling scheme of the intra-day stage, and obtaining an optimal economic scheme through robust optimization and MPC.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of microgrid control technology, and in particular to a microgrid multi-time scale scheduling method, system and computer equipment. Background Art

[0002] As a small power system integrating power generation, energy storage and electricity consumption, microgrid is an important platform for achieving efficient energy utilization and intelligent management. With the rapid development of renewable energy, microgrid plays an increasingly important role in promoting energy structure transformation, improving energy utilization efficiency and ensuring energy security. However, renewable energy such as wind and solar energy in microgrids have obvious intermittent and unstable characteristics.

[0003] In the prior art, the dispatching strategies of microgrids are mainly concentrated on the day-ahead market and the real-time market. The day-ahead market mainly formulates a 24-hour power generation plan by predicting the load and renewable energy generation of the next day. However, due to the uncertainty of the prediction, deviations often occur in actual operation. In order to improve the dispatching efficiency of microgrids, mathematical programming methods such as linear programming and mixed integer programming have been proposed, and heuristic algorithms such as genetic algorithms and particle swarm optimization algorithms have been proposed. However, these algorithms generally have high computational complexity, strong dependence on prediction accuracy, and are difficult to adapt to rapidly changing operating conditions.

[0004] In view of this, a microgrid multi-time scale scheduling method, system and computer equipment are needed. Summary of the invention

[0005] The embodiments of the present application provide a microgrid multi-time scale scheduling method, system and computer device for solving the problem of imperfect microgrid scheduling.

[0006] A first aspect of an embodiment of the present application provides a microgrid multi-time scale scheduling method, including:

[0007] Constructing an objective function for the day-ahead phase based on the target variables, wherein the target variables are the comprehensive cost of the diesel generator, the comprehensive cost of the energy storage, and the comprehensive cost of the large power grid interaction;

[0008] Determine the constraint conditions of the objective function of the day-ahead stage, wherein the constraint conditions include day-ahead power balance constraint, intraday power balance constraint, upper and lower constraints of controllable UNIT output and interactive power, unit ramp constraint, energy storage SOC constraint and rotating energy storage constraint;

[0009] Determine the scheduling model for the day-ahead phase according to the constraints, and use the PSO algorithm to perform robust optimization to obtain an optimized scheduling plan for the day-ahead phase;

[0010] Based on the scheduling scheme of the day-ahead stage, an MPC prediction model of the intraday stage is constructed, and the MPC prediction model of the intraday stage is fed back and corrected to obtain a scheduling model of the intraday stage;

[0011] The scheduling model for the intraday stage is subjected to rolling optimization to generate a target scheduling plan for the intraday stage.

[0012] Furthermore, the objective function of the day-ahead phase is constructed based on the objective variable, including:

[0013] The target variable is the comprehensive cost C of the diesel generator. DG The expression of (t) is as follows:

[0014] C DG (t) = d 1 P DG (t) 2 +d 2 P DG (t)+d 3 ;

[0015] Where: P DG (t) is the output power of the diesel generator at time t, d 1 d 2 d 3 are the comprehensive cost coefficients of generator output respectively;

[0016] The target variable is the comprehensive cost of energy storage C BA The expression of (t) is as follows:

[0017]

[0018] Where: P BA (t) is the energy storage output power at time t, is the comprehensive cost coefficient of energy storage output;

[0019] The target variable is the comprehensive cost C of large power grid interaction GRID The expression of (t) is as follows:

[0020] C GRID (t) = βP GRID (t);

[0021] Where: P GRID (t) is the interactive power of the large grid at time t, and β is the comprehensive cost coefficient of the interaction between the microgrid and the large grid.

[0022] Furthermore, the constraint conditions for determining the objective function of the day-ahead stage include:

[0023] The expression for the day-ahead power balance with constraints is as follows:

[0024]

[0025] Where: P DR (t 1 ) is t 1 Demand response load, P LOAD (t 1 ) is t 1 The total load after demand response is are wind, photovoltaic and rigid load power respectively;

[0026] The expression for the daily power balance with constraints is as follows:

[0027]

[0028] Where: t 2 The actual wind power during the day, t 2 The actual photovoltaic power during the day, t 2 The actual power of the diesel generator during the day, t 2 The actual power of energy storage during the day, t 2 The actual power of the large power grid during the day, (t 2 ) is t 2 Total actual power during the intraday period;

[0029] The expressions for the upper and lower constraints of the controllable UNIT output and interaction power are as follows:

[0030]

[0031] Where: P DGmin and P DGmax are the upper and lower limits of the diesel generator output power, P BAmin and P BAmax are the upper and lower limits of the energy storage output power, P GRIDmin and P GRIDmax They are the upper and lower limits of the large power grid output power respectively;

[0032] The constraint condition for the crew climb is as follows:

[0033]

[0034] Where: P DGc Δt and P BAc Δ are the power climbing limits of the diesel generator set and the energy storage unit respectively;

[0035] The constraint condition is the expression of energy storage SOC as follows:

[0036]

[0037] Where: η and λ are SOC charge and discharge coefficients;

[0038] The expression for the rotational energy storage with the constraint condition is as follows:

[0039] P BAmax (t)+P DGmax (t)+P GRIDmax (t)―P BA (t)―P DG (t)―P GRID (t)≥ε;

[0040] Where: ε is the spin reserve value.

[0041] Furthermore, the expression of the scheduling model is as follows:

[0042]

[0043] Where: C DG (t 1 ) is t 1 The comprehensive cost of diesel generators, C BA (t 1 ) is t 1 The comprehensive cost of energy storage is C GRID (t 1 ) is t 1 The comprehensive cost of the interaction between the microgrid and the large grid.

[0044] Furthermore, the expression of the optimized scheduling scheme in the day-ahead phase is as follows:

[0045]

[0046] Where: C T is the value factor vector, U is the decision variable vector, I is the number of constraints, a i is the coefficient vector, b i is the uncertain parameter vector, and ω i for b i The coefficient vector of .

[0047] Furthermore, the expression of the MPC prediction model in the intraday stage is as follows:

[0048]

[0049] Where: X(t 2) is the mutual power of the diesel generator, energy storage output and the large power grid at time t, Δu(t 2 ) is t 2 The output power of the diesel generator set and the variable change value of energy storage at the moment, r(t 2 ) is the system error composed of wind power, photovoltaic power generation and load disturbance, Y(t 2 ) is the output of the interactive power of the diesel generator set, energy storage output, and large power grid at time t, A, B, C, and D are the system matrix, input matrix, output matrix, and error matrix respectively.

[0050] Furthermore, the expression for feedback and correction of the MPC prediction model in the intraday stage is as follows:

[0051]

[0052] Where: e k (t 2 ) is the actual error between the predicted value and the actual value, λ k is the error coefficient matrix, X(t 2 +1|t 2 ) is t 2 +1 on t 2 The predicted state at the moment.

[0053] Furthermore, the expression of the scheduling model in the intraday stage is as follows:

[0054]

[0055] Where: M is the prediction time domain, Y(t 2 +i|t 2 ) is t 2 +i in t 2 The predicted output at time, U(t 2 +i) is the predicted change, Δu(t 2 +i|t 2 ) is t 2 +i in t 2 The predicted input at time w v ,w u is the weight coefficient matrix.

[0056] A second aspect of an embodiment of the present application provides a microgrid multi-time scale scheduling system, including:

[0057] An objective function construction unit, used to construct an objective function of the day-ahead phase based on the objective variables, wherein the objective variables are the comprehensive cost of the diesel generator, the comprehensive cost of the energy storage, and the comprehensive cost of the large power grid interaction;

[0058] A constraint determination unit, used to determine the constraint of the objective function of the day-ahead stage, wherein the constraint includes a day-ahead power balance constraint, an intraday power balance constraint, upper and lower constraints of controllable UNIT output and interactive power, a unit ramp constraint, an energy storage SOC constraint, and a rotating energy storage constraint;

[0059] A day-ahead scheduling model determination unit, used to determine the day-ahead scheduling model according to the constraint conditions, and perform robust optimization using a PSO algorithm to obtain an optimized day-ahead scheduling solution;

[0060] An intraday MPC prediction model construction unit is used to construct an intraday MPC prediction model based on the scheduling plan of the day-ahead stage, and to provide feedback and modify the intraday MPC prediction model to obtain an intraday scheduling model;

[0061] The target scheduling scheme generating unit for the intraday stage is used to perform rolling optimization on the scheduling model for the intraday stage to generate the target scheduling scheme for the intraday stage.

[0062] A third aspect of an embodiment of the present application provides a computer device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein when the processor executes the computer-readable instructions, the steps of the microgrid multi-time-scale scheduling method as described in any one of the above items are implemented.

[0063] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0064] 1. In the day-ahead stage, the PSO algorithm is used for robust optimization. By considering the low-frequency components of prediction errors and uncertainties, an optimal economic dispatch scheme that can adapt to large-scale fluctuations is formulated, which effectively improves the accuracy of microgrid dispatch.

[0065] 2. In the intraday stage, the MPC technology is used to provide real-time feedback and correction to the day-ahead dispatch plan, which solves the high-frequency components in the prediction error and uncertainty, and effectively improves the flexibility of microgrid dispatch. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A schematic diagram of an embodiment of a microgrid multi-time scale scheduling method provided by the present invention;

[0067] Figure 2 A block diagram of the power grid system provided by the present invention;

[0068] Figure 3 A structural block diagram of an embodiment of a microgrid multi-time scale dispatching system provided by the present invention;

[0069] Figure 4The present invention provides a structural block diagram of a computer device. DETAILED DESCRIPTION

[0070] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0071] In this embodiment, a microgrid multi-time scale scheduling method is used to improve the accuracy and flexibility of microgrid scheduling in the day-ahead and intra-day stages. The implementation method in this embodiment can be implemented in the system, can be implemented in the server, and can also be implemented in the terminal, without specific limitation.

[0072] Embodiment 1

[0073] See also Figure 1 , an embodiment of a microgrid multi-time scale scheduling method of the present invention comprises the following steps:

[0074] S11. constructing the objective function of the day-ahead phase based on the target variables, where the target variables are the comprehensive cost of diesel generators, the comprehensive cost of energy storage, and the comprehensive cost of large grid interaction;

[0075] like Figure 2 As shown, the energy crisis requires innovative resources and technologies to effectively utilize more renewable energy sources, such as wind and solar energy. Therefore, more and more wind power and photovoltaic power generation are connected to the main power grid, which leads to increasing uncertainty in the total amount of wind power and photovoltaic power generation connected to the power system. Moreover, these uncertainties also bring great challenges to the economic operation of microgrids, which are one of the important forms of wind power and photovoltaic grid-connected power generation systems. Therefore, the solution provided by the present invention can reduce the impact of uncertainty and prediction errors in wind power and photovoltaic power generation.

[0076] In this embodiment, the target variable is the comprehensive cost C of the diesel generator. DG The expression of (t) is as follows:

[0077] C DG (t) = d 1 P DG (t) 2 +d 2 P DG (t)+d 3 ;

[0078] Where: P DG (t) is the output power of the diesel generator at time t, d 1 d 2 d 3 are the comprehensive cost coefficients of generator output respectively;

[0079] The target variable is the comprehensive cost of energy storage C BA The expression of (t) is as follows:

[0080]

[0081] Where: P BA (t) is the energy storage output power at time t, is the comprehensive cost coefficient of energy storage output;

[0082] The target variable is the comprehensive cost C of large power grid interaction GRID The expression of (t) is as follows:

[0083] C GRID (t) = βP GRID (t);

[0084] Where: P GRID (t) is the interactive power of the large grid at time t, and β is the comprehensive cost coefficient of the interaction between the microgrid and the large grid.

[0085] S12. Determine the constraints of the objective function in the day-ahead phase, the constraints include day-ahead power balance constraints, intraday power balance constraints, upper and lower constraints of controllable UNIT output and interactive power, unit ramp constraints, energy storage SOC constraints, and rotating energy storage constraints;

[0086] In this embodiment, the constraint condition is the expression of the day-ahead power balance as follows:

[0087]

[0088] Where: P DR (t 1 ) is t 1 Demand response load, P LOAD (t 1 ) is t 1 The total load after demand response is are wind, photovoltaic and rigid load power respectively;

[0089] The expression for the daily power balance with constraints is as follows:

[0090]

[0091] Where: t 2 The actual wind power during the day, t 2 The actual photovoltaic power during the day, t 2 The actual power of the diesel generator during the day, t 2 The actual power of energy storage during the day, t 2 The actual power of the large power grid during the day, (t 2 ) is t 2 Total actual power during the intraday period;

[0092] The expressions for the upper and lower constraints of the controllable UNIT output and interaction power are as follows:

[0093]

[0094] Where: P DGmin and P DGmax are the upper and lower limits of the diesel generator output power, P BAmin and P BAmax are the upper and lower limits of the energy storage output power, P GRIDmin and P GRIDmax They are the upper and lower limits of the large power grid output power respectively;

[0095] The constraint condition for the crew climb is as follows:

[0096]

[0097] Where: P DGc Δt and P BAc Δ are the power climbing limits of the diesel generator set and the energy storage unit respectively;

[0098] The constraint condition is the expression of energy storage SOC as follows:

[0099]

[0100] Where: η and λ are SOC charge and discharge coefficients;

[0101] The expression for the rotational energy storage with the constraint condition is as follows:

[0102] P BAmax (t)+P DGmax (t)+P GRIDmax (t)―P BA (t)―P DG (t)―P GRID (t)≥ε;

[0103] Where: ε is the spin reserve value.

[0104] S13. Determine the scheduling model for the day-ahead phase according to the constraints, and use the PSO algorithm for robust optimization to obtain an optimized scheduling plan for the day-ahead phase;

[0105] In this embodiment, the expression of the scheduling model for the day-ahead stage is determined according to the above constraints as follows:

[0106]

[0107] Where: t 1 The time interval is 1h, C DG (t 1 ) is t 1 The comprehensive cost of diesel generators, C BA (t 1 ) is t 1 The comprehensive cost of energy storage is C GRID (t 1 ) is t 1 The comprehensive cost of the interaction between the microgrid and the large grid.

[0108] The PSO algorithm is used for robust optimization to obtain the optimized day-ahead scheduling scheme, which specifically includes the following steps:

[0109] 1. Robust optimization reveals the optimal solution under a given interval of uncertainty. Therefore, the microgrid economic dispatch scheme based on robust optimization can adapt to the large-scale fluctuations in the actual operating state of the microgrid. The robust optimization model with the goal of minimizing the microgrid cost, that is, the dispatch scheme in the day-ahead stage, is expressed as follows:

[0110]

[0111] Where: C T is the value factor vector, U is the decision variable vector, I is the number of constraints, a i is the coefficient vector, b i is the uncertain parameter vector, and ω i for b i The coefficient vector of .

[0112] 2. The above polyhedral uncertainty set describes the uncertainty of wind power, photovoltaic power and load demand in the microgrid, b i The element in is b ij , the number of elements is j, as follows:

[0113]

[0114] in, is an uncertain parameter, and the predicted value is b ij The maximum fluctuation value is ξ ij is the fluctuation ratio, Ω i is a polyhedral uncertainty set, Γ i It's uncertainty, yes Has a restrictive effect.

[0115] The value of uncertainty Γ i It can be selected according to the central limit theorem, assuming EX ij The expected value of μ is i ; its variance is σ 2 , are independent and identically distributed. According to the central limit theorem:

[0116]

[0117] Among them, N(0,1) is the standard normal distribution.

[0118] The above-mentioned PSO algorithm is used for robust optimization, starting from a random solution and searching for the optimal solution through iteration. This algorithm has the advantages of simple implementation, high accuracy and fast convergence speed.

[0119] S14. constructing an MPC prediction model for the intraday stage based on the scheduling plan for the day-ahead stage, and providing feedback and revising the MPC prediction model for the intraday stage to obtain a scheduling model for the intraday stage;

[0120] S15. Perform rolling optimization on the scheduling model of the intraday stage to generate a target scheduling plan for the intraday stage.

[0121] 1. The MPC prediction model can predict the future state of the system based on the current state. It consists of state variables, control inputs, and outputs. The expression is as follows:

[0122]

[0123] Where: X(t 2 ) is the state variable at time t, the state variable is the mutual power of the diesel generator, energy storage output and the large power grid, Δu(t 2 ) is t 2 The control input at the moment is the variable change value of the diesel generator set output power and energy storage, r(t 2 ) is the system error composed of wind power, photovoltaic power generation and load disturbance, Y(t 2 ) is the output at time t, the output is the interactive power of the diesel generator set, energy storage output, and large power grid, A, B, C, and D are the system matrix, input matrix, output matrix, and error matrix respectively.

[0124] 2. In the prediction domain, the MPC tracking feature provides performance indicators (reference values) for rolling optimization. The expression of the objective function is:

[0125]

[0126] Where: M is the prediction time domain, Y(t 2+i|t 2 ) is t 2 +i in t 2 The predicted output at time, U(t 2 +i) is the predicted change, Δu(t 2 +i|t 2 ) is t 2 +i in t 2 The predicted input at time w v ,w u is the weight coefficient matrix.

[0127] The above is a function in 2-Norm form. After the formula is transformed into a standard quadratic programming form, its Hessian matrix is ​​a positive definite matrix. Therefore, the global minimum is unique and does not fall into the local optimum. Therefore, the present invention selects quadratic programming to solve MPC.

[0128] The performance indicators in M ​​time domains are optimized at time t, and t 2 to 2 +M predicts the control sequence Δu(t 2 ), the expression is as follows:

[0129]

[0130] Where: M is the prediction time domain.

[0131] 3. There are many nonlinear and uncertain factors in the controlled object. The actual value and predicted value of the output are detected at each sampling time, and the system performance is fed back and corrected. The expression is as follows:

[0132]

[0133] Where: e k (t 2 ) is the actual error between the predicted value and the actual value, λ k is the error coefficient matrix, X(t 2 +1|t 2 ) is t 2 +1 on t 2 The predicted output at time.

[0134] Specifically, the above t 2 The actual load output and actual interactive power at time +1 are used as the initial values ​​of the scheduling model in the intraday stage, and the next rolling optimization is carried out, and this cycle is repeated until the target scheduling model is output.

[0135] In the above embodiments, robust optimization solves the prediction error and uncertainty of low-frequency components, and MPC can effectively solve high-frequency components. In the day-ahead and long-time scale scheduling stages, demand response is taken into account, and robust optimization provides an economic optimization scheduling scheme under uncertain conditions, so that the day-ahead economic scheduling scheme can adapt to large-scale fluctuations in the actual operating state of the microgrid. In the intraday and short-time scale scheduling stages, MPC provides real-time feedback and corrections to the day-ahead robust economic optimal scheduling scheme to meet the actual operating state of the microgrid.

[0136] Embodiment 2

[0137] See also Figure 3 , an embodiment of a microgrid multi-time scale dispatching system of the present invention comprises the following steps:

[0138] An objective function construction unit 101 is used to construct an objective function of the day-ahead phase based on the objective variables, where the objective variables are the comprehensive cost of the diesel generator, the comprehensive cost of the energy storage, and the comprehensive cost of the large power grid interaction;

[0139] The constraint determination unit 102 is used to determine the constraint of the objective function of the day-ahead stage, wherein the constraint includes the day-ahead power balance constraint, the same-day power balance constraint, the upper and lower constraints of the controllable UNIT output and the interactive power, the unit climbing constraint, the energy storage SOC constraint and the rotating energy storage constraint;

[0140] The day-ahead scheduling model determination unit 103 is used to determine the day-ahead scheduling model according to the constraint conditions, and perform robust optimization using the PSO algorithm to obtain an optimized day-ahead scheduling solution;

[0141] The intra-day MPC prediction model construction unit 104 is used to construct the intra-day MPC prediction model based on the day-ahead scheduling plan, and to provide feedback and correction to the intra-day MPC prediction model to obtain the intra-day scheduling model;

[0142] The intra-day target scheduling solution generating unit 105 is used to perform rolling optimization on the scheduling model of the intra-day stage to generate the intra-day target scheduling solution.

[0143] For the specific definition of the scheduling system, please refer to the definition of the scheduling method above, which will not be repeated here. Each unit module in the above scheduling system can be implemented in whole or in part by software, hardware and a combination thereof. The above unit modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0144] Embodiment 3

[0145] See also Figure 4 The present invention provides a computer device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the above method are implemented.

[0146] It is understandable that those skilled in the art can, under the guidance of the above embodiments, combine various implementation methods in the above embodiments to obtain technical solutions of multiple implementation methods.

[0147] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A microgrid multi-time scale scheduling method, characterized in that: include: Constructing an objective function for the day-ahead phase based on the target variables, wherein the target variables are the comprehensive cost of the diesel generator, the comprehensive cost of the energy storage, and the comprehensive cost of the large grid interaction; Determine the constraint conditions of the objective function of the day-ahead stage, wherein the constraint conditions include day-ahead power balance constraint, intraday power balance constraint, upper and lower constraints of controllable UNIT output and interactive power, unit ramp constraint, energy storage SOC constraint and rotating energy storage constraint; Determine the scheduling model for the day-ahead phase according to the constraints, and use the PSO algorithm for robust optimization to obtain an optimized scheduling plan for the day-ahead phase; Based on the scheduling scheme of the day-ahead stage, an MPC prediction model of the intraday stage is constructed, and the MPC prediction model of the intraday stage is fed back and corrected to obtain a scheduling model of the intraday stage; The scheduling model for the intraday stage is subjected to rolling optimization to generate a target scheduling plan for the intraday stage.

2. The microgrid multi-time scale scheduling method according to claim 1, characterized in that: The objective function of the day-ahead phase is constructed based on the objective variable, including: The target variable is the comprehensive cost C of the diesel generator. DG The expression of (t) is as follows: C DG (t)=d1P DG (t) 2 +d2P DG (t)+d3; Where: P DG (t) is the output power of the diesel generator at time t, d1, d2, and d3 are the comprehensive cost coefficients of the generator output; The target variable is the comprehensive cost of energy storage C BA The expression of (t) is as follows: Where: P BA (t) is the energy storage output power at time t, is the comprehensive cost coefficient of energy storage output; The target variable is the comprehensive cost C of large power grid interaction GRID The expression of (t) is as follows: C GRID (t)=βP GRID (t); Where: P GRID (t) is the interactive power of the large grid at time t, and β is the comprehensive cost coefficient of the interaction between the microgrid and the large grid.

3. The microgrid multi-time scale scheduling method according to claim 2, characterized in that: The constraint conditions for determining the objective function of the day-ahead stage include: The expression for the day-ahead power balance with constraints is as follows: Where: P DR (t1) is the demand response load at t1, P LOAD (t1) is the total load after demand response at t1, are wind, photovoltaic and rigid load power respectively; The expression for the daily power balance with constraints is as follows: Where: is the actual wind power during the day at time t2, is the actual photovoltaic power during the day at time t2, is the actual power of the diesel generator during the intraday period at time t2, is the actual power of energy storage during the intraday phase at time t2, is the actual power of the large power grid during the day at time t2, (t2) is the total actual power in the intraday phase at time t2; The expressions for the upper and lower constraints of the controllable UNIT output and interactive power are as follows: Where: P DGmin and P DGmax are the upper and lower limits of the diesel generator output power, P BAmin and P BAmax are the upper and lower limits of the energy storage output power, P GRIDmin and P GRIDmax They are the upper and lower limits of the large power grid output power respectively; The constraint condition for the crew climb is as follows: Where: P DGc Δt and P BAc Δ are the power climbing limits of the diesel generator set and the energy storage unit respectively; The constraint condition is the expression of energy storage SOC as follows: Where: η and λ are SOC charge and discharge coefficients; The expression for the rotational energy storage with constraints is as follows: P BAmax (t)+P DGmax (t)+P GRIDmax (t)―P BA (t)―P DG (t)―P GRID (t)≥ε; Where: ε is the spin reserve value.

4. The microgrid multi-time scale scheduling method according to claim 3, characterized in that: The expression of the scheduling model is as follows: Where: C DG (t1) is the comprehensive cost of the diesel generator at t1, C BA (t1) is the comprehensive cost of energy storage at t1, C GRID (t1) is the comprehensive cost of interaction between the microgrid and the large grid at t1.

5. The microgrid multi-time scale scheduling method according to claim 1, characterized in that: The expression of the optimized scheduling scheme for the day-ahead phase is as follows: Where: C T is the value factor vector, U is the decision variable vector, I is the number of constraints, a i is the coefficient vector, b i is the uncertain parameter vector, and ω i for b i The coefficient vector of .

6. The microgrid multi-time scale scheduling method according to claim 1, characterized in that: The expression of the MPC prediction model for the intraday stage is as follows: Where: X(t2) is the mutual power of the diesel generator, energy storage output and the large power grid at time t, Δu(t2) is the variable change value of the diesel generator set output power and energy storage at time t2, r(t2) is the system error composed of wind power, photovoltaic power generation and load disturbance, Y(t2) is the output of the interactive power of the diesel generator set, energy storage output and the large power grid at time t, A, B, C, and D are the system matrix, input matrix, output matrix, and error matrix respectively.

7. The microgrid multi-time scale scheduling method according to claim 1, characterized in that: The expression for feedback and correction of the MPC prediction model during the intraday period is as follows: Where: e k (t2) is the actual error between the predicted value and the actual value, λ k is the error coefficient matrix, and X(t2+1|t2) is the predicted state of t2+1 ​​at time t2.

8. The microgrid multi-time scale scheduling method according to claim 1, characterized in that: The expression of the scheduling model in the intraday stage is as follows: Where: M is the prediction time domain, Y(t2+i|t2) is the prediction output of t2+i at time t2, U(t2+i) is the prediction change, Δu(t2+i|t2) is the prediction input of t2+i at time t2, and w v ,w u is the weight coefficient matrix.

9. A microgrid multi-time scale dispatching system, characterized in that: include: An objective function construction unit, used to construct an objective function of the day-ahead phase based on the objective variables, wherein the objective variables are the comprehensive cost of the diesel generator, the comprehensive cost of the energy storage, and the comprehensive cost of the large power grid interaction; A constraint determination unit, used to determine the constraint of the objective function of the day-ahead stage, wherein the constraint includes a day-ahead power balance constraint, an intraday power balance constraint, upper and lower constraints of controllable UNIT output and interactive power, a unit ramp constraint, an energy storage SOC constraint, and a rotating energy storage constraint; A day-ahead scheduling model determination unit, used to determine the day-ahead scheduling model according to the constraint conditions, and perform robust optimization using a PSO algorithm to obtain an optimized day-ahead scheduling solution; An intraday MPC prediction model construction unit is used to construct an intraday MPC prediction model based on the scheduling plan of the day-ahead stage, and to provide feedback and modify the intraday MPC prediction model to obtain an intraday scheduling model; The target scheduling scheme generating unit for the intraday stage is used to perform rolling optimization on the scheduling model for the intraday stage to generate the target scheduling scheme for the intraday stage.

10. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the steps of the microgrid multi-time scale scheduling method according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Two-stage optimization method for energy management of carbon-constrained microgrid

    CN120634285A

  • Power system distribution robust scheduling optimization method based on optimal configuration

    CN120914777A