Method and system for freely adjusting number of storage batteries of power supply
By acquiring and analyzing the power grid status, power load and battery operation data in the data center, dividing the batteries into unit groups and scheduling according to real-time requirements, the problems of insufficient or excess power supply in the existing technology are solved, and efficient and accurate battery power scheduling is achieved.
Patent Information
- Application Number
- CN202411635342.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-04-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to dynamically match the real-time power demand of data centers, resulting in insufficient power supply or oversupply, and low efficiency.
By obtaining the grid status data, power load data and battery pack operation data of the data center, it is divided into several battery cell groups, and the power shortage is calculated based on the grid status and power load, the target battery cell group and its power supply parameters are determined, so as to achieve accurate scheduling and efficient power supply of the battery.
It realizes accurate perception of the power supply demand of data centers and optimized resource allocation, avoids waste or insufficient power supply resources, improves the scheduling accuracy of battery resources and the operation efficiency of power supply systems.
Smart Images

Figure CN119813296A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, system, electronic device and storage medium for freely adjusting the number of batteries for a power source. Background Art
[0002] With the rapid development and expansion of data centers, energy management of data centers has become the key to improving operation and maintenance efficiency and reducing costs. Data centers usually need to rely on stable power supply to ensure uninterrupted service, especially when the power grid is unstable or the power supply is interrupted. Therefore, backup power systems, especially battery packs, have become important facilities to ensure the continuous operation of data centers.
[0003] Currently, the existing methods for freely adjusting the number of batteries for power supply mainly rely on historical load conditions and set a fixed number of batteries in advance for power supply. However, in actual applications, due to the ever-changing power demand of data centers, fixed-configuration batteries are often difficult to dynamically match real-time power demand, resulting in insufficient or excessive power supply, which leads to low efficiency for freely adjusting the number of batteries for power supply. Summary of the invention
[0004] The present application provides a method and system for freely adjusting the number of storage batteries for a power source, which has the effect of improving the efficiency of freely adjusting the number of storage batteries for a power source.
[0005] In a first aspect, the present application provides a method for a power source to freely adjust the number of batteries, comprising: Obtain the data center's power grid status data, power load data, and battery pack operation data; Based on the internal resistance value and available power of each storage battery in the battery pack operation data, each storage battery is divided into a plurality of battery cell groups; Calculating the power shortage of the data center based on the power grid status data and the power load data; In each of the battery cell groups, determining a target battery cell group corresponding to the power shortage and a power supply quantity and a power supply sequence of the target battery cell group; Based on the power supply quantity and power supply sequence of the target battery cell group, the target battery cell group is connected to the data center to perform a power supply operation.
[0006] In a second aspect of the present application, a system for freely adjusting the number of batteries for a power source is provided, the system comprising: A data acquisition module, used to acquire the power grid status data, power load data and battery pack operation data of the data center; A power shortage determination module, configured to divide each storage battery into a plurality of battery cell groups based on the internal resistance value and available power of each storage battery in the battery pack operation data; and calculate the power shortage of the data center based on the grid state data and the power load data; A target battery cell group determination module is used to determine, in each of the battery cell groups, a target battery cell group corresponding to the power shortage and a power supply quantity and a power supply sequence of the target battery cell group; The battery regulation module is used to connect the target battery cell group to the data center to perform power supply operation based on the power supply quantity and power supply timing of the target battery cell group.
[0007] In a third aspect of the present application, an electronic device is provided, comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program can implement a method for freely adjusting the number of batteries in a power supply when loaded and executed by the processor.
[0008] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements a method for freely adjusting the number of batteries for a power supply.
[0009] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: By adopting the above technical solution, the grid state data, power load data and battery pack operation data of the data center are obtained, and the accurate perception of power supply demand and power supply resources is realized. The battery grouping is performed based on the internal resistance value and available power of each battery in the battery pack operation data, ensuring that batteries with similar performance characteristics are divided into the same battery cell group, thereby improving the accuracy of battery resource scheduling. By analyzing the grid state data and power load data to calculate the power shortage, the system can accurately grasp the real-time power supply demand of the data center and avoid waste or shortage of power supply resources. When determining the target battery cell group and its power supply parameters, the system considers the matching degree of battery performance characteristics, reasonably arranges the power supply quantity and power supply sequence, and ensures that the power supply capacity meets the power shortage requirements and realizes the optimal configuration of battery resources. During the battery access process, the system realizes orderly access and smooth power supply of the battery by executing the power supply sequence, which can avoid the power grid impact caused by the simultaneous start of multiple batteries. Through this technical solution, the number of batteries participating in the power supply can be flexibly adjusted according to the real-time power demand of the data center, achieving the effect of intelligent scheduling, thereby improving the efficiency of freely adjusting the number of batteries used for power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1It is a flow chart of a method for freely adjusting the number of batteries by a power supply provided in an embodiment of the present application; Figure 2 It is a structural schematic diagram of a system for freely adjusting the number of batteries provided by an embodiment of the present application; Figure 3 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0011] Description of reference numerals: 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION
[0012] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0013] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0014] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0015] The present application embodiment provides a method for freely adjusting the number of batteries for a power source. In one embodiment, please refer to Figure 1 , Figure 1The method for freely adjusting the number of batteries provided by the embodiment of the present application is a flow chart of the method for freely adjusting the number of batteries provided by the power supply. The method can be implemented by a computer program, which can be integrated in an application or run as an independent tool application. The method can also be implemented by a single-chip microcomputer or run in a system for freely adjusting the number of batteries provided by the power supply based on the von Neumann system. Specifically, the method can include the following steps: Step 101: Obtain the power grid status data, power load data and battery pack operation data of the data center.
[0016] Among them, the grid status data refers to a set of real-time parameters that reflect the power supply capacity and operating status of the external power grid of the data center. In the embodiment of the present application, the grid status data can be understood as one of the bases for the data center to make battery scheduling decisions. Its core indicator is the power supply power of the grid, which directly reflects the actual power supply capacity that the external power grid can provide to the data center.
[0017] Power load data refers to a real-time data set that reflects the actual power consumption of each power-consuming device in the data center. Power load data includes, but is not limited to, the operating power of the server unit, the power consumption of the cooling system, the power consumption of the lighting equipment, the power consumption of the power distribution system, and other power consumption data of all power-consuming devices in the data center.
[0018] Battery pack operation data refers to a comprehensive data set that reflects the real-time working status and performance parameters of each battery in the battery pack. Specifically, the battery pack operation data includes but is not limited to the internal resistance value, available power, number of charge and discharge cycles, charging state, discharging state, temperature, voltage and other key parameters that reflect the performance and health status of the battery.
[0019] Specifically, it is necessary to first obtain the grid status data, power load data and battery pack operation data of the data center. The operation status of the data center is changing dynamically at any time. In order to achieve accurate adjustment of the number of batteries, the operation status of the system must be mastered in real time. Among them, the grid status data includes parameters such as grid power supply power and grid voltage; the power load data includes the real-time load power of equipment such as servers, air conditioners, and lighting; the battery pack operation data includes parameters such as the internal resistance value, available power, and number of cycle charge and discharge of each battery. The collection of these data can be achieved through smart meters, power detectors, battery management systems and other equipment deployed in the data center. Smart meters monitor the power supply parameters of the grid in real time and transmit the collected grid status data to the control system through the communication network; power detectors are distributed at various power-consuming devices in the data center, continuously collecting load power data and uploading it; the battery management system is responsible for monitoring the operation status of the battery pack and recording various battery parameters. The data collected by these devices are stored in the database after preprocessing, providing data support for subsequent battery grouping, power calculation and scheduling decisions. By establishing such a real-time data collection system, the current power demand and power supply capacity of the data center can be accurately grasped, laying the foundation for realizing intelligent adjustment of the number of batteries.
[0020] Step 102: Based on the internal resistance value and available power of each storage battery in the battery pack operation data, each storage battery is divided into a plurality of battery cell groups.
[0021] Among them, the internal resistance value refers to the internal resistance of the battery during operation, which is a key parameter reflecting the internal conductivity and health status of the battery. The internal resistance value includes multiple components such as ohmic internal resistance, polarization internal resistance, activation loss internal resistance, etc. These internal resistances jointly affect the power supply efficiency and heat loss of the battery.
[0022] Available power refers to the actual amount of electrical energy that a battery can currently provide, and is a real-time parameter that reflects the remaining power supply capacity of a battery. Available power is obtained by measuring the actual state of charge and rated capacity of the battery through the battery management system. In the embodiments of the present application, available power can be understood as a direct indicator of the battery's power supply capacity, and its value represents the battery's ability to continuously supply power in the current state.
[0023] A battery cell group refers to a functional unit composed of multiple batteries with the same internal resistance level and the same available power level. A battery cell group is the smallest dispatching unit formed by clustering batteries with similar performance characteristics. The batteries in each battery cell group have similar power supply efficiency and power supply capacity.
[0024] Specifically, in order to achieve accurate scheduling and efficient management of batteries, it is necessary to divide batteries with similar performance into several battery cell groups based on the internal resistance value and available power of each battery in the battery pack operation data. The internal resistance value of the battery directly affects its power supply efficiency and heat loss, while the available power determines the power supply capacity of the battery. These two parameters together reflect the performance status of the battery. The system first obtains the preset internal resistance value classification interval and the preset available power classification interval, which are pre-set according to the performance characteristics of the battery and the actual application requirements. Subsequently, the internal resistance value level corresponding to each battery is determined by comparing the internal resistance value of each battery with the preset internal resistance value classification interval; at the same time, the available power of each battery is compared with the preset available power classification interval to obtain the available power level corresponding to each battery. After completing the classification of the two dimensions, the system divides the batteries with the same internal resistance value level and the same available power level into the same battery cell group, and finally forms several battery cell groups with similar performance characteristics. This dual-index-based grouping method can ensure that the batteries in the same battery cell group have similar power supply performance and available capacity, which is conducive to subsequent accurate power supply scheduling. Through this intelligent grouping mechanism, it is possible to avoid the reduction of power supply efficiency and loss of life caused by the mixed use of batteries with large performance differences. At the same time, it is also convenient for the system to be uniformly managed and scheduled, and improve the reliability and efficiency of the entire power supply system.
[0025] Based on the above embodiment, as an optional embodiment, in step 102: based on the internal resistance value and available power of each battery in the battery pack operation data, each battery is divided into a plurality of battery cell groups. This step may also include the following steps: Step 201: obtaining a preset internal resistance value classification interval and a preset available power value classification interval; comparing the internal resistance value of each storage battery with the preset internal resistance value classification interval to obtain the internal resistance value level corresponding to each storage battery.
[0026] Among them, the preset internal resistance value grading interval refers to a group of internal resistance value evaluation intervals pre-set according to battery performance standards and actual application requirements, which divide the internal resistance value range of the battery into multiple continuous but non-overlapping grade ranges.
[0027] The preset available power grading intervals refer to a set of power evaluation intervals pre-set according to the battery capacity characteristics and actual power supply requirements. These intervals divide the available power range of the battery into multiple continuous but non-overlapping grade ranges.
[0028] In the embodiment of the present application, the internal resistance value grade refers to the performance grade evaluation result obtained by comparing the actual internal resistance value of the battery with the preset internal resistance value classification interval. In the embodiment of the present application, the internal resistance value grade can be understood as a quantitative representation of the power supply efficiency and health status of the battery, and is an intuitive indicator reflecting the performance level of the battery.
[0029] Specifically, in order to achieve scientific grading and precise management of batteries, it is first necessary to obtain the preset internal resistance value grading interval and the preset available power grading interval. These grading intervals are reference standards pre-set based on the performance characteristics of the battery, actual application requirements and engineering experience. Among them, the preset internal resistance value grading interval can be divided into multiple continuous interval ranges. For example, the internal resistance value can be divided into four grade intervals of A, B, C, and D in ascending order, corresponding to excellent, good, general and poor performance levels respectively. Specifically, the system obtains the real-time internal resistance value of each battery through the battery management system, and then compares the internal resistance value with the preset internal resistance value grading interval. The comparison process adopts the interval matching method, that is, it is determined in which preset interval the internal resistance value of the battery falls, so as to determine the internal resistance value level corresponding to the battery. For example, when the internal resistance value of a battery falls within the lowest interval, the system determines it as Class A, indicating that the battery has the best conductivity and power supply efficiency. Through this grading method based on preset intervals, the system can quickly and accurately evaluate the performance status of each battery, providing an important basis for subsequent group management.
[0030] Step 202: Compare the available power of each storage battery with the preset available power grading interval to obtain the available power grade corresponding to each storage battery.
[0031] The available power level refers to the capacity level assessment result obtained by comparing the actual available power of the battery with the preset available power level interval. In the embodiment of the present application, the available power level can be understood as a quantitative representation of the battery's continuous power supply capability, and is an intuitive indicator reflecting the current actual available capacity level of the battery.
[0032] Specifically, in order to comprehensively evaluate the power supply capacity of the battery, the system needs to determine the level of the available power of each battery. After obtaining the preset available power classification interval, the system collects the available power data of each battery in real time through the battery management system, which reflects the actual power capacity that the battery can currently provide. The system uses an interval matching method to compare the available power of each battery with the preset available power classification interval, specifically to determine which preset interval the available power value falls within. For example, when the available power of the battery is in the [Q4, Qmax] interval, the system determines it as Class A, indicating that the battery has the strongest power supply capacity; when the available power is in the [Q3, Q4) interval, it is determined to be Class B, when it is in the [Q2, Q3) interval, it is determined to be Class C, and when it is in the [Q1, Q2) interval, it is determined to be Class D. Through this comparison method based on the preset interval, the system can accurately evaluate the actual power supply capacity of each battery and obtain the corresponding available power level.
[0033] Step 203: Based on the internal resistance level and available power level of each storage battery, storage batteries with the same internal resistance level and the same available power level are divided into a battery cell group to obtain a plurality of battery cell groups.
[0034] Specifically, in order to achieve accurate management and efficient scheduling of batteries, the system needs to intelligently group batteries according to the obtained internal resistance level and available power level. The system adopts a dual-dimensional matching method to divide batteries with the same internal resistance level and the same available power level into the same battery cell group. Since there are four levels (A, B, C, and D) for the internal resistance level and the available power level, theoretically up to 16 different battery cell groups can be formed, such as AA group (internal resistance level A and available power level A), AB group (internal resistance level A and available power level B), etc. In the actual division process, the system first establishes a two-dimensional grouping matrix, with the horizontal axis representing the internal resistance level and the vertical axis representing the available power level, and then puts each battery into the corresponding matrix position according to its two level parameters, thereby automatically completing the grouping. This grouping method based on dual-dimensional features can ensure that the batteries in the same battery cell group have similar performance characteristics and power supply capabilities, providing a reliable guarantee for subsequent precise scheduling. Through this grouping mechanism, the system can manage power supply more efficiently.
[0035] Step 103: Calculate the power shortage of the data center based on the power grid status data and the power load data.
[0036] Among them, power shortage refers to the difference between the actual power demand of the data center at a specific moment and the power supply of the power grid. When the actual power demand is greater than the power supply of the power grid, the difference is positive, indicating that the power capacity needs to be supplemented; when the actual power demand is less than or equal to the power supply of the power grid, the difference is zero or negative, indicating that the power supply of the power grid is sufficient.
[0037] Specifically, in order to ensure the stable operation of the data center and the reliability of power supply, the system needs to accurately calculate the power shortage of the data center. The power shortage refers to the difference between the actual power demand of the data center and the current power supply capacity of the power grid. Its calculation process needs to comprehensively consider the power grid status data and power load data. Specifically, the system first obtains the actual power supply power of the current power grid according to the power grid status data. This data reflects the maximum power support that the power grid can provide to the data center at the current moment; at the same time, the system obtains the real-time power demand of the data center by analyzing the power load data, including the total power demand of various loads such as servers, refrigeration equipment, and lighting systems. By subtracting the actual power supply power of the power grid from the real-time power demand of the data center, the system can calculate the power shortage at the current moment. For example, when the power demand of the data center is 1000kW and the actual power supply power of the power grid is 800kW, the power shortage is 200kW, indicating that the 200kW power shortage needs to be met by supplementary power supply from batteries. This power shortage calculation method based on real-time data can accurately reflect the power supply demand status of the data center and provide an accurate reference for subsequent battery scheduling. By real-time monitoring and calculating power shortages, the system can promptly detect power shortages and make up for the power shortages by properly dispatching batteries to ensure the continuous and stable operation of the data center. At the same time, this precise power shortage calculation also helps the system optimize the battery dispatch strategy, avoid over- or under-dispatching, and improve the operating efficiency of the power supply system.
[0038] Based on the above embodiment, as an optional embodiment, in step 103: calculating the power shortage of the data center based on the power grid state data and the power load data, this step may also include the following steps: Step 301: Obtain the grid power supply power in the grid state data and the load power in the power load data.
[0039] The grid power supply refers to the power output capacity that the grid can actually provide to the data center at a specific moment. This value is obtained by real-time measurement at the input end of the power supply line by power monitoring equipment. The grid power supply reflects the power supply support capability of the external power system to the data center.
[0040] In the embodiment of the present application, load power refers to the actual power consumption of all electrical equipment in the data center at a specific moment, which is obtained through real-time collection of power monitoring points distributed on various load devices. Load power includes the real-time power consumption of all electrical equipment such as server clusters, network equipment, storage systems, refrigeration equipment, power distribution facilities, lighting systems, etc., reflecting the overall power demand of the data center.
[0041] Specifically, in order to accurately calculate the power shortage of the data center, the system first needs to obtain two key parameters: the power supply power of the power grid and the load power. The system collects the power supply power data of the power grid input end in real time through the power monitoring equipment, which reflects the actual power capacity that the power grid can provide at the current moment; at the same time, the system collects the real-time power data of all power-consuming equipment in the data center through the load monitoring equipment, including the total power consumption of loads such as server clusters, refrigeration systems, and distribution facilities. Specifically, the acquisition of the power supply power of the power grid is measured in real time by the power sensors installed on the power supply line, and the power value in kilowatts (kW) can be directly obtained; the acquisition of the load power is through the intelligent power management system of the data center, and the power monitoring point data distributed on each load device is collected and summarized in real time. This method of synchronously acquiring the power supply power of the power grid and the load power can ensure that the system grasps the latest supply and demand status and provides an accurate data basis for the subsequent power shortage calculation. For example, when the system collects the power supply power of the power grid as 800kW and the load power as 1000kW, these two real-time data provide the necessary input parameters for the calculation of the power shortage. By establishing a real-time monitoring mechanism for grid power supply and load power, the system can dynamically grasp the power consumption of the data center, promptly detect imbalances in supply and demand, and provide a basis for subsequent battery scheduling decisions.
[0042] Step 302: Determine the actual grid power supply power based on the preset grid power supply efficiency and grid power supply power; determine the actual load power based on the preset power consumption coefficient and load power.
[0043] Among them, the preset grid power supply efficiency refers to the energy conversion efficiency during the power transmission process from the grid input end to the actual power-consuming equipment end of the data center, reflecting the losses in the power transmission and distribution process.
[0044] The preset power consumption coefficient refers to the correction coefficient between the actual power consumption and the nominal power of various electrical equipment in the data center, which is used to reflect the power fluctuations and additional consumption of the equipment during actual operation.
[0045] Specifically, in order to more accurately reflect the actual supply and demand status of the data center, the system needs to correct and calculate the collected grid power supply and load power. At the power supply end, the system takes into account the loss in the power transmission process and introduces a preset grid power supply efficiency parameter, which reflects the power transmission efficiency from the grid input end to the actual power-consuming device end. The system obtains the actual available grid power supply by multiplying the grid power supply by the grid power supply efficiency. This value more accurately reflects the grid power capacity that the data center can actually use. At the same time, at the load end, the system takes into account the actual power consumption characteristics of various types of power-consuming equipment and introduces a preset power consumption coefficient, which comprehensively considers factors such as equipment startup power, peak power, and rated power. The system obtains a load power value that is more in line with the actual situation by multiplying the monitored load power by the power consumption coefficient. For example, when the monitored grid power supply is 1000kW and the grid power supply efficiency is 0.95, the actual grid power supply is 950kW; when the monitored load power is 800kW and the power consumption coefficient is 1.1, the actual load power is 880kW. This calculation method based on efficiency and coefficient correction can more accurately reflect the actual power supply and power consumption status of the data center, avoiding the errors that may be caused by using raw monitoring data. Through this precise calculation, the system can more accurately evaluate the supply and demand balance status, provide more reliable data support for subsequent power shortage calculation and battery scheduling, and thus improve the operation accuracy of the entire power supply system.
[0046] Step 303: Determine the difference between the actual load power and the actual grid power supply power as the power deficit of the data center.
[0047] Specifically, in order to accurately calculate the power capacity that the data center needs to supplement, the system needs to determine the power shortage based on the actual load power and the actual grid power supply power. After completing the efficiency correction of the grid power supply power and the load power, the system uses the difference calculation method to determine the power shortage. The system subtracts the actual load power corrected by the power consumption coefficient from the actual grid power supply power corrected by the power supply efficiency, and the difference obtained is the power shortage of the data center at the current moment. For example, when the actual load power is 1100kW (the original load power is 1000kW multiplied by the power consumption coefficient of 1.1) and the actual grid power supply power is 950kW (the original grid power supply power is 1000kW multiplied by the power supply efficiency of 0.95), the calculated power shortage is 150kW, indicating that 150kW of power needs to be supplemented by the battery to meet the normal operation requirements of the data center. This difference calculation method based on the corrected data not only takes into account the loss in the grid power supply process, but also takes into account the actual power consumption characteristics of the load equipment, and can more accurately reflect the actual supply and demand status of the data center. Through this precise power shortage calculation, the system can accurately determine whether it is necessary to start the battery power supply and the specific power capacity that needs to be supplemented, avoiding insufficient or excessive power supply.
[0048] Step 104: In each battery cell group, determine the target battery cell group corresponding to the power shortage and the power supply quantity and power supply sequence of the target battery cell group.
[0049] Among them, the target battery cell group refers to one or more battery cell groups that are determined to be used to supplement the current power shortage after system screening and evaluation. These battery cell groups have sufficient remaining power, suitable output power and good working condition.
[0050] The power supply quantity refers to the specific number of target battery cell groups that need to be put into operation simultaneously, determined by the system based on the size of the power shortage and the performance parameters of the battery cell groups. This number directly determines the supplementary power capacity that can be provided.
[0051] The power supply sequence refers to the detailed power supply execution arrangement planned by the system for each target battery cell group, including specific settings of time nodes such as start time, power supply duration, switching time, etc. These timing arrangements form a complete power supply scheduling schedule.
[0052] Specifically, in order to make up for the power shortage of the data center, the system needs to select a suitable target battery cell group from multiple battery cell groups for power supply supplementation, and determine the specific power supply quantity and power supply sequence. The system first selects the battery cell group that meets the power supply requirements as a candidate group based on the specific value of the power shortage, combined with the remaining power, output power, service life and other performance parameters of each battery cell group. Furthermore, the system comprehensively considers factors such as the number of charge and discharge times, operating temperature, and health status of the battery cell group to determine the optimal target battery cell group from the candidate group. For example, when the power shortage is 150kW, the system may select 3 battery cell groups with an output power of 60kW as the target battery cell group, of which 2 battery cell groups can provide 120kW of basic power support at the same time, and the third battery cell group can provide the remaining 30kW of power demand as a dynamic supplement. When determining the power supply quantity, the system will calculate the optimal power supply combination plan based on the performance parameters of the battery cell group and the actual power supply demand, ensuring that the power shortage supplement demand is met and avoiding excessive call causing energy waste. At the same time, the system will also formulate a detailed power supply sequence arrangement, clarify the start-up time, power supply duration and switching sequence of each target battery unit group, and ensure a smooth transition of the power supply process. Through this precise battery unit group selection and scheduling plan, the system can accurately supplement the power shortage, which not only ensures the continuous and stable operation of the data center, but also optimizes the efficiency of battery resource utilization.
[0053] Based on the above embodiment, as an optional embodiment, in step 104: in each battery cell group, determining the target battery cell group corresponding to the power shortage and the power supply quantity of the target battery cell group, this step may also include the following steps: Step 401: Obtain the unit power supply power and the number of available batteries corresponding to each battery cell group; and take the product of the unit power supply power of each battery cell group and the number of available batteries as the maximum power supply power of each battery cell group.
[0054] Among them, unit power supply power refers to the rated output power of a single battery in a battery cell group under standard working conditions. This value reflects the basic power supply capacity of a single battery.
[0055] The number of available batteries refers to the total number of batteries in the battery cell group that are currently in normal working condition and meet the power supply conditions. This value reflects the actual available resource status of the battery cell group.
[0056] The maximum power supply power refers to the maximum output power that the battery cell group can provide in the current state. This value is the calculation result of the unit power supply power multiplied by the number of available batteries, reflecting the actual power supply capacity upper limit of the battery cell group.
[0057] Specifically, in order to accurately evaluate the power supply capacity of each battery cell group, the system needs to first obtain and calculate the maximum power supply power of each battery cell group. The system obtains the standard output power (i.e., unit power supply power) of a single battery in each battery cell group and the number of batteries currently in an available state through real-time monitoring and data acquisition. These data reflect the basic power supply capacity and resource status of the battery cell group. Furthermore, the system multiplies the unit power supply power of each battery cell group by the number of available batteries to obtain the maximum power supply power of the battery cell group. For example, when the unit power supply power of a battery cell group is 2kW and the number of available batteries is 30, the maximum power supply power of the battery cell group is 60kW. This calculation method takes into account the actual available resources of the battery cell group and avoids the errors that may be caused by evaluating only based on theoretical configuration. Through this precise maximum power supply power calculation, the system can accurately grasp the actual power supply capacity of each battery cell group and provide reliable data support for the subsequent target battery cell group selection and power supply plan formulation. At the same time, this calculation result also helps the system to carry out reasonable resource allocation and scheduling optimization, ensuring that while meeting the power shortage supplement demand, the battery cell group is avoided from overload operation, thereby improving the operating efficiency of the entire power supply system.
[0058] Step 402: Filter out multiple battery cell groups whose maximum power supply power is greater than the power shortage as candidate battery cell groups; among the candidate battery cell groups, determine the battery cell group with the smallest difference between the unit power supply power and the power shortage as the target battery cell group.
[0059] Specifically, in order to select the most suitable battery cell group to perform the power supply task, the system needs to determine the target battery cell group through two steps of screening. First, the system compares the maximum power supply power of each battery cell group with the current power shortage, and selects those battery cell groups whose maximum power supply power is greater than the power shortage as candidate battery cell groups, so as to ensure that the selected battery cell group has sufficient power supply capacity to meet the current power demand. For example, when the power shortage is 50kW, the system will include battery cell groups with maximum power supply power of 60kW, 80kW and 100kW in the candidate range, and exclude battery cell groups with maximum power supply power of 40kW. Furthermore, the system calculates the difference between the respective unit power supply power and the power shortage among these candidate battery cell groups, and selects the battery cell group with the smallest difference as the final target battery cell group. This selection strategy is based on the principle of minimum difference, which can ensure that the selected battery cell group can meet the power supply demand without causing excessive power supply redundancy. For example, when the power shortage is 50kW, if the unit power supply powers of the three candidate battery cell groups are 2kW, 3kW and 4kW respectively, the system will select the battery cell group with a unit power supply power of 2kW as the target battery cell group, because this configuration can more accurately match the power shortage by adjusting the number of batteries involved in the power supply. Through this two-step screening method, the system can select the battery cell group with the most matching power supply characteristics to perform the power supply task while ensuring sufficient power supply capacity, which not only improves the accuracy of power supply, but also avoids over-configuration of battery resources. At the same time, it also provides greater flexibility for the subsequent determination of the power supply quantity, effectively improving the operating efficiency and resource utilization of the entire power supply system.
[0060] Step 403: Divide the power deficit by the unit power supply of the target battery cell group to obtain the power supply quantity of the target battery cell group.
[0061] Specifically, in order to accurately determine the specific number of batteries that need to be put into operation in the target battery cell group, the system needs to calculate the optimal power supply quantity. The system first obtains the current power shortage value and the unit power supply power of the selected target battery cell group, and then obtains the required power supply quantity through division operation. This calculation method is based on the power matching principle and can accurately calculate the minimum number of batteries required to meet the power shortage. For example, when the power shortage is 50kW and the unit power supply power of the target battery cell group is 2kW, the system divides 50kW by 2kW to obtain a power supply quantity of 25, which means that 25 batteries need to be dispatched from the target battery cell group to participate in the power supply task. This precise calculation of the power supply quantity ensures that the power supply demand is met and avoids excessive use of battery resources. Through this method of calculating the power supply quantity based on actual power demand, the system can achieve accurate scheduling of battery resources.
[0062] Based on the above embodiment, as an optional embodiment, in step 104: in each battery cell group, determining the target battery cell group corresponding to the power shortage and the power supply timing of the target battery cell group, this step may also include the following steps: Step 404: Obtain the number of charge and discharge cycles of each battery in the target battery unit group; sort the batteries in ascending order based on the number of charge and discharge cycles to obtain the power supply sequence number corresponding to each battery.
[0063] The number of charge and discharge cycles refers to the cumulative number of complete charge and discharge cycles completed by the battery from the time it was put into use to the current moment. This value directly reflects the battery's usage history and working intensity. The number of charge and discharge cycles is the usage data continuously recorded and counted by the battery management system. A complete charge and discharge cycle is usually defined as the process of discharging the battery from a full charge state to a set cutoff charge and then charging it back to full charge.
[0064] The power supply sequence number refers to the priority identification number assigned to each battery after the system sorts the batteries in ascending order according to the number of charge and discharge cycles. The sequence number reflects the order in which the batteries participate in the power supply task. The power supply sequence number is based on the sorting result of battery usage intensity. The system assigns a smaller sequence number to batteries with fewer charge and discharge cycles, forming a dynamically updated power supply priority queue.
[0065] Specifically, in order to achieve balanced use of battery resources and extend battery life, the system needs to reasonably arrange the power supply sequence based on the battery usage status. The system first obtains the cumulative number of charge and discharge cycles of each battery in the target battery cell group through the battery management module. This value directly reflects the historical usage intensity of each battery. Further, the system sorts the acquired charge and discharge cycle data in ascending order, that is, sorts the batteries in order from small to large number of charge and discharge cycles, and assigns a corresponding power supply sequence number to each battery. For example, when there are three batteries in the target battery cell group with charge and discharge cycle times of 100, 80 and 120 times respectively, the system will assign the battery with 80 charge and discharge times to sequence number 1, 100 times to sequence number 2, and 120 times to sequence number 3. This sorting method based on usage intensity can ensure that batteries with lower usage frequency participate in power supply tasks first, thereby achieving a dynamic balance of battery usage intensity. Through this intelligent power supply sequence allocation mechanism, the system can effectively avoid the situation where some batteries are overused while other batteries are idle, ensure that the service life of each battery in the battery pack tends to be consistent, and improve the efficiency and economy of the entire battery unit group. At the same time, this scheduling strategy based on historical usage data also provides a basis for subsequent power supply timing arrangements, which helps to achieve long-term sustainable utilization of battery resources.
[0066] Step 405: Generate a power supply sequence of the target battery cell group according to the power supply sequence number of each storage battery.
[0067] Specifically, in order to achieve orderly scheduling of battery resources and smooth power supply, the system needs to generate a detailed power supply timing arrangement based on the determined power supply sequence number. The system first plans the specific power supply time arrangement for each battery in the order of the sequence number, starting from the battery with the smaller power supply sequence number according to the power supply quantity calculated previously, including key timing nodes such as start time, duration and switching time. This timing generation method based on the power supply sequence number takes into account the balance of battery usage intensity and system operation stability. For example, when 25 batteries are required to participate in the power supply task, the system will give priority to arranging batteries with power supply sequence numbers 1 to 25 to start power supply at the same time, and after running for a certain period of time, arrange batteries with sequence numbers 26 and later for replacement according to the preset rotation strategy, thereby realizing dynamic rotation and balanced use of batteries. Through this precise power supply timing arrangement, the system can ensure the continuity and stability of the power supply process, while realizing the rational use of battery resources.
[0068] Step 105: Based on the power supply quantity and power supply sequence of the target battery cell group, connect the target battery cell group to the data center to perform a power supply operation.
[0069] Specifically, in order to achieve reliable power supply and efficient use of battery resources in the data center, the system needs to perform specific power supply operations according to the predetermined power supply quantity and power supply sequence. The system first calls the corresponding number of batteries from the target battery cell group according to the calculated power supply quantity, and connects these batteries to the power supply system of the data center in an orderly manner through the power supply control module according to the generated power supply sequence arrangement. For example, when the number of power supplies is 25, the system will first synchronously connect the batteries with power supply sequence numbers 1 to 25 to the data center according to the power supply sequence instruction, start the power supply operation, and maintain the standby status monitoring of the remaining batteries. During the power supply process, the system continuously monitors the working status of each connected battery, including key parameters such as output voltage, current, and temperature, to ensure the stability and safety of the power supply process. When it is detected that a battery has reached the preset working time limit or the performance indicator is abnormal, the system will promptly call the standby battery with the next power supply sequence number for replacement according to the power supply sequence arrangement to ensure the continuity of power supply. Through this precise control based on power supply quantity and timing, the system can realize dynamic scheduling and balanced use of battery resources, which not only ensures the continuous and stable power supply of the data center, but also avoids excessive loss of battery resources, thereby improving the efficiency of freely adjusting the number of batteries used for power supply.
[0070] Based on the above embodiment, as an optional embodiment, in step 105: based on the power supply quantity and power supply sequence of the target battery cell group, the target battery cell group is connected to the data center to perform a power supply operation. This step may also include the following steps: Step 501: Obtain a preset power-on start time interval; determine the power-on start time of each battery in the target battery cell group according to the power-on timing of the target battery cell group and the preset power-on start time interval.
[0071] Among them, the preset power supply start time interval refers to the time difference between the power supply start operations of two adjacent batteries in the target battery unit group. This time interval is a control parameter preset by the system and is used to achieve staggered start-up and smooth access of the battery.
[0072] The power supply start time refers to the specific time point when each battery in the target battery cell group starts to perform the power supply operation. This time is the precise time value calculated by the system according to the power supply sequence and the preset power supply start time interval.
[0073] Specifically, in order to achieve smooth access to the battery and stable control of the power supply process, the system needs to reasonably arrange the specific power supply start-up time of each battery. The system first obtains the pre-set power supply start-up time interval, which is a control parameter determined based on the battery start-up characteristics, system responsiveness and power supply stability requirements. Then, the system assigns a specific start-up time to each battery participating in the power supply according to the power supply timing of the target battery unit group and the power supply start-up time interval. For example, when the power supply start-up time interval is set to 100 milliseconds, the system will set the first start-up time T0 for the battery with sequence number 1, the battery with sequence number 2 to T0+100 milliseconds, the battery with sequence number 3 to T0+200 milliseconds, and so on in the order of the power supply sequence number. This time interval-based peak-shifting start-up strategy can effectively avoid the impact of multiple batteries on the power grid and the instability of the system caused by the simultaneous start-up. By accurately controlling the start-up time of each battery, the system can achieve smooth access to battery resources and ensure the stability of the power supply process.
[0074] Step 502: When each battery starts to supply power, the power switches of the corresponding batteries and the data center are turned on in sequence until the number of batteries connected to the data center reaches the power supply quantity.
[0075] Specifically, to ensure the smooth transition of power supply in the data center and the stable operation of the system, the system needs to accurately control the access process of each battery according to the predetermined power supply start time. Through the power supply control module, when the power supply start time of each battery arrives, the system controls the corresponding power switch action in sequence to connect the battery to the power supply system of the data center. For example, when the first power supply start time T0 arrives, the system first controls the power switch of the battery with power supply sequence number 1 to close and start the power supply; when the time reaches T0+100 milliseconds, the system controls the power switch of the battery with power supply sequence number 2 to close, and so on. The system continues to execute this sequential access process until the number of connected batteries reaches the calculated power supply number. In this process, the system monitors the status of each power switch and the working parameters of the battery in real time to ensure the reliability of the switch action and the stability of the power supply. Through this precise timing control and gradual access method, the system can effectively avoid the power grid impact and system instability that may be caused by the simultaneous start of multiple batteries. This timing-based power switch control strategy not only ensures a smooth transition of the power supply process, but also provides the system with a clear fault location capability. When a battery fails during access, the system can quickly identify the problem battery and take appropriate measures to ensure the continued reliable operation of the power supply system. At the same time, this orderly access control also provides a reliable execution basis for subsequent battery rotation and maintenance management, improving the operating efficiency of the entire power supply system.
[0076] Based on the above embodiment, as an optional embodiment, in step 105: based on the power supply quantity and power supply sequence of the target battery cell group, the target battery cell group is connected to the data center to perform a power supply operation. After this step, the following steps may also be included: Step 601: Obtain the current remaining power of each battery in the target battery cell group.
[0077] Among them, the remaining power refers to the ratio of the available electrical energy currently stored in the battery to its rated capacity, usually expressed as a percentage. This value reflects the battery's current energy storage status and available energy level.
[0078] Specifically, in order to achieve accurate management of battery resources and dynamic optimization of the power supply process, the system needs to grasp the power status of each battery in the target battery cell group in real time. The system collects the voltage, current and other parameters of each battery through the power monitoring module in the battery management system, and calculates the current remaining power value of each battery in combination with the battery capacity characteristic curve. This remaining power is usually expressed as a percentage, reflecting the current available energy state of the battery. For example, the system can monitor that the remaining power of a battery is 85%, which indicates that the battery still maintains a high power supply capacity. By obtaining these remaining power data in real time, the system can accurately evaluate the power supply capacity and available time of each battery, providing a basis for subsequent power supply scheduling decisions. This real-time power-based monitoring mechanism enables the system to promptly detect batteries with low power and prevent power outages due to exhaustion of some batteries.
[0079] Step 602: For each battery, determine whether the remaining power is less than the power threshold; if the remaining power of the battery is less than the power threshold, select a battery in the target battery unit group that is not connected to the data center and has the highest remaining power as a replacement battery.
[0080] Specifically, in order to avoid power interruption due to battery exhaustion, the system needs to monitor the batteries that are supplying power in real time and replace them in time. The system first compares the remaining power of each battery with the preset power threshold, which is usually set to a power level with a safety margin, such as 20%, to ensure that there is enough time to complete the battery replacement without affecting the continuity of power supply. When the system detects that the remaining power of a battery that is supplying power is lower than the power threshold, it will immediately screen the batteries that are not participating in the power supply in the target battery cell group. During the screening process, the system will compare the remaining power of all standby batteries and select the battery with the highest remaining power as the replacement battery. This selection strategy can ensure the longest subsequent power supply time and reduce the frequency of battery replacement. For example, when it is detected that the remaining power of the battery with power supply sequence number 5 drops to 18%, the system will immediately select the battery with the highest remaining power (such as a battery with a remaining power of 95%) from the standby batteries as a replacement battery. Through this dynamic monitoring and timely replacement mechanism based on power thresholds, the system can ensure the continuity and stability of the power supply process. At the same time, the strategy of selecting the battery with the highest remaining power for replacement also helps to improve the utilization efficiency of battery resources, reduce the frequency of power supply switching, and reduce system maintenance costs. In addition, this intelligent battery replacement mechanism can also help the system achieve balanced control of battery usage intensity, extend the service life of the entire battery unit group, and improve the stability of the power supply system.
[0081] Step 603: Connect the replacement battery to the data center, and disconnect the power switch between the storage battery with a remaining power less than the power threshold and the data center.
[0082] Specifically, to ensure the continuity and stability of the power supply of the data center, the system needs to perform precise battery switching operations. When the replacement battery is determined, the system first controls the power switch of the replacement battery to close and connect it to the power supply system of the data center. After confirming that the replacement battery has been stably connected and is supplying power normally, the system controls the power switch of the battery with a remaining power lower than the power threshold to disconnect, so that it exits the power supply sequence. This switching strategy of connecting first and then disconnecting can effectively avoid power outages and power grid fluctuations. For example, when the system determines that a replacement battery with a remaining power of 95% is used to replace a power supply battery with a remaining power of 18%, it will first control the power switch of the replacement battery to close, and then disconnect the power switch of the original power supply battery after its output voltage and current are stable. In this process, the system will monitor the voltage and current changes during the switching process in real time to ensure the smooth operation of the switching operation. Through this orderly switching control, the system can achieve seamless battery replacement, which not only ensures the continuity of power supply, but also avoids power supply fluctuations that may occur during the switching process.
[0083] Reference Figure 2 , a system for freely adjusting the number of batteries provided by an embodiment of the present application, the system comprises: a data acquisition module, a power shortage determination module, a target battery cell group determination module, and a battery adjustment module, wherein: A data acquisition module, used to acquire the power grid status data, power load data and battery pack operation data of the data center; A power shortage determination module is used to divide each storage battery into a plurality of battery unit groups based on the internal resistance value and available power of each storage battery in the battery pack operation data; and calculate the power shortage of the data center based on the power grid status data and the power load data; A target battery cell group determination module is used to determine, in each battery cell group, a target battery cell group corresponding to the power shortage and a power supply quantity and a power supply sequence of the target battery cell group; The battery regulation module is used to connect the target battery cell group to the data center for power supply operation based on the power supply quantity and power supply sequence of the target battery cell group.
[0084] On the basis of the above embodiment, the power shortage determination module is also used to obtain a preset internal resistance value grading interval and a preset available power value grading interval; compare the internal resistance value of each battery with the preset internal resistance value grading interval to obtain the internal resistance value level corresponding to each battery; compare the available power of each battery with the preset available power value grading interval to obtain the available power level corresponding to each battery; based on the internal resistance value level and the available power level of each battery, the batteries with the same internal resistance value level and the same available power level are divided into a battery cell group to obtain a plurality of battery cell groups.
[0085] Based on the above embodiments, the power shortage determination module is also used to obtain the grid power supply power in the grid status data and the load power in the power load data; determine the actual grid power supply power based on the preset grid power supply efficiency and grid power supply power; determine the actual load power based on the preset power consumption coefficient and load power; and determine the difference between the actual load power and the actual grid power supply power as the power shortage of the data center.
[0086] On the basis of the above embodiments, the target battery cell group determination module is also used to obtain the unit power supply power and the number of available batteries corresponding to each battery cell group; the product of the unit power supply power of each battery cell group and the number of available batteries is used as the maximum power supply power of each battery cell group; multiple battery cell groups whose maximum power supply power is greater than the power shortage are screened out as candidate battery cell groups; among each candidate battery cell group, the battery cell group with the smallest difference between the unit power supply power and the power shortage is determined as the target battery cell group; the power shortage is divided by the unit power supply power of the target battery cell group to obtain the power supply quantity of the target battery cell group.
[0087] Based on the above embodiment, the target battery cell group determination module is also used to obtain the number of charge and discharge cycles of each battery in the target battery cell group; based on the number of charge and discharge cycles, each battery is sorted in ascending order to obtain the power supply sequence number corresponding to each battery; according to the power supply sequence number of each battery, the power supply timing of the target battery cell group is generated.
[0088] Based on the above embodiment, the battery regulation module is also used to obtain a preset power supply start time interval; determine the power supply start time of each battery in the target battery cell group according to the power supply timing of the target battery cell group and the preset power supply start time interval; at the power supply start time of each battery, turn on the power supply switch of the corresponding battery and the data center in turn until the number of batteries connected to the data center reaches the power supply number.
[0089] Based on the above embodiment, the battery adjustment module is also used to obtain the current remaining power of each battery in the target battery cell group; for each battery, determine whether the remaining power is less than the power threshold; if the remaining power of the battery is less than the power threshold, select a battery in the target battery cell group that is not connected to the data center and has the highest remaining power as a replacement battery; connect the replacement battery to the data center, and disconnect the power switch between the battery with a remaining power less than the power threshold and the data center.
[0090] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0091] The present application also discloses an electronic device. Figure 3 , Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
[0092] The communication bus 302 is used to realize the connection and communication between these components.
[0093] The user interface 303 may include a display interface and a camera interface. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0094] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0095] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface diagrams and applications, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
[0096] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally also be at least one storage device located away from the aforementioned processor 301. Refer to Figure 3 , the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program for a method for freely adjusting the number of batteries for a power source.
[0097] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call the application program stored in the memory 305 for a method for freely adjusting the number of batteries for a power supply, and when executed by one or more processors 301, the electronic device 300 executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0098] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0099] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0101] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0103] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0104] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not recorded in the present disclosure. The description and examples are to be regarded as exemplary only.
Claims
1. A method for freely adjusting the number of batteries for a power source, characterized in that: include: Obtain the data center's power grid status data, power load data, and battery pack operation data; Based on the internal resistance value and available power of each storage battery in the battery pack operation data, each storage battery is divided into a plurality of battery cell groups; Calculating the power shortage of the data center based on the power grid status data and the power load data; In each of the battery cell groups, determining a target battery cell group corresponding to the power shortage and a power supply quantity and a power supply sequence of the target battery cell group; Based on the power supply quantity and power supply sequence of the target battery cell group, the target battery cell group is connected to the data center to perform a power supply operation.
2. The method for freely adjusting the number of batteries for a power source according to claim 1, characterized in that: The method of dividing each storage battery into a plurality of battery cell groups based on the internal resistance value and available power of each storage battery in the battery pack operation data comprises: Obtaining a preset internal resistance value classification interval and a preset available power classification interval; Comparing the internal resistance value of each of the batteries with the preset internal resistance value classification interval to obtain the internal resistance value grade corresponding to each of the batteries; Comparing the available power of each of the batteries with the preset available power grading interval to obtain the available power level corresponding to each of the batteries; Based on the internal resistance level and the available power level of each of the batteries, the batteries with the same internal resistance level and the same available power level are divided into a battery cell group to obtain a plurality of battery cell groups.
3. The method for freely adjusting the number of batteries for power supply according to claim 1, characterized in that: The calculating the power shortage of the data center based on the power grid state data and the power load data includes: Acquire the grid power supply power in the grid state data and the load power in the power load data; Determining actual grid power supply power based on a preset grid power supply efficiency and the grid power supply power; Determining the actual load power based on a preset power consumption coefficient and the load power; A difference between the actual load power and the actual grid power supply power is determined as the power deficit of the data center.
4. The method for freely adjusting the number of batteries for power supply according to claim 1, characterized in that: The step of determining, in each of the battery cell groups, a target battery cell group corresponding to the power shortage and the power supply quantity of the target battery cell group comprises: Obtaining the unit power supply and the number of available batteries corresponding to each of the battery cell groups; The product of the unit power supply power of each battery cell group and the number of available batteries is taken as the maximum power supply power of each battery cell group; Screening out a plurality of battery cell groups whose maximum power supply power is greater than the power shortage as candidate battery cell groups; Among the candidate battery cell groups, determining a battery cell group having the smallest difference between the unit power supply power and the power shortage as the target battery cell group; The power shortage is divided by the unit power supply power of the target battery cell group to obtain the power supply quantity of the target battery cell group.
5. The method for freely adjusting the number of batteries for power supply according to claim 4, characterized in that: The step of determining, in each of the battery cell groups, a target battery cell group corresponding to the power shortage and a power supply timing sequence of the target battery cell group includes: Obtaining the number of charge and discharge cycles of each battery in the target battery cell group; Based on the number of charge and discharge cycles, the batteries are sorted in ascending order to obtain a power supply sequence number corresponding to each battery; A power supply sequence of the target battery cell group is generated according to the power supply sequence number of each of the storage batteries.
6. The method for freely adjusting the number of batteries for power supply according to claim 1, characterized in that: The step of connecting the target battery cell group to the data center to perform a power supply operation based on the power supply quantity and power supply timing of the target battery cell group includes: Obtaining a preset power supply start time interval; Determining the power supply start time of each battery in the target battery cell group according to the power supply timing of the target battery cell group and the preset power supply start time interval; At the power supply start-up time of each storage battery, the power supply switches of the corresponding storage battery and the data center are turned on in sequence until the number of storage batteries connected to the data center reaches the power supply quantity.
7. The method for freely adjusting the number of batteries for power supply according to claim 1, characterized in that: After connecting the target battery cell group to the data center for power supply operation based on the power supply quantity and power supply timing of the target battery cell group, the method further includes: Obtaining the current remaining power of each battery in the target battery cell group; For each of the batteries, determining whether the remaining power is less than a power threshold; If the remaining power of the storage battery is less than the power threshold, a storage battery that is not connected to the data center and has the highest remaining power is selected from the target battery unit group as a replacement battery; The replacement battery is connected to the data center, and the power supply switch between the storage battery with a remaining power less than the power threshold and the data center is disconnected.
8. A system for freely adjusting the number of batteries for power supply, characterized in that: The system comprises: A data acquisition module is used to acquire the power grid status data, power load data and battery pack operation data of the data center; A power shortage determination module, configured to divide each storage battery into a plurality of battery cell groups based on the internal resistance value and available power of each storage battery in the battery pack operation data; and calculate the power shortage of the data center based on the grid state data and the power load data; A target battery cell group determination module is used to determine, in each of the battery cell groups, a target battery cell group corresponding to the power shortage and a power supply quantity and a power supply sequence of the target battery cell group; The battery regulation module is used to connect the target battery cell group to the data center to perform power supply operation based on the power supply quantity and power supply timing of the target battery cell group.
9. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method for freely adjusting the number of batteries for a power supply as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method for freely adjusting the number of batteries for a power supply as described in any one of claims 1-7 is executed.
Citation Information
Patent Citations
Real-time coordination and control method of photovoltaic micro-grid system
CN104242337A
Novel battery grouping screening method
CN110147808A
Hierarchical grouping collaborative optimization scheduling method for retired power battery groups
CN110401189A
Microgrid system
CN111600330A