A hierarchical soc coordination and equalization control system for liquid flow battery energy storage system

By using a hierarchical SOC collaborative balancing control system, the energy scheduling and SOC balancing of the flow battery energy storage system are coordinated, solving the problem of differences in state of charge among energy storage units, realizing system-level energy optimization and operational consistency, and extending the service life of the flow battery energy storage system.

CN123074048APending Publication Date: 2026-11-10SHENYANG INST OF AUTOMATION - CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611387229.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

In existing flow battery energy storage systems, the differences in state of charge (SOC) between energy storage units, battery clusters, and stacks cannot be effectively controlled, causing some units to reach the charging or discharging boundary prematurely, reducing the system's available capacity and continuous operation capability. Furthermore, existing single-level SOC balancing methods are difficult to balance the system's total power demand, energy balance between energy storage units, and SOC balance between battery clusters.

Method used

A hierarchical SOC collaborative equalization control system is adopted, including an energy management system (EMS), a storage unit (BAU), a cluster controller (BCU), and a battery management unit (BMU). Through global optimization model and distributed model predictive control, it coordinates system-level energy scheduling, power distribution among energy storage units, and SOC equalization among battery clusters, dynamically corrects the upper-level control objectives, and achieves collaborative control at all levels.

Benefits of technology

It achieves system-level energy optimization, reduces operational differences between battery clusters and BMUs, delays capacity differentiation, improves operational consistency and service life, and ensures grid power demand while reducing individual stack overload and uneven degradation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123074048A_ABST
    Figure CN123074048A_ABST
Patent Text Reader

Abstract

The application provides a liquid flow battery energy storage system layered SOC cooperative balancing control system and relates to the technical field of battery management control technology. An EMS constructs a minute-level global mixed integer model prediction optimization model, determines the total energy of the system, the basic power of the thermal backup energy storage unit and each BAU corresponding energy storage unit, the SOC target trajectory, the allowed power interval and the frequency reserve capacity. The BAU performs power distribution and SOC coordination on multiple battery clusters according to the dynamic power feasible region, the cluster-level SOC and the balancing cost reported by each BCU; the BCU adopts a distributed model prediction control to determine the power, the flow and the input state of each BMU. Each level of controller performs closed-loop correction through a power loop and an energy loop, and reports the actual operation result according to the level-by-level reporting, so that the deviation enters the next time rolling optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of battery management and control technology, and in particular to a hierarchical SOC collaborative equalization control system for a flow battery energy storage system. Background Technology

[0002] Vanadium redox flow batteries (VRBs) are widely used in large-scale energy storage power plants due to their long cycle life, high safety, and suitability for long-term energy storage. However, factors such as the initial state of the electrolyte, manufacturing deviations, operating conditions, temperature, flow rate, auxiliary power consumption, power conversion efficiency, and capacity decay can cause differences in the state of charge and available energy among different energy storage units, battery clusters, and stacks. If these differences are not effectively controlled, some energy storage units, battery clusters, or stacks may reach their charging or discharging boundaries prematurely. This forces the system to reduce power or shut down before other energy storage units or battery clusters still have usable energy, thus reducing the available capacity and continuous operation capability of the energy storage system.

[0003] Currently, most control methods for SOC balancing in flow battery energy storage systems focus on a single level. One type of method primarily addresses SOC differences between series or parallel modules, achieving balancing between modules by changing their activation state, bypass state, charge / discharge power, or operating time. Another type of method focuses on power distribution among multiple energy storage units, with the upper-level controller allocating the total system power based on the SOC, power limits, or available capacity of each energy storage unit. These methods emphasize local module balancing or system-level power distribution, typically handling the balancing processes at different levels independently.

[0004] However, in long-duration energy storage systems, the energy distribution between energy storage units and the SOC equalization between battery clusters and stacks within an energy storage unit are not independent of each other. The power allocated to a particular energy storage unit or battery cluster by the upper layer directly affects the development trend of SOC deviation between its internal stacks; conversely, the SOC dispersion, available power range, and expected boundary arrival time of the internal stacks also limit the actual execution capability of upper-layer power commands.

[0005] Therefore, existing single-level SOC equalization methods struggle to simultaneously address total system power demand, energy balance between storage units, SOC balance between battery clusters, and SOC balance between BMUs within the BCU, easily leading to inconsistencies between local equalization results and global energy dispatch objectives. Particularly when differences exist in control cycles, power regulation capabilities, and SOC change rates across multiple levels, the lack of state feedback and target coordination between upper and lower levels makes it difficult to achieve optimal overall energy utilization of the energy storage system. Summary of the Invention

[0006] To address the technical problems in existing long-duration flow battery energy storage systems, such as the fragmented nature of EMS system-level energy dispatch, SOC equalization between battery clusters at the BAU level, and SOC equalization between BMUs at the BCU level, the mismatch between upper-level power commands and lower-level dynamic executability, large differences in time scales across different control levels, and frequent BMU activation and deactivation, this invention proposes a hierarchical SOC collaborative equalization control system for flow battery energy storage systems. This system coordinates and controls system-level energy dispatch, power allocation between energy storage units, SOC equalization between battery clusters, and SOC equalization between BMUs within the BCU at different time scales and spatial levels. Furthermore, it dynamically adjusts the upper-level control objectives based on the real-time executability of the lower levels, thereby achieving a coordinated and unified approach from local SOC equalization to global system energy optimization.

[0007] On the one hand, the present invention provides a hierarchical SOC collaborative equalization control system for a flow battery energy storage system, including an energy management system (EMS) and two energy storage compartments; Each of the energy storage compartments includes a compartment controller (BAU) and two battery clusters; Each of the battery clusters includes a cluster controller (BCU), 13 battery management units (BMUs), and one energy storage converter (PCS). Each of the battery management units (BMUs) includes four flow battery stacks, a power actuator, a flow actuator, a status acquisition device, and a communication network. The Energy Management System (EMS) has a built-in global optimization model. Based on the grid peak shaving plan, frequency regulation power command, energy storage system planned power, and the energy storage SOC, available energy, allowable charging and discharging power, power change rate, energy storage level dynamic power feasible domain, hierarchical balancing cost, and fault derating status reported by the two storage controllers (BAU), it determines the total power demand and total energy demand of the energy storage system in the prediction time domain, and decomposes the total power demand and total energy demand into the control targets of the two energy storage storage units. The control objectives of the energy storage compartment include the target power, target energy, target SOC trajectory, allowable power range, upward frequency regulation reserve capacity, and downward frequency regulation reserve capacity; the energy management system (EMS) sends the control objectives of the two energy storage compartments to the corresponding compartment controllers (BAUs).

[0008] The BAU (Battery Controller Unit) is used to receive the target power, target energy, SOC target trajectory, allowable power range, upward frequency modulation reserve capacity, and downward frequency modulation reserve capacity of the energy storage warehouse from the energy management system (EMS). Based on the SOC, available energy, cluster-level dynamic power feasible domain, cluster-level equalization cost, expected equalization time, actual power, and fault derating status reported by the BCU (Battery Controller Unit) of each cluster in the energy storage warehouse, the target power of the energy storage warehouse is decomposed into the target power of each battery cluster. The cluster-level SOC target of each battery cluster is determined based on the SOC target trajectory of the energy storage warehouse and the SOC status of each battery cluster. Specifically, when considering power point tracking and inter-cluster SOC equalization, the warehouse controller (BAU) establishes the following objective function: ; in: - These are the weight coefficients of each sub-objective term in the objective function of the BAU layer. This indicates the SOC consistency term between BCUs. This represents the penalty term for changes in battery cluster power. For BAU layer power tracking term; j is the number of the BCU or its corresponding battery cluster; The target power of the battery cluster corresponding to the j-th BCU; The target power is sent from the Energy Management System (EMS) to the corresponding energy storage compartment of the BAU. ,in The SOC of the battery cluster corresponding to the j-th BCU; The target SOC for the energy storage compartment corresponding to the BAU; ; Where m is the BMU number under the j-th BCU, Let j be the number of BMUs managed by the j-th BCU. For the SOC of the m-th BMU under the j-th BCU, The SOC or capacity-weighted average SOC of each BMU within the j-th battery cluster is given. The number of times the BMU is engaged or disengaged within the j-th battery cluster; This represents the auxiliary power consumption within the j-th battery cluster; γ1-γ4 are the estimated time required for the j-th battery cluster to reach SOC equilibrium; γ1-γ4 are the corresponding weighting coefficients. The capacity-weighted average SOC of each battery cluster within the energy storage compartment is: ,in This represents the current available energy of the battery cluster corresponding to the j-th BCU; The BAU (Battery Controller Unit) is configured with the power loop and energy loop of the energy storage bin: the power deviation of the energy storage bin is: ; in, The target power of the energy storage compartment is sent from the Energy Management System (EMS) to the Storage Controller Unit (BAU). The actual output power of the energy storage bin is collected or calculated by the bin controller (BAU).

[0009] The power loop correction is: ; in, This is the power loop proportional coefficient; τ represents the power loop integral coefficient; t represents the current control time; τ represents the index of the historical control time. Let be the power deviation at the current control time t; τ represents the power deviation at the historical control time; Δt represents the power loop control period.

[0010] The energy deviation is: ; in, The target energy of the energy storage compartment is determined by the energy management system (EMS) or the global optimization model. The actual energy of the energy storage bin is calculated by the bin controller (BAU) based on the actual charging and discharging power, battery status, and SOC.

