Energy storage system power regulation method based on photovoltaic power station and system thereof
By analyzing the fluctuation trends of photovoltaic power generation units and energy storage devices, a mapping relationship between cycles and operating commands is established, solving the problem of insufficient real-time sensing of photovoltaic output changes and energy storage device charge status in existing technologies, and realizing efficient and stable control of energy storage systems.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUNAN UNIV
- Filing Date
- 2026-03-04
- Publication Date
- 2026-05-08
AI Technical Summary
Existing power regulation technologies lack the ability to perceive changes in photovoltaic output and the state of charge of energy storage devices in real time, resulting in delayed or frequent switching of charging and discharging operations, affecting the responsiveness and stability of energy storage systems, and making it difficult to maintain adaptive regulation capabilities under complex operating scenarios.
By acquiring the instantaneous active power of photovoltaic power generation units and the state of charge of energy storage devices, analyzing their fluctuation trends, establishing a two-way trend matching logic, constructing a mapping relationship between cycles and operation commands, and combining command execution feedback to form a closed-loop identification result, the synchronous tracking of photovoltaic power output fluctuations and state of charge can be achieved, thereby optimizing the control strategy of the energy storage system.
It enhances the adaptability of the energy storage system to the state of power flow, improves the accuracy and timeliness of the control strategy, avoids the risk of misjudgment caused by static judgment methods, and ensures the stability and control efficiency of the photovoltaic power station energy storage system under complex operating conditions.
Smart Images

