Energy storage output control method and device, electronic equipment and storage medium
Through model predictive control and multi-objective particle swarm optimization algorithm, a dynamic model of the energy storage system is established to achieve smooth control of the output of the energy storage system, solve the grid volatility problem caused by wind power generation, and improve the stability and stability of the grid. Economy.
Patent Information
- Application Number
- CN202410685944.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-24
AI Technical Summary
The randomness and volatility of wind power generation pose a huge challenge to the stability of the power grid. It is difficult to effectively control the energy storage system with existing technology to stabilize energy fluctuations in the power grid and improve the stability and economy of the power grid.
Model predictive control (MPC) and multi-objective particle swarm optimization (MOPSO) algorithms are used to establish a dynamic model of the energy storage system. Predictions are made through the preset MPC controller and dynamic model to obtain the optimal charging and discharging strategy, and the control module Achieve smooth control of the output of the energy storage system.
It improves the operating efficiency of the energy storage system and the stability of the power grid, achieves smooth control of the output of the energy storage system, and enhances the stability and economy of the power grid.
Smart Images

Figure CN118693876A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of energy storage system and power system control, and in particular to a method, device, electronic device and storage medium for controlling energy storage output. Background Art
[0002] In the context of global energy transformation, new energy generation represented by wind power has developed rapidly. Due to the randomness and volatility of wind power generation, its large-scale grid connection poses a huge challenge to the safe and stable operation of the power grid. The characteristics of energy storage system, such as fast and accurate control and two-way energy throughput, can improve wind power fluctuations and enhance the stability of the power grid. By adding storage links to the power system, the "rigid" power system can be made more "flexible". Through energy storage, the volatility caused by the access of large-scale clean energy generation to the power grid can be smoothed, and the safety, economy and flexibility of power grid operation can be improved. Summary of the invention
[0003] The present application provides a method, device, electronic device and storage medium for controlling energy storage output, which utilizes the model basis and prediction capability of MPC (Model Predictive Control) to achieve efficient control of the energy storage system and improve the operating efficiency of the energy storage system and the stability of the power grid.
[0004] The first embodiment of the present application provides a method for controlling energy storage output, comprising the following steps:
[0005] Establish a dynamic model of the current energy storage system;
[0006] The current energy storage system is predicted using a preset MPC controller and the dynamic model, and an optimal charging and discharging strategy of the current energy storage system is obtained according to the prediction result, wherein the preset MPC controller is based on an objective function and is obtained according to a prediction time domain, a control time domain, a control target and a control constraint;
[0007] The output of the current energy storage system is regulated according to the optimal charging and discharging strategy.
[0008] According to one embodiment of the present application, before using the preset MPC controller and the dynamic model to predict the current energy storage system, it also includes:
[0009] Based on a preset MOPSO (Multiple Objective Particle Swarm Optimization) algorithm, control parameters of the preset MPC controller are optimized offline.
[0010] According to an embodiment of the present application, after the output of the current energy storage system is regulated according to the optimal charging and discharging strategy, the method further includes:
[0011] Obtaining an output control result of the current energy storage system;
[0012] The preset MPC controller and the preset MOPSO algorithm are optimized online according to the output regulation result until preset optimization conditions are met.
[0013] According to one embodiment of the present application, establishing a dynamic model of the current energy storage system includes:
[0014] Determining an electrical model and a thermodynamic model of the current energy storage system;
[0015] The dynamic model is established according to the electrical model and the thermodynamic model.
[0016] According to one embodiment of the present application, the electrical model is:
[0017]
[0018] Where V is the battery terminal voltage, V oc is the open circuit voltage of the battery, R int is the internal resistance of the battery, I is the charge and discharge current of the battery, K is the dynamic response coefficient of the battery, is the rate of change of current.
[0019] According to one embodiment of the present application, the thermodynamic model is:
[0020]
[0021] Wherein, T(x,t) is the temperature at position x at time t, α is the thermal diffusion coefficient of the energy storage system, q(x,t) is the heat generation rate at position x at time t, ρ is the density of the battery, and c is the specific heat capacity of the battery.
[0022] According to the energy storage output control method of the embodiment of the present application, a dynamic model of the current energy storage system is established; the current energy storage system is predicted using the preset MPC controller and the dynamic model, and the optimal charging and discharging strategy of the current energy storage system is obtained according to the prediction results. Thus, smooth control of the output of the energy storage system is achieved, thereby improving the stability and economy of the power system.
[0023] A second aspect of the present application provides an energy storage output control device, including:
[0024] Model building module, used to build a dynamic model of the current energy storage system;
[0025] A processing module, used to predict the current energy storage system using a preset MPC controller and the dynamic model, and obtain an optimal charging and discharging strategy for the current energy storage system according to the prediction result, wherein the preset MPC controller is based on an objective function and is obtained according to a prediction time domain, a control time domain, a control target and a control constraint;
[0026] A control module is used to control the output of the current energy storage system according to the optimal charging and discharging strategy.
[0027] According to one embodiment of the present application, before using the preset MPC controller and the dynamic model to predict the current energy storage system, the processing module is further used to:
[0028] Based on a preset MOPSO algorithm, control parameters of the preset MPC controller are optimized offline.
[0029] According to an embodiment of the present application, after the output of the current energy storage system is regulated according to the optimal charging and discharging strategy, the regulation module is further used to:
[0030] Obtaining an output control result of the current energy storage system;
[0031] The preset MPC controller and the preset MOPSO algorithm are optimized online according to the output regulation result until preset optimization conditions are met.
[0032] According to one embodiment of the present application, the model building module is used to:
[0033] Determining an electrical model and a thermodynamic model of the current energy storage system;
[0034] The dynamic model is established according to the electrical model and the thermodynamic model.
[0035] According to one embodiment of the present application, the electrical model is:
[0036]
[0037] Where V is the battery terminal voltage, V oc is the open circuit voltage of the battery, R int is the internal resistance of the battery, I is the charge and discharge current of the battery, K is the dynamic response coefficient of the battery, is the rate of change of current.
[0038] According to one embodiment of the present application, the thermodynamic model is:
[0039]
[0040] Wherein, T(x,t) is the temperature at position x at time t, α is the thermal diffusion coefficient of the energy storage system, q(x,t) is the heat generation rate at position x at time t, ρ is the density of the battery, and c is the specific heat capacity of the battery.
[0041] According to the energy storage output control device of the embodiment of the present application, a dynamic model of the current energy storage system is established; the current energy storage system is predicted using the preset MPC controller and the dynamic model, and the optimal charging and discharging strategy of the current energy storage system is obtained according to the prediction results. Thus, smooth control of the output of the energy storage system is achieved, thereby improving the stability and economy of the power system.
[0042] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the energy storage output control method as described in the above embodiment.
[0043] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the energy storage output control method as described in the above embodiment.
[0044] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0046] Figure 1 A flow chart of a method for controlling energy storage output according to an embodiment of the present application;
[0047] Figure 2 It is a flow chart of a method for controlling smooth energy storage output according to an embodiment of the present application;
[0048] Figure 3 is a block diagram of an energy storage output control device according to an embodiment of the present application;
[0049] Figure 4 Schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0050] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0051] The following describes the energy storage output control method, device, electronic device and storage medium according to the embodiment of the present application with reference to the accompanying drawings. The present application provides an energy storage output control method, in which a dynamic model of the current energy storage system is established; the current energy storage system is predicted using a preset MPC controller and a dynamic model, and the optimal charging and discharging strategy of the current energy storage system is obtained based on the prediction results. Thus, smooth control of the output of the energy storage system is achieved, thereby improving the stability and economy of the power system.
[0052] Specifically, Figure 1 A flow chart of a method for controlling energy storage output provided in an embodiment of the present application.
[0053] like Figure 1 As shown, the energy storage output control method includes the following steps:
[0054] In step S101, a dynamic model of the current energy storage system is established.
[0055] Among them, the current energy storage system can be a battery energy storage system or a supercapacitor energy storage system.
[0056] Specifically, the embodiment of the present application first mathematically models the energy storage system, including the charging and discharging process of the energy storage unit and its interaction with the power grid, such as the dynamic model of the battery, charging and discharging efficiency, power output limit, etc. It should be noted that the model established in the embodiment of the present application is based on physical principles and can reflect the actual operation of the system.
[0057] Furthermore, in some embodiments, establishing a dynamic model of the current energy storage system includes: determining an electrical model and a thermodynamic model of the current energy storage system; and establishing a dynamic model according to the electrical model and the thermodynamic model.
[0058] Alternatively, the electrical model of the energy storage system can be described by the Thevenin equivalent circuit model, where the terminal voltage of the battery is expressed as:
[0059]
[0060] Where V is the battery terminal voltage, V oc is the open circuit voltage of the battery, R int is the internal resistance of the battery, I is the charge and discharge current of the battery, K is the dynamic response coefficient of the battery, is the rate of change of current.
[0061] Furthermore, in order to make the dynamic model more comprehensive, the embodiment of the present application introduces a thermodynamic model combined with an electrical model to consider the heat generated by the battery during the charging and discharging process, as well as the effect of temperature on the battery capacity and charging and discharging performance. Among them, the effect of temperature on internal resistance can be expressed as:
[0062] R int (T) = R inref (1+K R (TT ref ))
[0063] Among them, R int (T) is the internal resistance at temperature T, R inref is the reference temperature T ref Internal resistance under R is the coefficient of variation of internal resistance with temperature.
[0064] Furthermore, the heat generation rate in the thermodynamic model can be expressed as:
[0065] q=I 2 R int
[0066] Where q is the heat generation rate, I is the current, and R int is the internal resistance of the battery.
[0067] Furthermore, the heat generation rate can be used to obtain the heat conduction equation of the battery, that is, the thermodynamic model, which can be expressed as:
[0068]
[0069] Wherein, T(x, t) is the temperature at position x at time t, α is the thermal diffusion coefficient of the energy storage system, q(x, t) is the heat generation rate at position x at time t, ρ is the density of the battery, and c is the specific heat capacity of the battery.
[0070] Therefore, a dynamic model of the energy storage system can be established through the above-mentioned electrical model and thermodynamic model. In addition, in practical applications, a more complex model may be required to accurately predict the thermal behavior of the battery. Technical personnel in this field can establish corresponding models according to actual needs to accurately predict the thermal behavior of the battery.
[0071] Furthermore, by combining the electrical model with the thermodynamic model, the input and output of the current energy storage system modeling can be obtained. The input of the current energy storage system modeling includes the charge and discharge current I, the ambient temperature T 0and initial conditions, where the charge and discharge current I is the common input of the electrical model and the thermodynamic model, directly affecting the battery's SOC (State of Charge), SOH (State of Health), voltage and calorific value; the ambient temperature T 0 Affects the battery's charge and discharge efficiency and battery capacity; initial conditions include the battery's initial SOC, SOH and temperature.
[0072] The outputs of the current energy storage system modeling include the battery terminal voltage V, SOC and SOH, and the battery's internal temperature T. Among them, the battery terminal voltage V is the output of the electrical model, which changes with SOC and temperature; SOC and SOH are state variables of the electrical model, reflecting the battery's state of charge and health; the battery's internal temperature T is the output of the thermodynamic model, reflecting the temperature at different locations of the battery.
[0073] In step S102, the current energy storage system is predicted using a preset MPC controller and a dynamic model, and the optimal charging and discharging strategy of the current energy storage system is obtained based on the prediction result, wherein the preset MPC controller is based on the objective function and is obtained according to the prediction time domain, the control time domain, the control target and the control constraint.
[0074] Among them, the prediction domain refers to the time range in which the controller predicts the future system state; the control domain refers to the time range in which the controller applies control actions, which is usually less than or equal to the prediction domain; the control objectives and control constraints refer to the hard constraints that define the control objectives (output smoothing, special environment output requirements, etc.) and system operations (power limitation, SOC capacity limitation, etc.).
[0075] Optionally, the objective function of the MPC strategy when participating in the energy storage system output decision can be expressed as:
[0076] J(u)=α 1 O smt (u)+α 2 C bat (u)+α 3 E gen (u)
[0077] Among them, J(u) is the objective function; α 1 , α 2 , α 3 is the weight factor, which can be set according to actual needs and experience; u is the control input of the system, O smt (u) is the smooth output index, C bat (u) is the charging and discharging cost of the energy storage system, E gen (u) is the power generation efficiency.
[0078] Therefore, based on the objective function, a preset MPC controller can be obtained according to the prediction time domain, control time domain, control objectives and control constraints.
[0079] Furthermore, the constraints of the preset MPC controller when participating in the output decision of the energy storage system may include: battery capacity limitation (i.e., the SOC of the battery needs to operate within a safe range), power output limitation (i.e., the power output of the energy storage system cannot exceed its rated value), and grid stability limitation (i.e., the grid-connected voltage and frequency need to be ensured to be within the allowable range).
[0080] Furthermore, the preset MPC controller and dynamic model are used to predict the behavior of the current energy storage system, including the prediction of future demand, and the charging and discharging strategy of the energy storage system is adjusted according to the prediction results, that is, the input can be adjusted in real time to achieve different control objectives.
[0081] For example, the embodiment of the present application can predict the energy state (such as SOC, i.e., state of charge), power output / input, and possible constraints (such as battery capacity limit, power output limit, etc. in the above constraints) of the current energy storage system. Then, based on the prediction results of the preset MPC controller, the optimal charge and discharge strategy of the current energy storage system is formulated. The optimal charge and discharge strategy can be to maximize the performance of the energy storage system (such as economic benefits, stability, etc.) while satisfying the system constraints.
[0082] In the optimization process, various factors can be considered, such as electricity price fluctuations, grid demand, health of energy storage equipment, etc. By solving the optimization problem, an optimal charging and discharging plan can be obtained, including parameters such as charging / discharging time and power.
[0083] It should be noted that in each control cycle, the preset MPC controller will perform offline optimization and online optimization. Offline optimization is generally performed at the beginning of the control cycle to determine the strategy based on historical data and prediction models to find the optimal control input. When the preset MPC controller control cycle is executed, online optimization will be performed to adjust in real time according to the current system state and the optimal control input to obtain the optimal control input at the next moment to minimize the objective function.
[0084] Furthermore, in some embodiments, before using the preset MPC controller and the dynamic model to predict the current energy storage system, it also includes: based on the preset MOPSO algorithm, off-line optimization of the control parameters of the preset MPC controller.
[0085] The control parameters of the preset MPC controller may include the weight in the MPC objective function, the length of the prediction time domain and the control time domain, etc.
[0086] Specifically, the embodiment of the present application can use the global optimization capability of the preset MOPSO algorithm to find the best output control parameters in the offline stage, thereby optimizing the control parameters of the preset MPC controller. The preset MOPSO algorithm traverses the parameter space to find a parameter combination that can optimize multiple control objectives at the same time, and applies the best control parameters obtained by offline optimization to the preset MPC controller. The preset MPC controller can calculate the optimal control input online based on the real-time system status and the prediction model.
[0087] It should be noted that the embodiment of the present application can integrate the preset MOPSO algorithm and the preset MPC controller into a control framework to achieve smooth control of the output of the energy storage system. Through this control framework, the energy storage system can adapt to the random volatility of renewable energy power generation, while ensuring the reliability of power supply and the stability of operation, and improving the ability of power plants to connect to the grid.
[0088] In step S103, the output of the current energy storage system is regulated according to the optimal charging and discharging strategy.
[0089] Optionally, the optimal charging and discharging strategy of the embodiment of the present application can be applied separately to wind farms, solar power stations or grid peak load regulation occasions according to the constraints and objective functions set in the specific scenarios, and can also be applied to multiple occasions at the same time to regulate multiple occasions.
[0090] Specifically, the embodiments of the present application can apply the obtained optimized charging and discharging strategy to the current energy storage system to ensure that the current energy storage system performs output regulation according to the optimized charging and discharging strategy.
[0091] Furthermore, in some embodiments, after the output of the current energy storage system is regulated according to the optimal charging and discharging strategy, it also includes: obtaining the output regulation result of the current energy storage system; and online optimizing the preset MPC controller and the preset MOPSO algorithm according to the output regulation result until the preset optimization conditions are met.
[0092] The preset optimization condition may be to find the optimal solution.
[0093] Specifically, the embodiment of the present application can obtain the output control result according to the operating status and parameters of the current energy storage system, and in each control cycle of MPC, according to the real-time system performance and external conditions, fine-tune the control parameters through a small-scale local search or heuristic algorithm, and feed back the actual control effect to the system, thereby adjusting the optimization process of the MPC prediction model and the preset MOPSO algorithm. If the system conditions change significantly, the preset MOPSO algorithm can be re-run to update the control parameters until the optimal solution is found.
[0094] In order to facilitate those skilled in the art to more clearly and intuitively understand the energy storage output control method of the embodiment of the present application, the following is combined with Figure 2 Provide detailed explanation.
[0095] like Figure 2 As shown, the smooth energy storage output control method includes the following steps:
[0096] S201, start.
[0097] S202, establishing a mathematical model of the energy storage system.
[0098] S203, design an MPC controller.
[0099] S204, defining the control objectives and operation constraints of the MPC.
[0100] S205, use MOSPO to perform offline optimization.
[0101] S206, online control and optimization.
[0102] S207, implement and test, and execute S205.
[0103] S208, end.
[0104] Therefore, the embodiment of the present application establishes a mathematical model of the energy storage system, defines the optimization goal, determines the constraints, designs the MOPSO algorithm, realizes the optimal control input of the model predictive control (MPC), and adjusts the charging and discharging power of the energy storage system in real time through the online optimization of MPC. Among them, MOPSO provides the optimized initial parameters, and uses MPC to realize real-time, model-based dynamic control. The combination of the two provides an effective solution for smoothing the output control of the energy storage system. By conducting case analysis in an actual energy storage system or a simulation environment, its effectiveness and feasibility are verified, and the algorithm parameters and control strategies are further optimized according to the test results.
[0105] According to the energy storage output control method of the embodiment of the present application, a dynamic model of the current energy storage system is established; the current energy storage system is predicted using the preset MPC controller and the dynamic model, and the optimal charging and discharging strategy of the current energy storage system is obtained according to the prediction results. Thus, smooth control of the output of the energy storage system is achieved, thereby improving the stability and economy of the power system.
[0106] Next, the energy storage output control device proposed according to the embodiment of the present application is described with reference to the accompanying drawings.
[0107] Figure 3 It is a block diagram of the energy storage output control device of an embodiment of the present application.
[0108] like Figure 3As shown, the energy storage output control device 10 includes: a model building module 100 , a processing module 200 and a control module 300 .
[0109] Among them, the model building module 100 is used to establish a dynamic model of the current energy storage system; the processing module 200 is used to use the preset MPC controller and the dynamic model to predict the current energy storage system, and obtain the optimal charging and discharging strategy of the current energy storage system according to the prediction results, wherein the preset MPC controller is based on the objective function, and is obtained according to the prediction time domain, the control time domain, the control target and the control constraint; the control module 300 is used to control the output of the current energy storage system according to the optimal charging and discharging strategy.
[0110] Furthermore, in some embodiments, before using the preset MPC controller and the dynamic model to predict the current energy storage system, the processing module 200 is further used to: optimize the control parameters of the preset MPC controller offline based on the preset MOPSO algorithm.
[0111] Furthermore, in some embodiments, after the output of the current energy storage system is regulated according to the optimal charging and discharging strategy, the regulation module 300 is also used to: obtain the output regulation result of the current energy storage system; and perform online optimization of the preset MPC controller and the preset MOPSO algorithm according to the output regulation result until the preset optimization conditions are met.
[0112] Furthermore, in some embodiments, the model building module 100 is used to: determine the electrical model and the thermodynamic model of the current energy storage system; and build a dynamic model according to the electrical model and the thermodynamic model.
[0113] Further, in some embodiments, the electrical model is:
[0114]
[0115] Where V is the battery terminal voltage, V oc is the open circuit voltage of the battery, R int is the internal resistance of the battery, I is the charge and discharge current of the battery, K is the dynamic response coefficient of the battery, is the rate of change of current.
[0116] Further, in some embodiments, the thermodynamic model is:
[0117]
[0118] Wherein, T(x,t) is the temperature at position x at time t, α is the thermal diffusion coefficient of the energy storage system, q(x,t) is the heat generation rate at position x at time t, ρ is the density of the battery, and c is the specific heat capacity of the battery.
[0119] It should be noted that the above explanation of the embodiment of the energy storage output control method is also applicable to the energy storage output control device of this embodiment, and will not be repeated here.
[0120] According to the energy storage output control device of the embodiment of the present application, a dynamic model of the current energy storage system is established; the current energy storage system is predicted using the preset MPC controller and the dynamic model, and the optimal charging and discharging strategy of the current energy storage system is obtained according to the prediction results. Thus, smooth control of the output of the energy storage system is achieved, thereby improving the stability and economy of the power system.
[0121] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0122] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .
[0123] When the processor 402 executes the program, the energy storage output control method provided in the above embodiment is implemented.
[0124] Furthermore, the electronic device further comprises:
[0125] The communication interface 403 is used for communication between the memory 401 and the processor 402 .
[0126] The memory 401 is used to store computer programs that can be executed on the processor 402 .
[0127] The memory 401 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0128] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0129] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.
[0130] The processor 402 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0131] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the above energy storage output control method when executed by a processor.
[0132] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0133] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0134] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for controlling energy storage output, characterized in that: The following steps are involved: Establish a dynamic model of the current energy storage system; The current energy storage system is predicted using a preset MPC controller and the dynamic model, and an optimal charging and discharging strategy of the current energy storage system is obtained according to the prediction result, wherein the preset MPC controller is based on an objective function and is obtained according to a prediction time domain, a control time domain, a control target and a control constraint; The output of the current energy storage system is regulated according to the optimal charging and discharging strategy.
2. The method according to claim 1, characterized in that Before using the preset MPC controller and the dynamic model to predict the current energy storage system, the method further includes: Based on a preset MOPSO algorithm, control parameters of the preset MPC controller are optimized offline.
3. The method according to claim 1 or 2, characterized in that: After the output of the current energy storage system is regulated according to the optimal charging and discharging strategy, the method further includes: Obtaining an output control result of the current energy storage system; The preset MPC controller and the preset MOPSO algorithm are optimized online according to the output regulation result until preset optimization conditions are met.
4. The method according to claim 1, characterized in that: The establishing of the dynamic model of the current energy storage system includes: Determining an electrical model and a thermodynamic model of the current energy storage system; The dynamic model is established according to the electrical model and the thermodynamic model.
5. The method according to claim 4, characterized in that The electrical model is: Where V is the battery terminal voltage, V oc is the open circuit voltage of the battery, R int is the internal resistance of the battery, I is the charge and discharge current of the battery, K is the dynamic response coefficient of the battery, is the rate of change of current.
6. The method according to claim 4, characterized in that The thermodynamic model is: Wherein, T(x,t) is the temperature at position x at time t, α is the thermal diffusion coefficient of the energy storage system, q(x,t) is the heat generation rate at position x at time t, ρ is the density of the battery, and c is the specific heat capacity of the battery.
7. A storage output control device, characterized in that: include: Model building module, used to build a dynamic model of the current energy storage system; A processing module, used to predict the current energy storage system using a preset MPC controller and the dynamic model, and obtain an optimal charging and discharging strategy for the current energy storage system according to the prediction result, wherein the preset MPC controller is based on an objective function and is obtained according to a prediction time domain, a control time domain, a control target and a control constraint; A control module is used to control the output of the current energy storage system according to the optimal charging and discharging strategy.
8. The device according to claim 7, characterized in that Before using the preset MPC controller and the dynamic model to predict the current energy storage system, the processing module is further used to: Based on a preset MOPSO algorithm, control parameters of the preset MPC controller are optimized offline.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the energy storage output control method as described in any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the energy storage output control method as described in any one of claims 1-6.