[0011] The energy ring correction is: ; Where t is the current control time, and τ is the historical control time index, used for integration and summation, accumulating from the initial time 0 to the current time t. This is the energy ring proportionality coefficient; The integral coefficient of the energy loop; The energy deviation at the current control time t; τ represents the energy deviation at the historical control moment; Δt represents the energy loop control period.

[0012] The total power of the battery cluster ultimately sent from the BAU to the BCU is corrected by both the power loop and the energy loop.

[0013] The cluster controller (BCU) receives the target power and cluster-level SOC target of each battery cluster from the compartment controller (BAU), and determines the target power, target flow rate, and operational status of each BMU based on the equivalent available SOC, allowable charge / discharge power, electrolyte flow rate, temperature, health status, fault status, and operational status of each battery management unit (BMU) within the battery cluster.

[0014] The battery management unit (BMU) collects the operating status of the corresponding flow battery stack or subsystem, and controls the corresponding power and flow actuators to execute power, flow rate, and activation status commands based on the operating status of the flow battery stack or subsystem. The operating status of the flow battery stack or subsystem includes voltage, current, temperature, electrolyte flow rate, state of charge (SOC) of the storage tank, inlet status, and outlet status.

[0015] The power execution device is used to adjust the charging and discharging power and the activation status of the flow battery stack corresponding to the battery management unit (BMU). The power execution device includes at least one of a DC / DC converter, a contactor, a bypass switch, and a series-parallel reconfiguration switch.

[0016] The flow actuator is used to regulate the electrolyte flow rate of the flow battery stack, and the flow actuator includes at least one of a circulating pump, a regulating valve, and a flow bypass device.

[0017] The status acquisition device is used to acquire at least one of the following: voltage, current, temperature, liquid level, flow rate, pressure, insulation status, leakage status, contactor status, circulation pump status, and valve status of the energy storage compartment, battery cluster, battery management unit (BMU), and flow battery stack.

[0018] The Battery Management Unit (BMU), Cluster Controller (BCU), and Warehouse Controller (BAU) generate the corresponding dynamic power feasible domain, SOC equalization cost, estimated equalization time, power tracking deviation, and energy tracking deviation, respectively, and report them level by level in the order of Battery Management Unit (BMU), Cluster Controller (BCU), Warehouse Controller (BAU), and Energy Management System (EMS). The global optimization model is a mixed integer model predictive control model. Its continuous decision variables include the charging and discharging power, available energy, SOC, upward frequency regulation reserve capacity, and downward frequency regulation reserve capacity of each BAU corresponding energy storage unit. Its discrete decision variables include the input and output states of the energy storage compartment, battery cluster, and BMU. The objective function of the global optimization model includes grid power tracking term, energy storage compartment SOC target trajectory tracking term, frequency regulation reserve capacity deviation term, system loss term, equipment input and cut-off cost term, and hierarchical equilibration cost term. The power tracking term is used to ensure that the sum of the actual power of the two energy storage modules tracks the power grid peak shaving plan and frequency regulation power command.

[0019] The SOC target trajectory tracking term of the energy storage warehouse is used to enable the SOC of the two energy storage warehouses to converge to the corresponding target trajectory in the prediction time domain; The frequency regulation reserve capacity deviation term is used to ensure that the energy storage system has an upward power regulation margin and a downward power regulation margin to meet the frequency regulation requirements. The system loss items include at least PCS power conversion loss, circulating pump power consumption, and power consumption of other auxiliary equipment. The equipment deployment and removal cost item is used to reduce the frequent deployment and removal of energy storage bins, battery clusters, and BMUs.

[0020] The hierarchical equalization cost is determined by the BAU based on the cluster-level SOC dispersion, power regulation margin, number of BMU activations or deactivations, circulating pump auxiliary power consumption, and expected equalization time reported by each of its BCUs. This ensures that the EMS considers the SOC equalization requirements of the lower-level battery clusters and BMUs when allocating power between the two energy storage bins.

[0021] At the k-th optimization time, the Energy Management System (EMS) acquires the grid peak shaving plan, frequency regulation power command, energy storage system planned power, and the real-time status of the energy storage compartments reported by the two BAUs. The target power of the entire flow battery energy storage system is: ; in: For peak shaving planned power, For frequency modulation power command; Energy Management System (EMS) in the Prediction Time Domain Internal calculation of the energy requirements of the entire flow battery energy storage system: ; in, The global optimization period is given by k, where k is the current optimization time; H is the prediction time domain length; and τ is the discrete time within the prediction time domain. The target power that the entire flow battery energy storage system needs to track at the predicted time τ; The power requirements of the two energy storage chambers are met: ; in, Let be the actual power of one of the energy storage modules at the k-th optimization time; Let be the actual power of the corresponding energy storage unit at the k-th optimization time; No. The energy status of each energy storage unit is updated according to the following formula: ; Where: i is the energy storage compartment number, in this embodiment i=1,2, which correspond to two energy storage compartments respectively; Let be the available energy of the i-th energy storage unit at the k-th optimization time. Power to charge the energy storage bin; This refers to the discharge power of the energy storage chamber. and These are charging efficiency and discharging efficiency, respectively. This refers to the auxiliary power consumption of circulating pumps, cooling devices, and control equipment.

[0022] The State of Charge (SOC) of an energy storage unit is determined based on the currently available energy: ; Where: k is the current optimization time; Let be the current available energy of the i-th energy storage unit at the k-th optimization time. The minimum usable energy allowed for the i-th energy storage unit; Let be the maximum usable energy allowed for the i-th energy storage unit.

[0023] The objective function of the global optimization model is as follows: ; Among them: w1 w6 is the weight coefficient of each objective item. J grid For grid power tracking, J SOC For the SOC target trajectory tracking item of the energy storage warehouse, J reserve This is the frequency modulation reserve capacity deviation item. J loss This is a system loss term. J switch The cost of removing the equipment is included. J bal This is the cost term for hierarchical equilibrium. ; ; ; ; ; ; in: and These are the upward frequency modulation reserve capacity requirements and the downward frequency modulation reserve capacity requirements at the predicted time τ, respectively. and These refer to the upward frequency regulation reserve capacity and the downward frequency regulation reserve capacity that the two energy storage modules can provide together; Let be the PCS power conversion loss of the i-th energy storage bin. For the power consumption of the circulating pump, For the power consumption of other auxiliary devices, Let be the input state variable of the battery cluster corresponding to the j-th cluster controller (BCU) at the predicted time τ. Let be the state variable of the m-th battery management unit (BMU) at the predicted time τ; it is set to 1 when it is in operation and 0 when it is out of operation. Let SOC be the SOC of the i-th energy storage unit at the predicted time τ; Let SOC be the target value of the i-th energy storage unit at the predicted time τ; The BAU calculates and reports the following based on the SOC dispersion of its battery cluster, the SOC dispersion between BMUs, the estimated equalization time, the power consumption of the circulating pump, and the number of times it is put into operation and cut off: ; Wherein, λ1 to λ5 are non-negative weighting coefficients. Let SOC be the dispersion among the battery clusters within the i-th energy storage compartment. This is the weighted average of the SOC dispersion among the BMUs corresponding to each battery cluster within the i energy storage compartments. Let i be the estimated time required for the i-th energy storage unit to reach SOC equilibrium. The auxiliary power consumption of the circulating pump required to perform SOC balancing in the i-th energy storage compartment; This represents the number of times the battery cluster or BMU in the i-th energy storage compartment is put into operation, taken out of operation, or switched during the current control cycle.

[0024] After solving the objective function of the global optimization model, the Energy Management System (EMS) issues the following commands to the two BAUs: ; in, Let i be the target power of the i-th energy storage compartment. Let i be the target energy of the i-th energy storage unit. Let SOC be the target value or SOC trajectory of the i-th energy storage unit. Let be the minimum allowable power for the i-th energy storage compartment. Let i be the maximum allowable power of the i-th energy storage compartment. Let i be the upward frequency regulation reserve capacity of the i-th energy storage compartment. Let i be the down-regulation reserve capacity of the i-th energy storage compartment; The Energy Management System (EMS) updates its global optimization model in each global optimization cycle based on the battery cluster SOC, available energy, cluster-level dynamic power feasible region, cluster-level equalization cost, expected equalization time, actual power, and fault derating status reported by the two BAUs. The EMS also corrects the control objectives for the two energy storage compartments at the next control time. These control objectives include the target power, target energy, target SOC trajectory, allowable power range, upward frequency modulation reserve capacity, and downward frequency modulation reserve capacity for each energy storage compartment.

[0025] The dynamic power feasible domain includes the BMU-level dynamic power feasible domain, the BCU-level dynamic power feasible domain, and the BAU-level dynamic power feasible domain.

[0026] The feasible dynamic power domain of the BCU cluster is determined by the number of BMUs that can be put into operation, the maximum charging power of each BMU, the maximum discharging power, the SOC boundary, the temperature boundary, the electrolyte flow rate boundary, the health status, and the fault derating status.

[0027] The BAU energy storage bin-level dynamic power feasible domain is determined by the BAU based on the dynamic power feasible domain of each battery cluster, the PCS allowable power range, the energy storage bin auxiliary power consumption, and the fault derating status.