Figure CN121769977B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power regulation technology, and in particular to a power regulation method and system for energy storage systems based on photovoltaic power plants. Background Technology
[0002] The field of power regulation technology involves scheduling and control methods in the acquisition, conversion, transmission, storage, and use of electrical energy, covering grid operation management, power quality optimization, load balancing control, and power system stability regulation. By constructing multi-level regulation models, implementing dynamic regulation mechanisms, and utilizing predictive analysis, real-time monitoring and scheduling control of electrical energy flow can be achieved to improve the coordination and security of power system operation. In the regulation scenarios of energy storage systems, power regulation technology is particularly crucial. It ensures the continuity and responsiveness of power supply by rationally planning the charging and discharging states, operating sequences, and energy exchange paths of energy storage devices. Traditional power regulation methods for energy storage systems mainly manage the discharge power supply demand of energy storage devices during peak grid load periods and the charging energy absorption demand during off-peak load periods. This typically involves setting fixed charging and discharging time periods or threshold parameters based on historical data, combined with simple rule-based judgments using voltage and current detection values, and executing charging or discharging operations on the energy storage batteries using preset control commands, or connecting and disconnecting the energy storage devices from the grid through relay control loops, thereby completing basic power allocation operations.
[0003] Existing power regulation technologies mainly rely on preset fixed charging and discharging time periods or historical parameter thresholds for power regulation, lacking the ability to perceive current power fluctuations in real time. When encountering frequent changes in photovoltaic output or dynamic changes in the state of charge of energy storage devices, they cannot adjust control strategies in a timely manner, resulting in delayed charging and discharging operations or frequent switching, affecting the timeliness and stability of the energy storage system's response. Voltage and current sampling are only used as passive monitoring methods and are not deeply correlated with trend changes, which can easily lead to problems such as over- or under-response of energy storage devices. The regulation logic is biased towards a static execution mode and lacks a feedback adjustment mechanism that matches the actual operating state, which limits the adaptive regulation capability of the energy storage system in complex operating scenarios and makes it difficult to ensure the coordination and response efficiency of system operation. Summary of the Invention
[0004] To address the technical problems existing in the prior art, embodiments of the present invention provide a power regulation method for an energy storage system based on a photovoltaic power station, comprising the following steps:
[0005] To achieve the above objectives, the present invention adopts the following technical solution: a power regulation method for an energy storage system based on a photovoltaic power station, comprising the following steps:
[0006] S1: Obtain the current cycle value of the instantaneous active power output of the photovoltaic power generation unit, read the instantaneous active power of the previous cycle, calculate the power difference to determine the consistency of the change direction in continuous cycles, and generate a record of photovoltaic power output fluctuation trend.
[0007] S2: Collect the current cycle state of charge value of the photovoltaic power station energy storage device, read the state of charge value of the previous cycle, calculate the state of charge difference and compare the change type by comparing the range of the charge fluctuation response interval, and generate a record of the energy storage charge change trend.
[0008] S3: Based on the photovoltaic power output fluctuation trend record and the energy storage charge change trend record, filter the combination type where the power increases and the charge ratio is in a continuously increasing range, and mark the corresponding cycle number to generate energy storage response execution cycle data.
[0009] S4: Based on the number list in the energy storage response execution cycle data, establish a mapping of charging and discharging operation commands corresponding to each cycle, record the status of the execution flag bit of each command in the communication receipt, and generate energy storage operation feedback identification results;
[0010] S5: Based on the energy storage operation feedback identification results, summarize the execution results corresponding to the periodic instructions, record the changes in the output power curve of the photovoltaic power generation unit and the change trend of the state of charge of the energy storage device, and output the power regulation log of the photovoltaic power station energy storage system.
[0011] As a further aspect of the present invention, the process of classifying change types is carried out according to three directions: rising, stable, and falling.
[0012] As a further aspect of the present invention, the upward direction specifically refers to the state of charge difference being greater than one percent of the range of the charge fluctuation response interval.
[0013] The downward direction specifically refers to the fact that the state of charge difference is less than one-hundredth of the range of the charge fluctuation response interval.
[0014] The term "stable direction" specifically refers to the state of charge difference being within ±1% of the range of the charge fluctuation response interval.
[0015] As a further embodiment of the present invention, the photovoltaic power output fluctuation trend record includes a power fluctuation direction label, fluctuation continuity status, and cycle number index; the energy storage charge change trend record includes a charge state change direction, change trend label, and trend change interval identifier; the energy storage response execution cycle data includes a power-charge trend combination type, cycle matching response mark, and response cycle number list; the energy storage operation feedback identification result includes an execution flag status, command receipt identifier, and cycle execution feedback data; and the photovoltaic power station energy storage system power control log includes an output power curve change record, charge state trend trajectory, and cycle control execution summary.
[0016] As a further aspect of the present invention, the step of obtaining the photovoltaic power output fluctuation trend record is as follows:
[0017] S111: Obtain the instantaneous voltage and instantaneous current values output by the photovoltaic power generation unit, and combine them with the time resolution parameters within the current control cycle. Perform point-by-point product calculation on the instantaneous voltage and instantaneous current values at the corresponding moments. Based on the calculation results, perform integration processing on the time length within the current control cycle and perform normalization calculation to generate the instantaneous active power data for this cycle.
[0018] S112: Based on the instantaneous active power data of this cycle and the instantaneous active power reference value recorded in the previous control cycle, the numerical difference between the two is calculated, and the sign state of all power differences in three consecutive control cycles is monitored. It is determined whether the sign state of all power differences is consistent, and the determination result is recorded to obtain the continuous cycle power change direction characteristic data.
[0019] S113: Based on the continuous periodic power change direction characteristic data, classify the trend of the power difference change direction in the current control cycle, construct a fluctuation trend time series, and generate a photovoltaic output fluctuation trend record.
[0020] As a further aspect of the present invention, the step of obtaining the energy storage charge change trend record is as follows:
[0021] S211: Collect the percentage value of state of charge in the current control cycle of the photovoltaic power station energy storage device, and at the same time read the percentage value of state of charge recorded in the previous control cycle. Perform a numerical difference calculation operation based on the percentage value of state of charge in the two cycles to obtain the energy storage state of charge difference data.
[0022] S212: Based on the energy storage state of charge difference data and combined with the range of the charge fluctuation response interval, the range of the state of charge difference value is determined by numerical interval positioning. The lower limit of the upward judgment is set to positive 1% of the charge fluctuation response interval, and the upper limit of the downward judgment is set to negative 1% of the charge fluctuation response interval. The state of charge difference is divided according to whether it is greater than positive 1%, less than negative 1%, or between the two, to obtain the charge change interval type label.
[0023] S213: Based on the charge change interval type label, perform type matching mapping on the type corresponding to the charge state change trend of the current period, and perform structured arrangement and combination with the label sequence of continuous periods. Combine the arrangement and combination results with the timestamp information to form a time series structure and obtain the energy storage charge change trend record.
[0024] As a further aspect of the present invention, the step of obtaining the energy storage response execution cycle data is as follows:
[0025] S311: Based on the photovoltaic power output fluctuation trend record and the energy storage charge change trend record, the period number field of the two types of trend records is aligned with the timestamp parameter, and the two types of trend data are paired according to the period number as the index item to generate a trend record pairing sequence.
[0026] S312: Based on the photovoltaic trend label and charge trend label corresponding to each period in the trend record pairing sequence, filter out the period combinations that simultaneously satisfy the photovoltaic output trend and the energy storage charge trend, record the corresponding period number, and obtain the list of upward trend combination numbers.
[0027] S313: Based on the list of upward trend combination numbers, map the corresponding cycle numbers, assign an energy storage response status identifier to the identifier field, record the data writing and status labeling of the cycle response status, and obtain the energy storage response execution cycle data.
[0028] As a further aspect of the present invention, the step of obtaining the energy storage operation feedback identification result is as follows:
[0029] S411: Based on the cycle number list in the energy storage response execution cycle data, establish an index structure that corresponds one-to-one with each cycle number for charging instructions, discharging instructions, pause instructions and maintenance mode instructions, map each cycle number to the type of operation to be performed, and generate an energy storage operation instruction mapping table.
[0030] S412: Based on the operation type instruction content set in each cycle of the energy storage operation instruction mapping table, establish a serial communication link, transmit the control instructions of the corresponding cycle in sequence and write them into the distribution queue, and obtain the energy storage control instruction distribution data frame set.
[0031] S413: For each communication instruction corresponding to the data frame set of the energy storage control instruction, listen to the communication receipt data packet and parse the flag status information therein, classify and integrate the execution flag status of the instructions issued in each cycle, and obtain the energy storage operation feedback identification result.
[0032] As a further aspect of the present invention, the steps for obtaining the power regulation log of the photovoltaic power station energy storage system are as follows:
[0033] S511: Based on the execution status flag bits of each cycle instruction in the energy storage operation feedback identification result, the flag bits are searched one by one, the flag values are aggregated to form the cycle numbers of executed and unexecuted cycles, and the execution success rate of each type of control command is calculated to generate an energy storage instruction execution statistics matrix.
[0034] S512: Based on the list of cycle numbers of completed instructions in the energy storage instruction execution statistics matrix, the active power sequence data output by the photovoltaic power generation unit in the corresponding time period is obtained in advance, and the power curve is processed by time serialization. The change curve is constructed by the power values at adjacent time points to obtain the photovoltaic power output curve data.
[0035] S513: Based on the photovoltaic power output curve data and the corresponding cycle number and instruction type label in the energy storage instruction execution statistics matrix, simultaneously extract the percentage value of the energy storage state of charge changing with the cycle, and aggregate the three types of data into a unified structure in chronological order to establish a power regulation log for the photovoltaic power station energy storage system.
[0036] The energy storage system power regulation system based on photovoltaic power plants includes:
[0037] The power fluctuation extraction module is used to execute S1: obtain the current cycle value of the instantaneous active power output by the photovoltaic power generation unit, read the instantaneous active power of the previous cycle, calculate the power difference to determine the consistency of the change direction in continuous cycles, and generate a photovoltaic power output fluctuation trend record.
[0038] The charge amplitude analysis module is used to execute S2: collect the current cycle state of charge value of the photovoltaic power station energy storage device, read the state of charge value of the previous cycle, calculate the state of charge difference and compare the charge fluctuation response range to classify the change type, and generate a record of the energy storage charge change trend.
[0039] The response cycle determination module is used to execute S3: based on the photovoltaic power output fluctuation trend record and the energy storage charge change trend record, filter the combination type where the power increases and the charge ratio is in the range of continuous increase, mark the corresponding cycle number with response, and generate energy storage response execution cycle data.
[0040] The control command generation module is used to execute S4: based on the number list in the energy storage response execution cycle data, establish a mapping of charging and discharging operation commands corresponding to each cycle, record the status of the execution flag bit of each command in the communication receipt, and generate energy storage operation feedback identification results;
[0041] The closed-loop module of the control process is used to execute S5: based on the energy storage operation feedback identification results, summarize the execution results corresponding to the periodic instructions, record the changes in the output power curve of the photovoltaic power generation unit and the change trend of the state of charge of the energy storage device, and output the power control log of the photovoltaic power station energy storage system.
[0042] Compared with the prior art, the advantages and positive effects of the present invention are as follows:
[0043] In this invention, by periodically analyzing the continuous change direction of photovoltaic output power and the dynamic trend of energy storage state of charge, a two-way trend matching logic is constructed and key response cycles are extracted. Based on this, a mapping relationship between the cycle and operation commands is established, and a closed-loop identification result is formed by combining command execution feedback. This enables synchronous tracking of photovoltaic power output fluctuations and state of charge evolution trends, enhances the adaptability of the energy storage system to the state of power flow, improves the accuracy and timeliness of the control strategy, avoids the risk of misjudgment caused by static judgment methods, effectively optimizes the response behavior and energy distribution strategy of energy storage equipment under complex operating conditions, and ensures the stability and control efficiency of the photovoltaic power station energy storage system during operation. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a schematic diagram of the steps of the present invention;
[0046] Figure 2 This is a flowchart illustrating the process of obtaining photovoltaic power output fluctuation trend records according to the present invention.
[0047] Figure 3 This is a flowchart illustrating the process of obtaining the energy storage charge change trend record of the present invention;
[0048] Figure 4 This is a flowchart illustrating the process of acquiring energy storage response execution cycle data according to the present invention.
[0049] Figure 5 This is a flowchart illustrating the process of obtaining the energy storage operation feedback identification results of the present invention.
[0050] Figure 6 This is a flowchart illustrating the process of obtaining the power regulation log of the photovoltaic power station energy storage system according to the present invention.
[0051] Figure 7 This is a system module diagram of the present invention. Detailed Implementation
[0052] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0053] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.
[0054] In the embodiments of the present invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that when the distinction is not emphasized, their intended meanings are consistent.
[0055] In this embodiment of the invention, sometimes a subscript such as W1 may be written in a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.
[0056] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0057] Please see Figure 1 This invention provides a method for regulating the power of an energy storage system based on a photovoltaic power plant, comprising the following steps:
[0058] S1: Obtain the current cycle value of the instantaneous active power output by the voltage sampling module and current sampling module set in the photovoltaic power generation unit, record it as the power value of this cycle, read the instantaneous active power recorded in the previous cycle as the reference value, calculate the power difference between the power value of this cycle and the reference value, determine the consistency of the change direction of the power difference in three consecutive control cycles, and generate a photovoltaic power output fluctuation trend record.
[0059] S2: Collect the current cycle state of charge value of the battery management system in the photovoltaic power station energy storage device as the current charge ratio, read the state of charge value of the previous cycle as the reference ratio, calculate the difference between the current charge ratio and the reference ratio, compare the charge state difference with the charge fluctuation response range, classify the change type according to the three directions of rising, stable and falling, and generate a record of energy storage charge change trend.
[0060] The lower limit for determining an increase is positive 1% of the range of charge fluctuation response, and the upper limit for determining a decrease is negative 1% of the range of charge fluctuation response. If the difference is greater than positive 1%, it is classified as an increase; if the difference is less than negative 1%, it is classified as a decrease; if the difference is between positive and negative 1%, it is classified as a stable state.
[0061] S3: Based on the photovoltaic power output fluctuation trend record and the energy storage charge change trend record, cross-pair the two types of trend records to make judgments, screen the combination type where the power increases and the charge ratio is in the range of continuous increase, and mark the corresponding cycle number to generate energy storage response execution cycle data.
[0062] S4: Based on the number list in the energy storage response execution cycle data, establish a mapping of charging and discharging operation commands corresponding to each cycle in the embedded controller. Connect the power conversion system and the main control board of the energy storage device through the built-in communication port of the controller, and issue high-rate charging commands, maintenance mode commands or pause commands accordingly. Record the status of the execution flag bit of each command in the communication receipt and generate energy storage operation feedback identification results.
[0063] S5: Based on the energy storage operation feedback identification results, summarize the execution results corresponding to the periodic instructions, record the changes in the output power curve of the photovoltaic power generation unit and the change trend of the state of charge of the energy storage device, and output the power regulation log of the photovoltaic power station energy storage system.
[0064] The photovoltaic power output fluctuation trend record includes power fluctuation direction label, fluctuation continuity status, and cycle number index; the energy storage charge change trend record includes charge state change direction, change trend label, and trend change interval identifier; the energy storage response execution cycle data includes power-charge trend combination type, cycle matching response mark, and response cycle number list; the energy storage operation feedback identification results include execution flag status, command receipt identifier, and cycle execution feedback data; and the photovoltaic power plant energy storage system power control log includes output power curve change record, charge state trend trajectory, and cycle control execution summary.
[0065] Please see Figure 2 The specific steps of S1 are as follows:
[0066] S111: Obtain the instantaneous voltage and instantaneous current values output by the photovoltaic power generation unit, and combine them with the time resolution parameters within the current control cycle. Perform point-by-point product calculation on the instantaneous voltage and instantaneous current values at the corresponding moments. Based on the calculation results, perform integration processing on the time length within the current control cycle and perform normalization calculation to generate the instantaneous active power data for this cycle.
[0067] To obtain the instantaneous voltage and current values output by the voltage and current sampling modules of the photovoltaic power generation unit, synchronous acquisition of voltage and current is required at the start of the control cycle. The sampling frequency should be no less than 20kHz to ensure sufficient data points are obtained within the 50Hz grid cycle. For example, if the sampling frequency is 25kHz, 500 data points can be acquired within each 20ms cycle. The sampling time is set as... Record the corresponding instantaneous voltage values respectively. and current value The instantaneous power sequence is calculated by performing point-by-point multiplication of the instantaneous voltage and instantaneous current at each sampling time. This product sequence represents the instantaneous change in photovoltaic output power. For example, if the voltage is 230V and the current is 4.5A at a certain moment, the corresponding instantaneous power is... If 500 data points are collected in this manner, the power sequence for that period can be obtained. Therefore, based on the time interval within the period Perform an integration operation on the sequence, sum all products, and multiply by the time interval. The calculation formula is as follows:
[0068]
[0069] in This indicates the control cycle length, taken as 20ms, which is 0.02s. Given the number of sampling points, and substituting the aforementioned data, let's assume the summation of the power sequence is:
[0070]
[0071] At this point, this value needs to be normalized to the periodic average power using the formula:
[0072]
[0073] This verifies the consistency of the average power value for this cycle, and finally obtains the instantaneous active power data for this cycle, as shown in Table 1, which presents the sampled data segments and corresponding calculated values:
[0074] Table 1. Examples of voltage, current, and power sampling for this cycle.
[0075] Sampling sequence number Voltage (V) Current (A) Instantaneous power (W) 1 229.5 4.52 1037.34 2 230.1 4.48 1030.85 3 229.8 4.50 1034.10 … … … … 500 230.2 4.51 1039.20
[0076] Table 1 lists the voltage, current, and instantaneous power data at some sampling times. The above process can be used to integrate and normalize the power data to obtain the average active power for this period, which can be used as a basis for subsequent comparisons.
[0077] S112: Based on the instantaneous active power data of this cycle and the instantaneous active power reference value recorded in the previous control cycle, the numerical difference between the two is calculated, and the sign state of all power differences in three consecutive control cycles is monitored. It is determined whether the sign state of all power differences is consistent, and the determination result is recorded to obtain the power change direction characteristic data of the continuous cycle.
[0078] To extract the difference between the instantaneous active power data of the current control cycle and the active power record value stored in the previous control cycle, the corresponding record value from the previous cycle must first be retrieved. For example, if the active power in the current cycle is 1035W and the recorded value in the previous cycle is 1010W, then the difference is calculated as follows: Record the difference in the difference sequence. The direction of the difference change is recorded in three consecutive control cycles, i.e., the sign of the difference is determined. If the signs of the three differences are the same, it can be determined that the direction of power change in that interval is consistent. , , If all three values are positive, their direction of change is consistent. If any value has a different sign, it is considered an inconsistent state. A condition for this is a comparison of the consistency of the sign function, and the formula is:
[0079]
[0080] If true, it is determined to be a consistent direction state. This consistency result is used as continuous periodic power change direction characteristic data for further trend extraction. A sign function can be used to determine the sign of the power difference. The return value is 1 (positive), 0 (zero), or -1 (negative). The specific judgment logic is detailed below:
[0081] If the power difference of the three cycles is The symbol sequence is then The results were consistent;
[0082] If the power difference of the three cycles is The symbol sequence is then The results were inconsistent.
[0083] This judgment process generates a continuous periodic power change direction characteristic value, which is used to identify whether the power change is continuous.
[0084] S113: Based on the continuous periodic power change direction characteristic data, classify the trend of the power difference change direction in the current control cycle, construct the fluctuation trend time series, and generate photovoltaic output fluctuation trend record;
[0085] Based on the characteristic value of the direction of power change in continuous cycles, a trend recording action is performed according to the determination result. If the characteristic value is consistent, it is determined that the current cycle has the same power change direction as the previous two cycles. The direction of the power difference change in the current cycle needs to be classified and coded as "positive increase" or "negative decrease". Then, the directional codes of the most recent few cycles are aggregated to construct a time series. For example, if the change direction of the previous five cycles is as follows: Then the trend vector is constructed as follows This is used to identify whether power fluctuations show a continuous upward or downward trend. The trend vector is then combined with the current timestamp and annotated into the trend recording matrix, with the matrix structure as follows:
[0086] Table 2. Record of Photovoltaic Output Fluctuation Trend
[0087] Periodic number Power difference (W) Direction of change Timestamp t-4 +18 rise 10:20:00.000 t-3 +20 rise 10:20:00.020 t-2 +22 rise 10:20:00.040 t-1 -10 decline 10:20:00.060 t -15 decline 10:20:00.080
[0088] As shown in Table 2, the positive and negative directions of the power difference changes are recorded in the time series dimension. The resulting sequence is the photovoltaic output fluctuation trend record, which serves as the basic record structure for the system to track the output state change trend and is used for subsequent state assessment and response mechanism setting. By aggregating the power difference and directional judgment, this record can achieve trend segmentation identification and change trajectory presentation.
[0089] Please see Figure 3 The specific steps of S2 are as follows:
[0090] S211: Collect the percentage value of state of charge in the current control cycle of the photovoltaic power station energy storage device, and at the same time read the percentage value of state of charge recorded in the previous control cycle. Perform a numerical difference calculation operation based on the percentage value of state of charge in the two cycles to obtain the energy storage state of charge difference data.
[0091] The current cycle state of charge percentage (SOP) value of the battery management system in the photovoltaic power station's energy storage device is collected. First, the SOP output by the battery management system in the current cycle is analyzed and expressed as a standardized percentage, denoted as [example value]. For the current period, for example, if the collected value is 78.65% at a certain moment, it is recorded as... Then, the system retrieves the state of charge value from the previous cycle. If the value is 76.80%, then the state of charge values for the two cycles are loaded into the calculation module, and a difference operation is performed on the two. ,Right now In the difference calculation process, standard floating-point data format is used to retain three decimal places. The result data is stored in the state of charge difference buffer and labeled with the corresponding timestamp for subsequent trend analysis and trend coding. Taking a sampling frequency of 10 seconds per cycle as an example, a set of state of charge data is recorded every 10 seconds. By comparing the differences, the degree of change in the state of charge of the energy storage system in continuous cycles can be revealed. To verify the rationality of this process, three sets of state of charge data from continuous cycles are listed in Table 3:
[0092] Table 3. Data on the continuous cycle state of charge variation of energy storage devices
[0093] Periodic number Current percentage of charge (%) Percentage of charge in the previous cycle (%) Difference (%) t-2 76.80 76.10 0.70 t-1 78.65 76.80 1.85 t 80.15 78.65 1.50
[0094] The values listed in Table 3 are periodically output by the energy storage device management system and processed by difference calculation, serving as the basic data source for energy storage state of charge difference data.
[0095] S212: Based on the energy storage state of charge difference data and combined with the range of the charge fluctuation response interval, the value range of the state of charge difference is determined by numerical range positioning. The lower limit of the upward judgment is set as positive 1% of the charge fluctuation response interval, and the upper limit of the downward judgment is negative 1% of the charge fluctuation response interval. The charge change interval type label is obtained according to whether the state of charge difference is greater than positive 1%, less than negative 1%, or located in between.
[0096] Based on the energy storage state of charge difference data, the charge fluctuation response range is set to 1% above and below the full charge range, i.e., a threshold of ±1%, corresponding to upper and lower limits of +1.00% and -1.00%, respectively. The preceding difference data... Compared to this threshold, the differences are categorized based on whether they fall within three different intervals. If it is, then it is classified as "rising". If it is, then it is classified as "decline". If it is stable, it is classified as "stable", such as the second cycle in Table 3 above. Therefore, it is classified as "rising", the third cycle. It also belongs to the "rising" category, and the first cycle If the value falls within the range, it is classified as "stable". The classification process adopts a three-stage logical judgment structure. The trend label of the charge change is determined by the numerical range. The label form adopts an enumeration identifier, namely {rising, stable, falling}, which is used for subsequent trend structure assembly and label sequence construction. Finally, the charge change range type label is output.
[0097] S213: Based on the charge change interval type label, the type corresponding to the charge state change trend of the current period is matched and mapped, and the type is arranged and combined with the label sequence of continuous periods in a structured manner. The arrangement and combination results are combined with the timestamp information to form a time series structure to obtain the energy storage charge change trend record.
[0098] Based on the charge change range type label, the labels from the previous period to the current period are sequentially combined into a label sequence. Each label is paired with its corresponding period and a corresponding timestamp is attached to construct a trend time matrix. Labels such as "rising" indicate a continuous increase in the state of charge (SOC), "stable" indicate that the SOC difference changes slightly within a set response range, and "falling" indicate that the SOC decreases by more than a threshold. The structure uses a key-value pair structure to record the mapping relationship of time labels, which is then organized into a trend record sequence and output as a structured data table, as shown in Table 4.
[0099] Table 4 Record of Energy Storage Charge Change Trend
[0100] Periodic number Difference (%) Interval Labels Timestamp t-2 0.70 smooth 14:20:00.000 t-1 1.85 rise 14:20:10.000 t 1.50 rise 14:20:20.000
[0101] The trend record sequence given in Table 4 is arranged in chronological order. The label data clearly records the type of change in state of charge within a continuous period, and finally establishes a record of the energy storage charge change trend.
[0102] Please see Figure 4 The specific steps of S3 are as follows:
[0103] S311: Based on the photovoltaic power output fluctuation trend record and the energy storage charge change trend record, the period number field of the two types of trend records is aligned with the timestamp parameter, and the two types of trend data are paired according to the period number as the index item to generate a trend record pairing sequence.
[0104] By combining the photovoltaic power output fluctuation trend records and the energy storage charge change trend records, the cycle number and trend type fields of each trend record are first analyzed. Following a unified time series structure, the timestamp field is extracted from both types of trend records and sorted in ascending order. Then, a cycle number mapping matrix is established based on the sorting results. Each cycle number is used as a key index item to retrieve the photovoltaic power output trend type and charge change trend type within the corresponding time period. It is determined whether there is a one-to-one correspondence between the two trends on the timestamp. If a cycle exists only in a certain trend sequence, it is marked as missing and removed from the pairing matrix. Cycle numbers that exist simultaneously in both types of trend records are retained through bidirectional intersection matching, and a correspondence is established between them. The record format adopts a nested key-value pair structure, where the primary key is the cycle number, and the subkeys are the photovoltaic trend field and the charge trend field, respectively. Under this structure, for example, the record with cycle number t=203 is: {203: {Power Output Trend: Rising, Charge Trend: Stable}}. The cross-combination construction of all valid cycles is completed sequentially. Sample results are shown in Table 5.
[0105] Table 5. Example of trend pairing sequence construction
[0106] Periodic number Photovoltaic power output trend Energy storage charging trend 201 rise rise 202 smooth rise 203 rise smooth 204 rise rise
[0107] As shown in Table 5, periods 201 and 204 are cross-pairable periods that simultaneously meet the conditions. After their trend records are aligned, they form a unified structured sequence, which ultimately generates a trend record pairing sequence.
[0108] S312: Based on the photovoltaic trend label and charge trend label corresponding to each period in the trend record pairing sequence, filter out the period combinations that simultaneously satisfy the upward trend of photovoltaic output and the upward trend of energy storage charge, record the corresponding period number, and obtain the list of upward trend combination numbers.
[0109] Based on the output trend label and charge trend label corresponding to each cycle in the trend record pairing sequence, the label combination corresponding to each cycle number is read row by row from Table 5. It is determined whether the photovoltaic output trend field is equal to "rising" and whether the charge trend field is also "rising". If both fields meet the combination condition, the cycle number is marked as a valid cycle that meets the combination screening logic. Otherwise, it is skipped and not included in the screening results. The double condition judgment is executed through the logical judgment statement. The logical structure is IF (output trend rising AND charge trend rising). The string "rising" is matched exactly. If the characters do not match, it is automatically classified as a non-compliant cycle. In Table 5, cycles 201 and 204 both meet the above screening rules, while cycles 202 and 203 only meet a single condition. Therefore, they are excluded from the screening result set. The final filtered output cycle numbers are {201, 204}. The list of these numbers is organized into an array format for recording and output as a list of rising trend combination numbers.
[0110] S313: Based on the list of combination numbers with an upward trend, map the corresponding cycle numbers and assign an energy storage response status identifier to the identifier field. Record the data writing and status labeling of the cycle response status to obtain the energy storage response execution cycle data.
[0111] Based on the cycle number array {201, 204} extracted from the list of upward trend combination numbers, state mapping processing is first performed on each cycle number. A preset energy storage strategy parameter set is called to extract the response control template field. The corresponding field content indicates the response cycle number field and the execution status identifier field. The response status identifier is set to a value of 1 indicating that a response is required, and a value of 0 indicating that no response is required. Therefore, for cycles 201 and 204, the corresponding identifier field is assigned a value of 1. After completing the state injection operation, the number and status identifier are combined to form a response cycle record unit. Batch writing is performed in tabular form to construct a standardized response cycle record table, with the following structure:
[0112] Table 6 Energy Storage Response Execution Cycle Data Table
[0113] Periodic number Response status indicator 201 1 204 1
[0114] As shown in Table 6, cycle numbers 201 and 204 are assigned a response identifier value of 1, indicating that they are the cycle stages of energy storage intervention execution. The data is recorded on the disk through the status record structure, and finally the energy storage response execution cycle data is obtained.
[0115] Please see Figure 5 The specific steps of S4 are as follows:
[0116] S411: Based on the list of cycle numbers in the energy storage response execution cycle data, establish an index structure that corresponds one-to-one with each cycle number for charging instructions, discharging instructions, pause instructions and maintenance mode instructions, map each cycle number to the type of operation to be performed, and generate an energy storage operation instruction mapping table.
[0117] Based on the cycle number list in the energy storage response execution cycle data, an index table of cycle numbers is first established in the embedded controller's fixed storage structure. Each number is written as a primary key into the instruction mapping cache area. Then, according to the operating load state and energy storage strategy settings of each cycle, a unique corresponding control instruction type is configured, including high-rate charging instructions, discharging instructions, maintenance state instructions, or pause control commands. The instruction type is encoded using numerical tags, where high-rate charging is defined as 1, discharging as 2, maintenance state as 3, and pause as 4. The encoded instructions are then paired with the cycle number and recorded in the mapping structure. The embedded controller uses this structure for lookup calls in cycle scheduling operations. In the example, if the cycle number is 305 and its state requires a high-rate charging operation, its record structure is {305: 1}. When the controller reads cycle number 305, it can directly match the high-rate charging operation behavior, realizing a structured correspondence between cycle numbers and command types, as shown in Table 7.
[0118] Table 7 Mapping Table of Energy Storage Cycle and Control Command
[0119] Periodic number Operation instruction type 305 High-rate charging 306 Maintenance mode 307 Pause command
[0120] As shown in Table 7, the numbers and commands are mapped one-to-one. The controller can retrieve and execute commands based on the data in the table, and finally generate an energy storage operation command mapping table.
[0121] S412: Based on the operation type instruction content set in each cycle of the energy storage operation instruction mapping table, establish a serial communication link, transmit the control instructions of the corresponding cycle in sequence and write them into the distribution queue, and obtain the energy storage control instruction distribution data frame set.
[0122] Based on the control type in the energy storage operation instruction mapping table, the control command code value corresponding to each cycle in the mapping structure is first passed to the command distribution processing module inside the controller. In the control module, the cycle numbers are traversed sequentially by time. For each cycle number processed, its corresponding control instruction is loaded and converted into a data frame structure conforming to the communication protocol format. The data frame fields include an instruction header, cycle number, control type, data check bit, and frame tail field. After conversion, the data frame is written to the distribution buffer of the controller's communication module. Then, a communication connection is established with the power conversion system and the energy storage main control board through the controller's built-in CAN communication port. After successful connection establishment, command data frames are sent frame by frame. An example frame format is: cycle 305, corresponding to high-rate charging, encoded as 1, then the data frame is constructed as {HEAD, 305, 1, CRC, END}. After each data frame is sent, its status code and timestamp information are recorded and dumped to the execution log module for subsequent receipt verification and reconciliation processing. Example data is shown in Table 8.
[0123] Table 8. Examples of Data Frames Issued by Commands
[0124] Periodic number Control type Data frame content 305 1 HEAD, 305, 1, CRC, END 306 3 HEAD, 306, 3, CRC, END
[0125] As shown in Table 8, each control cycle generates a structured communication frame and completes the transmission operation, ultimately obtaining the set of data frames for the energy storage control command.
[0126] S413: For each communication instruction corresponding to the data frame set of energy storage control instruction, listen to the communication receipt data packet and parse the flag status information in it, classify and integrate the execution flag status of the instructions issued in each cycle, and obtain the energy storage operation feedback identification result.
[0127] For communication frames that have been sent in the energy storage control command data frame set, the system immediately listens for the acknowledgment data packets returned by the communication interface after the communication sending action is completed. A flag field is extracted from the feedback data corresponding to each cycle number. By parsing the flag value, it is determined whether the control command has been recognized and executed by the target device. Specifically, a flag value of "0x00" indicates that the command has not been executed, "0x01" indicates that the command has been correctly recognized and execution has begun, and "0x02" indicates that the device refused to execute or the execution failed. The flag result corresponding to each cycle number is recorded in the feedback status table. Simultaneously, the response delay parameter is calculated by combining the sending timestamp and the response timestamp. If the delay exceeds a preset threshold, it is marked as "communication abnormal." For example, cycle number 305 has a sending time of 14:05:10.000 and an acknowledgment time of 14:05:10.030, with a delay of 30ms, which is less than the threshold of 50ms, and the status is marked as "normal." Examples of the parsing results are listed in Table 9.
[0128] Table 9 Command Feedback Flag Identification Table
[0129] Periodic number Flag status Response latency (ms) Status Description 305 0x01 30 normal 306 0x00 — Not executed
[0130] As shown in Table 9, the status of the feedback flag bit of each cycle instruction has been structurally registered, and the energy storage operation feedback identification result is finally obtained.
[0131] Please see Figure 6 The specific steps of S5 are as follows:
[0132] S511: Based on the execution status flag bits of each cycle command in the energy storage operation feedback identification results, the flag bits are searched one by one, the flag values are aggregated to identify the cycle numbers that have been executed and those that have not been executed, and the execution success rate of each type of control command is calculated to generate an energy storage command execution statistics matrix.
[0133] Based on the cycle number and corresponding command execution flag status field in the energy storage operation feedback identification results, the flag status corresponding to the commands issued in each cycle is first classified and identified. Cycle numbers with a flag value of "0x01" are categorized as "Successfully Executed," while cycle numbers with flag values of "0x00" or "0x02" are categorized as "Not Executed" or "Failed Execution." Then, based on the operation type field, each status is further subdivided into subcategories such as "High-Rate Charging Command Execution Status," "Maintenance Status Command Execution Status," and "Pause Command Execution Status," recording the number of successful executions and the total number of commands issued for each category. A counter is then used to calculate the percentage success rate, calculated as the number of successful executions of a certain type of command divided by the total number of commands issued for that type. For example, in 30 cycles, if a high-rate charging command is issued 12 times, and the flag value is "0x01" 10 times, then the success rate for this type is 10 ÷ 12 × 100% = 83.33% of the results were ultimately compiled into a structured data matrix, as summarized in the following example:
[0134] Table 10 Energy Storage Command Execution Statistics Matrix
[0135] Instruction type Number of successes Total number of times Success rate (%) High-rate charging 10 12 83.33 Maintaining state 8 8 100.00 Pause Operation 3 5 60.00
[0136] As shown in Table 10, the execution statistics were classified based on the feedback identification results, and the corresponding proportions were calculated according to the types, finally generating the energy storage command execution statistics matrix.
[0137] S512: Based on the list of cycle numbers of completed instructions in the energy storage instruction execution statistics matrix, the active power sequence data output by the photovoltaic power generation unit in the corresponding time period is obtained in advance, and the power curve is processed by time serialization. The change curve is constructed by the power values at adjacent time points to obtain the photovoltaic power output curve data.
[0138] Based on the set of cycle numbers recorded as completed execution in the energy storage command execution statistics matrix, all cycle numbers with an execution status of "success" are filtered out, their timestamp indices are extracted, and the active power sampling data stream under the current time series on the photovoltaic system side is called. The power sampling values within the selected time period are reconstructed into a time series, with the timestamp as the horizontal axis and the active power value as the vertical axis, and arranged in ascending order of cycle to form a power change array. Then, the array is interpolated at a 5-second granularity to unify the time base format, construct continuous power change segments, and calculate the power increase or decrease value between adjacent sampling points to determine the direction of the power change trend. For example, if the power corresponding to cycle 301 is 1250W and cycle 302 is 1325W, then the power change is +75W, which is judged as "increasing". If cycle 303 is 1300W, then it is "decreasing". The above calculations form a time series power curve based on the sample interval. The curve data entries are shown in Table 11.
[0139] Table 11 Photovoltaic power output curve data table
[0140] Periodic number Timestamp Active power (W) Power change trend 301 14:20:00.000 1250 — 302 14:20:10.000 1325 rise 303 14:20:20.000 1300 decline
[0141] As shown in Table 11, structured output data reflecting the relationship between power and time has been constructed, and photovoltaic power output curve data has been obtained.
[0142] S513: Based on the photovoltaic power output curve data and the corresponding cycle number and instruction type label in the energy storage instruction execution statistics matrix, simultaneously extract the percentage value of the energy storage state of charge changing with the cycle, and aggregate the three types of data into a unified structure in chronological order to establish a power regulation log for the photovoltaic power station energy storage system.
[0143] Based on the photovoltaic power output curve data and the execution cycle number and control type label in the energy storage command execution statistics matrix, the state of charge (SOC) values output by the energy storage system's battery management unit within the specified interval are retrieved. The three types of data are then horizontally aggregated in timestamp order, and a data entry is constructed for each cycle. The entry structure includes fields such as timestamp, photovoltaic power value, power change trend, energy storage control type, current SOC percentage value, and SOC change trend. The SOC change trend is determined by the directional classification based on the difference in SOC percentage values between adjacent cycles: greater than 1% indicates an increase, less than -1% indicates a decrease, and within ±1% indicates stability. Finally, all cycle entries are written into the power control record table in a unified format, and a complete log table is constructed in chronological order, as shown in the following example:
[0144] Table 12 Power Regulation Log of Photovoltaic Power Station Energy Storage System
[0145] Timestamp Photovoltaic power (W) Power Trend Control type State of charge (%) Charge Trends 14:20:00.000 1250 — High-rate charging 78.5 — 14:20:10.000 1325 rise High-rate charging 80.2 rise 14:20:20.000 1300 decline Maintaining state 80.4 smooth
[0146] As shown in Table 12, the three types of data have been structured and aggregated to form a control log structure, and finally a power control log for the photovoltaic power station energy storage system has been established.
[0147] Please see Figure 7 A power regulation system based on a photovoltaic power station energy storage system includes:
[0148] The power fluctuation extraction module is used to execute S1: obtain the current cycle value of the instantaneous active power output by the photovoltaic power generation unit, read the instantaneous active power of the previous cycle, calculate the power difference to determine the consistency of the change direction in continuous cycles, and generate a photovoltaic power output fluctuation trend record.
[0149] The charge amplitude analysis module is used to execute S2: collect the current cycle state of charge value of the photovoltaic power station energy storage device, read the state of charge value of the previous cycle, calculate the state of charge difference and compare the charge fluctuation response range to classify the change type, and generate a record of the energy storage charge change trend.
[0150] The response cycle determination module is used to execute S3: based on the photovoltaic power output fluctuation trend record and the energy storage charge change trend record, it filters the combination type where the power increases and the charge ratio is in the range of continuous increase, identifies the corresponding cycle number, and generates energy storage response execution cycle data.
[0151] The control command generation module is used to execute S4: based on the number list in the energy storage response execution cycle data, establish a mapping of charging and discharging operation commands corresponding to each cycle, record the status of the execution flag bit of each command in the communication receipt, and generate energy storage operation feedback identification results;
[0152] The closed-loop module of the control process is used to execute S5: based on the energy storage operation feedback identification results, it summarizes the execution results corresponding to the periodic instructions, records the changes in the output power curve of the photovoltaic power generation unit and the change trend of the state of charge of the energy storage device, and outputs the power control log of the photovoltaic power station energy storage system.
[0153] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for power regulation of an energy storage system based on a photovoltaic power station, characterized in that, Includes the following steps: S1: Obtain the current cycle value of the instantaneous active power output of the photovoltaic power generation unit, read the instantaneous active power of the previous cycle, calculate the power difference to determine the consistency of the change direction in continuous cycles, and generate a record of photovoltaic power output fluctuation trend. S2: Collect the current cycle state of charge value of the photovoltaic power station energy storage device, read the state of charge value of the previous cycle, calculate the state of charge difference and compare the change type by comparing the range of the charge fluctuation response interval, and generate a record of the energy storage charge change trend. S3: Based on the photovoltaic power output fluctuation trend record and the energy storage charge change trend record, filter the combination type where the power increases and the charge ratio is in a continuously increasing range, and mark the corresponding cycle number to generate energy storage response execution cycle data. S4: Based on the number list in the energy storage response execution cycle data, establish a mapping of charging and discharging operation commands corresponding to each cycle, record the status of the execution flag bit of each command in the communication receipt, and generate energy storage operation feedback identification results; S5: Based on the energy storage operation feedback identification results, summarize the execution results corresponding to the periodic instructions, record the changes in the output power curve of the photovoltaic power generation unit and the change trend of the state of charge of the energy storage device, and output the power regulation log of the photovoltaic power station energy storage system.
2. The power regulation method for an energy storage system based on a photovoltaic power station according to claim 1, characterized in that, In the process of classifying the types of change, the classification is based on three directions: upward, stable, and downward.
3. The power regulation method for an energy storage system based on a photovoltaic power station according to claim 2, characterized in that, The upward direction specifically refers to the fact that the difference in the state of charge is greater than one percent of the range of the charge fluctuation response interval. The downward direction specifically refers to the fact that the state of charge difference is less than one-hundredth of the range of the charge fluctuation response interval. The term "stable direction" specifically refers to the state of charge difference being within ±1% of the range of the charge fluctuation response interval.
4. The power regulation method for an energy storage system based on a photovoltaic power station according to claim 1, characterized in that, The photovoltaic power output fluctuation trend record includes a power fluctuation direction label, fluctuation continuity status, and cycle number index. The energy storage charge change trend record includes the charge state change direction, change trend label, and trend change interval identifier. The energy storage response execution cycle data includes the power-charge trend combination type, cycle matching response mark, and response cycle number list. The energy storage operation feedback identification result includes the execution flag status, command receipt identifier, and cycle execution feedback data. The photovoltaic power station energy storage system power control log includes output power curve change record, charge state trend trajectory, and cycle control execution summary.
5. The power regulation method for an energy storage system based on a photovoltaic power station according to claim 1, characterized in that, The steps for obtaining the photovoltaic power output fluctuation trend record are as follows: S111: Obtain the instantaneous voltage and instantaneous current values output by the photovoltaic power generation unit, and combine them with the time resolution parameters within the current control cycle. Perform point-by-point product calculation on the instantaneous voltage and instantaneous current values at the corresponding moments. Based on the calculation results, perform integration processing on the time length within the current control cycle and perform normalization calculation to generate the instantaneous active power data for this cycle. S112: Based on the instantaneous active power data of this cycle and the instantaneous active power reference value recorded in the previous control cycle, the numerical difference between the two is calculated, and the sign state of all power differences in three consecutive control cycles is monitored. It is determined whether the sign state of all power differences is consistent, and the determination result is recorded to obtain the continuous cycle power change direction characteristic data. S113: Based on the continuous periodic power change direction characteristic data, classify the trend of the power difference change direction in the current control cycle, construct a fluctuation trend time series, and generate a photovoltaic output fluctuation trend record.
6. The power regulation method for an energy storage system based on a photovoltaic power station according to claim 1, characterized in that, The steps for obtaining the energy storage charge change trend record are as follows: S211: Collect the percentage value of state of charge in the current control cycle of the photovoltaic power station energy storage device, and at the same time read the percentage value of state of charge recorded in the previous control cycle. Perform a numerical difference calculation operation based on the percentage value of state of charge in the two cycles to obtain the energy storage state of charge difference data. S212: Based on the energy storage state of charge difference data and combined with the range of the charge fluctuation response interval, the range of the state of charge difference value is determined by numerical interval positioning. The lower limit of the upward judgment is set to positive 1% of the charge fluctuation response interval, and the upper limit of the downward judgment is set to negative 1% of the charge fluctuation response interval. The state of charge difference is divided according to whether it is greater than positive 1%, less than negative 1%, or between the two, to obtain the charge change interval type label. S213: Based on the charge change interval type label, perform type matching mapping on the type corresponding to the charge state change trend of the current period, and perform structured arrangement and combination with the label sequence of continuous periods. Combine the arrangement and combination results with the timestamp information to form a time series structure and obtain the energy storage charge change trend record.
7. The power regulation method for an energy storage system based on a photovoltaic power station according to claim 1, characterized in that, The steps for obtaining the energy storage response execution cycle data are as follows: S311: Based on the photovoltaic power output fluctuation trend record and the energy storage charge change trend record, the period number field of the two types of trend records is aligned with the timestamp parameter, and the two types of trend data are paired according to the period number as the index item to generate a trend record pairing sequence. S312: Based on the photovoltaic trend label and charge trend label corresponding to each period in the trend record pairing sequence, filter out the period combinations that simultaneously satisfy the photovoltaic output trend and the energy storage charge trend, record the corresponding period number, and obtain the list of upward trend combination numbers. S313: Based on the list of upward trend combination numbers, map the corresponding cycle numbers, assign an energy storage response status identifier to the identifier field, record the data writing and status labeling of the cycle response status, and obtain the energy storage response execution cycle data.
8. The power regulation method for an energy storage system based on a photovoltaic power station according to claim 1, characterized in that, The steps for obtaining the energy storage operation feedback identification result are as follows: S411: Based on the cycle number list in the energy storage response execution cycle data, establish an index structure that corresponds one-to-one with each cycle number for charging instructions, discharging instructions, pause instructions and maintenance mode instructions, map each cycle number to the type of operation to be performed, and generate an energy storage operation instruction mapping table. S412: Based on the operation type instruction content set in each cycle of the energy storage operation instruction mapping table, establish a serial communication link, transmit the control instructions of the corresponding cycle in sequence and write them into the distribution queue, and obtain the energy storage control instruction distribution data frame set. S413: For each communication instruction corresponding to the data frame set of the energy storage control instruction, listen to the communication receipt data packet and parse the flag status information therein, classify and integrate the execution flag status of the instructions issued in each cycle, and obtain the energy storage operation feedback identification result.
9. The power regulation method for an energy storage system based on a photovoltaic power station according to claim 1, characterized in that, The steps for obtaining the power regulation log of the photovoltaic power station energy storage system are as follows: S511: Based on the execution status flag bits of each cycle instruction in the energy storage operation feedback identification result, the flag bits are searched one by one, the flag values are aggregated to form the cycle numbers of executed and unexecuted cycles, and the execution success rate of each type of control command is calculated to generate an energy storage instruction execution statistics matrix. S512: Based on the list of cycle numbers of completed instructions in the energy storage instruction execution statistics matrix, the active power sequence data output by the photovoltaic power generation unit in the corresponding time period is obtained in advance, and the power curve is processed by time serialization. The change curve is constructed by the power values at adjacent time points to obtain the photovoltaic power output curve data. S513: Based on the photovoltaic power output curve data and the corresponding cycle number and instruction type label in the energy storage instruction execution statistics matrix, simultaneously extract the percentage value of the energy storage state of charge changing with the cycle, and aggregate the three types of data into a unified structure in chronological order to establish a power regulation log for the photovoltaic power station energy storage system.
10. A power regulation system for an energy storage system based on a photovoltaic power station, characterized in that, The system is used to implement the power regulation method for an energy storage system based on a photovoltaic power station as described in any one of claims 1-9, and the system includes: The power fluctuation extraction module is used to execute S1: obtain the current cycle value of the instantaneous active power output by the photovoltaic power generation unit, read the instantaneous active power of the previous cycle, calculate the power difference to determine the consistency of the change direction in continuous cycles, and generate a photovoltaic power output fluctuation trend record. The charge amplitude analysis module is used to execute S2: collect the current cycle state of charge value of the photovoltaic power station energy storage device, read the state of charge value of the previous cycle, calculate the state of charge difference and compare the charge fluctuation response range to classify the change type, and generate a record of the energy storage charge change trend. The response cycle determination module is used to execute S3: based on the photovoltaic power output fluctuation trend record and the energy storage charge change trend record, filter the combination type where the power increases and the charge ratio is in the range of continuous increase, mark the corresponding cycle number with response, and generate energy storage response execution cycle data. The control command generation module is used to execute S4: based on the number list in the energy storage response execution cycle data, establish a mapping of charging and discharging operation commands corresponding to each cycle, record the status of the execution flag bit of each command in the communication receipt, and generate energy storage operation feedback identification results; The closed-loop module of the control process is used to execute S5: based on the energy storage operation feedback identification results, summarize the execution results corresponding to the periodic instructions, record the changes in the output power curve of the photovoltaic power generation unit and the change trend of the state of charge of the energy storage device, and output the power control log of the photovoltaic power station energy storage system.
Citation Information
Patent Citations
Energy storage frequency control method and device based on charge estimation and dynamic scheduling
CN120474055A
Energy storage configuration method and system of photovoltaic off-grid system
CN120675139A