Control method and device of dual-system energy storage liquid cooling unit, equipment and storage medium
By acquiring historical operating data and training the target control model, the control parameters of the dual-system energy storage liquid cooling unit are automatically optimized, solving the problem of low efficiency in existing technologies, realizing adaptive parameter adjustment and precise control, and improving system operating efficiency and safety.
Patent Information
- Application Number
- CN202611609683.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-16
- Publication Date
- 2026-11-27
AI Technical Summary
Existing dual-compressor energy storage liquid cooling systems rely on fixed parameters and simple time-based switching control, which cannot automatically adapt to changes in environment and load, resulting in low efficiency, especially in large energy storage stations where safety and cooling capacity are insufficient.
By acquiring historical operating data, extracting derived feature data, and calculating target reward and punishment data, the target control model is trained, and control parameters are automatically optimized to achieve adaptive parameter adjustment of the dual-system energy storage liquid cooling unit.
It improved system operating efficiency, reduced operation and maintenance costs, extended unit lifespan, achieved precise control and automatic parameter adjustment, and enhanced safety and cooling capacity.
Smart Images

Figure CN123174873A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy storage liquid cooling technology, specifically to a control method, device, equipment, and storage medium for a dual-system energy storage liquid cooling unit. Background Technology
[0002] In practical applications, energy storage liquid cooling systems often employ a dual-compressor configuration, with each compressor achieving cooling through its own piping system. However, current dual-compressor energy storage liquid cooling systems generally rely on fixed parameters and simple timed rotation control. Furthermore, traditional control schemes require manual adjustment of the two compressor parameters, failing to automatically adapt to varying environments and load changes. This is particularly problematic in large-scale energy storage stations where safety and cooling capacity requirements are relatively higher; the manual parameter adjustment of traditional control schemes results in low efficiency. Summary of the Invention
[0003] This application provides a control method, device, equipment, and storage medium for a dual-system energy storage liquid chiller, which can realize automatic parameter adjustment of the dual-system energy storage liquid chiller and improve system operating efficiency.
[0004] In a first aspect, embodiments of this application provide a control method for a dual-system energy storage liquid-cooled unit, the method comprising: Acquire historical operating data of the dual-system energy storage liquid-cooled unit, the historical operating data including operating data from multiple historical periods; Extract derived feature data for each historical period from the historical operation data, and calculate the target reward and punishment data for all historical periods based on the derived feature data and the reward and punishment data of the previous historical period. The initial control model is trained based on the target reward and punishment data to obtain the target control model; The current operating data is input into the target control model to obtain the target control parameters, and the operation of the dual-system energy storage liquid cooling unit is controlled based on the target control parameters.
[0005] In some embodiments, the target reward and penalty data includes temperature control reward and penalty value, temperature reaching efficiency reward and penalty value, lifespan reward and penalty value, and start-stop reward and penalty value, and the derived feature data includes cell temperature difference, temperature reaching efficiency, dual compressor lifespan difference, first shutdown number and second shutdown number; The step of calculating the target reward and punishment data for all historical periods based on the derived feature data and the reward and punishment data of the previous historical period includes: The temperature control reward / penalty value for this historical period is calculated based on the cell temperature difference and the temperature control reward / penalty value of the previous historical period. The temperature-reaching efficiency reward / penalty value for this historical period is calculated based on the temperature-reaching efficiency and the temperature-reaching efficiency reward / penalty value of the previous historical period. The lifespan reward / penalty value for this historical period is calculated based on the lifespan difference between the two compressors and the lifespan reward / penalty value of the previous historical period. The start-stop reward / penalty value for this historical period is calculated based on the first number of shutdowns, the second number of shutdowns, and the start-stop reward / penalty value of the previous historical period.
[0006] In some embodiments, the dual-system energy storage liquid cooling unit includes a first compressor and a second compressor, and the historical operating data includes the cell set temperature, the cell current temperature, the cell initial temperature, the cell consumption time, the first operating time of the first compressor, the first average frequency of the first compressor, the first oil return frequency of the first compressor, the second operating time of the second compressor, the second average frequency of the second compressor, the second oil return frequency of the second compressor, and shutdown data information. The extraction of derived feature data for each historical period from the historical operational data includes: The cell temperature difference for that historical period is calculated based on the cell set temperature for that historical period and the cell current temperature for that historical period. The temperature-reaching efficiency for that historical period is calculated based on the initial cell temperature, the set cell temperature, and the cell consumption time of that historical period. The life difference of the dual compressors in the historical period is calculated based on the first average frequency, the first oil return frequency, the first running time, the second average frequency, the second oil return frequency, and the second running time of the historical period. The shutdown data is statistically analyzed to obtain the first shutdown count and the second shutdown count for the historical period; the first shutdown count represents the number of times the first compressor has stopped, and the second shutdown count represents the number of times the second compressor has stopped.
[0007] In some embodiments, calculating the temperature control reward / penalty value for the historical period based on the cell temperature difference and the temperature control reward / penalty value of the previous historical period includes: The first reward coefficient is selected based on the temperature range of the cell temperature difference. The temperature control reward / penalty value for this historical period is calculated based on the cell temperature difference, the first reward coefficient, and the temperature control reward / penalty value of the previous historical period. The calculation of the temperature-reaching efficiency reward / penalty value for the historical period based on the temperature-reaching efficiency and the temperature-reaching efficiency reward / penalty value of the previous historical period includes: The second reward coefficient is adjusted based on the temperature range in which the temperature overshoot occurs; wherein, the temperature overshoot is the difference between the cell's set temperature and the cell's lowest temperature. The temperature overshoot, the second reward coefficient, the temperature reaching efficiency, and the temperature reaching efficiency reward / penalty value of the previous historical period are used to calculate the temperature reaching efficiency reward / penalty value of the historical period.
[0008] In some embodiments, calculating the lifespan reward / penalty value for the historical period based on the lifespan difference between the two compressors and the lifespan reward / penalty value of the previous historical period includes: Obtain a third reward coefficient, which is a parameter configured based on the penalty intensity of the dual compressor life balance; The lifespan reward / penalty value for this historical period is calculated based on the third reward coefficient, the lifespan difference of the dual compressors, and the lifespan reward / penalty value of the previous historical period. The calculation of the start-stop reward / penalty value for the historical period based on the first number of shutdowns, the second number of shutdowns, and the start-stop reward / penalty value of the previous historical period includes: Obtain the fourth reward coefficient, which is a parameter configured based on the penalty intensity of the number of dual compressor start-stop cycles; The start-stop reward / penalty value for this historical period is calculated based on the fourth reward coefficient, the first number of shutdowns, the second number of shutdowns, and the start-stop reward / penalty value of the previous historical period.
[0009] In some embodiments, training the initial control model based on the target reward and punishment data to obtain the target control model includes: Determine whether any of the following reward / penalty values—temperature control reward / penalty value, temperature reach efficiency reward / penalty value, lifespan reward / penalty value, and start / stop reward / penalty value—satisfies a preset optimization condition; If so, the reward / penalty value that meets the preset optimization conditions will be set as the reward / penalty value to be optimized; The model parameters associated with the reward / penalty value to be optimized in the initial control model are optimized to obtain the target control model.
[0010] In some embodiments, after controlling the operation of the dual-system energy storage liquid-cooled unit based on the target control parameters, the method further includes: During the operation of the dual-system energy storage liquid cooling unit, real-time operating data of the dual-system energy storage liquid cooling unit is acquired; Based on the real-time operating data, the future operating status of the dual-system energy storage liquid cooling unit is predicted to obtain the predicted data; The predicted data is input into a preset reward function to calculate the predicted reward value; The model parameters of the target control model are adjusted based on the predicted reward value to obtain the optimized target control model.
[0011] Secondly, embodiments of this application provide a control device for a dual-system energy storage liquid-cooled unit, the device comprising: The operation data acquisition module is used to acquire the historical operation data of the dual-system energy storage liquid cooling unit, which includes operation data from multiple historical periods. The reward and punishment data calculation module is used to extract the derived feature data of each historical period from the historical operation data, and calculate the target reward and punishment data of all historical periods based on the derived feature data and the reward and punishment data of the previous historical period. The model training module is used to train the initial control model based on the target reward and punishment data to obtain the target control model; The unit control module is used to input the current operating data into the target control model to obtain the target control parameters, and to control the operation of the dual-system energy storage liquid-cooled unit based on the target control parameters.
[0012] Thirdly, embodiments of this application provide an electronic device, the electronic device including: one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the control method of the dual-system energy storage liquid-cooled unit described in any of the above embodiments.
[0013] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to execute the steps in the control method of the dual-system energy storage liquid-cooled unit described in any of the above embodiments.
[0014] This embodiment provides a control method, device, equipment, and storage medium for a dual-system energy storage liquid-cooled unit. By acquiring operating data from multiple historical periods, it can more comprehensively reflect the unit's operating patterns under different operating conditions, providing a data foundation for optimizing control parameters. By extracting derived feature data and combining it with the reward and penalty data from the previous period for cumulative calculation, the reward and penalty evaluation can reflect the strategy correlation and cumulative effect between adjacent periods, avoiding the local optimum problem caused by evaluation based on only a single period. Through the target control model trained based on target reward and penalty data, it can adaptively output the optimal control parameters for different operating conditions, eliminating the need for manual on-site debugging, achieving precise control, reducing operation and maintenance costs, improving the overall operating efficiency and service life of the unit, and enabling automatic parameter adjustment of the dual-system energy storage liquid-cooled unit, thereby improving system operating efficiency. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram of the structure of the dual-system energy storage liquid cooling unit provided in an embodiment of the present invention; Figure 2 This is a schematic flowchart of the control method for a dual-system energy storage liquid-cooled unit provided in an embodiment of the present invention; Figure 3 This is a flowchart illustrating the specific method for calculating target reward and punishment data for all historical periods based on derived feature data and reward and punishment data from the previous historical period provided in this embodiment of the invention. Figure 4 This is a flowchart illustrating the specific method for extracting derived feature data for each historical cycle from historical operational data, as provided in an embodiment of the present invention. Figure 5 This is a schematic diagram of the control device for the dual-system energy storage liquid cooling unit provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] In the description of this application, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," "third," etc., may explicitly or implicitly include one or more features.
[0019] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0020] It should be noted that since the method in this application embodiment is executed in an electronic device, the processing objects of each electronic device exist in the form of data or information, such as time, which is essentially time information. It can be understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data that exist so that the electronic device can process them. Specific details will not be elaborated here.
[0021] As the global energy structure accelerates its transition to renewable energy, the energy storage industry is experiencing explosive growth. Energy storage systems generate significant heat during operation; improper heat dissipation management can lead to battery thermal runaway, performance degradation, and even safety accidents. Against this backdrop, the importance of energy storage air conditioners and liquid storage coolers is increasingly prominent. Large-scale energy storage stations not only have high cooling capacity requirements but also demand high safety and reliability. Therefore, there is a significant demand for dual-system energy storage temperature control products. Dual-system energy storage liquid cooling units (energy storage air conditioners or energy storage liquid coolers) have two compressors and corresponding piping systems. The ability of the two compressors in a dual-system energy storage liquid cooling unit to operate effectively will significantly affect the product's cooling performance and lifespan. Existing multi-compressor systems in energy storage and large-scale air conditioning still rely on fixed parameters and simple time-based rotation control, leading to frequent start-stop cycles and inconsistent aging rates among the compressors.
[0022] Therefore, embodiments of this application provide a control method, apparatus, equipment, and storage medium for a dual-system energy storage liquid-cooled unit. For example... Figure 1As shown, the dual-system energy storage liquid cooling unit 100 consists of an energy storage cabinet 10, a water system 20, and a refrigerant system 30. The energy storage cabinet 10 includes a battery cluster 1. The water system 20 includes a main water pump 2 and a plate heat exchanger 3. The refrigerant system 30 includes a first compressor 4, a second compressor 6, a first condenser 5, and a second condenser 7, etc. Specifically, after the battery cluster 1 in the energy storage cabinet 10 heats up, the main water pump 2 in the water system 20 drives the refrigerant (e.g., water) to enter and exit the energy storage cabinet 10 to absorb heat, and then sends it to the plate heat exchanger 3 for cooling. The refrigerant system 30 uses two compressors as its refrigeration core, each equipped with an independent refrigerant circuit (including a condenser, electronic expansion valve, etc.), connected in parallel to the plate heat exchanger 3. Each refrigerant circuit compresses and heats the refrigerant (e.g., Freon) through the compressor, and after condensation and heat dissipation by the condenser, it is throttled and depressurized before entering the plate heat exchanger 3 to absorb heat from the water system 20, thus cooling the refrigerant. Furthermore, the dual-system energy storage liquid cooling unit 100 is monitored by sensors throughout its operation, including temperature and pressure. This dual-system energy storage liquid cooling unit 100 achieves stable battery temperature control through the coordinated cooling of two compressors, ensuring the safe operation of the energy storage unit.
[0023] This application provides a control method for a dual-system energy storage liquid-cooled unit. The structure of the dual-system energy storage liquid-cooled unit can be found in [reference needed]. Figure 1 The structure of the dual-system energy storage liquid-cooled unit 100. For example... Figure 2 As shown, the control method includes the following steps S1 to S4: Step S1: Obtain historical operating data of the dual-system energy storage liquid cooling unit. The historical operating data includes operating data from multiple historical periods. Step S2: Extract the derived feature data of each historical period from the historical operation data, and calculate the target reward and punishment data for all historical periods based on the derived feature data and the reward and punishment data of the previous historical period. Step S3: Train the initial control model based on the target reward and punishment data to obtain the target control model; Step S4: Input the current operating data into the target control model to obtain the target control parameters, and control the operation of the dual-system energy storage liquid cooling unit based on the target control parameters.
[0024] Historical operating data comprises the collection of operational status information from the dual-system energy storage liquid-cooled chiller unit over a past operating period (e.g., the most recent 60 days or the most recent 30 days), reflecting the unit's dynamic response under real-world operating conditions. This historical operating data can be uploaded to a cloud server for centralized storage and analysis via the unit's built-in data acquisition modules (such as PLC controllers or edge computing terminals) combined with 4G / 5G communication modules. The time span for collecting historical operating data can be set according to training needs, such as the past 30 days, 60 days, or even longer periods.
[0025] Specifically, the historical operating data can be uploaded to a cloud server for centralized storage and analysis through the data acquisition module (such as PLC controller, edge computing terminal, etc.) built into the dual-system energy storage liquid cooling unit and the wireless communication module (4G / 5G communication module).
[0026] The historical cycle refers to the historical operating period defined as a single complete charge or discharge cycle of a battery cell. Batteries in energy storage systems continuously generate heat during charging and discharging, requiring liquid cooling units to control the cell temperature throughout the entire process.
[0027] Historical operational data can be divided into multiple historical periods. Multiple historical periods refer to several complete operational phases arranged chronologically. Each historical period can be divided based on the start and end points of cell charging and discharging, periods of ambient temperature change, or fixed time periods (such as 24 hours). Historical operational data includes operational data from multiple historical periods. The historical period is the time unit used to divide the historical operational data. A historical period can be 1 hour, 24 hours, etc.
[0028] Derived feature data is obtained by extracting features from historical operating data. It is used to characterize the operating status of dual-system energy storage liquid-cooled chiller units, such as temperature control accuracy and temperature achievement efficiency. Specifically, feature extraction refers to obtaining feature data through filtering, calculation, and other processing of historical operating data.
[0029] Reward and penalty data refers to quantitative data used to evaluate the effectiveness of control measures within each historical period. The data employs a positive and negative value system: positive values indicate good control performance within that period, providing positive incentives; negative values indicate insufficient control performance, incurring negative penalties. Reward and penalty data allows for the quantitative evaluation of various aspects of the control strategy, providing optimization directions for model training.
[0030] The target reward and penalty data is a collection of data summarizing the operational advantages and disadvantages of the dual-system energy storage liquid-cooled unit based on historical operating data. This target reward and penalty data includes reward and penalty data from multiple historical periods, with the historical periods corresponding to the historical operating data periods.
[0031] The initial control model is a machine learning model. Its inputs are the unit's historical operating parameters (such as ambient temperature, cell temperature, load power, etc.), and its outputs are the optimal operating frequencies of the first and second compressors under different operating conditions, PID control speeds, and compressor switching commands. The initial control model can employ deep neural networks, reinforcement learning models, or other suitable machine learning models.
[0032] During training, target reward and penalty data serve as the evaluation criterion for model optimization. The model continuously adjusts its internal parameters to ensure that, given historical operating parameters as input, the output control parameters achieve the highest possible overall score based on the target reward and penalty data. Specifically, the training process uses a single complete charge or discharge cycle of a battery cell as a historical cycle, and offline training is performed on historical charge and discharge cycle data from the past 60 days. After each training cycle, a set of target reward and penalty data (including temperature control reward and penalty values, temperature reach efficiency reward and penalty values, lifespan reward and penalty values, and start-stop reward and penalty values) is obtained. By comparing the target reward and penalty data from all cycles, the scores of each reward and penalty item are analyzed, and targeted parameter tuning is performed on aspects with higher penalties, ultimately yielding the target control model with the best overall performance.
[0033] Control parameters refer to the adjustable operating parameters in a dual-system energy storage liquid chiller unit, including but not limited to PID (proportional-integral-derivative) control coefficients, compressor operating frequency setpoints, compressor start / stop threshold temperatures, expansion valve opening parameters, and fan speed parameters. The values of these parameters directly affect the unit's temperature control accuracy, cooling rate, compressor wear, and start / stop frequency. Different parameter combinations will produce different control effects; therefore, it is necessary to find the optimal parameter combination for specific operating conditions.
[0034] The target control parameters are the control parameters obtained by inputting the current operating data into the target control model.
[0035] In this embodiment, by acquiring operational data from multiple historical periods, the operating patterns of the unit under different operating conditions can be more comprehensively reflected, providing a data foundation for optimizing control parameters. By extracting derived feature data and combining it with the reward and penalty data from the previous period for cumulative calculation, the reward and penalty evaluation can reflect the strategy correlation and cumulative effect between adjacent periods, avoiding the local optimum problem caused by evaluation based on only a single period. The target control model trained based on the target reward and penalty data can adaptively output the optimal control parameters for different operating conditions, eliminating the need for manual on-site debugging, achieving precise control, reducing operation and maintenance costs, improving the overall operating efficiency and service life of the unit, and enabling automatic parameter adjustment of the dual-system energy storage liquid-cooled unit, thereby improving system operating efficiency.
[0036] In some embodiments, the target reward / penalty data includes temperature control reward / penalty value, temperature reach efficiency reward / penalty value, lifespan reward / penalty value, and start / stop reward / penalty value; derived feature data includes cell temperature difference, temperature reach efficiency, dual compressor lifespan difference, first shutdown count, and second shutdown count. For example... Figure 3 As shown, step S2 above, which calculates the target reward and punishment data for all historical periods based on derived feature data and the reward and punishment data of the previous historical period, includes: Step S21: Calculate the temperature control reward / penalty value for this historical period based on the cell temperature difference and the temperature control reward / penalty value of the previous historical period. Step S22: Calculate the temperature reaching efficiency reward / penalty value for this historical period based on the temperature reaching efficiency and the temperature reaching efficiency reward / penalty value of the previous historical period. Step S23: Calculate the life reward / penalty value for this historical period based on the life difference between the two compressors and the life reward / penalty value of the previous historical period. Step S24: Calculate the start-stop reward / penalty value for this historical period based on the first number of shutdowns, the second number of shutdowns, and the start-stop reward / penalty value of the previous historical period.
[0037] The target reward and penalty data includes four components: temperature control reward and penalty value, temperature achievement efficiency reward and penalty value, lifespan reward and penalty value, and start-stop reward and penalty value. These four components evaluate the control effect from four different control target dimensions: the temperature control reward and penalty value reflects the accuracy of temperature control, i.e., the deviation between the cell temperature and the set temperature; the temperature achievement efficiency reward and penalty value reflects the cooling speed and efficiency, i.e., the change in cell temperature per unit time; the lifespan reward and penalty value reflects the degree of wear balance between the two compressors, i.e., the difference in the equivalent operating time of the two compressors; and the start-stop reward and penalty value reflects the frequency of compressor start-stop, i.e., whether the number of start-stop cycles is excessive.
[0038] The derived characteristic data includes cell temperature difference, temperature reach efficiency, dual compressor lifespan difference, first shutdown count, and second shutdown count. Specifically, cell temperature difference is the absolute value of the deviation between the set cell temperature and the current cell temperature; temperature reach efficiency is the reciprocal of the time it takes for the cell to cool from its initial temperature to the set temperature, reflecting the cooling rate; dual compressor lifespan difference is the difference in the equivalent operating time of the first and second compressors, reflecting the degree of wear uniformity; and the first and second shutdown counts are the number of times the first and second compressors shut down within 24 hours, respectively, reflecting the start-stop frequency.
[0039] For each historical period, the target reward and penalty data for that period are calculated as follows: First, the temperature control reward / penalty value for the current historical period is calculated based on the cell temperature difference and the temperature control reward / penalty value of the previous historical period. Specifically, the temperature control reward / penalty value for the current period equals the temperature control reward / penalty value of the previous period plus the reward / penalty increment corresponding to the cell temperature difference in the current period. The smaller the cell temperature difference (the more precise the temperature control), the larger and more positive the reward / penalty increment; the larger the cell temperature difference (the worse the temperature control), the negative and more negative the reward / penalty increment (i.e., the penalty), and the larger the absolute value. This cumulative calculation method allows the temperature control reward / penalty value to reflect the cumulative performance of temperature control over multiple periods, rather than just the instantaneous performance of a single period.
[0040] Next, based on the temperature reaching efficiency and the temperature reaching efficiency reward / penalty value of the previous historical period, the temperature reaching efficiency reward / penalty value for this historical period is calculated. The higher the temperature reaching efficiency (the faster the cooling), the positive reward / penalty increment; the lower the temperature reaching efficiency (the slower the cooling), the negative reward / penalty increment. Similarly, the temperature reaching efficiency reward / penalty value of the current period is an accumulation of the value of the previous period.
[0041] Next, based on the lifespan difference between the two compressors and the lifespan reward / penalty value of the previous historical cycle, the lifespan reward / penalty value for this historical cycle is calculated. The larger the absolute value of the lifespan difference between the two compressors (the more uneven the wear of the two compressors), the heavier the penalty. The design of the lifespan reward / penalty value is mainly based on penalty, guiding the control strategy to distribute the workload of the two compressors as evenly as possible.
[0042] Then, based on the first number of shutdowns, the second number of shutdowns, and the start-stop penalty value of the previous historical period, the start-stop penalty value for this historical period is calculated. The larger the sum of the first and second number of shutdowns, the heavier the penalty. The start-stop penalty value is also primarily based on penalties to reduce unnecessary compressor start-ups and shutdowns.
[0043] In this embodiment, by splitting the target reward and penalty data into four independent dimensions—temperature control reward and penalty value, temperature reach efficiency reward and penalty value, lifespan reward and penalty value, and start-stop reward and penalty value—different control objectives can be evaluated in detail, facilitating subsequent targeted optimization of dimensions with poor performance. Furthermore, the reward and penalty value for each dimension is calculated cumulatively by incorporating reward and penalty data from the previous period. This ensures that the reward and penalty evaluation reflects the long-term performance of the control strategy over multiple consecutive periods, improving the accuracy of the optimization direction and making the trained control model more stable and reliable in long-term operation.
[0044] In some embodiments, dual-system energy storage liquid cooling units (e.g.) Figure 1 The dual-system energy storage liquid-cooled unit 100 includes a first compressor (e.g., Figure 1 The first compressor 4) and the second compressor (e.g. Figure 1 The second compressor (6) in the system. Historical operating data includes the cell set temperature, current cell temperature, initial cell temperature, cell consumption time, first compressor running time, first compressor average frequency, first compressor oil return frequency, second compressor running time, second compressor average frequency, second compressor oil return frequency, and shutdown data. For example... Figure 4 As shown, step S2 above, which involves extracting derived feature data for each historical period from historical operational data, includes: Step S26: Calculate the cell temperature difference for the historical period based on the cell set temperature for the historical period and the cell current temperature for the historical period. Step S27: Calculate the temperature reaching efficiency of the historical cycle based on the initial cell temperature, the cell set temperature, and the cell consumption time of the historical cycle. Step S28: Calculate the dual compressor life difference for the historical period based on the first average frequency of the historical period, the first oil return frequency of the historical period, the first running time of the historical period, the second average frequency of the historical period, the second oil return frequency of the historical period, and the second running time of the historical period. Step S29: Perform statistical analysis on the shutdown data to obtain the first shutdown count and the second shutdown count for the historical period; the first shutdown count represents the number of shutdowns of the first compressor, and the second shutdown count represents the number of shutdowns of the second compressor.
[0045] The historical operational data includes operational data from multiple historical periods. A historical period is a time unit used to divide the historical operational data. A historical period can be 1 hour, 24 hours, etc.
[0046] The cell set temperature is the ideal operating temperature target value for the cell, preset by the system or configured by the user, to ensure the safety, lifespan, and charge / discharge performance of the energy storage cell. It represents the cell temperature baseline that the unit needs to maintain. The current cell temperature is the actual temperature value of the cell monitored in real-time by the cell temperature sensor within a single historical cycle; it can be the average temperature of a single cell, module, or battery cluster. The initial cell temperature is the cell temperature value collected at the beginning of a single historical cycle, representing the initial state temperature of the cell at the start of the cycle. The cell consumption time is the cumulative time the cell spends in a charge / discharge state (not idle) within a single historical cycle.
[0047] The first operating time is the cumulative time (neither stopped nor standby) of the first compressor within a single historical period. The first average frequency is the average operating frequency of the first compressor within a single historical period. The first oil return frequency is the specific operating frequency of the first compressor when performing the oil return operation. In a refrigeration system, the compressor's lubricating oil enters the refrigeration circuit along with the refrigerant. To reduce the risk of compressor damage due to oil shortage, the lubricating oil needs to be returned to the compressor through an oil return operation. The oil return frequency is the specific operating frequency of the compressor when performing the oil return operation (usually lower than the normal operating frequency, and is a fixed value).
[0048] The second operating time is the cumulative time the second compressor is in an operating state (neither stopped nor in standby) within a single historical cycle. The second average frequency is the average operating frequency of the second compressor within a single historical cycle. The second oil return frequency is the specific operating frequency of the second compressor when performing oil return operations.
[0049] The shutdown data information is a collection of relevant data regarding the shutdown of the first and second compressors during historical operation. This includes data such as the shutdown time, cause, and duration of the first and second compressors.
[0050] For each historical period, the following derived feature data are extracted from the historical operational data of that period: (I) Calculation of Cell Temperature Difference. For the current historical cycle, the cell temperature difference for that cycle is calculated based on the cell set temperature and the current cell temperature. Specifically, the cell temperature difference is equal to the absolute value of the difference between the cell set temperature and the current cell temperature, i.e.: Cell Temperature Difference = |Cell Set Temperature - Cell Current Temperature|. The cell temperature difference directly reflects the deviation between the current temperature control effect and the target, and is an indicator for evaluating the accuracy of temperature control. Within a charge-discharge cycle, multiple cell temperature difference values can be calculated in time series, and the average or maximum value is taken as the representative cell temperature difference value for that cycle.
[0051] (II) Calculation of Temperature Reaching Efficiency. Based on the initial cell temperature of the current historical cycle, the cell set temperature for that cycle, and the cell consumption time, the temperature reaching efficiency for that cycle is calculated. Specifically, the temperature reaching efficiency equals (initial cell temperature minus cell set temperature) divided by the cell consumption time. Here, the initial cell temperature is the cell temperature at the start of the charge / discharge cycle, the cell set temperature is the target temperature to be reached, and the cell consumption time is the time taken from the start of the cycle until the cell temperature first reaches the set temperature. A higher temperature reaching efficiency indicates a faster cooling rate and better control performance.
[0052] (III) Calculation of Dual Compressor Life Difference. Based on the first average frequency, first oil return frequency, first running time, second average frequency, second oil return frequency, and second running time of the current historical cycle, calculate the dual compressor life difference for this cycle.
[0053] Specifically, the equivalent operating time of the first compressor and the equivalent operating time of the second compressor are calculated separately. The equivalent operating time of the first compressor is equal to the first operating time multiplied by (the first average frequency minus the first oil return frequency). The equivalent operating time of the second compressor is equal to the second operating time multiplied by (the second average frequency minus the second oil return frequency). Then, the lifespan difference between the two compressors is equal to the equivalent operating time of the first compressor minus the equivalent operating time of the second compressor.
[0054] The technical consideration behind introducing equivalent operating time here is that comparing the wear of two compressors solely based on actual operating time is insufficiently accurate. This is because the degree of wear varies when a compressor operates at different frequencies. The compressor achieves optimal lubrication and minimal wear when operating near the oil return frequency; conversely, deviations from the oil return frequency, whether above or below, exacerbate wear. Therefore, introducing a frequency deviation coefficient (the difference between the average operating frequency and the oil return frequency) converts the actual operating time into an equivalent operating time based on the degree of deviation, providing a more accurate reflection of the compressor's true wear condition. Assessing the lifespan balance of the two systems through the difference in equivalent operating time is more precise than simply comparing operating times, making subsequent optimization directions more reliable.
[0055] (iv) Statistics on the number of shutdowns. Statistical analysis of shutdown data is performed to obtain the first and second shutdown counts for the current historical period. The first shutdown count represents the number of times the first compressor shuts down within 24 hours, and the second shutdown count represents the number of times the second compressor shuts down within 24 hours. The shutdown data includes the occurrence time of each shutdown event and the corresponding compressor identifier. By statistically analyzing this data in a 24-hour window, the number of shutdowns for each compressor in each period can be obtained.
[0056] In this embodiment, four derived features—cell temperature difference, temperature-reaching efficiency, dual-compressor lifespan difference, and number of shutdowns—are extracted from the raw operating data. This transforms the complex operating data into quantitative indicators that intuitively characterize the control effect, providing clear input features for subsequent reward / penalty calculations and model training. In particular, the dual-compressor lifespan difference uses the difference in equivalent operating time rather than a simple difference in operating time, taking into account the differences in wear levels of the compressors at different frequencies, making the assessment of wear equalization more accurate.
[0057] In some embodiments, step S21, calculating the temperature control reward / penalty value of the historical period based on the cell temperature difference and the temperature control reward / penalty value of the previous historical period, includes: selecting a first reward coefficient according to the temperature difference range in which the cell temperature difference is located; and calculating the temperature control reward / penalty value of the historical period based on the cell temperature difference, the first reward coefficient, and the temperature control reward / penalty value of the previous historical period.
[0058] The above-mentioned step S22, calculating the temperature reach efficiency reward and penalty value of the historical period based on the temperature reach efficiency and the temperature reach efficiency reward and penalty value of the previous historical period, includes: adjusting the second reward coefficient based on the temperature range in which the temperature overshoot is located; wherein, the temperature overshoot is the difference between the cell set temperature and the cell minimum temperature; and calculating the temperature reach efficiency reward and penalty value of the historical period based on the temperature overshoot, the second reward coefficient, the temperature reach efficiency, and the temperature reach efficiency reward and penalty value of the previous historical period.
[0059] The calculation of the temperature control reward / penalty value is based on the cell temperature difference and the temperature control reward / penalty value of the previous historical cycle. Specifically, it includes the following steps: First, a first reward coefficient is selected based on the temperature range of the battery cell temperature difference. In this embodiment, the acceptable error range is set to ±0.5 degrees Celsius. When the absolute value of the battery cell temperature difference is less than or equal to 0.5 degrees Celsius, it indicates good temperature control, and the first reward coefficient W1 is set to 5. When the battery cell temperature difference is greater than 0.5 degrees Celsius (i.e., overcooling, the battery cell temperature is more than 0.5 degrees below the set temperature), the first reward coefficient W1 is set to 6. When the battery cell temperature difference is less than -0.5 degrees Celsius (i.e., overheating, the battery cell temperature is more than 0.5 degrees above the set temperature), the first reward coefficient W1 is set to 7.
[0060] Then, based on the cell temperature difference, the first reward coefficient, and the temperature control reward / penalty value of the previous cycle, the temperature control reward / penalty value for the current cycle is calculated. Specifically, when the cell temperature difference is within an acceptable range, the temperature control reward / penalty value for the current cycle is equal to the temperature control reward / penalty value of the previous cycle plus (0.5 minus the absolute value of the cell temperature difference) multiplied by the first reward coefficient; when the cell temperature difference exceeds the acceptable range, the temperature control reward / penalty value for the current cycle is equal to the temperature control reward / penalty value of the previous cycle minus the absolute value of the cell temperature difference multiplied by the first reward coefficient.
[0061] In the above design, the first reward coefficient (7) for overheating is greater than the first reward coefficient (6) for undercooling, because overheating has a more serious impact on battery safety than undercooling. Battery operation at high temperatures may lead to safety accidents such as thermal runaway, so it is necessary to impose a heavier penalty on overheating and guide the control model to pay more attention to preventing cell overheating.
[0062] The calculation of the temperature reach efficiency bonus / penalty value is based on the temperature reach efficiency and the temperature reach efficiency bonus / penalty value of the previous historical period. Specifically, it includes the following steps: First, the second reward coefficient is adjusted based on the temperature range within which the temperature overshoot occurs. The temperature overshoot is the difference between the cell's set temperature and its minimum temperature, reflecting the extent to which the cell temperature exceeds the set value during cooling. The purpose of introducing the overshoot penalty mechanism is to prevent the control model from adopting an overly aggressive cooling strategy in pursuit of a higher temperature-reaching efficiency score, which could lead to the cell temperature significantly exceeding the set value, resulting in overcooling and energy waste.
[0063] Specifically, the second reward coefficient W2 is set in tiers based on the magnitude of the temperature overshoot: when the temperature overshoot is less than or equal to 0.5 degrees Celsius, W2 is 0, meaning no overshoot penalty is applied, as small overshoots are within acceptable limits; when the temperature overshoot is greater than 0.5 degrees Celsius but less than or equal to 1 degree Celsius, W2 is 0.5; when the temperature overshoot is greater than 1 degree Celsius but less than or equal to 2 degrees Celsius, W2 is 1; and when the temperature overshoot is greater than 2 degrees Celsius, W2 is 2. The larger the overshoot, the larger the second reward coefficient, and the heavier the penalty.
[0064] Then, based on the temperature overshoot, the second reward coefficient, the temperature reaching efficiency, and the temperature reaching efficiency reward / penalty value of the previous cycle, the temperature reaching efficiency reward / penalty value of the current cycle is calculated. Specifically, the temperature reaching efficiency reward / penalty value of the current cycle is equal to the temperature reaching efficiency reward / penalty value of the previous cycle plus (temperature reaching efficiency minus the second reward coefficient multiplied by the temperature overshoot).
[0065] In this embodiment, the temperature control reward / penalty value selects different first reward coefficients based on the temperature difference range of the battery cell, achieving a refined evaluation of the temperature control effect. Positive rewards are given within acceptable error ranges, with smaller deviations resulting in higher rewards, encouraging the control model to pursue high-precision temperature control; penalties are imposed for deviations exceeding the range, with larger deviations resulting in heavier penalties, guiding the control model to avoid large temperature deviations. In particular, a heavier penalty is imposed for overheating than for overcooling, reflecting a priority on battery safety. The temperature reach efficiency reward / penalty value introduces temperature overshoot as a penalty mechanism, encouraging rapid cooling while preventing over-adjustment, balancing the contradiction between cooling speed and temperature stability, ensuring that the control model pursues efficiency without sacrificing temperature control quality.
[0066] In some embodiments, step S23 above, calculating the life reward / penalty value of the historical period based on the life difference between the two compressors and the life reward / penalty value of the previous historical period, includes: obtaining a third reward coefficient, the third reward coefficient being a parameter configured based on the penalty intensity of the life balance of the two compressors; and calculating the life reward / penalty value of the historical period based on the third reward coefficient, the life difference between the two compressors and the life reward / penalty value of the previous historical period.
[0067] The above-mentioned step S24, calculating the start-stop reward and penalty value of the historical period based on the first number of shutdowns, the second number of shutdowns, and the start-stop reward and penalty value of the previous historical period, includes: obtaining the fourth reward coefficient, which is a parameter configured based on the penalty intensity of the dual compressor start-stop count; and calculating the start-stop reward and penalty value of the historical period based on the fourth reward coefficient, the first number of shutdowns, the second number of shutdowns, and the start-stop reward and penalty value of the previous historical period.
[0068] Specifically, the calculation of the lifespan bonus / penalty value is based on the lifespan difference between the two compressors and the lifespan bonus / penalty value of the previous historical cycle. This calculation includes the following steps: First, the third reward coefficient is obtained. The third reward coefficient W3 is a parameter configured based on the penalty intensity for the uniformity of the dual compressor lifespans; in this embodiment, W3 is set to 0.5. It should be noted that the value of W3 can be adjusted according to actual needs. For applications with high requirements for compressor lifespan uniformity, the value of W3 can be appropriately increased to strengthen the penalty for uneven lifespans.
[0069] Then, based on the third reward coefficient, the lifespan difference between the two compressors, and the lifespan reward / penalty value of the previous cycle, the lifespan reward / penalty value of the current cycle is calculated. Specifically, the lifespan reward / penalty value of the current cycle is equal to the lifespan reward / penalty value of the previous cycle plus -1 multiplied by the absolute value of the lifespan difference between the two compressors, and then multiplied by the third reward coefficient. That is: the lifespan reward / penalty value is equal to the lifespan reward / penalty value of the previous cycle minus |equivalent operating time of the first compressor minus equivalent operating time of the second compressor| multiplied by W3.
[0070] Therefore, the greater the difference in the equivalent operating time of the two compressors, the greater the penalty in the lifespan reward / penalty value, and the lower the lifespan reward / penalty value for the current cycle. The design goal of this reward / penalty value is to make the equivalent operating times of the two compressors as close as possible, thereby achieving a balance in the lifespan of the dual-system compressors.
[0071] Specifically, the start-stop reward / penalty value is calculated based on the first number of shutdowns, the second number of shutdowns, and the start-stop reward / penalty value of the previous historical period. This calculation includes the following steps: First, obtain the fourth reward coefficient. The fourth reward coefficient W4 is a parameter configured based on the penalty intensity of the number of times the dual compressors start and stop; in this embodiment, W4 is set to 0.5. Similarly, the value of W4 can be adjusted according to actual needs. For scenarios where the compressors start and stop too frequently, the value of W4 can be appropriately increased.
[0072] Then, based on the fourth reward coefficient, the first number of shutdowns, the second number of shutdowns, and the start-stop reward / penalty value of the previous period, the start-stop reward / penalty value for the current period is calculated. Specifically, the start-stop reward / penalty value for the current period is equal to the start-stop reward / penalty value of the previous period minus (the first number of shutdowns plus the second number of shutdowns) multiplied by the fourth reward coefficient. That is: the start-stop reward / penalty value is equal to the start-stop reward / penalty value of the previous period minus (the first number of shutdowns plus the second number of shutdowns) multiplied by W4.
[0073] Therefore, each compressor shutdown incurs a penalty, and the greater the sum of the shutdowns of the two compressors, the heavier the penalty. The design goal of this reward and penalty value is to reduce unnecessary compressor starts and stops, as each start and stop introduces temperature fluctuations and mechanical wear.
[0074] It is important to note that the total reward function for the four reward / penalty values (temperature control reward / penalty, temperature reach efficiency reward / penalty, lifespan reward / penalty, and start / stop reward / penalty) can be expressed as: the total reward / penalty equals the temperature control reward / penalty plus the temperature reach efficiency reward / penalty plus the lifespan reward / penalty plus the start / stop reward / penalty. The weighting coefficients for each reward / penalty item (i.e., the first reward coefficient W1, the second reward coefficient W2, the third reward coefficient W3, and the fourth reward coefficient W4) can be flexibly adjusted according to the control objectives of different sites. For example, if a customer has very high requirements for temperature control speed, W2 can be appropriately increased; if a site's compressor starts and stops too frequently, W4 can be appropriately increased. These weighting coefficients can be preset fixed values or dynamically learned during the offline training phase through optimization algorithms tailored to specific site conditions.
[0075] In this embodiment, by introducing a third and a fourth reward coefficient, quantitative penalties are applied to the compressor's lifespan uniformity and the number of start-stop cycles, respectively, making the multi-objective evaluation system more complete. The lifespan reward / penalty value is based on the difference in equivalent operating time, guiding the control model to consider the impact of frequency deviation on wear when allocating the workload of the two compressors, rather than simply dividing the operating time equally. The start-stop reward / penalty value applies a penalty to each shutdown, guiding the control model to control temperature as much as possible through frequency adjustment rather than start-stop cycles, thereby reducing temperature fluctuations and mechanical wear.
[0076] In some embodiments, step S3 above, training the initial control model based on the target reward and punishment data to obtain the target control model, includes: determining whether any reward or punishment value among the temperature control reward and punishment value, the temperature reaching efficiency reward and punishment value, the lifespan reward and punishment value, and the start-stop reward and punishment value satisfies the preset optimization conditions; if so, setting the reward and punishment value that satisfies the preset optimization conditions as the reward and punishment value to be optimized; optimizing the model parameters in the initial control model associated with the reward and punishment value to be optimized to obtain the target control model.
[0077] The initial control model is trained based on the target reward and punishment data to obtain the target control model, which specifically includes the following steps: The first step is to determine whether any of the following reward / penalty values—temperature control reward / penalty value, temperature reach efficiency reward / penalty value, lifespan reward / penalty value, and start / stop reward / penalty value—meets the preset optimization conditions.
[0078] Preset optimization conditions can be: a certain reward or penalty value is lower than a preset threshold, or a certain reward or penalty value ranks in the bottom preset proportion (e.g., the bottom 20%) across all historical periods, or a certain reward or penalty value shows a continuously deteriorating trend (e.g., decreasing for multiple consecutive periods). By setting multiple optimization conditions, the control target dimensions that need improvement can be comprehensively identified.
[0079] The second step is to set the reward / penalty value that meets the preset optimization conditions as the reward / penalty value to be optimized.
[0080] For example, if the temperature control reward / penalty value is at a low level in most cycles, then the temperature control reward / penalty value is set as the reward / penalty value to be optimized; if the lifespan reward / penalty value has been continuously decreasing in recent cycles, then the lifespan reward / penalty value is set as the reward / penalty value to be optimized. Multiple reward / penalty values to be optimized can exist simultaneously.
[0081] The third step is to optimize the model parameters associated with the reward / penalty value to be optimized in the initial control model to obtain the target control model.
[0082] In this embodiment, a pre-established correspondence between each reward / penalty value and adjustable model parameters is established. Specifically, when the temperature control reward / penalty value is the reward / penalty value to be optimized, it is necessary to adjust the parameters associated with it, including the hysteresis temperature (the dead zone range of the control temperature; the smaller the hysteresis temperature, the more precise the temperature control, but it may lead to more frequent frequency adjustments), the temperature difference band (the allowable temperature fluctuation range), and the PI parameter tuning ratio (the parameters of the proportional-integral controller).
[0083] When the temperature efficiency penalty value is the penalty value to be optimized, it is necessary to adjust the associated parameters, including the frequency open-loop running time (the length of time the compressor runs at a fixed frequency), the frequency upper limit (the highest frequency the compressor is allowed to operate at), and the sampling time of frequency P control (the sampling interval of proportional control). By shortening the frequency open-loop running time or increasing the frequency upper limit, the cooling rate can be accelerated.
[0084] When the lifetime penalty value is the penalty value to be optimized, it is necessary to adjust the associated parameters, including the frequency of stopping a single compressor (the frequency condition for stopping a single compressor during dual-system switching) and the single compressor operation switching time (the time interval between the switching of the two compressors). By optimizing the switching strategy, the workload of the two compressors can be distributed more evenly.
[0085] When the start-stop penalty value is a penalty value to be optimized, it is necessary to adjust the associated parameters, including the compressor's minimum running time (the minimum time the compressor must run after each start-up), the lower limit of shutdown frequency (the lower limit of the frequency at which the compressor is allowed to shut down), and the temperature difference between reaching and stopping the compressor (the temperature difference range at which the compressor is allowed to shut down after reaching the target temperature). By increasing the compressor's minimum running time, decreasing the lower limit of shutdown frequency, or decreasing the temperature difference between reaching and stopping the compressor, the conditions for shutting down the compressor can be made more stringent, thereby reducing the frequency of shutdowns.
[0086] The above correspondences can be summarized as follows: Adjustable parameters corresponding to temperature control penalty values include: hysteresis temperature, temperature difference band, and PI parameter tuning ratio. Adjustable parameters corresponding to temperature reach efficiency penalty values include: frequency open-loop running time, frequency upper limit, and sampling time of frequency P control. Adjustable parameters corresponding to lifespan penalty values include: frequency of stopping a single compressor and single compressor operation switching time. Adjustable parameters corresponding to start-stop penalty values include: minimum compressor running time, lower limit of shutdown frequency, and temperature difference between reaching and stopping the compressor.
[0087] In this embodiment, by determining whether any of the four reward / penalty values meet preset optimization conditions, and setting the reward / penalty values that meet the conditions as the reward / penalty values to be optimized, automatic diagnosis of weak links in the control strategy is achieved. By performing targeted optimization of the model parameters associated with the reward / penalty values to be optimized, repeated trial and error caused by blind parameter tuning is avoided, improving training efficiency. Simultaneously, since the correspondence between each reward / penalty value and adjustable parameters is established in advance, the optimization direction is clear and the parameter tuning path is well-defined, enabling efficient execution of both manual and automated parameter tuning. The final target control model achieves a good balance in four aspects: temperature control accuracy, temperature reach efficiency, lifespan balance, and start-stop control.
[0088] In some embodiments, after controlling the operation of the dual-system energy storage liquid-cooled unit based on target control parameters, the method further includes: acquiring real-time operating data of the dual-system energy storage liquid-cooled unit during its operation; predicting the future operating state of the dual-system energy storage liquid-cooled unit based on the real-time operating data to obtain predicted data; inputting the predicted data into a preset reward function to calculate the predicted reward value; and adjusting the model parameters of the target control model based on the predicted reward value to obtain an optimized target control model.
[0089] Specifically, after controlling the operation of the dual-system energy storage liquid-cooled unit based on target control parameters, the method also includes an online self-learning process. The purpose of online self-learning is that although the target control model obtained through offline training has been optimized for this site, the operating conditions may change over time (such as changes in ambient temperature due to seasonal changes, changes in heat generation due to battery aging, etc.). It is necessary to continuously adjust the model parameters through online self-learning to keep the control strategy in an optimal state at all times.
[0090] The first step is to acquire real-time operating data of the dual-system energy storage liquid chiller during its operation.
[0091] Specifically, during the operation of the unit according to the target control parameters, the MCU continuously collects real-time operating data from various sensors and uploads it to the cloud server in real time via the 4G module. The content of the real-time operating data is consistent with the historical operating data, including information such as cell temperature, compressor frequency, operating time, and number of start-stop cycles.
[0092] The second step is to predict the future operating status of the dual-system energy storage liquid cooling unit based on real-time operating data, and obtain the predicted data.
[0093] Specifically, the cloud server collects real-time uploaded operational data and performs fitting and prediction. Based on the current operating status, it uses fitting and prediction algorithms such as LSTM (Long Short-Term Memory) or least binary search to predict the unit's operating status in the next few hours. The prediction results are output in curve form, including at least one of the following: temperature control curve (predicting the future trend of battery cell temperature), temperature reach efficiency curve (predicting the future trend of cooling efficiency), compressor life curve (predicting the future trend of equivalent operating time of two compressors), and compressor start-stop prediction curve (predicting the future start-stop status of the compressor). These prediction curves comprehensively reflect the future operating status of the unit under the current control parameters.
[0094] It's important to note that the technical consideration behind using the LSTM algorithm for prediction is that LSTM is a special type of recurrent neural network, adept at handling and predicting long-term dependencies in time-series data. The unit's operational data is essentially time-series data, with the current state correlated with its states at multiple past moments. LSTM, through its unique gating mechanism, can effectively capture these long-term dependencies, thereby making relatively accurate predictions about the unit's future operational state.
[0095] The third step is to input the predicted data into a preset reward function to calculate the predicted reward value.
[0096] Specifically, the predicted temperature control curve, temperature reach efficiency curve, compressor lifespan curve, and start-stop prediction curve are input into the same multi-objective reward function as in the offline training phase to calculate a predicted reward value. This predicted reward value comprehensively reflects the expected control effect of the unit during future operation under the current control parameters. If the predicted reward value is high, it indicates that the current control parameters will still be applicable for a period of time in the future; if the predicted reward value is low, it indicates that the current control parameters may no longer be suitable for the changed operating conditions and need to be adjusted.
[0097] The fourth step is to adjust the model parameters of the target control model based on the predicted reward value to obtain the optimized target control model.
[0098] Specifically, the system employs an automatic optimization strategy based on a reward function. When the predicted reward value falls below a preset threshold, the system analyzes which reward / penalty sub-items caused the decrease in reward and then automatically adjusts the control parameters associated with these sub-items. For example, if the predicted temperature control reward / penalty value is low, it indicates a potential decrease in temperature control accuracy in the future, and the system automatically reduces the hysteresis temperature or adjusts the PI parameter to improve temperature control accuracy. If the predicted lifespan reward / penalty value is low, it indicates that the wear of the two compressors may become uneven in the future, and the system automatically adjusts the switching strategy to balance the load. The adjusted parameters are then sent to the unit as new target control parameters, enabling online parameter updates.
[0099] It should be noted that, in order to ensure device security during the online self-learning process, this embodiment also sets at least one of the following security constraint mechanisms: First, parameter range constraints. List the upper and lower limits of all adjustable parameters to ensure that the control parameters always change within a safe range during online adjustment and do not exceed the limits allowed by the hardware.
[0100] Second, a large penalty constraint in the reward function. A large penalty term is added to the reward function. If the adjustment strategy is too aggressive, causing the parameters to approach the upper or lower limits, a large penalty is imposed, forcing the adjustment direction to revert to a safe range. For example, when the temperature control deviation exceeds 3 degrees Celsius, the first reward coefficient W1 is doubled to 10 or even higher, generating a very large penalty value, causing the model to quickly correct its parameters.
[0101] Third, safety prediction model constraints. An independent safety prediction model is added, specifically designed to predict whether the system state will exceed safe limits (such as temperature or frequency exceeding limits) within a certain period under the current parameter adjustment scheme. If an exceedance risk is predicted, the parameters are automatically corrected to preset safe values to ensure safe unit operation.
[0102] In this embodiment, by acquiring real-time operating data online and predicting future operating states, the system can promptly detect changes in operating conditions, preventing a decline in control effectiveness due to these changes. By inputting the predicted data into a reward function to calculate the predicted reward value, the system achieves advance assessment of future control performance, making parameter adjustments proactive. Automatic adjustment of model parameters based on the predicted reward value forms a continuously operating online self-learning closed loop, enabling the control model to constantly adapt to changes in operating conditions and maintain optimal control performance without manual readjustment. Simultaneously, by setting three safety lines—parameter range constraints, large penalty constraints, and safe prediction model constraints—the system ensures the safety of parameter adjustments during online self-learning, preventing equipment damage or safety accidents caused by automatic parameter tuning.
[0103] like Figure 5As shown, in order to better implement the control method of the dual-system energy storage liquid-cooled unit in the embodiments of this application, based on the control method of the dual-system energy storage liquid-cooled unit, the embodiments of this application also provide a control device 200 for the dual-system energy storage liquid-cooled unit, including: The operation data acquisition module 201 is used to acquire historical operation data of the dual-system energy storage liquid-cooled unit. The historical operation data includes operation data from multiple historical periods. The reward and punishment data calculation module 202 is used to extract the derived feature data of each historical period from the historical operation data, and calculate the target reward and punishment data of all historical periods based on the derived feature data and the reward and punishment data of the previous historical period. The model training module 203 is used to train the initial control model based on the target reward and punishment data to obtain the target control model; The unit control module 204 is used to input the current operating data into the target control model to obtain the target control parameters, and to control the operation of the dual-system energy storage liquid-cooled unit based on the target control parameters.
[0104] It should be noted that, for any parts of the control device 200 of the dual-system energy storage liquid-cooled unit that are not described in detail, please refer to the control method of the dual-system energy storage liquid-cooled unit in the above embodiments, which will not be repeated here.
[0105] This application provides an electronic device, which includes one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the control method of the dual-system energy storage liquid-cooled unit in any of the above embodiments.
[0106] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.
[0107] This application also provides an electronic device that integrates the control device for any of the dual-system energy storage liquid-cooled units provided in this application. For example... Figure 6 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically: The electronic device may include components such as a processor 801 with one or more processing cores, a memory 802 with one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will understand that... Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 801 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 802, and by calling data stored in the memory 802, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 801.
[0108] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.
[0109] The electronic device also includes a power supply 803 that supplies power to the various components. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 803 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0110] The electronic device may also include an input unit 804, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0111] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 801 in the electronic device loads the executable files corresponding to the processes of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802 to realize various functions, as follows: Acquire historical operating data of the dual-system energy storage liquid-cooled unit, including operating data from multiple historical periods; Extract derived feature data for each historical period from historical operational data, and calculate target reward and punishment data for all historical periods based on the derived feature data and the reward and punishment data of the previous historical period. The initial control model is trained based on the target reward and punishment data to obtain the target control model; The current operating data is input into the target control model to obtain the target control parameters, and the operation of the dual-system energy storage liquid cooling unit is controlled based on the target control parameters.
[0112] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0113] Therefore, embodiments of this application provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the control methods for a dual-system energy storage liquid-cooled unit provided in embodiments of this application. For example, the computer program loaded by the processor can execute the following steps: Acquire historical operating data of the dual-system energy storage liquid-cooled unit, including operating data from multiple historical periods; Extract derived feature data for each historical period from historical operational data, and calculate target reward and punishment data for all historical periods based on the derived feature data and the reward and punishment data of the previous historical period. The initial control model is trained based on the target reward and punishment data to obtain the target control model; The current operating data is input into the target control model to obtain the target control parameters, and the operation of the dual-system energy storage liquid cooling unit is controlled based on the target control parameters.
[0114] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0115] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0116] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0117] The control method, apparatus, equipment, and storage medium of a dual-system energy storage liquid-cooled unit provided in the embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A control method for a dual-system energy storage liquid-cooled unit, characterized in that, The method includes: Acquire historical operating data of the dual-system energy storage liquid-cooled unit, the historical operating data including operating data from multiple historical periods; Extract derived feature data for each historical period from the historical operation data, and calculate the target reward and punishment data for all historical periods based on the derived feature data and the reward and punishment data of the previous historical period. The initial control model is trained based on the target reward and punishment data to obtain the target control model; The current operating data is input into the target control model to obtain the target control parameters, and the operation of the dual-system energy storage liquid cooling unit is controlled based on the target control parameters.
2. The control method for a dual-system energy storage liquid-cooled unit according to claim 1, characterized in that, The target reward and penalty data includes temperature control reward and penalty value, temperature reaching efficiency reward and penalty value, lifespan reward and penalty value, and start-stop reward and penalty value. The derived feature data includes cell temperature difference, temperature reaching efficiency, dual compressor lifespan difference, first shutdown number, and second shutdown number. The step of calculating the target reward and punishment data for all historical periods based on the derived feature data and the reward and punishment data of the previous historical period includes: The temperature control reward / penalty value for this historical period is calculated based on the cell temperature difference and the temperature control reward / penalty value of the previous historical period. The temperature-reaching efficiency reward / penalty value for this historical period is calculated based on the temperature-reaching efficiency and the temperature-reaching efficiency reward / penalty value of the previous historical period. The lifespan reward / penalty value for this historical period is calculated based on the lifespan difference between the two compressors and the lifespan reward / penalty value of the previous historical period. The start-stop reward / penalty value for this historical period is calculated based on the first number of shutdowns, the second number of shutdowns, and the start-stop reward / penalty value of the previous historical period.
3. The control method for a dual-system energy storage liquid-cooled unit according to claim 2, characterized in that, The dual-system energy storage liquid cooling unit includes a first compressor and a second compressor. The historical operating data includes the battery cell set temperature, the current battery cell temperature, the initial battery cell temperature, the battery cell consumption time, the first operating time of the first compressor, the first average frequency of the first compressor, the first oil return frequency of the first compressor, the second operating time of the second compressor, the second average frequency of the second compressor, the second oil return frequency of the second compressor, and shutdown data information. The extraction of derived feature data for each historical period from the historical operational data includes: The cell temperature difference for that historical period is calculated based on the cell set temperature for that historical period and the cell current temperature for that historical period. The temperature-reaching efficiency for that historical period is calculated based on the initial cell temperature, the set cell temperature, and the cell consumption time of that historical period. The life difference of the dual compressors in the historical period is calculated based on the first average frequency, the first oil return frequency, the first running time, the second average frequency, the second oil return frequency, and the second running time of the historical period. The shutdown data is statistically analyzed to obtain the first shutdown count and the second shutdown count for the historical period; the first shutdown count represents the number of times the first compressor has stopped, and the second shutdown count represents the number of times the second compressor has stopped.
4. The control method for a dual-system energy storage liquid-cooled unit according to claim 2, characterized in that, The calculation of the temperature control reward / penalty value for the current historical period based on the cell temperature difference and the temperature control reward / penalty value of the previous historical period includes: The first reward coefficient is selected based on the temperature range of the cell temperature difference. The temperature control reward / penalty value for this historical period is calculated based on the cell temperature difference, the first reward coefficient, and the temperature control reward / penalty value of the previous historical period. The calculation of the temperature-reaching efficiency reward / penalty value for the historical period based on the temperature-reaching efficiency and the temperature-reaching efficiency reward / penalty value of the previous historical period includes: The second reward coefficient is adjusted based on the temperature range in which the temperature overshoot occurs; wherein, the temperature overshoot is the difference between the cell's set temperature and the cell's lowest temperature. The temperature overshoot, the second reward coefficient, the temperature reaching efficiency, and the temperature reaching efficiency reward / penalty value of the previous historical period are used to calculate the temperature reaching efficiency reward / penalty value of the historical period.
5. The control method for a dual-system energy storage liquid-cooled unit according to claim 2, characterized in that, The calculation of the lifespan reward / penalty value for the historical period based on the lifespan difference between the two compressors and the lifespan reward / penalty value of the previous historical period includes: Obtain a third reward coefficient, which is a parameter configured based on the penalty intensity of the dual compressor life balance; The lifespan reward / penalty value for this historical period is calculated based on the third reward coefficient, the lifespan difference of the dual compressors, and the lifespan reward / penalty value of the previous historical period. The calculation of the start-stop reward / penalty value for the historical period based on the first number of shutdowns, the second number of shutdowns, and the start-stop reward / penalty value of the previous historical period includes: Obtain the fourth reward coefficient, which is a parameter configured based on the penalty intensity of the number of dual compressor start-stop cycles; The start-stop reward / penalty value for this historical period is calculated based on the fourth reward coefficient, the first number of shutdowns, the second number of shutdowns, and the start-stop reward / penalty value of the previous historical period.
6. The control method for a dual-system energy storage liquid-cooled unit according to claim 2, characterized in that, The step of training the initial control model based on the target reward and punishment data to obtain the target control model includes: Determine whether any of the following reward / penalty values—temperature control reward / penalty value, temperature reach efficiency reward / penalty value, lifespan reward / penalty value, and start / stop reward / penalty value—satisfies a preset optimization condition; If so, the reward / penalty value that meets the preset optimization conditions will be set as the reward / penalty value to be optimized; The model parameters associated with the reward / penalty value to be optimized in the initial control model are optimized to obtain the target control model.
7. The control method for a dual-system energy storage liquid-cooled unit according to claim 1, characterized in that, After controlling the operation of the dual-system energy storage liquid-cooled unit based on the target control parameters, the method further includes: During the operation of the dual-system energy storage liquid cooling unit, real-time operating data of the dual-system energy storage liquid cooling unit is acquired; Based on the real-time operating data, the future operating status of the dual-system energy storage liquid cooling unit is predicted to obtain the predicted data; The predicted data is input into a preset reward function to calculate the predicted reward value; The model parameters of the target control model are adjusted based on the predicted reward value to obtain the optimized target control model.
8. A control device for a dual-system energy storage liquid-cooled unit, characterized in that, The device includes: The operation data acquisition module is used to acquire the historical operation data of the dual-system energy storage liquid cooling unit, which includes operation data from multiple historical periods. The reward and punishment data calculation module is used to extract the derived feature data of each historical period from the historical operation data, and calculate the target reward and punishment data of all historical periods based on the derived feature data and the reward and punishment data of the previous historical period. The model training module is used to train the initial control model based on the target reward and punishment data to obtain the target control model; The unit control module is used to input the current operating data into the target control model to obtain the target control parameters, and to control the operation of the dual-system energy storage liquid-cooled unit based on the target control parameters.
9. An electronic device, characterized in that, The electronic device includes: one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the control method of the dual-system energy storage liquid-cooled unit according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to execute the steps in the control method of the dual-system energy storage liquid-cooled unit according to any one of claims 1 to 7.