[0028] The BMU-level dynamic power feasible domain is determined based on the BMU's current SOC, equivalent available SOC, available energy, allowable charge / discharge power, electrolyte flow rate, temperature, health status, fault derating status, and the available status of the four internal flow battery stacks. When the target power of the storage unit issued by the Energy Management System (EMS) exceeds the BAU-level dynamic power feasible domain reported by the Storage Unit Controller (BAU), the Storage Unit Controller (BAU) projects the target power of the storage unit into the BAU-level dynamic power feasible domain. When the target power of the battery cluster issued by the Storage Unit Controller (BAU) exceeds the BCU-level dynamic power feasible domain reported by the Cluster Controller (BCU), the Cluster Controller (BCU) projects the target power of the battery cluster into the BCU-level dynamic power feasible domain. When the target power issued by the Cluster Controller (BCU) to the Battery Unit (BMU) exceeds the BMU-level dynamic power feasible domain, the BMU target power is limited to the BMU-level dynamic power feasible domain.

[0029] The difference between the target power and the executable power is taken as the unexecuted power deviation. The unexecuted power deviation is first compensated by other energy storage bins, battery clusters or BMUs with remaining power margins in the same level. When the same level cannot fully compensate, the remaining unexecuted power deviation is reported level by level and redistributed by the next level controller at the next control moment.

[0030] The bin controller (BAU) and cluster controller (BCU) establish distributed model predictive control models respectively, and solve the local power allocation problem between the bin controller (BAU) and the cluster controller (BCU) in parallel using the alternating direction multiplier method. The bin controller (BAU) coordinates the power allocation of the cluster controller through the total power constraint of the energy storage bin, and the cluster controller (BCU) coordinates the power allocation of the BMU through the total power constraint of the battery cluster.

[0031] The objective function of the distributed model predictive control model includes a power tracking term, a state-of-the-art (SOC) consistency term, a target SOC tracking term, a power smoothing term, an input / output cutoff cost term, and an auxiliary power consumption term. The optimization results of the distributed model predictive control model include the target power, target flow rate, input / output status, and power correction for each battery cluster or BMU.

[0032] When using the alternating direction multiplier method, if both the original residual and the dual residual are less than their respective preset thresholds within a preset maximum number of iterations, the convergence condition is deemed met, and control commands are generated using the optimization results. These control commands include target power for the battery cluster, target power for the BMU, target flow rate, and operational status commands. If the preset maximum number of iterations is reached, or the computation time exceeds a preset solution time, or at least one of the original residual and the dual residual is not less than its corresponding preset threshold, the convergence condition is deemed not met. In this case, the effective power allocation result from the previous control cycle is used as the basic control quantity, and a limiting correction is performed based on the current SOC, equipment status, and dynamic power feasible region to obtain the executable control commands for the current control cycle.

[0033] When the power tracking deviation increases, the weight of the system power tracking target is increased; when the SOC dispersion between battery clusters increases, the weight of the SOC coordination target between battery clusters in the BAU layer is increased; when the SOC dispersion between BMUs increases, the weight of the SOC balancing target between BMUs in the BCU layer is increased. When any energy storage unit, battery cluster, BMU, or flow battery stack reaches the SOC, temperature, flow rate, insulation, or fault safety boundary, safety constraints take precedence over the power tracking target and the SOC balancing target.

[0034] The Battery Management Unit (BMU) reports its actual operating status, BMU-level dynamic power feasible domain, SOC equalization results, power tracking deviation, and fault information to the Cluster Controller (BCU). The Cluster Controller (BCU) summarizes the data from the BMU to form the battery cluster-level dynamic power feasible domain, battery cluster SOC, cluster-level equalization cost, estimated equalization time, actual power, and unexecuted power deviation, and reports this data to the Storage Unit Controller (BAU). The Storage Unit Controller (BAU) summarizes the data from the Cluster Controller (BCU) to form the storage unit-level dynamic power feasible domain, storage unit SOC, storage unit equalization cost, actual power, actual energy, power tracking deviation, and energy tracking deviation, and reports this data to the Energy Management System (EMS).

[0035] The Energy Management System (EMS) incorporates the warehouse-level dynamic power feasible domain, energy storage warehouse equilibrium cost, actual power, actual energy, power tracking deviation, and energy tracking deviation reported by the warehouse controller (BAU) into the global optimization model at the next control moment, and continuously corrects the target power, target energy, SOC target trajectory, upward frequency modulation reserve capacity, and downward frequency modulation reserve capacity of the energy storage warehouse.

[0036] The beneficial effects of adopting the above technical solution are as follows: This invention provides a hierarchical SOC collaborative equalization control system for a flow battery energy storage system, which has the following beneficial effects: (1) This invention constructs a hierarchical collaborative control architecture of EMS, BAU, BCU and BMU, which integrates system-level energy scheduling, SOC coordination among battery clusters in the energy storage compartment, SOC balancing among BMUs and stack operation status coordination into a unified control process. This overcomes the problem that existing SOC balancing methods only perform local optimization for a single level, and realizes collaborative control from local SOC balancing to global system energy optimization.

[0037] (2) Through the closed-loop coordination mechanism of “target power and SOC target issuance - dynamic feasible domain and balance result feedback - power and energy deviation rolling correction”, the system-level energy dispatch and local SOC balance are coordinated to reduce the operating differences between different battery clusters and BMUs while ensuring the power demand of the grid, reduce the long-term overload and uneven decay of individual stacks, delay capacity differentiation, and improve the operating consistency and service life of flow battery energy storage system. Attached Figure Description

[0038] Figure 1 A schematic diagram of the overall architecture of the EMS-BAU-BCU-BMU hierarchical SOC collaborative equilibrium control system according to an embodiment of the present invention; Figure 2 The embodiments of the present invention are based on an overall control flowchart of EMS, BAU, BCU and BMU coordinated at each level. Detailed Implementation

[0039] The specific implementation methods of this application will be further described in detail below with reference to the accompanying drawings and embodiments.

[0040] Example 1: On the one hand, the present invention provides a hierarchical SOC collaborative equalization control system for a flow battery energy storage system, including an energy management system (EMS) and two energy storage compartments; Each of the energy storage compartments includes a compartment controller (BAU) and two battery clusters; Each of the battery clusters includes a cluster controller (BCU), 13 battery management units (BMUs), and one energy storage converter (PCS). Each of the battery management units (BMUs) includes four flow battery stacks, a power actuator, a flow actuator, a status acquisition device, and a communication network.

[0041] like Figure 1As shown, the communication network and the warehouse controller BAU serve as the communication hub. It interacts with the energy management system EMS and PCS via Modbus TCP, and connects four cluster controllers (BCUs) (1) to (4) via the network switch in Modbus TCP mode, forming the backbone network within the warehouse. Each cluster controller (BCU) serves as a cluster-level node, and further extends to 13 stack module controllers (BMUs (1) to (13)) via Modbus RTU bus, realizing the acquisition and control of low-level data such as stack voltage, temperature, and liquid level. This forms a three-level management and two-level bus (TCP + RTU) communication link from top to bottom: "EMS → BAU → Network Switch → BCU → BMU".

[0042] The Energy Management System (EMS) has a built-in global optimization model. Based on the grid peak shaving plan, frequency regulation power command, energy storage system planned power, and the energy storage SOC, available energy, allowable charging and discharging power, power change rate, energy storage level dynamic power feasible domain, hierarchical balancing cost, and fault derating status reported by the two storage controllers (BAU), it determines the total power demand and total energy demand of the energy storage system in the prediction time domain, and decomposes the total power demand and total energy demand into the control targets of the two energy storage storage units. The control objectives of the energy storage compartment include the target power, target energy, target SOC trajectory, allowable power range, upward frequency regulation reserve capacity, and downward frequency regulation reserve capacity; the energy management system (EMS) sends the control objectives of the two energy storage compartments to the corresponding compartment controllers (BAUs).

[0043] The BAU (Battery Controller Unit) is used to receive the target power, target energy, SOC target trajectory, allowable power range, upward frequency modulation reserve capacity, and downward frequency modulation reserve capacity of the energy storage warehouse from the energy management system (EMS). Based on the SOC, available energy, cluster-level dynamic power feasible domain, cluster-level equalization cost, expected equalization time, actual power, and fault derating status reported by the BCU (Battery Controller Unit) of each cluster in the energy storage warehouse, the target power of the energy storage warehouse is decomposed into the target power of each battery cluster. The cluster-level SOC target of each battery cluster is determined based on the SOC target trajectory of the energy storage warehouse and the SOC status of each battery cluster. Specifically, when considering power point tracking and inter-cluster SOC equalization, the warehouse controller (BAU) establishes the following objective function: ; in: - These are the weight coefficients of each sub-objective term in the objective function of the BAU layer. This indicates the SOC consistency term between BCUs. This indicates a penalty term for changes in battery cluster power. This is the power tracking term for the BAU layer, used to characterize the deviation between the sum of the target power of each battery cluster and the target power of the energy storage bin; , where j is the number of the BCU or its corresponding battery cluster; The target power of the battery cluster corresponding to the j-th BCU; The target power is sent from the Energy Management System (EMS) to the corresponding energy storage compartment of the BAU. This is used to reduce the deviation between the SOC of each battery cluster and the target SOC of the energy storage bin, among which The SOC of the battery cluster corresponding to the j-th BCU; Let J be the target SOC of the energy storage bin corresponding to the BAU; by minimizing J SOC,BCU This allows the SOC of each battery cluster within the same energy storage compartment to converge towards the target SOC of the energy storage compartment, thereby improving the SOC consistency among battery clusters.

[0044] ; in Let j be the number of BMUs managed by the j-th BCU; The SOC of the m-th BMU under the j-th BCU; The average SOC or capacity-weighted average SOC of each BMU in the j-th battery cluster; The number of times the BMU is engaged or disengaged within the j-th battery cluster; This refers to the auxiliary power consumption of the internal circulation pump, valves, and control equipment within the j-th battery cluster. γ1-γ4 represent the estimated time required for the j-th battery cluster to reach SOC equilibrium; γ1-γ4 are the corresponding weighting coefficients.

