CN-121566646-B - Event-driven household photo-electricity storage micro-grid energy management method
Abstract
The invention discloses an event-driven household photo-electricity storage micro-grid energy management method. The method comprises the steps of before a dispatching day starts, a solver uses the photo-storage micro-grid to send a day-ahead curve of the dispatching day to an energy storage battery, checking whether an emergency occurs in the photo-storage micro-grid in each period of the dispatching day, if so, recalculating an operation curve of the rest period of the day according to the real-time operation condition of the photo-storage micro-grid of the latest user, and sending the operation curve to the energy storage battery, and if no emergency occurs, continuing to operate according to the day-ahead curve until the emergency occurs. The method solves the problem of curve optimization in the future caused by unexpected events such as out-of-limit source load prediction deviation or electric automobile access and departure under the condition that the computational resources of the household micro-grid terminal are limited. The economic effect close to rolling optimization is obtained with few solving times, so that the economic operation of the home micro-grid is ensured, and the requirement that the lightweight terminal equipment needs to save computing resources is met.
Inventors
- WAN XINLIN
- WAN MUCHUN
- Huo Yingning
- GENG GUANGCHAO
- GONG YUZHONG
- JIANG QUANYUAN
Assignees
- 浙江大学
Dates
- Publication Date
- 20260512
- Application Date
- 20260115
Claims (7)
- 1. An event-driven household optical storage charging micro-grid energy management method is characterized by comprising the following steps of: Dividing the whole day into a plurality of time periods before the dispatching day begins, and based on predicted values of photovoltaic output and load power in a user photo-electricity storage charging micro-grid, fixed parameters of photo-electricity storage charging equipment configured by a user, preset default charging habit data of an electric automobile and a day-ahead curve of the dispatching day of the photo-electricity storage charging micro-grid by a power market demand response regulation instruction solver and issuing the curve to an energy storage battery; Checking whether an emergency occurs to the photo-electricity storage micro-grid of a user in each period of a dispatching day, if so, recalculating an operation curve of the rest period of the day and sending the operation curve to an energy storage battery according to the real-time operation condition of the photo-electricity storage micro-grid of the latest user; The emergency event comprises photovoltaic power generation and load power prediction deviation out-of-limit events; The photovoltaic power generation and load power prediction deviation out-of-limit event checking mode is as follows: obtaining the integral prediction deviation of the coupling of the photovoltaic output and the load power in the time window by utilizing the sliding time window, and calculating the deviation rate moving average value in the time window If the deviation rate is a moving average in L consecutive periods When the deviation rate threshold is exceeded, photovoltaic power generation and load power prediction deviation out-of-limit events occur, otherwise, no occurrence occurs; Calculating a moving average of the deviation rate within the time window using the following formula : Wherein t is the current operation period, i is the index period, M is the period number in the time window; is the deviation rate of period i; the calculating process of the deviation rate threshold value is as follows: Collecting the actual value of the photovoltaic output, the predicted value of the photovoltaic output, the actual value of the load power and the predicted value of the load power in real time in each period of time within a scheduling day, then calculating the photovoltaic deviation and the load deviation, then taking the difference between the photovoltaic deviation and the load deviation as the coupling integral deviation, and then calculating the normalized relative deviation rate based on the coupling integral deviation; historical-based normalized relative deviation rate data calculation mean And standard deviation The formula is as follows: Wherein, the Counting historical data; Normalized relative deviation rate data representing the ith history; according to the mean value And standard deviation Calculating a deviation rate threshold The formula is as follows: wherein k is a sensitivity coefficient, and the value is adjusted according to weather and day type.
- 2. The method for managing energy of a household optical storage micro-grid based on event driving according to claim 1, wherein the emergency event further comprises a household electric vehicle grid-connected event, a household electric vehicle off-grid event, a user modification expected charging target SOC event, a grid side update demand response regulation command event, a micro-grid-connected and island operation mode switching event.
- 3. The event-driven household photo-electricity storage and micro grid energy management method according to claim 1, wherein the day-ahead curve of the schedule day of the photo-electricity storage and micro grid for the solver specifically comprises: Constructing a mixed integer linear programming model and constraint conditions, solving a day-ahead curve of a photo-storage micro-grid on a dispatching day based on the mixed integer linear programming model, wherein an objective function f of the mixed integer linear programming model meets the following formula: Wherein, the 、 Respectively representing the electricity purchasing power and the electricity selling power of the photo-electricity storage micro-grid at the time t; 、 respectively representing electricity purchasing price and electricity selling price in t time period; 、 Respectively representing the charging states of the energy storage battery and the electric automobile in the t period; 、 respectively representing the charging states of the energy storage battery and the electric automobile in the t-1 period; representing the charge-discharge state transition penalty factor.
- 4. An event driven consumer-based optical storage micro grid energy management system for implementing the method of claim 1, comprising: The day-ahead curve generation unit is used for solving the day-ahead curve of the photo-storage charging micro-grid on the dispatching day based on the predicted values of the photovoltaic output and the load power in the photo-storage charging micro-grid for the user, the fixed parameters of the photo-storage charging equipment configured by the user, preset default charging habit data of the electric automobile and the power market demand response regulation instruction; the emergency judging unit is used for checking whether an emergency occurs to the photo-storage micro-grid of the household in each period of the dispatching day; and the running curve generating unit is used for recalculating the running curve from the current period to the period after the current day based on the latest real-time running condition of the household photo-electricity storage micro-grid.
- 5. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of a method for event-driven household-based energy storage and micro grid management according to any of claims 1 to 3.
- 6. A computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of an event driven household-based optical storage micro grid energy management method according to any of claims 1 to 3.
- 7. A computer program product comprising computer programs/instructions which when executed by a processor implement the steps of a method of event driven consumer photo-charging microgrid energy management of any of claims 1 to 3.
Description
Event-driven household photo-electricity storage micro-grid energy management method Technical Field The invention belongs to the field of household optical storage and charging micro-grid optimization, and particularly relates to an event-driven household optical storage and charging micro-grid energy management method. Background At present, the existing research is mainly focused on the energy management of an optical storage charging micro-grid of an industrial park or a commercial building, the research on the charging load of a single electric automobile is extremely large in proportion, and the energy management research on the optical storage charging micro-grid of a family with limited computing resources of terminal control equipment is less. In household photo-electric storage micro-grid, the power of the electric car alternating-current charging pile is usually larger than the household base load power, so the duty ratio of the charging power in the load is extremely high. The characteristics enable the access or departure event of the single electric automobile to immediately cause the original micro-grid power balance state to be suddenly changed, and seriously damage the effectiveness of an optimized operation scheme based on the daily prediction. The traditional day-ahead optimization method is rapidly out of optimization in the dynamic scene, so that the running economy is obviously reduced. To solve the above problems, researchers have proposed a rolling optimization method for a fixed time interval. However, this approach requires periodic repeated solutions to the optimization problem, which can continue to occupy higher computing resources. The home micro-network generally adopts an embedded control device with limited resources as an operation terminal, and the device has the characteristics of small memory capacity, limited processor performance and the like. In actual operation, the terminal equipment needs to bear multiple tasks such as data monitoring, man-machine interaction, control instruction execution and the like, and frequent optimization calculation is extremely easy to cause the problems of overhigh CPU occupancy rate, response delay, even system halt and the like, so that the stable operation of the user micro-grid is influenced. Disclosure of Invention The invention provides an event-driven household optical storage micro-grid energy management method, which aims to solve the problems of real-time mismatch of a daily optimization operation curve and limitation of calculation resources of household lightweight terminal equipment caused by emergency events such as electric automobile access or prediction deviation out-of-limit under household scenes. In order to achieve the above purpose, the invention adopts the following technical scheme: 1. Event-driven household photo-electricity storage micro-grid energy management method Dividing the whole day into a plurality of time periods before the dispatching day begins, and based on predicted values of photovoltaic output and load power in a user photo-electricity storage charging micro-grid, fixed parameters of photo-electricity storage charging equipment configured by a user, preset default charging habit data of an electric automobile and a day-ahead curve of the dispatching day of the photo-electricity storage charging micro-grid by a power market demand response regulation instruction solver and issuing the curve to an energy storage battery; checking whether an emergency occurs to the photo-electricity storage micro-grid of a user in each period of the dispatching day, if so, recalculating an operation curve of the rest period of the day according to the real-time operation condition of the photo-electricity storage micro-grid of the latest user and sending the operation curve to the energy storage battery, and if not, continuing to operate according to the curve before the day until the emergency occurs. The emergency event comprises a household electric vehicle grid-connected event, a household electric vehicle off-grid event, a user-modified expected charging target SOC event, a photovoltaic power generation and load power prediction deviation out-of-limit event, a grid side update demand response regulation and control instruction event, and a micro-grid-connected and island operation mode switching event. The photovoltaic power generation and load power prediction deviation out-of-limit event checking mode is as follows: obtaining the integral prediction deviation of the coupling of the photovoltaic output and the load power in the time window by utilizing the sliding time window, and calculating the deviation rate moving average value in the time window If the deviation rate is a moving average in L consecutive periodsAnd if the deviation rate threshold is exceeded, photovoltaic power generation and load power prediction deviation out-of-limit events occur, otherwise, no occurrence occurs. Calculating a moving aver