Oil engine charging method and device of energy storage system and storage medium
By acquiring historical operating characteristic parameters of the energy storage system and dynamically adjusting the generator charging parameters, the problems of fuel waste and insufficient charging in traditional generator charging methods are solved, achieving a more reliable and energy-saving charging solution.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN POWEROAK NEWENER CO LTD
- Filing Date
- 2026-01-22
- Publication Date
- 2026-06-05
Smart Images

Figure CN121546747B_ABST
Abstract
Description
Technical Field
[0001] This application relates to a generator charging method, device, and storage medium for energy storage systems, and belongs to the field of energy storage system technology. Background Technology
[0002] Energy storage systems are used to store and release electrical energy. Generally, an energy storage system includes multiple battery cells (such as individual cells or battery clusters), an external power supply device, and a load. The external power supply device charges the multiple battery cells, and the multiple battery cells power the load.
[0003] In a typical energy storage system, the external power supply equipment includes a diesel generator (i.e., a generator). When the energy storage system needs to be charged, the generator starts to charge the energy storage system, thereby maintaining the continuous power supply of the energy storage system to the load.
[0004] In traditional generator charging methods, a fixed generator charging period is set; during this period, the generator starts and charges the battery of the energy storage system.
[0005] However, this charging method based on the generator charging time period cannot dynamically adapt to changes in load and fluctuations in system operating status. Specifically:
[0006] If the generator charging period is too long, even if the battery is fully charged in advance or the user load is low, the generator will continue to run until the end of the charging period. This not only results in unnecessary fuel consumption, but also generates continuous noise when the generator is running.
[0007] If the generator charging period is too short, the generator will not be able to replenish enough power to the energy storage system. In the event that the generator stops running and the power grid is shut down for an extended period of time, the risk of the energy storage system going out of power due to the battery running out increases. Summary of the Invention
[0008] This application provides a method, apparatus, and storage medium for charging a generator in an energy storage system, which can solve the problems of fuel waste, prolonged noise duration, and insufficient charging capacity of the energy storage system that may result from using fixed generator charging parameters. This application provides the following technical solution:
[0009] In a first aspect, a method for charging a generator in an energy storage system is provided, the method comprising:
[0010] Obtain the historical operating characteristic parameters of the energy storage system within each of the N statistical time periods; where N is a positive integer;
[0011] Based on the historical operating characteristic parameters, the generator charging parameters for the future time period are determined; the generator charging parameters include the upper limit of the charging time for the generator to charge the energy storage system, and / or the upper limit of the energy charged by the generator to the energy storage system; the future time period refers to the time period after the N statistical time periods;
[0012] During the future time period, the generator is controlled to charge the energy storage system according to the generator charging parameters.
[0013] Optionally, when the generator charging parameters include the energy upper limit, determining the generator charging parameters for a future time period based on the historical operating characteristic parameters includes:
[0014] The energy gap of the energy storage system in the future time period is determined based on the historical operating characteristic parameters; wherein, the energy gap is used to indicate the additional energy required by the energy storage system due to the power demand of the load during the period when the energy storage system is not charging without oil.
[0015] The energy ceiling corresponding to the future time period is determined based on the energy gap.
[0016] Optionally, the historical operating characteristic parameters include the total downtime of the energy storage system and the total power consumption of the load;
[0017] Accordingly, determining the energy gap of the energy storage system in the future time period based on the historical operating characteristic parameters includes:
[0018] Determine the maximum total downtime of the energy storage system and the maximum total power consumption of the load over N statistical time periods;
[0019] The energy gap is determined based on the maximum total duration of the energy storage system's shutdown and the maximum total power consumption of the load.
[0020] Optionally, determining the energy gap based on the maximum total duration of the energy storage system's shutdown and the maximum total power consumption of the load includes:
[0021] Obtain the current charging time limit corresponding to the N statistical time periods;
[0022] Determine the difference between the total duration of each statistical time period minus the current charging duration limit and the maximum total duration of the energy storage system being out of service;
[0023] The energy gap is obtained by dividing the product of the maximum total power consumption of the load and the maximum total downtime of the energy storage system by the difference.
[0024] Optionally, determining the energy ceiling corresponding to the future time period based on the energy gap includes:
[0025] Obtain the current energy limit from the generator charging parameters corresponding to the N statistical time periods;
[0026] Determine the capacity ratio of the energy gap to the rated capacity of the energy storage system;
[0027] The sum of the current energy limit and the capacity ratio is determined to obtain the total energy.
[0028] The maximum value between the energy and the preset maximum energy value is determined to obtain the energy upper limit corresponding to the future time period.
[0029] Optionally, if the generator charging parameters include the upper limit of charging time, the historical operating characteristic parameters include the total generator charging time;
[0030] Accordingly, determining the generator charging parameters for a future time period based on the historical operating characteristic parameters includes:
[0031] Determine the maximum total charging time of the generator in N statistical time periods, and the upper limit of the current charging time in the generator charging parameters corresponding to the N statistical time periods;
[0032] When the maximum value of the total charging time of the generator is equal to the current charging time limit, the minimum value between the sum of the current charging time limit and the first preset time value and the preset upper limit of the total charging time of the generator is determined to obtain the upper limit of the charging time for the future time period.
[0033] If the maximum value of the total charging time of the generator is less than the current charging time limit, the minimum value between the sum of the maximum value of the total charging time of the generator and the second preset time value and the current charging time limit is determined to obtain the charging time limit for the future time period.
[0034] Optionally, determining the generator charging parameters for a future time period based on the historical operating characteristic parameters includes:
[0035] Determine whether to enable automatic parameter adjustment mode;
[0036] When the automatic parameter adjustment mode is activated, the step of determining the generator charging parameters for a future time period based on the historical operating characteristic parameters and subsequent steps are triggered.
[0037] Optionally, after controlling the generator to charge the energy storage system according to the generator charging parameters during the future time period, the method further includes:
[0038] If the energy storage system completes operation in a future time period and the future time period is the statistical time period, the operating characteristic parameters of the energy storage system in the future time period are stored as historical operating characteristic parameters. This triggers the execution of the step of determining the generator charging parameters in the future time period based on the historical operating characteristic parameters, and subsequent steps, in order to determine the generator charging parameters in the time period after the future time period.
[0039] In a second aspect, a generator charging device for an energy storage system is provided, the device comprising a processor and a memory; the memory stores a program, which is loaded and executed by the processor to implement the generator charging method for the energy storage system described in the first aspect.
[0040] Thirdly, a computer-readable storage medium is provided, wherein a program is stored in the storage medium, the program being loaded and executed by the processor to implement the generator charging method of the energy storage system described in the first aspect.
[0041] The beneficial effects of this application are as follows: By acquiring historical operating characteristic parameters of the energy storage system within each of N statistical time periods; determining the generator charging parameters for future time periods based on the historical operating characteristic parameters; the generator charging parameters include the upper limit of the charging duration for the generator to charge the energy storage system, and / or the upper limit of the energy charged by the generator to the energy storage system; controlling the generator to charge the energy storage system according to the generator charging parameters in the future time period; adaptively adjusting the generator charging parameters according to historical operating conditions to control the generator to use charging parameters closer to actual needs in the future time period, which can avoid the problems of fuel waste, long noise duration, and insufficient charging capacity of the energy storage system that may be caused by fixed generator charging parameters; improving the reliability of generator charging and saving resources.
[0042] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, the preferred embodiments of this application are described in detail below with reference to the accompanying drawings. Attached Figure Description
[0043] Figure 1 This is a flowchart of a generator charging method for an energy storage system provided in one embodiment of this application;
[0044] Figure 2 This is a flowchart of a generator charging method for an energy storage system provided in another embodiment of this application;
[0045] Figure 3 This is a block diagram of a generator charging device for an energy storage system provided in one embodiment of this application;
[0046] Figure 4 This is a block diagram of a generator charging device for an energy storage system provided in another embodiment of this application. Detailed Implementation
[0047] The specific embodiments of this application will be described in further detail below with reference to the accompanying drawings and examples. The following examples are used to illustrate this application, but are not intended to limit the scope of this application.
[0048] Figure 1 This is a flowchart of a generator charging method for an energy storage system according to one embodiment of this application. This embodiment illustrates the method applied to an energy storage system as an example. The energy storage system is connected to a generator, and the connection between the system and the generator can be controlled to start or stop the generator from charging the energy storage system. In other embodiments, this method can also be applied to a control device for controlling the energy storage system. This control device can be an electronic device with processing capabilities, such as a user terminal or a server. This embodiment does not limit the application scenario of this method. The method includes at least the following steps:
[0049] Step 101: Obtain the historical operating characteristic parameters of the energy storage system for each of the N statistical time periods. N is a positive integer.
[0050] The statistical time period is a time unit for statistically analyzing historical operational characteristic parameters. Optionally, the statistical time period can be a time period from a specified start time to a specified end time, such as the time period between 8:00 a.m. each day and 8:00 a.m. the next day; or a time period with a preset duration (i.e., a time period without a limited start and end time), such as a statistical time period of 24 hours, 12 hours, etc.; adjacent statistical time periods can be consecutive or spaced by a preset interval. This embodiment does not limit the way the statistical time period is set.
[0051] Optionally, the N statistical time periods refer to the N statistical time periods closest to the current time. N is a fixed value stored in the energy storage system, and N can be 5, 10, etc. This embodiment does not limit the value of N.
[0052] Optionally, the energy storage system updates the generator charging parameters every N statistical time periods, with the N statistical time periods corresponding to two adjacent updates of the generator charging parameters not overlapping. Accordingly, the energy storage system determines whether the current operating time satisfies a statistical time period; if not, it executes the step of determining whether the current operating time satisfies a statistical time period again. If a statistical time period is satisfied, the count of the statistical time period is incremented, and the historical operating characteristic parameters corresponding to that statistical time period are stored; it is then determined whether the count of the statistical time period is greater than or equal to N; if yes, the count is cleared and step 102 is executed; if not, the steps of incrementing the count of the statistical time period and storing the historical operating characteristic parameters corresponding to that statistical time period after each statistical time period of operation are triggered, and subsequent steps, until the energy storage system stops operating or receives an instruction to stop updating the generator charging parameters.
[0053] Historical operating characteristic parameters are used to indicate the energy supply and demand balance of the energy storage system and its dependence on external energy sources. For example, historical operating characteristic parameters include the total charging time of the generator, the total downtime of the energy storage system, and the total power consumption of the load.
[0054] The total generator charging time refers to the cumulative time during which the generator actually runs and charges the energy storage battery within each statistical period. The total generator charging time reflects the degree of dependence of the energy storage system on the generator; the longer the total generator charging time, the stronger the dependence, and the shorter the total generator charging time, the weaker the dependence.
[0055] The total downtime of the energy storage system refers to the cumulative time during which the energy storage system is unable to draw power from the grid or the generator (i.e., the generator is not running) and relies entirely on battery discharge to power the load within each statistical period.
[0056] Total load power consumption refers to the total electrical energy consumed (unit: kWh) by all loads coupled to the energy storage system within a statistical period. Total load power consumption is used to reflect the energy demand of the load.
[0057] In one example, historical operating characteristic parameters for N statistical time periods are stored in the energy storage system in the form of a two-dimensional array of M×N. Here, M represents the types of historical operating characteristic parameters, and M is a positive integer. For example, if the historical operating characteristic parameters include the total charging time of the generator, the total downtime of the energy storage system, and the total power consumption of the load, then M=3. Accordingly, the historical operating characteristic parameters are stored in the form of a two-dimensional array of 3×N matrix[2][4], as shown in Table 1 below.
[0058] Table 1 Two-dimensional array
[0059]
[0060] Among them, matrix[0][0] stores the total charging time of the generator in the first statistical time period of N statistical time periods, matrix[1][0] stores the total downtime of the energy storage system in the first statistical time period of N statistical time periods, and matrix[2][0] stores the total power consumption of the load in the first statistical time period of N statistical time periods; matrix[0][1] stores the total charging time of the generator in the second statistical time period of N statistical time periods, matrix[1][1] stores the total downtime of the energy storage system in the second statistical time period of N statistical time periods, and matrix[2][1] stores the total power consumption of the load in the second statistical time period of N statistical time periods; ... and so on, until matrix[0][N-1] stores the total charging time of the generator in the Nth statistical time period of N statistical time periods, matrix[1][N-1] stores the total downtime of the energy storage system in the Nth statistical time period of N statistical time periods, and matrix[2][ [N-1] stores the total power consumption of the load in the Nth statistical time period out of N statistical time periods.
[0061] In other implementations, historical operating characteristic parameters may also be stored in other forms for the energy storage system to read. This embodiment does not limit the storage form of historical operating characteristic parameters.
[0062] Step 102: Determine the generator charging parameters for the future time period based on historical operating characteristic parameters; the generator charging parameters include the upper limit of the charging time for the generator to charge the energy storage system, and / or the upper limit of the energy for the generator to charge the energy storage system.
[0063] The future time period refers to the time period after N statistical time periods. For example, the future time period is the (N+1)th statistical time period.
[0064] In one example, when the generator charging parameters include an energy limit, the generator charging parameters for future time periods are determined based on historical operating characteristic parameters. This includes: determining the energy gap of the energy storage system for future time periods based on historical operating characteristic parameters; and determining the energy limit corresponding to the future time periods based on the energy gap.
[0065] The energy gap is used to indicate the additional energy that the energy storage system needs to replenish due to the load's electricity demand during the period when the oil-free generator is not charging.
[0066] For example, historical operating characteristic parameters include the total downtime of the energy storage system and the total power consumption of the load. Accordingly, determining the energy gap of the energy storage system in future time periods based on historical operating characteristic parameters includes: determining the maximum value of the total downtime of the energy storage system and the maximum value of the total power consumption of the load in N statistical time periods; and determining the energy gap based on the maximum value of the total downtime of the energy storage system and the maximum value of the total power consumption of the load.
[0067] In this embodiment, the energy gap is determined based on the maximum total duration of the energy storage system's shutdown and the maximum total power consumption of the load. This ensures that the upper limit of energy determined based on the energy gap is sufficient to cope with the extreme operating conditions of generator charging in the future, thereby ensuring the reliability of charging according to the upper limit of energy.
[0068] In other embodiments, the energy gap can also be determined based on the average of the total downtime of the energy storage system and / or the average of the total power consumption of the load. This embodiment does not limit the method of determining the energy gap.
[0069] Optionally, the energy gap is determined based on the maximum total downtime of the energy storage system and the maximum total power consumption of the load, including:
[0070] Obtain the current charging time limit corresponding to N statistical time periods; determine the difference between the total duration of each statistical time period minus the current charging time limit and the maximum value of the total downtime of the energy storage system; determine the ratio of the product of the maximum total power consumption of the load and the maximum total downtime of the energy storage system divided by the difference to obtain the energy gap.
[0071] The generator charging parameters (including the current charging duration limit and the current energy limit) corresponding to the N statistical time periods refer to the generator charging parameters used when determining the generator charging parameters for future time periods based on the historical operating characteristic parameters of the N statistical time periods. The generator charging parameters are initialized to preset values. That is, for the 1st to Nth statistical time periods, the preset generator charging parameters are used to determine the generator charging parameters for the (N+1)th to 2Nth statistical time periods (i.e., future time periods relative to the 1st to Nth statistical time periods); for the (N+1)th to 2Nth statistical time periods, the generator charging parameters for the (N+1)th to 2Nth statistical time periods are used to determine the generator charging parameters for the (2N+1)th to 3Nth statistical time periods (i.e., future time periods relative to the (N+1)th to 2Nth statistical time periods), and this process is repeated.
[0072] The energy gap can be expressed by the following equation (1):
[0073] (1)
[0074] Wherein, NeedEnergy represents the energy gap; Max_Stop_RunTime represents the maximum total downtime of the energy storage system within N statistical time periods; Max_T_Energy represents the maximum total power consumption of the load within N statistical time periods; T represents the total duration of each statistical time period; End_ChargeH represents the end time of generator charging within each statistical time period; Start_ChergeH represents the start time of generator charging within each statistical time period; then End_ChargeH-Start_ChergeH represents the current upper limit of charging time.
[0075] As can be seen from the above formula, in this embodiment, the maximum value of the total load power consumption Max_T_Energy is distributed over the historical effective running time (T-(End_ChargeH-Start_ChergeH)-Max_Stop_RunTime) to obtain an average power demand. This power demand is then multiplied by the maximum value of the total downtime of the energy storage system (Max_Stop_RunTime) to estimate the maximum energy required during the downtime of the energy storage system, i.e., the energy gap.
[0076] In one example, determining the upper limit of energy for a future time period based on the energy gap includes:
[0077] Obtain the current energy limit from the generator charging parameters corresponding to N statistical time periods; determine the capacity ratio of the energy gap to the rated capacity of the energy storage system; determine the sum of the current energy limit and the capacity ratio to obtain the energy sum; determine the maximum value between the energy sum and the preset maximum energy value to obtain the energy limit for future time periods. The energy limit can be the remaining power (State of Charge, SOC) limit.
[0078] That is, the upper limit of energy corresponding to the future time period can be expressed by the following formula (2):
[0079] Max_Soc'=Min((Max_Soc+NeedEnergy / RateCapacity), Max) (2)
[0080] Where Max_Soc' represents the energy limit corresponding to the future time period; Min(·) represents taking the minimum value; Max_Soc represents the current energy limit; NeedEnergy represents the energy gap; RateCapacity represents the rated capacity of the energy storage system; Max represents the preset maximum energy value, for example: Max=100. In other embodiments, Max can also be other values. This embodiment does not limit the value of Max.
[0081] Optionally, before determining the energy limit corresponding to the future time period based on the energy gap, the energy storage system can also determine whether the total downtime of the energy storage system in the last statistical time period of the N statistical time periods is greater than 0; if so, it means that the energy storage system has an energy gap, triggering the execution of the step of determining the energy limit corresponding to the future time period based on the energy gap and the subsequent steps; if not, that is, the total downtime of the energy storage system is equal to 0, it means that the energy storage system does not have an energy gap, and the energy corresponding to the future time period is determined to be the current energy limit.
[0082] In another example, where the generator charging parameters include an upper limit on charging time, the historical operating characteristic parameters include the total generator charging time. Accordingly, determining the generator charging parameters for future time periods based on the historical operating characteristic parameters includes:
[0083] Determine the maximum total charging time of the generator within N statistical time periods, and the current upper limit of the charging time among the generator charging parameters corresponding to the N statistical time periods; if the maximum total charging time is equal to the current upper limit of the charging time, determine the minimum value between the sum of the current upper limit of the charging time and a first preset time value, and the preset upper limit of the total charging time, to obtain the upper limit of the charging time for the future time period; if the maximum total charging time is less than the current upper limit of the charging time, determine the minimum value between the sum of the maximum total charging time and a second preset time value, and the current upper limit of the charging time, to obtain the upper limit of the charging time for the future time period.
[0084] That is, assuming the maximum total charging time of the generator equals the current maximum charging time, the maximum charging time for future periods is expressed as follows:
[0085] End_ChargeH = Min(End_ChargeH + first preset duration value, End_ChargeH_Limit);
[0086] If the maximum total charging time of the generator is less than the current charging time limit, the charging time limit for the future period is expressed as follows:
[0087] End_ChargeH = Min(Max_Gen_ChargeTime + second preset duration value, End_ChargeH);
[0088] Wherein, End_ChargeH represents the upper limit of charging time in the future; Min(·) represents the minimum value; End_ChargeH represents the upper limit of current charging time; End_ChargeH_Limit represents the upper limit of the preset total charging time of the generator; and Max_Gen_ChargeTime represents the maximum value of the total charging time of the generator. Optionally, the first preset time value is greater than the second preset time value. For example, the first preset time value is 1 hour and the second preset time value is 0.5 hours. In other embodiments, the first preset time value and the second preset time value can also be other values. This embodiment does not limit the values of the first preset time value and the second preset time value.
[0089] Optionally, determining the generator charging parameters for a future time period based on historical operating characteristic parameters includes: determining whether to activate the automatic parameter adjustment mode; if the automatic parameter adjustment mode is activated, triggering the execution of the step of determining the generator charging parameters for a future time period based on historical operating characteristic parameters and subsequent steps, i.e., executing step 102 and the steps after 102.
[0090] The automatic parameter adjustment mode is a mode in which the energy storage system automatically adjusts the generator charging parameters based on historical operating characteristic parameters. For example, the energy storage system is equipped with a control control for the automatic parameter adjustment mode to activate or deactivate it. Accordingly, upon receiving an activation operation applied to the control control, the energy storage system sets the enable state of the automatic parameter adjustment mode to an enabled flag (e.g., 1); upon receiving a deactivation operation applied to the control control, the energy storage system sets the enable state of the automatic parameter adjustment mode to an disabled flag (e.g., 0). Determining whether to activate the automatic parameter adjustment mode includes: determining whether the enable state of the automatic parameter adjustment mode is 1; if yes, then activating the automatic parameter adjustment mode and executing step 102; if not, then deactivating the automatic adjustment mode. In this case, the energy storage system controls the generator to charge the energy storage system based on preset generator charging parameters.
[0091] Optionally, the preset generator charging parameters include, but are not limited to, the preset maximum charging time and / or the preset maximum energy.
[0092] Step 103: Control the generator to charge the energy storage system according to the generator charging parameters within the future time period.
[0093] For example, the generator charging parameters corresponding to the future time period include a maximum charging duration and a maximum energy limit. Accordingly, in response to a start charging command, the generator is controlled to charge the energy storage system; if the charging duration reaches the maximum charging duration corresponding to the future time period, or if the remaining energy of the energy storage system reaches the maximum energy limit corresponding to the future time period, the generator is controlled to stop charging the energy storage system.
[0094] Optionally, the energy storage system generates a start charging command when the current time reaches a preset start charging time; or, the energy storage system generates a start charging command when it receives a start charging operation. This embodiment does not limit the method of obtaining the start charging command.
[0095] Optionally, after controlling the generator to charge the energy storage system according to the generator charging parameters during a future time period, the method further includes:
[0096] If the energy storage system completes operation within a future time period, and this future time period is a statistical time period, the operating characteristic parameters of the energy storage system within this future time period are stored as historical operating characteristic parameters. This triggers the execution of the step to determine the generator charging parameters for the future time period based on the historical operating characteristic parameters, and subsequent steps, to determine the generator charging parameters for the time period following the future time period. That is, the future time period is treated as a statistical time period, and step 101 and subsequent steps are executed again. At this time, the upper limit of charging duration and the upper limit of energy corresponding to the future time period are used as the current upper limit of charging duration and the current upper limit of energy, respectively.
[0097] In summary, the generator charging method for the energy storage system provided in this embodiment obtains historical operating characteristic parameters of the energy storage system within each of N statistical time periods; determines generator charging parameters for future time periods based on these historical operating characteristic parameters; the generator charging parameters include the upper limit of charging duration for the generator to charge the energy storage system, and / or the upper limit of energy charged by the generator to the energy storage system; and controls the generator to charge the energy storage system according to the generator charging parameters during the future time period; the generator charging parameters can be adaptively adjusted according to historical operating conditions to control the generator to use charging parameters closer to actual needs during future time periods, which can avoid problems such as fuel waste, prolonged noise duration, and insufficient charging capacity of the energy storage system that may be caused by fixed generator charging parameters; improves the reliability of generator charging and saves resources.
[0098] In addition, by determining the upper limit of energy for future time periods based on the energy gap, it can be ensured that the upper limit of energy for future time periods can make up for the energy difference during periods when external energy is unavailable, thus ensuring the reliability of charging.
[0099] In addition, determining the energy gap based on the maximum total downtime of the energy storage system and the maximum total power consumption of the load can ensure that the upper limit of energy determined based on the energy gap is sufficient to cope with the extreme operating conditions of generator charging in the future period, thereby ensuring the reliability of charging according to the upper limit of energy.
[0100] Furthermore, if the maximum total charging time of the generator equals the current charging time limit, it indicates that the generator's current charging time limit has been fully utilized, and the generator is likely forced to stop charging. In this case, the current charging time limit is probably insufficient to meet the energy storage needs of the energy storage system. Therefore, extending the current charging time limit by a first preset time value can provide more margin for generator charging to cope with potentially increased charging demand and improve the power supply guarantee capability of the energy storage system. Simultaneously, setting a preset upper limit for the total generator charging time can prevent the charging time limit from being extended indefinitely. Conversely, if the maximum total charging time of the generator is less than the current charging time limit, it means that the actual charging time limit of the generator is always less than the current charging time limit. In this case, it is necessary to reduce the current charging time limit, i.e., determine the minimum value between the sum of the maximum total charging time and the second preset time value and the current charging time limit, to reduce unnecessary noise and fuel consumption.
[0101] To better understand the generator charging method for the energy storage system provided in this application, the method is described below by example. (Reference) Figure 2 The method includes:
[0102] Step 201: Obtain the current maximum charging time, current maximum electrical energy, rated capacity, and maximum total charging time of the generator when charging the energy storage system.
[0103] Step 202: Determine whether the current operating time of the energy storage system has reached a statistical time period; if yes, proceed to step 203; if no, proceed to step 202.
[0104] Step 203: Obtain and store the total charging time of the generator, the total downtime of the energy storage system, and the total power consumption of the load within the statistical time period;
[0105] Step 204: Increment the count value of the statistical time period by 1, and determine whether the updated count value of the statistical time period is greater than or equal to N; if yes, proceed to step 205; if no, proceed to step 202.
[0106] Step 205: Update the count value of the statistical time period to 0; determine the maximum value of the total charging time of the generator, the maximum value of the total shutdown time of the energy storage system, and the maximum value of the total power consumption of the load for each of the N statistical time periods.
[0107] Step 206: Determine whether the automatic parameter adjustment mode is activated; if yes, proceed to step 207; otherwise, the process ends and the energy storage system charges the energy storage system based on the preset generator charging parameters.
[0108] Step 207: Determine whether the total downtime of the energy storage system in the last statistical time period of the N statistical time periods is greater than 0; if yes, proceed to step 208; if no, determine that the energy corresponding to the future time period is the current energy limit; proceed to step 201.
[0109] Step 208: Determine the energy gap based on the maximum total duration of the energy storage system's shutdown and the maximum total power consumption of the load;
[0110] Step 209: Determine whether the maximum total charging time of the generator is equal to the current charging time limit; if yes, proceed to step 210; if less, proceed to step 211.
[0111] Step 210: Determine the minimum value between the sum of the current charging time limit and the first preset time value and the preset upper limit of the total charging time of the generator, to obtain the charging time limit for the future time period; when the future time period is reached, use the charging time limit and energy limit of the future time period as the current charging time limit and the current energy limit, respectively, and execute step 201.
[0112] Step 211: Determine the maximum value of the total charging time of the generator and the sum of the second preset time value, and the minimum value between the sum of the maximum value of the total charging time and the current charging time limit, to obtain the charging time limit for the future time period; when the future time period is reached, use the charging time limit and energy limit of the future time period as the current charging time limit and the current energy limit, respectively, and execute step 201.
[0113] Steps 209-211 can be executed before steps 207 and 208, or after steps 207 and 208, or synchronously with steps 207 and 208. This embodiment does not limit the execution order between steps 209-211 and steps 207-208.
[0114] For details, please refer to the above method implementation examples.
[0115] Figure 3 This is a block diagram of a generator charging device for an energy storage system according to an embodiment of this application. The device includes at least the following modules: a parameter acquisition module 310, a parameter estimation module 320, and a generator charging module 330.
[0116] Parameter acquisition module 310 is used to acquire historical operating characteristic parameters of the energy storage system in each of N statistical time periods; where N is a positive integer.
[0117] The parameter estimation module 320 is used to determine the generator charging parameters for a future time period based on the historical operating characteristic parameters; the generator charging parameters include the upper limit of the charging time for the generator to charge the energy storage system, and / or the upper limit of the energy charged by the generator to the energy storage system; the future time period refers to the time period after the N statistical time periods;
[0118] The generator charging module 330 is used to control the generator to charge the energy storage system according to the generator charging parameters during the future time period.
[0119] Optionally, when the generator charging parameters include the energy upper limit, the parameter estimation module 320 is used to:
[0120] The energy gap of the energy storage system in the future time period is determined based on the historical operating characteristic parameters; wherein, the energy gap is used to indicate the additional energy required by the energy storage system due to the power demand of the load during the period when the energy storage system is not charging without oil.
[0121] The energy ceiling corresponding to the future time period is determined based on the energy gap.
[0122] Optionally, the historical operating characteristic parameters include the total downtime of the energy storage system and the total power consumption of the load; correspondingly, the parameter estimation module 320 is used for:
[0123] Determine the maximum total downtime of the energy storage system and the maximum total power consumption of the load over N statistical time periods;
[0124] The energy gap is determined based on the maximum total duration of the energy storage system's shutdown and the maximum total power consumption of the load.
[0125] Optionally, the parameter estimation module 320 is specifically used for:
[0126] Obtain the current charging time limit corresponding to the N statistical time periods;
[0127] Determine the difference between the total duration of each statistical time period minus the current charging duration limit and the maximum total duration of the energy storage system being out of service;
[0128] The energy gap is obtained by dividing the product of the maximum total power consumption of the load and the maximum total downtime of the energy storage system by the difference.
[0129] Optionally, the parameter estimation module 320 specifically includes:
[0130] Obtain the current energy limit from the generator charging parameters corresponding to the N statistical time periods;
[0131] Determine the capacity ratio of the energy gap to the rated capacity of the energy storage system;
[0132] The sum of the current energy limit and the capacity ratio is determined to obtain the total energy.
[0133] The maximum value between the energy and the preset maximum energy value is determined to obtain the energy upper limit corresponding to the future time period.
[0134] Optionally, if the generator charging parameters include the upper limit of charging time, the historical operating characteristic parameters include the total generator charging time;
[0135] Accordingly, the parameter estimation module 320 is used for:
[0136] Determine the maximum total charging time of the generator in N statistical time periods, and the upper limit of the current charging time in the generator charging parameters corresponding to the N statistical time periods;
[0137] When the maximum value of the total charging time of the generator is equal to the current charging time limit, the minimum value between the sum of the current charging time limit and the first preset time value and the preset upper limit of the total charging time of the generator is determined to obtain the upper limit of the charging time for the future time period.
[0138] If the maximum value of the total charging time of the generator is less than the current charging time limit, the minimum value between the sum of the maximum value of the total charging time of the generator and the second preset time value and the current charging time limit is determined to obtain the charging time limit for the future time period.
[0139] Optionally, the parameter estimation module 320 is used for:
[0140] Determine whether to enable automatic parameter adjustment mode;
[0141] When the automatic parameter adjustment mode is activated, the step of determining the generator charging parameters for a future time period based on the historical operating characteristic parameters and subsequent steps are triggered.
[0142] Optionally, after controlling the generator to charge the energy storage system according to the generator charging parameters during the future time period, the system further includes: a parameter update module, used for:
[0143] If the energy storage system completes operation in a future time period and the future time period is the statistical time period, the operating characteristic parameters of the energy storage system in the future time period are stored as historical operating characteristic parameters. This triggers the execution of the step of determining the generator charging parameters in the future time period based on the historical operating characteristic parameters, and subsequent steps, in order to determine the generator charging parameters in the time period after the future time period.
[0144] For relevant details, please refer to the above method implementation examples.
[0145] It should be noted that the generator charging device for the energy storage system provided in the above embodiments is only illustrated by the division of the above functional modules when charging the generator of the energy storage system. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the generator charging device for the energy storage system can be divided into different functional modules to complete all or part of the functions described above. In addition, the generator charging device for the energy storage system provided in the above embodiments and the generator charging method embodiments for the energy storage system belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0146] Figure 4 This is a block diagram of a generator charging device for an energy storage system according to an embodiment of this application. The device includes at least a processor 401 and a memory 402.
[0147] Processor 401 may include one or more processing cores, such as a quad-core processor. Processor 401 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 401 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 401 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 401 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0148] The memory 402 may include one or more computer-readable storage media, which may be non-transitory. The memory 402 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 402 are used to store at least one instruction, which is executed by the processor 401 to implement the generator charging method for the energy storage system provided in the method embodiments of this application.
[0149] In some embodiments, the generator charging device of the energy storage system may optionally include: a peripheral device interface and at least one peripheral device. The processor 401, memory 402, and peripheral device interface can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface via a bus, signal line, or circuit board. Indicatively, the peripheral devices include, but are not limited to: radio frequency circuits, touch screens, audio circuits, and power supplies.
[0150] Of course, the generator charging device of the energy storage system may include fewer or more components, and this embodiment does not limit this.
[0151] Optionally, this application also provides a computer-readable storage medium storing a program that is loaded and executed by a processor to implement the generator charging method of the energy storage system described in the above method embodiments.
[0152] Optionally, this application also provides a computer product including a computer-readable storage medium storing a program that is loaded and executed by a processor to implement the generator charging method of the energy storage system described in the above method embodiments.
[0153] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for charging a generator in an energy storage system, characterized in that, The method includes: The historical operational characteristic parameters of the energy storage system are obtained for each of the N statistical time periods. The historical operational characteristic parameters include the total downtime of the energy storage system, the total power consumption of the load, and the total charging time of the generator; where N is a positive integer. Based on the historical operating characteristic parameters, the generator charging parameters for the future time period are determined; the generator charging parameters include the upper limit of the charging time for the generator to charge the energy storage system, and the upper limit of the energy charged by the generator to the energy storage system; the future time period refers to the time period after the N statistical time periods; Controlling the generator to charge the energy storage system according to the generator charging parameters during the future time period includes: responding to a start charging command, controlling the generator to charge the energy storage system; and controlling the generator to stop charging the energy storage system when the charging time reaches the upper limit of the charging time corresponding to the future time period or the remaining power of the energy storage system reaches the upper limit of the energy corresponding to the future time period. The process of determining the generator charging parameters for a future time period based on the historical operating characteristic parameters includes: Determine the maximum total downtime of the energy storage system, the maximum total power consumption of the load, and the maximum total charging time of the generator in N statistical time periods; Obtain the current charging time limit corresponding to the N statistical time periods; initialize the current charging time limit corresponding to the 1st to Nth statistical time periods to a preset value; Determine the difference between the total duration of each statistical time period minus the current charging duration limit and the maximum total duration of the energy storage system being out of service; The energy gap of the energy storage system in the future time period is obtained by dividing the product of the maximum value of the total power consumption of the load and the maximum value of the total downtime of the energy storage system by the difference; wherein, the energy gap is used to indicate the additional energy that the energy storage system needs to supplement due to the power demand of the load during the downtime period when the oil-free charging unit is not in operation. Based on the energy gap, determine the energy ceiling corresponding to the future time period; When the maximum value of the total charging time of the generator is equal to the current charging time limit, the minimum value between the sum of the current charging time limit and the first preset time value and the preset upper limit of the total charging time of the generator is determined to obtain the upper limit of the charging time for the future time period. If the maximum value of the total charging time of the generator is less than the current charging time limit, the minimum value between the sum of the maximum value of the total charging time of the generator and the second preset time value and the current charging time limit is determined to obtain the charging time limit for the future time period. If the energy storage system completes operation in the future time period and the future time period is a statistical time period, the charging time limit and energy limit corresponding to the future time period are used as the current charging time limit and current energy limit, respectively.
2. The method according to claim 1, characterized in that, Determining the energy ceiling corresponding to the future time period based on the energy gap includes: Obtain the current energy limit from the generator charging parameters corresponding to the N statistical time periods; Determine the capacity ratio of the energy gap to the rated capacity of the energy storage system; The sum of the current energy limit and the capacity ratio is determined to obtain the total energy. The maximum value between the energy and the preset maximum energy value is determined to obtain the energy upper limit corresponding to the future time period.
3. The method according to claim 1 or 2, characterized in that, The process of determining the generator charging parameters for a future time period based on the historical operating characteristic parameters includes: Determine whether to enable automatic parameter adjustment mode; When the automatic parameter adjustment mode is activated, the step of determining the generator charging parameters for a future time period based on the historical operating characteristic parameters and subsequent steps are triggered.
4. The method according to claim 1 or 2, characterized in that, After controlling the generator to charge the energy storage system according to the generator charging parameters during the future time period, the method further includes: If the energy storage system completes operation in a future time period and the future time period is the statistical time period, the operating characteristic parameters of the energy storage system in the future time period are stored as historical operating characteristic parameters. This triggers the execution of the step of determining the generator charging parameters in the future time period based on the historical operating characteristic parameters, and subsequent steps, in order to determine the generator charging parameters in the time period after the future time period.
5. A generator charging device for an energy storage system, characterized in that, The device includes a processor and a memory; the memory stores a program that is loaded and executed by the processor to implement the generator charging method for the energy storage system as described in any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that, The storage medium stores a program that, when executed by a processor, is used to implement the generator charging method of the energy storage system as described in any one of claims 1 to 4.