[0045] The capacity-weighted average SOC of each battery cluster within the energy storage compartment is: ,in This represents the current available energy of the battery cluster corresponding to the j-th BCU; In the discharge state, the battery controller (BAU) increases the target discharge power of battery clusters with a SOC higher than the capacity-weighted average SOC and a large discharge power margin, and decreases the target discharge power of battery clusters that are close to the discharge lower limit or have a high equalization cost.

[0046] During charging, the battery controller (BAU) increases the target charging power for battery clusters with a SOC below the capacity-weighted average SOC and a large amount of remaining rechargeable energy, and decreases the target charging power for battery clusters that are close to the charging limit.

[0047] The BAU (Battery Controller Unit) is configured with the power loop and energy loop of the energy storage bin: the power deviation of the energy storage bin is: ; in, The target power of the energy storage compartment is sent from the Energy Management System (EMS) to the Storage Controller Unit (BAU). The actual output power of the energy storage bin is collected or calculated by the bin controller (BAU).

[0048] The power loop correction is: ; in, This is the power loop proportional coefficient; τ represents the power loop integral coefficient; t represents the current control time; τ represents the index of the historical control time. Let be the power deviation at the current control time t; τ represents the power deviation at the historical control time; Δt represents the power loop control period.

[0049] The energy deviation is: ; in, The target energy of the energy storage compartment is determined by the energy management system (EMS) or the global optimization model. The actual energy of the energy storage bin is calculated by the bin controller (BAU) based on the actual charging and discharging power, battery status, and SOC.

[0050] The energy ring correction is: ; Where t is the current control time, and τ is the historical control time index, used for integration and summation, accumulating from the initial time 0 to the current time t. This is the energy ring proportionality coefficient; The integral coefficient of the energy loop; The energy deviation at the current control time t; τ represents the energy deviation at the historical control moment; Δt represents the energy loop control period.

[0051] The total power of the battery cluster ultimately sent from the BAU to the BCU is corrected by both the power loop and the energy loop.

[0052] The cluster controller (BCU) receives the target power and cluster-level SOC target of each battery cluster from the compartment controller (BAU), and determines the target power, target flow rate, and operational status of each BMU based on the equivalent available SOC, allowable charge / discharge power, electrolyte flow rate, temperature, health status, fault status, and operational status of each battery management unit (BMU) within the battery cluster.

[0053] The battery management unit (BMU) collects the operating status of the corresponding flow battery stack or subsystem, and controls the corresponding power and flow actuators to execute power, flow rate, and activation status commands based on the operating status of the flow battery stack or subsystem. The operating status of the flow battery stack or subsystem includes voltage, current, temperature, electrolyte flow rate, state of charge (SOC) of the storage tank, inlet status, and outlet status.

[0054] The power execution device is used to adjust the charging and discharging power and the activation status of the flow battery stack corresponding to the battery management unit (BMU). The power execution device includes at least one of a DC / DC converter, a contactor, a bypass switch, and a series-parallel reconfiguration switch.

[0055] The flow actuator is used to regulate the electrolyte flow rate of the flow battery stack, and the flow actuator includes at least one of a circulating pump, a regulating valve, and a flow bypass device.

[0056] The status acquisition device is used to acquire at least one of the following: voltage, current, temperature, liquid level, flow rate, pressure, insulation status, leakage status, contactor status, circulation pump status, and valve status of the energy storage compartment, battery cluster, battery management unit (BMU), and flow battery stack.

[0057] The Battery Management Unit (BMU), Cluster Controller (BCU), and Warehouse Controller (BAU) generate the corresponding dynamic power feasible domain, SOC equalization cost, estimated equalization time, power tracking deviation, and energy tracking deviation, respectively, and report them level by level in the order of Battery Management Unit (BMU), Cluster Controller (BCU), Warehouse Controller (BAU), and Energy Management System (EMS). The global optimization model is a mixed integer model predictive control model. Its continuous decision variables include the charging and discharging power, available energy, SOC, upward frequency regulation reserve capacity, and downward frequency regulation reserve capacity of each BAU corresponding energy storage unit. Its discrete decision variables include the input and output states of the energy storage compartment, battery cluster, and BMU. The objective function of the global optimization model includes grid power tracking term, energy storage compartment SOC target trajectory tracking term, frequency regulation reserve capacity deviation term, system loss term, equipment input and cut-off cost term, and hierarchical equilibration cost term. The power tracking term is used to ensure that the sum of the actual power of the two energy storage modules tracks the power grid peak shaving plan and frequency regulation power command.

[0058] The SOC target trajectory tracking term of the energy storage warehouse is used to enable the SOC of the two energy storage warehouses to converge to the corresponding target trajectory in the prediction time domain; The frequency regulation reserve capacity deviation term is used to ensure that the energy storage system has an upward power regulation margin and a downward power regulation margin to meet the frequency regulation requirements. The system loss items include at least PCS power conversion loss, circulating pump power consumption, and power consumption of other auxiliary equipment. The equipment deployment and removal cost item is used to reduce the frequent deployment and removal of energy storage bins, battery clusters, and BMUs.

[0059] The hierarchical equalization cost is determined by the BAU based on the cluster-level SOC dispersion, power regulation margin, number of BMU activations or deactivations, circulating pump auxiliary power consumption, and expected equalization time reported by each of its BCUs. This ensures that the EMS considers the SOC equalization requirements of the lower-level battery clusters and BMUs when allocating power between the two energy storage bins.

[0060] At the k-th optimization time, the Energy Management System (EMS) acquires the grid peak shaving plan, frequency regulation power command, energy storage system planned power, and the real-time status of the energy storage compartments reported by the two BAUs. The target power of the entire flow battery energy storage system is: ; in: For peak shaving planned power, For frequency modulation power command; Energy Management System (EMS) in the Prediction Time Domain Internal calculation of the energy requirements of the entire flow battery energy storage system: ; in, The global optimization period is given by k, where k is the current optimization time; H is the prediction time domain length; and τ is the discrete time within the prediction time domain. The target power that the entire flow battery energy storage system needs to track at the predicted time τ; The power requirements of the two energy storage chambers are met: ; in, Let be the actual power of one of the energy storage modules at the k-th optimization time; Let be the actual power of the corresponding energy storage unit at the k-th optimization time; No. The energy status of each energy storage unit is updated according to the following formula: ; Where: i is the energy storage compartment number, in this embodiment i=1,2, which correspond to two energy storage compartments respectively; Let be the available energy of the i-th energy storage unit at the k-th optimization time. Power to charge the energy storage bin; This refers to the discharge power of the energy storage chamber. and These are charging efficiency and discharging efficiency, respectively. This refers to the auxiliary power consumption of circulating pumps, cooling devices, and control equipment.

[0061] The State of Charge (SOC) of an energy storage unit is determined based on the currently available energy: ; Where: k is the current optimization time; Let be the current available energy of the i-th energy storage unit at the k-th optimization time. The minimum usable energy allowed for the i-th energy storage unit; Let be the maximum usable energy allowed for the i-th energy storage unit.

[0062] The objective function of the global optimization model is as follows: ; Among them: w1 w6 is the weight coefficient of each objective item. J grid For grid power tracking, J SOC For the SOC target trajectory tracking item of the energy storage warehouse, J reserve This is the frequency modulation reserve capacity deviation item. J loss This is a system loss term. J switch The cost of removing the equipment is included. J bal This is the cost term for hierarchical equilibrium. ; ; ; ; ; ; in: and These are the upward frequency modulation reserve capacity requirements and the downward frequency modulation reserve capacity requirements at the predicted time τ, respectively. and These refer to the upward frequency regulation reserve capacity and the downward frequency regulation reserve capacity that the two energy storage modules can provide together; Let be the PCS power conversion loss of the i-th energy storage bin. For the power consumption of the circulating pump, For the power consumption of other auxiliary devices, Let be the input state variable of the battery cluster corresponding to the j-th cluster controller (BCU) at the predicted time τ. Let be the state variable of the m-th battery management unit (BMU) at the predicted time τ; it is set to 1 when it is in operation and 0 when it is out of operation. Let SOC be the SOC of the i-th energy storage unit at the predicted time τ; Let SOC be the target value of the i-th energy storage unit at the predicted time τ; The BAU calculates and reports the following based on the SOC dispersion of its battery cluster, the SOC dispersion between BMUs, the estimated equalization time, the power consumption of the circulating pump, and the number of times it is put into operation and cut off: ; Wherein, λ1 to λ5 are non-negative weighting coefficients. denoted as the SOC dispersion among the battery clusters within the i-th energy storage compartment, used to characterize the degree of SOC inconsistency among battery clusters corresponding to different BCUs within the energy storage compartment. It is the weighted average of the SOC dispersion among the BMUs corresponding to each battery cluster in the i energy storage compartments, used to characterize the degree of SOC inconsistency at the BMU level within the energy storage compartment; Let i be the estimated time required for the i-th energy storage unit to reach SOC equilibrium. The auxiliary power consumption of the circulating pump required to perform SOC balancing in the i-th energy storage compartment; This represents the number of times the battery cluster or BMU in the i-th energy storage compartment is put into operation, taken out of operation, or switched during the current control cycle.

[0063] After solving the objective function of the global optimization model, the Energy Management System (EMS) issues the following commands to the two BAUs: ; in, The target power for the i-th energy storage compartment is used to indicate the charging or discharging power that the energy storage compartment should perform in the current control cycle. Let be the target energy of the i-th energy storage unit, used to indicate the energy level that the energy storage unit needs to reach or maintain within the prediction time domain; Let SOC be the target value or SOC trajectory of the i-th energy storage compartment, used to constrain the SOC of the energy storage compartment to converge toward the target state; This represents the minimum allowable power for the i-th energy storage compartment, typically corresponding to a negative value for the maximum allowable charging power. This represents the maximum allowable power for the i-th energy storage compartment, which typically corresponds to the maximum allowable discharge power. For the i-th energy storage compartment, the upward frequency regulation reserve capacity is used to represent the ability of the energy storage compartment to further increase the discharge power or decrease the charging power based on the current power. Let be the down-regulation reserve capacity of the i-th energy storage compartment, which represents the ability of the energy storage compartment to further increase charging power or decrease discharging power based on the current power.

[0064] The Energy Management System (EMS) updates its global optimization model in each global optimization cycle based on the battery cluster SOC, available energy, cluster-level dynamic power feasible region, cluster-level equalization cost, expected equalization time, actual power, and fault derating status reported by the two BAUs. The EMS also corrects the control objectives for the two energy storage compartments at the next control time. These control objectives include the target power, target energy, target SOC trajectory, allowable power range, upward frequency modulation reserve capacity, and downward frequency modulation reserve capacity for each energy storage compartment.

[0065] The dynamic power feasible domain includes the BMU-level dynamic power feasible domain, the BCU-level dynamic power feasible domain, and the BAU-level dynamic power feasible domain.

[0066] The feasible dynamic power domain of the BCU cluster is determined by the number of BMUs that can be put into operation, the maximum charging power of each BMU, the maximum discharging power, the SOC boundary, the temperature boundary, the electrolyte flow rate boundary, the health status, and the fault derating status.

[0067] The BAU energy storage bin-level dynamic power feasible domain is determined by the BAU based on the dynamic power feasible domain of each battery cluster, the PCS allowable power range, the energy storage bin auxiliary power consumption, and the fault derating status.

[0068] The BMU-level dynamic power feasible domain is determined based on the BMU's current SOC, equivalent available SOC, available energy, allowable charge / discharge power, electrolyte flow rate, temperature, health status, fault derating status, and the available status of the four internal flow battery stacks. When the target power of the storage unit issued by the Energy Management System (EMS) exceeds the BAU-level dynamic power feasible domain reported by the Storage Unit Controller (BAU), the Storage Unit Controller (BAU) projects the target power of the storage unit into the BAU-level dynamic power feasible domain. When the target power of the battery cluster issued by the Storage Unit Controller (BAU) exceeds the BCU-level dynamic power feasible domain reported by the Cluster Controller (BCU), the Cluster Controller (BCU) projects the target power of the battery cluster into the BCU-level dynamic power feasible domain. When the target power issued by the Cluster Controller (BCU) to the Battery Unit (BMU) exceeds the BMU-level dynamic power feasible domain, the BMU target power is limited to the BMU-level dynamic power feasible domain.

[0069] The difference between the target power and the executable power is taken as the unexecuted power deviation. The unexecuted power deviation is first compensated by other energy storage bins, battery clusters or BMUs with remaining power margins in the same level. When the same level cannot fully compensate, the remaining unexecuted power deviation is reported level by level and redistributed by the next level controller at the next control moment.

[0070] The bin controller (BAU) and cluster controller (BCU) establish distributed model predictive control models respectively, and solve the local power allocation problem between the bin controller (BAU) and the cluster controller (BCU) in parallel using the alternating direction multiplier method. The bin controller (BAU) coordinates the power allocation of the cluster controller through the total power constraint of the energy storage bin, and the cluster controller (BCU) coordinates the power allocation of the BMU through the total power constraint of the battery cluster.

[0071] The objective function of the distributed model predictive control model includes a power tracking term, a state-of-the-art (SOC) consistency term, a target SOC tracking term, a power smoothing term, an input / output cutoff cost term, and an auxiliary power consumption term. The optimization results of the distributed model predictive control model include the target power, target flow rate, input / output status, and power correction for each battery cluster or BMU.

[0072] When using the alternating direction multiplier method, if both the original residual and the dual residual are less than their respective preset thresholds within a preset maximum number of iterations, the convergence condition is deemed met, and control commands are generated using the optimization results. These control commands include target power for the battery cluster, target power for the BMU, target flow rate, and operational status commands. If the preset maximum number of iterations is reached, or the computation time exceeds a preset solution time, or at least one of the original residual and the dual residual is not less than its corresponding preset threshold, the convergence condition is deemed not met. In this case, the effective power allocation result from the previous control cycle is used as the basic control quantity, and a limiting correction is performed based on the current SOC, equipment status, and dynamic power feasible region to obtain the executable control commands for the current control cycle.

[0073] The EMS system-level global optimization, the inter-cluster SOC coordination performed by the BAU, and the inter-MU SOC balancing performed by the BCU employ adaptive coordination weights. These adaptive coordination weights are dynamically adjusted based on grid power tracking deviation, inter-cluster SOC dispersion, inter-MU SOC dispersion, and equipment safety margin. When grid power tracking deviation increases, the weight of the system power tracking target is increased; when inter-cluster SOC dispersion increases, the weight of the BAU-level inter-cluster SOC coordination target is increased; when inter-MU SOC dispersion increases, the weight of the BCU-level inter-MU SOC balancing target is increased. When any energy storage unit, battery cluster, BMU, or flow battery stack reaches its SOC, temperature, flow rate, insulation, or fault safety boundary, safety constraints take precedence over power tracking and SOC balancing targets.

[0074] The Battery Management Unit (BMU) reports its actual operating status, BMU-level dynamic power feasible domain, SOC equalization results, power tracking deviation, and fault information to the Cluster Controller (BCU). The Cluster Controller (BCU) summarizes the data from the BMU to form the battery cluster-level dynamic power feasible domain, battery cluster SOC, cluster-level equalization cost, estimated equalization time, actual power, and unexecuted power deviation, and reports this data to the Storage Unit Controller (BAU). The Storage Unit Controller (BAU) summarizes the data from the Cluster Controller (BCU) to form the storage unit-level dynamic power feasible domain, storage unit SOC, storage unit equalization cost, actual power, actual energy, power tracking deviation, and energy tracking deviation, and reports this data to the Energy Management System (EMS).

[0075] The Energy Management System (EMS) incorporates the warehouse-level dynamic power feasible domain, energy storage warehouse equilibrium cost, actual power, actual energy, power tracking deviation, and energy tracking deviation reported by the warehouse controller (BAU) into the global optimization model at the next control moment, and continuously corrects the target power, target energy, SOC target trajectory, upward frequency modulation reserve capacity, and downward frequency modulation reserve capacity of the energy storage warehouse.

[0076] Through the above system configuration and control process, a hierarchical closed-loop control is formed, which combines EMS system-level global energy optimization, SOC coordination between battery clusters in BAU energy storage, SOC balancing between BMUs in BCU battery clusters, and coordinated operation of four flow battery stacks within BMU. This allows the lower-level SOC balancing results to participate in the upper-level power optimization, and enables the upper-level energy scheduling target to be rolled back according to the real-time executability of the lower level.

[0077] Instead of unidirectional command transmission, the upper and lower layers adopt a two-way coordination mechanism of "target trajectory and power boundary issuance - dynamic feasible domain and equilibrium cost feedback - tracking deviation rolling correction".

[0078] In this embodiment, the two energy storage compartments are referred to as Energy Storage Compartment 1 and Energy Storage Compartment 2, respectively, and the corresponding compartment controllers are referred to as BAU1 and BAU2, respectively.

[0079] The four battery clusters in each compartment are designated as Battery Cluster 1 to Battery Cluster 4, and the corresponding cluster controllers are designated as BCU1 to BCU4. The 52 BMUs are allocated to the four battery clusters according to a preset affiliation.

[0080] BCU1 connects BMU1 to BMU13; BCU2 connects BMU14 to BMU26; BCU3 connects BMU27 to BMU39; BCU4 connects BMU40 to BMU52.

[0081] Each BMU corresponds to one fuel cell stack subsystem, and each fuel cell stack subsystem includes four flow battery stacks. Therefore, 52 BMUs correspond to a total of 208 flow battery stacks.

[0082] The system forms the following hierarchical control relationship: EMS → BAU → BCU → BMU → flow battery stack; Among them, EMS is responsible for system-level power and energy optimization; BAU is responsible for power distribution and SOC coordination among multiple battery clusters within its energy storage compartment; BCU is responsible for power distribution and SOC balancing among multiple BMUs within its battery cluster; and BMU is responsible for status acquisition, operation coordination, execution control, and fault protection of its four internal flow battery stacks.

[0083] Example 2: SOC coordination among BAU layer battery clusters; Each Battery Controller (BAU) performs inter-cell power coordination according to a second control cycle. This second control cycle is shorter than the EMS global optimization cycle, and in this embodiment, it is taken as 1 to 10 seconds.

[0084] Taking BAU1 managing BCU1 and BCU2 as an example, BAU1 receives the target power of energy storage compartment 1 from EMS. It also receives the following data reported by BCU1 and BCU2: battery cluster SOC, available energy, battery cluster-level dynamic power feasible region, balancing cost, expected balancing time, actual power, and fault derating status.

[0085] Warehouse controller BAU1 needs to meet the following requirements: ; Example 3: SOC equalization between BMUs in the BCU layer; Each cluster controller (BCU) performs SOC equalization among BMUs according to a third control cycle. This third control cycle is shorter than the BAU energy coordination cycle; in this embodiment, it is between 100 milliseconds and 1 second.

[0086] Taking BCU1 managing BMU1 to BMU4 as an example, BCU1 receives the target power of the battery clusters from BAU1. And cluster-level SOC targets. BCU1 reads the real-time status of BMU1 to BMU4 and generates a cluster-level real-time control data table.

[0087] The capacity-weighted average SOC of the battery management unit (BMU) is: ; Where m is the number of the internal flow battery stack of the BMU, and in this embodiment m=1,2,3,4; Let SOC be the state of charge (SOC) of the m-th flow battery stack. This represents the current available energy of the m-th flow battery stack.

[0088] The SOC dispersion of the battery management unit (BMU) within the battery cluster is: ; Where M is the number of BMUs connected to the cluster controller BCU.

[0089] The cluster controller (BCU) establishes the following local optimization model: ; Wherein, β1, β2, β3, β4, and β5 are the weight coefficients of the power tracking term, SOC consistency term, power smoothing term, input cut-off cost term, and auxiliary power consumption term, respectively, and all are non-negative numbers; J track For power tracking, J equal For SOC consistency items; Where m is the BMU number to which BCU belongs; The target power of the m-th BMU; The target power of the battery cluster is issued by the BAU to the BCU.

[0090] ;in, The SOC of the m-th BMU; The SOC is the capacity-weighted average of the multiple BMUs to which this BCU belongs.

[0091] ; in Let m be the target power of the m-th BMU at the current control moment; Let m be the target power of the m-th BMU at the previous control time. ,in Let m be the state variable of the m-th BMU at the current control time. It takes a value of 1 when it is put into operation and a value of 0 when it is taken out. This represents the state of operation at the previous control moment.

[0092] ,in The auxiliary power consumption of the fuel cell subsystem corresponding to the m-th BMU Under the condition of battery cluster discharge, the initial discharge participation factor of the m-th battery management unit (BMU) is expressed as: ; in: To normalize the SOC bias, To normalize the power margin, To normalize the temperature deviation, λ is the fault or derating factor; sat is the limiting function; λ0 is the reference participation factor; k1, k2, k3, and k4 are the weighting factors corresponding to SOC deviation, power margin, temperature deviation, and fault derating status, respectively. The initial target power for each Battery Management Unit (BMU) is: ; Where λm is the participation coefficient of the m-th BMU, q is the BMU number; M is the number of BMUs in the battery cluster to which this BCU belongs; and λq is the participation coefficient of the q-th BMU. The target power of the battery cluster issued by the BAU to the BCU; The initial target power is used as the initial solution of the distributed model predictive control model.

[0093] Example 4: BMU equivalents can be calculated using SOC; Each Battery Management Unit (BMU) corresponds to four flow battery stacks. The BMU collects data on the State of Charge (SOC) of the storage tank, the inlet status of the stack, the outlet status of the stack, the electrolyte flow rate, temperature, stack voltage, and operating current.

[0094] Electrolyte circulation transport time is expressed as: ; in: The effective piping volume between the storage tank and the fuel cell stack inlet. This represents the electrolyte flow rate.

[0095] The Battery Management Unit (BMU) estimates the lag in the transmission of changes in the State of Charge (SOC) of the reservoir to the stack inlet based on the cycle transport time. The equivalent of BMU can be represented by SOC as follows: ; in: For the storage tank SOC, This is the lag correction for cyclic transport. Correction amount for insufficient traffic. This is a temperature correction amount. This is a correction factor for health status.

[0096] Each correction was obtained through electrochemical modeling, state observation, online identification, or experimental calibration.

[0097] The available energy for the BMU is: ; in, This is a capacity correction factor that takes into account capacity decay, electrolyte condition, and equipment availability. m is the BMU number; Let m be the rated energy of the fuel cell subsystem corresponding to each BMU; This is the equivalent available SOC for the m-th BMU.

[0098] Example 5: Coordination of four fuel cell stacks within the BMU; The Battery Management Unit (BMU) collects the voltage of each of the four flow battery stacks. ,temperature ,flow And fault states, where s=1,2,3,4.

[0099] The Battery Management Unit (BMU) calculates the operational participation factor for each flow battery stack: ; in, For polarization characteristic quantities, This could be due to a fault or a reduction in credit limit.

[0100] When each flow battery stack has an independent power regulation device, the target power of each flow battery stack is: ; Where m is the BMU number; s is the number of the internal flow battery stack of the BMU, and in this embodiment s=1,2,3,4; The target power is sent from the BCU to the m-th BMU; Let be the operational participation coefficient of the s-th flow battery stack within the m-th BMU; Let q be the operational participation coefficient of the q-th flow battery stack within the m-th BMU, where q is the summation index, taking values ​​of 1, 2, 3, and 4.

[0101] When each stack does not have an independent power regulation device, the BMU adjusts the target flow, operating sequence, or duty cycle of each stack branch according to the participation factor.

[0102] When a fuel cell stack experiences temperature exceeding limits, insufficient flow, or a fault, its participation factor is reduced. When the fault level reaches the exit criteria, the fuel cell stack is taken out of operation, and the upper limit of the BMU-level dynamic power feasible domain is simultaneously reduced.

[0103] Example 6: Step-by-step generation of the dynamic power feasible region; The maximum executable discharge power of the m-th battery management unit (BMU) is: ; in: Due to rated power limitations, The power limit corresponding to the SOC boundary. Power limit corresponding to electrolyte flow rate. Temperature-dependent power limits The corresponding power limit is applied to the fault derating.

[0104] The feasible region for BMU-level dynamic power is: ; in, This represents the maximum allowed charging power for the m-th BMU. This represents the maximum allowable discharge power for the m-th BMU. When using the sign convention of positive discharge power and negative charging power, This indicates the lower limit of the maximum charging power of the BMU. This indicates the upper limit corresponding to the maximum discharge power of the BMU.

[0105] The BCU generates a battery cluster-level dynamic power feasible region based on the dynamic power feasible region of each of its member BMUs: ; in, This represents the synthesis of multiple power ranges, further limited by the upper limit of the battery cluster power interface. M is the number of BMUs within the battery cluster to which this BCU belongs; Let m be the dynamic power feasible region of the m-th BMU; BAU generates the energy storage bin-level dynamic power feasible domain based on the dynamic power feasible domain of each BCU and the PCS power limit: ; Where j is the BCU or battery cluster number; Let be the dynamic power feasible region of the battery cluster corresponding to the j-th BCU; The PCS allows a power range; ∩ represents the intersection of intervals. Example 7: Target power projection and deviation compensation; When the target power of the energy storage warehouse is issued by EMS When the dynamic power feasible region of the energy storage bin is exceeded, the BAU performs interval projection: ; The unexecuted power deviation is: ; in, The executable power of the energy storage bin corresponding to the bin controller BAU. The target power is sent from the Energy Management System (EMS) to the corresponding energy storage compartment of the BAU. This is the minimum power allowed for the energy storage unit at the current control moment; This represents the maximum power allowed for the energy storage unit at the current control moment.

[0106] If the other energy storage unit has a remaining power margin, the EMS will allocate the unexecuted power deviation to the other energy storage unit.

[0107] When other energy storage compartments, battery clusters, or BMUs on the same level cannot fully compensate, the remaining deviations are reported level by level and incorporated into the optimization model at the next control moment.

[0108] The target power projection for the BCU and BMU layers uses the same method.

[0109] Example 8: This example uses an energy storage system performing a discharge peak-shaving task as an example. Figure 2 The diagram illustrates the complete control process: In step S1, the EMS receives the peak power command and frequency regulation power command issued by the power grid, and reads the energy storage SOC, actual power, available energy and dynamic power feasible domain reported by BAU1 and BAU2.

[0110] In step S2, the EMS establishes a global optimization model based on the predicted power demand of the power grid in the time domain, and calculates the target discharge power, target energy, and SOC target trajectory of energy storage 1 and energy storage 2.

[0111] In step S3, the EMS sends the target power of the energy storage bins to BAU1 and BAU2 respectively.

[0112] In step S4, BAU1 and BAU2 read the SOC, dynamic power feasible region, equalization cost and expected equalization time of the battery clusters reported by their respective BCUs, and decompose the target power of the energy storage warehouse into the target power of each battery cluster.

[0113] Step S5: Each BCU reads the SOC, equivalent available SOC, available energy, allowable discharge power, flow rate, temperature and fault status of its respective BMU.

[0114] In step S6, the BCU calculates the participation factor based on the SOC and power margin of each BMU. BMUs with higher SOC and larger allowable discharge power undertake higher discharge power; BMUs close to the discharge lower limit or subject to flow or temperature limitations undertake lower discharge power.

[0115] In step S7, the BMU receives the target power and target flow rate from the BCU and coordinates the operating status of the four internal flow battery stacks.

[0116] In step S8, the power actuator and the flow actuator execute the corresponding power, flow, and activation status commands.

[0117] In step S9, each BMU calculates the actual power, SOC change, and BMU-level dynamic power feasible region, and reports them to the BCU.

[0118] In step S10, the BCU summarizes the status of its BMUs to form the battery cluster-level dynamic power feasible domain, cluster-level equalization cost, actual power and unexecuted power deviation, and reports it to the BAU.

[0119] In step S11, the BAU summarizes the status of its BCUs to form the dynamic power feasible domain, actual power of the energy storage unit, actual energy, and balance cost at the energy storage unit level, and reports it to the EMS.

[0120] In step S12, the EMS compares the actual operating results with the target power and target energy, incorporates the power tracking deviation, energy tracking deviation and unexecuted power deviation into the global optimization model at the next control moment, and reallocates the target power of the two energy storage compartments.

[0121] Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a computer program product.

[0122] The various embodiments in this application are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.

[0123] The scope of protection of this application is not limited to the embodiments described above. Obviously, those skilled in the art can make various modifications and variations to this disclosure without departing from the scope and spirit of this disclosure. If such modifications and variations fall within the scope of the methods disclosed herein and their equivalents, then the intent of this disclosure also includes such modifications and variations.

Claims

1. A hierarchical SOC collaborative equalization control system for a flow battery energy storage system, characterized in that, Includes an energy management system (EMS) and two energy storage bins; Each of the energy storage compartments includes a compartment controller (BAU) and two battery clusters; Each of the battery clusters includes a cluster controller (BCU), 13 battery management units (BMUs), and one energy storage converter (PCS). Each of the battery management units (BMUs) includes four flow battery stacks, a power actuator, a flow actuator, a status acquisition device, and a communication network. The Energy Management System (EMS) incorporates a global optimization model. Based on the grid peak shaving plan, frequency regulation power command, energy storage system planned power, and the energy storage SOC, available energy, allowable charge and discharge power, power change rate, energy storage level dynamic power feasible domain, hierarchical balancing cost, and fault derating status reported by the two storage controllers (BAU), it determines the total power demand and total energy demand of the energy storage system in the prediction time domain, and decomposes the total power demand and total energy demand into the control targets of the two energy storage storage units.

2. The hierarchical SOC collaborative equalization control system for a flow battery energy storage system according to claim 1, characterized in that, The control objectives of the energy storage compartment include the target power, target energy, target SOC trajectory, allowable power range, upward frequency regulation reserve capacity, and downward frequency regulation reserve capacity; the energy management system (EMS) sends the control objectives of the two energy storage compartments to the corresponding compartment controllers (BAUs).

3. The hierarchical SOC collaborative equalization control system for a flow battery energy storage system according to claim 2, characterized in that, The BAU (Battery Controller Unit) is used to receive the target power, target energy, SOC target trajectory, allowable power range, upward frequency modulation reserve capacity, and downward frequency modulation reserve capacity of the energy storage warehouse from the energy management system (EMS). Based on the SOC, available energy, cluster-level dynamic power feasible domain, cluster-level equalization cost, expected equalization time, actual power, and fault derating status reported by the BCU (Battery Controller Unit) of each cluster in the energy storage warehouse, the target power of the energy storage warehouse is decomposed into the target power of each battery cluster. The cluster-level SOC target of each battery cluster is determined based on the SOC target trajectory of the energy storage warehouse and the SOC status of each battery cluster. Specifically, when considering power point tracking and inter-cluster SOC equalization, the warehouse controller (BAU) establishes the following objective function: ; in: - These are the weight coefficients of each sub-objective term in the objective function of the BAU layer. This indicates the SOC consistency term between BCUs. This represents the penalty term for changes in battery cluster power. For BAU layer power tracking term; j is the number of the BCU or its corresponding battery cluster; The target power of the battery cluster corresponding to the j-th BCU; The target power is sent from the Energy Management System (EMS) to the corresponding energy storage compartment of the BAU; ,in The SOC of the battery cluster corresponding to the j-th BCU; The target SOC for the energy storage compartment corresponding to the BAU; ; Where m is the BMU number under the j-th BCU, Let j be the number of BMUs managed by the j-th BCU. For the SOC of the m-th BMU under the j-th BCU, The SOC or capacity-weighted average SOC of each BMU within the j-th battery cluster is given. The number of times the BMU is engaged or disengaged within the j-th battery cluster; This represents the auxiliary power consumption within the j-th battery cluster; γ1-γ4 are the estimated time required for the j-th battery cluster to reach SOC equilibrium; γ1-γ4 are the corresponding weighting coefficients. The capacity-weighted average SOC of each battery cluster within the energy storage compartment is: ,in This represents the current available energy of the battery cluster corresponding to the j-th BCU; The BAU (Battery Controller Unit) is configured with the power loop and energy loop of the energy storage bin: the power deviation of the energy storage bin is: ; in, The target power of the energy storage compartment is sent from the Energy Management System (EMS) to the Storage Controller Unit (BAU). The actual output power of the energy storage bin is collected or calculated by the bin controller (BAU). The power loop correction is: ; in, This is the power loop proportional coefficient; τ represents the power loop integral coefficient; t represents the current control time; τ represents the index of the historical control time. Let be the power deviation at the current control time t; τ represents the power deviation at the historical control time; Δt represents the power loop control period. The energy deviation is: ; in, The target energy of the energy storage compartment is determined by the energy management system (EMS) or the global optimization model. The actual energy of the energy storage bin is calculated by the bin controller (BAU) based on the actual charging and discharging power, battery status, and SOC. The energy ring correction is: ; Where t is the current control time; τ is the historical control time index, used for integration and summation, accumulating from the initial time 0 to the current time t. This is the energy ring proportionality coefficient; The integral coefficient of the energy loop; The energy deviation at the current control time t; τ represents the energy deviation at the historical control moment; Δt represents the energy loop control period. The total power of the battery cluster ultimately sent from the BAU to the BCU is corrected by both the power loop and the energy loop.

4. The hierarchical SOC collaborative equalization control system for a flow battery energy storage system according to claim 3, characterized in that, The cluster controller (BCU) receives the target power and cluster-level SOC target of each battery cluster from the compartment controller (BAU), and determines the target power, target flow rate and operational status of each BMU based on the equivalent available SOC, allowable charge / discharge power, electrolyte flow rate, temperature, health status, fault status and operational status of each battery management unit (BMU) within the battery cluster. The battery management unit (BMU) collects the operating status of the corresponding flow battery stack or stack subsystem, and controls the corresponding power actuator and flow actuator to execute power, flow rate and activation status commands based on the operating status of the flow battery stack or stack subsystem. The operating status of the flow battery stack or stack subsystem includes voltage, current, temperature, electrolyte flow rate, storage tank SOC, inlet status and outlet status.

5. A hierarchical SOC collaborative equalization control system for a flow battery energy storage system according to claim 4, characterized in that, The power execution device is used to adjust the charging and discharging power and the activation status of the flow battery stack corresponding to the battery management unit (BMU). The power execution device includes at least one of a DC / DC converter, a contactor, a bypass switch, and a series-parallel reconfiguration switch. The flow actuator is used to regulate the electrolyte flow rate of the flow battery stack, and the flow actuator includes at least one of a circulating pump, a regulating valve, and a flow bypass device; The status acquisition device is used to acquire at least one of the following: voltage, current, temperature, liquid level, flow rate, pressure, insulation status, leakage status, contactor status, circulation pump status, and valve status of the energy storage compartment, battery cluster, battery management unit (BMU), and flow battery stack. The Battery Management Unit (BMU), Cluster Controller (BCU), and Binary Controller (BAU) generate the corresponding dynamic power feasible domain, SOC equalization cost, estimated equalization time, power tracking deviation, and energy tracking deviation, respectively, and report them level by level in the order of Battery Management Unit (BMU), Cluster Controller (BCU), Binary Controller (BAU), and Energy Management System (EMS).

6. A hierarchical SOC collaborative equalization control system for a flow battery energy storage system according to claim 5, characterized in that, The global optimization model is a mixed integer model predictive control model. Its continuous decision variables include the charging and discharging power, available energy, SOC, upward frequency regulation reserve capacity, and downward frequency regulation reserve capacity of each BAU corresponding energy storage unit. Its discrete decision variables include the input and output states of the energy storage compartment, battery cluster, and BMU. The objective function of the global optimization model includes grid power tracking term, energy storage compartment SOC target trajectory tracking term, frequency regulation reserve capacity deviation term, system loss term, equipment input and cut-off cost term, and hierarchical equilibration cost term. The power tracking term is used to ensure that the sum of the actual power of the two energy storage modules tracks the power grid peak shaving plan and frequency regulation power command. The SOC target trajectory tracking term of the energy storage warehouse is used to enable the SOC of the two energy storage warehouses to converge to the corresponding target trajectory in the prediction time domain; The frequency regulation reserve capacity deviation term is used to ensure that the energy storage system has an upward power regulation margin and a downward power regulation margin to meet the frequency regulation requirements. The system loss items include at least PCS power conversion loss, circulating pump power consumption, and power consumption of other auxiliary equipment. The equipment deployment and removal cost item is used to reduce the frequent deployment and removal of energy storage bins, battery clusters, and BMUs; The hierarchical equalization cost item is determined by the BAU based on the cluster-level SOC dispersion, power regulation margin, number of BMU activation or deactivation, circulating pump auxiliary power consumption and expected equalization time reported by each BCU, so that the EMS considers the SOC equalization requirements of the lower battery cluster and BMU when allocating power to the two energy storage bins. At the k-th optimization time, the Energy Management System (EMS) acquires the grid peak shaving plan, frequency regulation power command, energy storage system planned power, and the real-time status of the energy storage compartments reported by the two BAUs. The target power of the entire flow battery energy storage system is: ; in: For peak shaving planned power, For frequency modulation power command; Energy Management System (EMS) in the Prediction Time Domain Internal calculation of the energy requirements of the entire flow battery energy storage system: ; in, The global optimization period is given by k, where k is the current optimization time; H is the prediction time domain length; and τ is the discrete time within the prediction time domain. The target power that the entire flow battery energy storage system needs to track at the predicted time τ; The power requirements of the two energy storage chambers are met: ; in, Let be the actual power of one of the energy storage modules at the k-th optimization time. Let be the actual power of the corresponding energy storage unit at the k-th optimization time; No. The energy status of each energy storage unit is updated according to the following formula: ; Where: i is the energy storage compartment number, in this embodiment i=1,2, which correspond to two energy storage compartments respectively; Let be the available energy of the i-th energy storage unit at the k-th optimization time. Power to charge the energy storage bin; This refers to the discharge power of the energy storage chamber. and These are charging efficiency and discharging efficiency, respectively. Auxiliary power consumption for circulating pumps, cooling devices, and control equipment; The State of Charge (SOC) of an energy storage unit is determined based on the currently available energy: ; Where: k is the current optimization time; Let be the current available energy of the i-th energy storage unit at the k-th optimization time. The minimum usable energy allowed for the i-th energy storage unit; The maximum usable energy allowed for the i-th energy storage unit; The objective function of the global optimization model is as follows: ; Among them: w1 w6 is the weight coefficient of each objective item. J grid For grid power tracking, J SOC For the SOC target trajectory tracking item of the energy storage warehouse, J reserve This is the frequency modulation reserve capacity deviation item. J loss This is a system loss term. J switch The cost of removing the equipment is included. J bal This is the cost term for hierarchical equilibrium. ; ; ; ; ; ; in: and These are the upward frequency modulation reserve capacity requirements and the downward frequency modulation reserve capacity requirements at the predicted time τ, respectively. and These refer to the upward frequency regulation reserve capacity and the downward frequency regulation reserve capacity that the two energy storage modules can provide together; Let be the PCS power conversion loss of the i-th energy storage bin. For the power consumption of the circulating pump, For the power consumption of other auxiliary devices, Let be the input state variable of the battery cluster corresponding to the j-th cluster controller (BCU) at the predicted time τ. Let be the state variable of the m-th battery management unit (BMU) at the predicted time τ; it is set to 1 when it is in operation and 0 when it is out of operation. Let SOC be the i-th energy storage unit at the predicted time τ; Let SOC be the target value of the i-th energy storage unit at the predicted time τ; The BAU calculates and reports the following based on the SOC dispersion of its battery cluster, the SOC dispersion between BMUs, the estimated equalization time, the power consumption of the circulating pump, and the number of times it is put into operation and cut off: ; Wherein, λ1 to λ5 are non-negative weighting coefficients. Let SOC be the dispersion among the battery clusters within the i-th energy storage compartment. Let SOC be the weighted average of the dispersion of the battery clusters among the BMUs in the i energy storage compartments. Let i be the estimated time required for the i-th energy storage unit to reach SOC equilibrium. The auxiliary power consumption of the circulating pump required to perform SOC balancing in the i-th energy storage compartment; This represents the number of times the battery cluster or BMU in the i-th energy storage compartment is put into, taken out of, or switched during the current control cycle. After solving the objective function of the global optimization model, the Energy Management System (EMS) issues the following commands to the two BAUs: ; in, Let i be the target power of the i-th energy storage compartment. Let i be the target energy of the i-th energy storage unit. Let SOC be the target value or SOC trajectory of the i-th energy storage unit. Let be the minimum allowable power for the i-th energy storage compartment. Let i be the maximum allowable power of the i-th energy storage compartment. Let be the upward frequency regulation reserve capacity of the i-th energy storage compartment. Let be the down-regulation reserve capacity of the i-th energy storage compartment.

7. A hierarchical SOC collaborative equalization control system for a flow battery energy storage system according to claim 6, characterized in that, The Energy Management System (EMS) updates the global optimization model in each global optimization cycle based on the battery cluster SOC, available energy, cluster-level dynamic power feasible region, cluster-level equalization cost, expected equalization time, actual power, and fault derating status reported by the two BAUs. The EMS also corrects the control objectives of the two energy storage compartments at the next control moment. The control objectives include the target power, target energy, target SOC trajectory, allowable power range, upward frequency modulation reserve capacity, and downward frequency modulation reserve capacity of the energy storage compartments. The dynamic power feasible domain includes the BMU-level dynamic power feasible domain, the BCU-level dynamic power feasible domain, and the BAU-level dynamic power feasible domain. The feasible dynamic power domain of the BCU cluster is determined by the number of BMUs that can be put into service, the maximum charging power and maximum discharging power of each BMU, the SOC boundary, the temperature boundary, the electrolyte flow rate boundary, the health status and the fault derating status. The BAU energy storage bin-level dynamic power feasible domain is determined by the BAU based on the dynamic power feasible domain of each battery cluster, the PCS allowable power range, the energy storage bin auxiliary power consumption, and the fault derating status. The BMU-level dynamic power feasible domain is determined based on the BMU's current SOC, equivalent available SOC, available energy, allowable charge / discharge power, electrolyte flow rate, temperature, health status, fault derating status, and the available status of the four internal flow battery stacks. When the target power of the storage unit issued by the Energy Management System (EMS) exceeds the BAU-level dynamic power feasible domain reported by the Storage Unit Controller (BAU), the Storage Unit Controller (BAU) projects the target power of the storage unit into the BAU-level dynamic power feasible domain. When the target power of the battery cluster issued by the Storage Unit Controller (BAU) exceeds the BCU-level dynamic power feasible domain reported by the Cluster Controller (BCU), the Cluster Controller (BCU) projects the target power of the battery cluster into the BCU-level dynamic power feasible domain. When the target power issued by the Cluster Controller (BCU) to the BMU exceeds the BMU-level dynamic power feasible domain, the BMU target power is limited to the BMU-level dynamic power feasible domain. The difference between the target power and the executable power is taken as the unexecuted power deviation. The unexecuted power deviation is first compensated by other energy storage bins, battery clusters or BMUs with remaining power margins in the same level. When the same level cannot fully compensate, the remaining unexecuted power deviation is reported level by level and redistributed by the next level controller at the next control moment.

8. A hierarchical SOC collaborative equalization control system for a flow battery energy storage system according to claim 7, characterized in that, The bin controller (BAU) and cluster controller (BCU) establish distributed model predictive control models respectively, and solve the local power allocation problem between the bin controller (BAU) and the cluster controller (BCU) in parallel using the alternating direction multiplier method. The bin controller (BAU) coordinates the power allocation of the cluster controller through the total power constraint of the energy storage bin, and the cluster controller (BCU) coordinates the power allocation of the BMU through the total power constraint of the battery cluster.

9. A hierarchical SOC collaborative equalization control system for a flow battery energy storage system according to claim 8, characterized in that, The objective function of the distributed model predictive control model includes a power tracking term, a SOC consistency term, a target SOC tracking term, a power smoothing term, an input cut-off cost term, and an auxiliary power consumption term; the optimization results of the distributed model predictive control model include the target power, target flow rate, input status, and power correction amount for each battery cluster or each BMU. When using the alternating direction multiplier method, if both the original residual and the dual residual are less than the corresponding preset threshold within a preset maximum number of iterations, the convergence condition is determined to be met, and control commands are generated using the optimization results. The control commands include battery cluster target power, BMU target power, target flow rate, and operational status commands. When the preset maximum number of iterations is reached, or the computation time exceeds the preset solution time, or at least one of the original residual and the dual residual is not less than the corresponding preset threshold, the convergence condition is determined to be unmet. At this point, the effective power allocation result of the previous control cycle is used as the basic control quantity, and the amplitude is limited and corrected according to the current SOC, equipment status and dynamic power feasible domain to obtain the executable control command for the current control cycle. When the power tracking deviation of the grid increases, the weight of the system power tracking target is increased; when the SOC dispersion between battery clusters increases, the weight of the SOC coordination target between battery clusters in the BAU layer is increased; when the SOC dispersion between BMUs increases, the weight of the SOC balancing target between BMUs in the BCU layer is increased. When any energy storage unit, battery cluster, BMU, or flow battery stack reaches the SOC, temperature, flow rate, insulation, or fault safety boundary, safety constraints take precedence over power point tracking targets and SOC equalization targets.

10. A hierarchical SOC collaborative equalization control system for a flow battery energy storage system according to claim 9, characterized in that, The Battery Management Unit (BMU) reports its actual operating status, BMU-level dynamic power feasible domain, SOC equalization results, power tracking deviation, and fault information to the Cluster Controller (BCU). The Cluster Controller (BCU) summarizes the data from the BMU to form the battery cluster-level dynamic power feasible domain, battery cluster SOC, cluster-level equalization cost, estimated equalization time, actual power, and unexecuted power deviation, and reports this data to the Storage Unit Controller (BAU). The Storage Unit Controller (BAU) summarizes the data from the Cluster Controller (BCU) to form the storage unit-level dynamic power feasible domain, storage unit SOC, storage unit equalization cost, actual power, actual energy, power tracking deviation, and energy tracking deviation, and reports this data to the Energy Management System (EMS). The Energy Management System (EMS) incorporates the warehouse-level dynamic power feasible domain, energy storage warehouse equilibrium cost, actual power, actual energy, power tracking deviation, and energy tracking deviation reported by the warehouse controller (BAU) into the global optimization model at the next control moment, and continuously corrects the target power, target energy, SOC target trajectory, upward frequency modulation reserve capacity, and downward frequency modulation reserve capacity of the energy storage warehouse.