Energy storage capacity configuration method, device and equipment of photovoltaic energy storage system and medium

By analyzing the photovoltaic power generation and electricity load curves, the energy storage demand of the photovoltaic energy storage system is quantified. Combined with the target backup power duration and battery capacity, the problem of unreasonable energy storage capacity configuration in the existing technology is solved, and reasonable configuration and backup power reliability are achieved.

CN122456464APending Publication Date: 2026-07-24HEFEI SUNGROW RENEWABLE ENERGY SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HEFEI SUNGROW RENEWABLE ENERGY SCI & TECH CO LTD
Filing Date
2026-04-20
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

Existing photovoltaic energy storage system energy storage capacity configuration methods usually rely on empirical estimation or load peak method, resulting in excessive or insufficient energy storage capacity configuration, which cannot meet actual needs, causing energy waste or insufficient backup power reliability.

Method used

By acquiring photovoltaic power generation curves and electricity load curves, the daily self-consumption capacity and backup power capacity are determined. Combined with the target backup power duration, the energy storage demand is quantified and compared with the battery capacity to select an appropriate energy storage capacity configuration.

Benefits of technology

It achieves a reasonable configuration of energy storage capacity, avoids energy waste, ensures the reliability of backup power, and ensures that the electricity needs of households are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122456464A_ABST
    Figure CN122456464A_ABST
Patent Text Reader

Abstract

The application discloses a kind of energy storage capacity configuration method, device, equipment and medium of photovoltaic energy storage system, involve photovoltaic energy storage technical field, comprising: obtaining the photovoltaic power generation curve of photovoltaic energy storage system, the power load curve of target family;According to photovoltaic power generation curve and power load curve, determine the daily self-generation self-use capacity of photovoltaic energy storage system, daily self-generation self-use capacity refers to the energy storage capacity required for photovoltaic energy storage system to meet the daily self-generation self-use of target family;According to target standby time, determine the first period covering the maximum total power consumption from power load curve, and the total power consumption of power load curve in the first period is used as the standby capacity of photovoltaic energy storage system;The sum between daily self-generation self-use capacity and standby capacity is used as the reference energy storage capacity of photovoltaic energy storage system;Compare reference energy storage capacity with the battery capacity of each battery model adapted to photovoltaic energy storage system to determine the target energy storage capacity to be configured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of photovoltaic energy storage technology, and in particular to a method, apparatus, equipment and medium for configuring the energy storage capacity of a photovoltaic energy storage system. Background Technology

[0002] In the application of residential photovoltaic energy storage systems, the rational configuration of energy storage capacity directly affects the system's economy and power supply reliability. Currently, the mainstream energy storage capacity configuration methods typically employ the following two approaches: One method is the empirical estimation method, which directly determines the energy storage capacity based on the photovoltaic installation capacity at a fixed ratio (such as 1:1 or 1:2); the other method is the load peak method, which estimates the energy storage capacity based on the maximum load power of the household or the total annual electricity consumption.

[0003] However, both of these methods only roughly determine the energy storage capacity, which is far removed from actual application scenarios. This can easily lead to either over-configuration resulting in waste or under-configuration that fails to meet the backup power reliability requirements. Summary of the Invention

[0004] The main purpose of this application is to provide a method, device, equipment and medium for configuring the energy storage capacity of a photovoltaic energy storage system, which aims to achieve a reasonable configuration of energy storage capacity, so as to avoid energy waste to a certain extent and ensure the reliability of backup power.

[0005] This application provides a method for configuring the energy storage capacity of a photovoltaic energy storage system, the method comprising: Obtain the photovoltaic power generation curve of the photovoltaic energy storage system and the electricity load curve of the target household; Based on the photovoltaic power generation curve and the electricity load curve, the daily self-consumption capacity of the photovoltaic energy storage system is determined. The daily self-consumption capacity refers to the energy storage capacity required by the photovoltaic energy storage system to meet the daily self-consumption of the target household. Based on the target backup power duration, the first time period with the largest total electricity consumption is determined from the electricity load curve, and the total electricity consumption of the electricity load curve in the first time period is taken as the backup power capacity of the photovoltaic energy storage system. The sum of the daily self-consumption capacity and the backup power capacity is used as the reference energy storage capacity of the photovoltaic energy storage system. The reference energy storage capacity is compared with the battery capacity of each battery model adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured for the photovoltaic energy storage system from the battery capacities.

[0006] In one embodiment, the step of determining the daily self-consumption capacity of the photovoltaic energy storage system based on the photovoltaic power generation curve and the electricity load curve includes: The electrical energy corresponding to the area enclosed between the photovoltaic power generation curve and the electricity load curve is determined as the first energy storage capacity; Based on the photovoltaic power generation curve and the electricity load curve, the amount of electricity required to be supported by the discharge of the photovoltaic energy storage system is determined as the second energy storage capacity. The daily self-generated and self-consumed capacity is determined from the first energy storage capacity and the second energy storage capacity.

[0007] In one embodiment, the step of determining the load electricity consumption that needs to be supported by the discharge of the photovoltaic energy storage system as the second energy storage capacity based on the photovoltaic power generation curve and the electricity load curve includes: Determine the first and last intersection points between the photovoltaic power generation curve and the electricity load curve; The sum of the total electricity consumption before the first intersection point and the total electricity consumption after the second intersection point of the electricity load curve is used as the candidate energy storage capacity. If the total power generation corresponding to the photovoltaic power generation curve is greater than or equal to the total power consumption corresponding to the power load curve, then the candidate energy storage capacity is taken as the second energy storage capacity. If the total power generation is less than the total power consumption, then the sum of the candidate energy storage capacity and the first energy storage capacity shall be used as the second energy storage capacity.

[0008] In one embodiment, the step of determining the daily self-consumption capacity from the first energy storage capacity and the second energy storage capacity includes: The minimum value between the first energy storage capacity and the second energy storage capacity shall be taken as the daily self-generated and self-consumed capacity.

[0009] In one embodiment, the step of determining the first time period covering the largest total electricity consumption from the electricity load curve based on the target backup power duration, and using the total electricity consumption of the electricity load curve within the first time period as the backup power capacity of the photovoltaic energy storage system, includes: If the target backup power duration is less than the time period corresponding to the power load curve, a first sliding window with a length of the target backup power duration is constructed, and all positions of the first sliding window on the time axis of the power load curve are traversed to determine the first time period with the largest total power consumption, and the total power consumption of the power load curve in the first time period is taken as the backup power capacity. When the target backup power duration is equal to the time period, the sum of the electricity consumption of the electricity load curve within the time period is taken as the backup power capacity. If the target backup power duration is greater than the time period corresponding to the power load curve, divide the target backup power duration by the time period to obtain the number of periods and the remaining duration. Construct a second sliding window with a length equal to the remaining duration, and traverse all positions of the second sliding window on the time axis of the electricity load curve to determine the second time period covering the largest total electricity consumption, and use the total electricity consumption of the electricity load curve in the second time period as the first reserve power. The product of the total electricity consumption of the electricity load curve within the time period and the number of periods is used as the second reserve power. The sum of the first backup power and the second backup power is taken as the backup power capacity.

[0010] In one embodiment, before the step of determining the first time period covering the largest total electricity consumption from the electricity load curve based on the target backup power duration, the method further includes: Based on the maximum battery capacity among the various battery capacities, the daily self-consumption capacity, and the average hourly electricity consumption of the target household, the range of backup power duration currently allowed for the photovoltaic energy storage system is determined. If the target backup power duration is within the backup power duration range, then the step of determining the first time period covering the largest total electricity consumption from the electricity load curve based on the target backup power duration is executed.

[0011] In one embodiment, the step of comparing the reference energy storage capacity with the battery capacities of various battery models adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured in the photovoltaic energy storage system from the battery capacities includes: If the reference energy storage capacity is less than or equal to the smallest battery capacity among all the battery capacities, then the smallest battery capacity shall be used as the target energy storage capacity. If the reference energy storage capacity is greater than or equal to the maximum battery capacity among all the battery capacities, then the maximum battery capacity is taken as the target energy storage capacity. If the reference energy storage capacity is greater than the minimum battery capacity and less than the maximum battery capacity, then the reference energy storage capacity is determined to be the first adjacent battery capacity and the second adjacent battery capacity among the battery capacities; the first adjacent battery capacity is less than the second adjacent battery capacity. The target energy storage capacity is determined from the first adjacent battery capacity and the second adjacent battery capacity according to the energy storage capacity configuration mode of the photovoltaic energy storage system.

[0012] In one embodiment, the step of determining the target energy storage capacity from the first adjacent battery capacity and the second adjacent battery capacity according to the energy storage capacity configuration mode of the photovoltaic energy storage system includes: When the energy storage capacity configuration mode is the maximum green electricity configuration mode, the capacity of the second adjacent battery is taken as the target energy storage capacity; When the energy storage capacity configuration mode is the high cost-performance configuration mode, the capacity of the first adjacent battery is taken as the target energy storage capacity.

[0013] In one embodiment, the step of obtaining the electricity load curve of a target household includes: Obtain the weekday load curve, weekend load curve, and average monthly electricity consumption of the target household over the past year; The electricity load curve is generated based on the monthly workday load curve, the rest day load curve, and the monthly average electricity consumption.

[0014] Furthermore, to achieve the above objectives, this application also provides an energy storage capacity configuration device for a photovoltaic energy storage system, the device comprising: The data acquisition module is used to acquire the photovoltaic power generation curve of the photovoltaic energy storage system and the electricity load curve of the target household; The daily capacity determination module is used to determine the daily self-consumption capacity of the photovoltaic energy storage system based on the photovoltaic power generation curve and the electricity load curve. The daily self-consumption capacity refers to the energy storage capacity required by the photovoltaic energy storage system to meet the daily self-consumption of the target household. The backup power capacity determination module is used to determine the first time period with the largest total electricity consumption from the electricity load curve based on the target backup power duration, and to use the total electricity consumption of the electricity load curve in the first time period as the backup power capacity of the photovoltaic energy storage system. The energy storage capacity configuration module is used to take the sum of the daily self-generated and self-consumed capacity and the backup power capacity as the reference energy storage capacity of the photovoltaic energy storage system; and to compare the reference energy storage capacity with the battery capacity of each battery model adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured for the photovoltaic energy storage system from the battery capacities.

[0015] In addition, to achieve the above objectives, this application also provides an energy storage capacity configuration device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the energy storage capacity configuration method of the photovoltaic energy storage system as described above.

[0016] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the energy storage capacity configuration method of the photovoltaic energy storage system as described above.

[0017] This application provides a method for configuring the energy storage capacity of a photovoltaic energy storage system, comprising: acquiring the photovoltaic power generation curve of the photovoltaic energy storage system and the electricity load curve of the target household; determining the daily self-consumption capacity of the photovoltaic energy storage system based on the photovoltaic power generation curve and the electricity load curve, wherein the daily self-consumption capacity refers to the energy storage capacity required by the photovoltaic energy storage system to meet the daily self-consumption of the target household; determining the first time period covering the largest total electricity consumption from the electricity load curve based on the target backup power duration, and using the total electricity consumption of the electricity load curve in the first time period as the backup power capacity of the photovoltaic energy storage system; using the sum between the daily self-consumption capacity and the backup power capacity as the reference energy storage capacity of the photovoltaic energy storage system; and comparing the reference energy storage capacity with the battery capacity of each battery model adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured in the photovoltaic energy storage system from the battery capacities.

[0018] Therefore, the technical solution provided in this application analyzes the daily self-consumption capacity by utilizing the photovoltaic power generation curve and the target household's electricity load curve to match the photovoltaic energy storage system's power generation with the household's actual electricity consumption patterns, thus avoiding waste caused by blindly configuring excessive capacity. Simultaneously, based on the target backup power duration, it identifies the continuous period with the highest total electricity consumption from the electricity load curve and uses the total electricity consumption during that period as the backup power capacity, ensuring that the stored energy can cover the period of most concentrated household electricity consumption and avoiding insufficient backup power. Then, by adding the daily self-consumption capacity to the backup power capacity, a reference energy storage capacity is obtained. This reference energy storage capacity is then compared with the battery capacity of each battery model compatible with the photovoltaic energy storage system to select the target energy storage capacity that can be directly configured. Thus, the technical solution provided in this application, by separately quantifying and integrating daily self-consumption needs and emergency backup power needs, not only avoids over-configuration of capacity due to rough estimations based solely on total electricity consumption or fixed ratios, thus avoiding energy waste to a certain extent, but also prevents insufficient backup power capacity caused by ignoring actual load peaks, thereby ensuring backup power reliability.

[0019] In summary, the technical solution provided in this application can achieve a reasonable configuration of energy storage capacity, thereby avoiding energy waste to a certain extent and ensuring the reliability of backup power. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 A flowchart illustrating the energy storage capacity configuration method of the photovoltaic energy storage system provided in the first embodiment of this application; Figure 2 This is a schematic diagram of the enclosed area between the photovoltaic power generation curve and the electricity load curve provided in the first embodiment of this application; Figure 3 This is a schematic diagram of the area other than the enclosed region between the photovoltaic power generation curve and the electricity load curve provided in the first embodiment of this application; Figure 4 This application provides a schematic diagram of the module structure of the energy storage capacity configuration device for a photovoltaic energy storage system. Figure 5 This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.

[0023] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0024] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0025] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0026] The execution subject of the energy storage capacity configuration method of the photovoltaic energy storage system in this application can be an energy storage capacity configuration device with data processing, network communication and program operation functions. For example, it can be a control system or control circuit that can realize the above functions; or it can be a photovoltaic energy storage system including an energy storage capacity configuration device. This embodiment does not specifically limit it in this regard.

[0027] The following description uses an energy storage capacity configuration device as the main implementation example to illustrate the various embodiments.

[0028] This application proposes a method for configuring the energy storage capacity of a photovoltaic energy storage system according to a first embodiment. Please refer to [link / reference]. Figure 1 The method for configuring the energy storage capacity of a photovoltaic energy storage system may include steps S10 to S50: Step S10: Obtain the photovoltaic power generation curve of the photovoltaic energy storage system and the electricity load curve of the target household; The photovoltaic (PV) power generation curve reflects the change in power generation of a PV energy storage system over time. It can be generated through simulation using the PV installation capacity and local sunshine data, or statistically derived from historical power generation data. This embodiment does not impose specific limitations on this. When generating the PV power generation curve using the PV installation capacity, to ensure its accuracy and reliability, the number of normally functioning components in the PV energy storage system can be determined based on the number of components and inverter model specified in the design page, combined with the feasibility of stringing. This number is then multiplied by the rated power of a single PV module to obtain the PV installation capacity of the PV energy storage system (the specific calculation process can be expressed as Formula 1 below). By considering stringing feasibility and inverter model compatibility, components that cannot function properly due to electrical constraints are excluded, correcting the PV installation capacity from the theoretical design value to the actual operable value. The PV power generation curve is then generated using this PV installation capacity. Thus, the generated PV power generation curve accurately reflects the power generation capacity of the PV energy storage system under actual hardware conditions, avoiding the problem of inflated or understated power generation caused by using theoretical capacity.

[0029] Formula 1; in, Where N represents the installed photovoltaic capacity, and N is the number of components in the photovoltaic energy storage system that can operate normally. This refers to the rated power of a single photovoltaic module.

[0030] The target household refers to a household that has installed or plans to install a photovoltaic energy storage system. A target household can be a single residence, an apartment, or any user with an independent electricity metering unit; this embodiment does not impose specific limitations on this. The electricity load curve refers to the sequence of electricity consumption of the target household at various points in time on a typical or representative day, reflecting the pattern of household electricity load changes over time. The electricity load curve can be generated from the target household's historical electricity consumption data or estimated based on household electricity consumption habits and annual electricity consumption; this embodiment does not impose specific limitations on this either.

[0031] In one feasible implementation, the step of obtaining the electricity load curve of the target household may include steps S11-S12: Step S11: Obtain the target household's weekday load curve, weekend load curve, and average monthly electricity consumption for each month over the past year; The weekday load curve refers to the electricity load sequence of a target household at various times during weekdays (usually Monday to Friday). It reflects the electricity consumption patterns of the target household during different activity modes such as commuting, work, and staying at home on weekdays, and usually shows two peak electricity consumption periods in the morning and evening. The weekend load curve refers to the electricity load sequence of a target household at various times during weekends (usually Saturdays, Sundays, and public holidays). It reflects the electricity consumption patterns of the target household on weekends. The peak electricity consumption on weekends is usually not as obvious as on weekdays, but the electricity consumption during the daytime is higher.

[0032] When obtaining the weekday and weekend load curves for a target household over the past year, one can first obtain the 24-hour electricity load dataset for each month of the past year. Then, for any given month, the electricity load dataset is divided into weekday and weekend data groups based on date type. Next, the average power at the same time point within each group is calculated to generate the weekday and weekend load curves for the target household in that month. Alternatively, user-inputted electricity usage habits (such as wake-up time, departure time, return time, and main appliance usage periods) can be received through a user interface and combined with preset typical load templates (such as templates for working families, retired families, and families with multiple children) to generate corresponding weekday and weekend load curves. This embodiment does not specifically limit the implementation method of obtaining the weekday and weekend load curves for a target household over the past year.

[0033] When obtaining the average monthly electricity consumption of a target household over the past year, you can first obtain the annual electricity consumption of the target household over the past year, and then multiply the annual electricity consumption by the proportion of electricity consumption in each month to obtain the average monthly electricity consumption of the target household. The specific calculation process can be expressed as the following formula 2.

[0034] Formula 2; in, Let be the average monthly electricity consumption for the i-th month. Annual electricity consumption Let be the electricity consumption ratio for month i.

[0035] Step S12: Generate an electricity load curve based on the monthly weekday load curve, rest day load curve, and average monthly electricity consumption.

[0036] When generating the electricity load curve based on the monthly weekday load curve, rest day load curve, and monthly average electricity consumption, the monthly weekday load curve and the monthly rest day load curve can be weighted and merged first to obtain the hourly electricity load of the target household on a typical day of the month. Then, using the monthly average electricity consumption and the hourly electricity load of the target household on a typical day of the month, the typical day load curve of the target household can be generated (the specific implementation process can be expressed as the following formula 3), which serves as the electricity load curve.

[0037] Formula 3; in, This is a typical daily load curve (i.e., an electricity load curve). Let be the average monthly electricity consumption for the i-th month. Let t be the electricity load for a typical day in month i at hour t.

[0038] In this embodiment, when generating the electricity load curve for the target household, the load characteristics of weekdays and rest days are distinguished, effectively avoiding the problem of underestimating peak values ​​or overestimating valley values ​​caused by mixing electricity consumption patterns of different day types (i.e., weekdays and rest days). Furthermore, by introducing the monthly average electricity consumption, the load curve has reasonable amplitude differences between different months. Therefore, the generated electricity load curve retains the typical temporal characteristics of household electricity consumption while also taking into account the changing patterns of day types and seasonality, thus closely reflecting the actual electricity consumption behavior of the target household.

[0039] Step S20: Determine the daily self-consumption capacity of the photovoltaic energy storage system based on the photovoltaic power generation curve and the electricity load curve. The daily self-consumption capacity refers to the energy storage capacity required by the photovoltaic energy storage system to meet the daily self-consumption of the target household. Daily self-consumption refers to households prioritizing the use of electricity generated by the photovoltaic energy storage system to meet their own electricity needs, rather than feeding all photovoltaic power into the grid or discarding it.

[0040] In one feasible implementation, step S20 may include steps S21 to S23: Step S21: Determine the electrical energy corresponding to the enclosed area between the photovoltaic power generation curve and the electricity load curve, and use it as the first energy storage capacity; The enclosed area refers to the closed region bounded by the photovoltaic power generation curve and the electricity load curve in a two-dimensional coordinate graph. The first energy storage capacity refers to the electrical energy corresponding to the enclosed area between the photovoltaic power generation curve and the electricity load curve. The first energy storage capacity reflects the surplus electricity that would be wasted if not stored during periods when photovoltaic power generation exceeds the load. For example, please refer to... Figure 2 , Figure 2Region A in the equation is the area enclosed between the photovoltaic power generation curve and the electricity load curve. The electrical energy corresponding to Region A can be calculated using the following formula 4, and used as the first energy storage capacity.

[0041] Formula 4; Where X is the first energy storage capacity. This is a photovoltaic power generation curve. Let t1 be the electricity load curve, t2 be the first intersection point between the photovoltaic power generation curve and the electricity load curve, and t2 be the second intersection point between the photovoltaic power generation curve and the electricity load curve.

[0042] Step S22: Based on the photovoltaic power generation curve and the electricity load curve, determine the load electricity that needs to be supported by the discharge of the photovoltaic energy storage system, and use it as the second energy storage capacity; The second energy storage capacity reflects the amount of electricity that needs to be released from the energy storage battery to meet the electricity load during periods when photovoltaic power generation is insufficient to cover the electricity load.

[0043] In one feasible implementation, step S22 may include steps S221 to S224: Step S221: Determine the anterior and posterior intersection points between the photovoltaic power generation curve and the electricity load curve; The first intersection point (in chronological order) of the photovoltaic (PV) power generation curve and the electricity load curve on the time axis typically marks the moment when PV power generation begins to exceed the electricity load, usually corresponding to the point where the PV output curve meets the load curve during its upward trend. The second intersection point (in chronological order) of the PV power generation curve and the electricity load curve on the time axis typically marks the moment when PV power generation falls back below the electricity load, usually corresponding to the point where the PV output curve meets the load curve again during its downward trend.

[0044] Step S222: The sum of the total electricity consumption before the first intersection point and the total electricity consumption after the second intersection point of the electricity load curve is used as the candidate energy storage capacity. For example, please refer to Figure 3 , Figure 3 The electrical energy corresponding to region B (which can be determined using formula 5) is the total electrical energy consumption before the first intersection point of the load curve; the electrical energy corresponding to region C (which can be determined using formula 6) is the total electrical energy consumption after the second intersection point of the load curve.

[0045] Formula 5; in, Let t1 be the electrical energy corresponding to region B, and t1 be the first intersection point between the photovoltaic power generation curve and the electricity load curve. This is the electricity load curve.

[0046] Formula 6; in, Let t2 be the electrical energy corresponding to region C, and t2 be the later intersection point between the photovoltaic power generation curve and the electricity load curve.

[0047] Step S223: If the total power generation corresponding to the photovoltaic power generation curve is greater than or equal to the total power consumption corresponding to the power load curve, then the candidate energy storage capacity is taken as the second energy storage capacity. Understandably, if the total power generation corresponding to the photovoltaic power generation curve is greater than or equal to the total power consumption corresponding to the electricity load curve, it means that the power generated by the photovoltaic system is sufficient to cover all electricity loads throughout the day. The load during the photovoltaic period can be completely supplied directly by the photovoltaic system without the need for energy storage discharge. Therefore, the candidate energy storage capacity can be directly used as the second energy storage capacity.

[0048] In step S224, if the total power generation is less than the total power consumption, the sum of the candidate energy storage capacity and the first energy storage capacity is taken as the second energy storage capacity.

[0049] Understandably, if the total power generation is less than the total power consumption, it means that some loads during the photovoltaic period cannot be directly supplied by photovoltaics and need to be supplemented by energy storage discharge. Therefore, the sum of the candidate energy storage capacity and the first energy storage capacity can be used as the second energy storage capacity.

[0050] In this embodiment, the two intersection points of the photovoltaic curve and the load curve are first determined to divide the day into three stages: before, during, and after the photovoltaic period. Then, the load amounts in the two segments completely outside the photovoltaic period are calculated as candidate energy storage capacities. Finally, based on whether the total photovoltaic power generation is sufficient to cover the total electricity consumption, it is decided whether to add the load gap within the photovoltaic period (i.e., the first energy storage capacity) to the second energy storage capacity. Therefore, the final determined second energy storage capacity accurately reflects the actual needs of the energy storage system in supporting load discharge, ensuring the accuracy and reliability of the determined second energy storage capacity.

[0051] This embodiment does not specifically limit the implementation of step S22. For example, in other feasible implementations, a virtual infinite energy storage battery can be simulated, and surplus photovoltaic power can be preferentially charged into the battery during photovoltaic power generation periods. When the electricity load exceeds the photovoltaic power generation, the battery can be discharged to meet the electricity load. The total discharge of the battery during the entire typical day is recorded as the second energy storage capacity.

[0052] Step S23: Determine the daily self-consumption capacity from the first energy storage capacity and the second energy storage capacity.

[0053] When determining the daily self-consumption capacity from the first energy storage capacity and the second energy storage capacity, one energy storage capacity can be arbitrarily selected from the first energy storage capacity and the second energy storage capacity as the daily self-consumption capacity; in order to take into account the configuration cost and avoid over-configuration of energy storage capacity, the minimum value between the first energy storage capacity and the second energy storage capacity can also be defaulted to as the daily self-consumption capacity. This embodiment does not specifically limit the implementation method of step S23.

[0054] In this embodiment, energy storage demand is quantified from two dimensions: surplus photovoltaic power and load gap. This dual-dimensional constraint is used to determine the daily self-consumption capacity, making the determined daily self-consumption capacity reasonable and reliable. This not only avoids the problems of over-configuration and investment waste caused by configuring capacity solely based on surplus photovoltaic power, but also avoids the problems of insufficient energy storage and decreased self-consumption rate caused by configuring capacity solely based on load gap.

[0055] This embodiment does not specifically limit the implementation of step S20. For example, in other feasible implementations, a set of candidate capacities can be set (e.g., starting from 0 and increasing in fixed steps). For each candidate capacity, the charging and discharging behavior of the photovoltaic energy storage system in a typical day is simulated (i.e., surplus photovoltaic power is prioritized to charge the battery, and battery power is prioritized to supply the load), and the corresponding self-consumption rate is calculated. Then, the minimum candidate capacity with a self-consumption rate reaching a preset threshold (e.g., 95%) can be selected as the daily self-consumption capacity.

[0056] Step S30: Based on the target backup power duration, determine the first time period with the largest total electricity consumption from the electricity load curve, and use the total electricity consumption of the electricity load curve in the first time period as the backup power capacity of the photovoltaic energy storage system. The target backup power duration is the user's desired emergency backup power duration. It can be a default duration or can be flexibly set by the user according to the actual situation. This embodiment does not impose a specific limitation on this. The first time period is the continuous time period on the time axis of the electricity load curve, which is the length of the target backup power duration and has the largest total electricity consumption.

[0057] In one feasible implementation, step S30 may include steps S31 to S36: Step S31: When the target backup power duration is less than the time period corresponding to the power load curve, construct a first sliding window with a length of the target backup power duration, and traverse all positions of the first sliding window on the time axis of the power load curve to determine the first time period with the largest total power consumption, and take the total power consumption of the power load curve in the first time period as the backup power capacity. The first sliding window is the sliding window used when the target backup power duration is less than the time period. Its length is equal to the target backup power duration. It is used to slide on the time axis of the electricity load curve to find the continuous period with the largest total electricity consumption.

[0058] Understandably, when the target backup power duration is less than the time period corresponding to the power load curve, the process for determining the backup power capacity can be expressed as the following formula 7.

[0059] Formula 7; in, For backup power capacity, For the start time of backup power, For the target backup power duration, This is the electricity load curve.

[0060] Step S32: When the target backup power duration is equal to the time period, the sum of the electricity consumption of the power load curve within the time period is taken as the backup power capacity. Understandably, when the target backup power duration is equal to the time period corresponding to the power load curve, the process for determining the backup power capacity can be expressed as the following formula 8.

[0061] Formula 8; in, For backup power capacity, This is the electricity load curve.

[0062] Step S33: If the target backup power duration is longer than the time period corresponding to the power load curve, divide the target backup power duration by the time period to obtain the number of periods and the remaining duration. The number of cycles is the integer part of the quotient obtained by dividing the target backup power duration by the time period corresponding to the electricity load curve. It represents the number of repetitions of a complete cycle (such as a whole day). The remaining duration is the remainder obtained by dividing the target backup power duration by the time period corresponding to the electricity load curve. It represents the additional backup power duration required beyond the complete cycle, and its value is less than the time period corresponding to the electricity load curve.

[0063] Step S34: Construct a second sliding window with a length equal to the remaining duration, and traverse all positions of the second sliding window on the time axis of the electricity load curve to determine the second time period with the largest total electricity consumption, and use the total electricity consumption of the electricity load curve in the second time period as the first reserve power. The second time period is the continuous period on the time axis of the electricity load curve, which is the length of the remaining time and the period with the largest total electricity consumption.

[0064] Step S35: The product of the total electricity consumption of the electricity load curve within the time period and the number of periods is used as the second reserve power. Step S36: The sum of the first backup power and the second backup power is taken as the backup power capacity.

[0065] Understandably, when the target backup power duration is longer than the time period corresponding to the power load curve, the process for determining the backup power capacity can be expressed as the following formula 9.

[0066] Formula 9; in, For backup power capacity, The number of cycles, This is the electricity load curve. For the start time of backup power, This represents the remaining time.

[0067] In this embodiment, when the target backup power duration is less than the time period corresponding to the electricity load curve, a sliding window is used to dynamically locate the continuous period with the largest total electricity consumption on the electricity load curve to ensure that the backup power plan covers the peak electricity consumption of households. When the target backup power duration is equal to the time period corresponding to the electricity load curve, the total electricity consumption of the entire cycle is directly taken to ensure that the backup power capacity can support the electricity demand for a whole day. When the target backup power duration is longer than the time period corresponding to the electricity load curve, the target backup power duration is decomposed into several complete cycles and a remaining duration. The complete cycle portion is calculated as an integer multiple of the total electricity consumption of the entire cycle, and the remaining duration portion again uses a sliding window to locate the peak electricity consumption. The two parts are summed to obtain the total backup power capacity. Thus, this scenario-based processing method provided by this embodiment not only retains the accurate identification capability of the sliding window for peak electricity consumption, but also adapts to the continuity of the repetitive cycle electricity consumption pattern in ultra-long backup power scenarios, making the determined backup power capacity accurate and reliable.

[0068] This embodiment does not specifically limit the implementation of step S30. For example, in other feasible implementations, a global peak point (i.e., the time point with the highest power consumption) in the power load curve can be identified; then, with the global peak point as the center, a continuous period of time with a length equal to the target backup power duration can be extended to both sides as a candidate period; next, the total power consumption of the candidate period can be calculated as the candidate backup power capacity; then, a small-range disturbance search can be performed near the candidate period to check if there is a period with a larger total power consumption. If so, the period is taken as a new candidate period, and the step of performing a small-range disturbance search near the candidate period to check if there is a period with a larger total power consumption is returned; if not, the candidate period is taken as the first period, and the total power consumption of the candidate period is taken as the backup power capacity.

[0069] Step S40: Use the sum of the daily self-consumption capacity and the backup power capacity as the reference energy storage capacity of the photovoltaic energy storage system. The reference energy storage capacity reflects the total energy storage capacity that a photovoltaic energy storage system theoretically needs to be configured with.

[0070] Step S50: Compare the reference energy storage capacity with the battery capacity of each battery model adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured for the photovoltaic energy storage system from the battery capacities.

[0071] The battery model refers to the commercially available energy storage battery product model that is compatible with the energy storage inverter in the photovoltaic energy storage system. Different battery models typically correspond to different rated capacity values ​​(i.e., battery capacity). The target energy storage capacity refers to the final selected battery capacity that will actually be installed in the photovoltaic energy storage system.

[0072] In one feasible implementation, step S50 may include steps S51 to S54: Step S51: If the reference energy storage capacity is less than or equal to the smallest battery capacity among all battery capacities, then the smallest battery capacity shall be used as the target energy storage capacity. It is understandable that if the reference energy storage capacity is less than or equal to the smallest battery capacity among all battery capacities, it indicates that the theoretical energy storage demand is lower than or equal to the capacity of the smallest available battery that the photovoltaic energy storage system is adapted to. In this case, the smallest battery capacity can be used as the target energy storage capacity.

[0073] Step S52: If the reference energy storage capacity is greater than or equal to the maximum battery capacity among all battery capacities, then the maximum battery capacity shall be used as the target energy storage capacity. Understandably, if the reference energy storage capacity is greater than or equal to the maximum battery capacity among all battery capacities, it indicates that the theoretical energy storage demand has reached or exceeded the capacity of the maximum available battery that the photovoltaic energy storage system can be adapted to, and the maximum battery capacity can be used as the target energy storage capacity.

[0074] Step S53: If the reference energy storage capacity is greater than the minimum battery capacity and less than the maximum battery capacity, then determine the first adjacent battery capacity and the second adjacent battery capacity of the reference energy storage capacity among the battery capacities; the first adjacent battery capacity is less than the second adjacent battery capacity. The first adjacent battery capacity is the battery capacity that is less than the reference energy storage capacity and closest to the reference energy storage capacity among all battery capacities. The second adjacent battery capacity is the battery capacity that is greater than the reference energy storage capacity and closest to the reference energy storage capacity among all battery capacities.

[0075] Step S54: Determine the target energy storage capacity from the first adjacent battery capacity and the second adjacent battery capacity according to the energy storage capacity configuration mode of the photovoltaic energy storage system.

[0076] The energy storage capacity configuration mode may include, but is not limited to, the maximum green electricity configuration mode and the high cost-performance configuration mode. This embodiment does not make specific limitations on this.

[0077] The maximum green energy configuration mode refers to an energy storage capacity configuration mode that prioritizes increasing the self-consumption rate of photovoltaic power generation and maximizing the proportion of green energy consumption. Therefore, under the maximum green energy configuration mode, the capacity of the second adjacent battery can be selected as the target energy storage capacity to ensure that the photovoltaic energy storage system can store more surplus photovoltaic power, thereby achieving a higher self-consumption rate and lower carbon emissions.

[0078] The high cost-effectiveness configuration mode refers to an energy storage capacity configuration mode that prioritizes controlling the investment cost of photovoltaic energy storage systems and achieving optimal economic efficiency. Therefore, under this mode, the capacity of the first adjacent battery can be selected as the target energy storage capacity to minimize the cost of the photovoltaic energy storage system while meeting basic energy storage needs.

[0079] Understandably, if the reference energy storage capacity is greater than the minimum battery capacity but less than the maximum battery capacity, it indicates that the theoretical energy storage demand falls between two adjacent battery capacities. In this case, the target energy storage capacity can be determined from these two adjacent battery capacities based on the energy storage capacity configuration mode of the photovoltaic energy storage system, so that the determined target energy storage capacity meets the user's energy storage capacity configuration requirements.

[0080] In other feasible implementations, when the reference energy storage capacity is greater than the minimum battery capacity but less than the maximum battery capacity, after determining the first and second adjacent battery capacities of the reference energy storage capacity among all battery capacities, the self-consumption rate, investment cost, and other indicators of the photovoltaic energy storage system under the first adjacent battery capacity, as well as the self-consumption rate, investment cost, and other indicators under the second adjacent battery capacity, can be estimated. Then, the first and second adjacent battery capacities, along with their corresponding self-consumption rates, investment costs, and other indicators, are displayed through a user interface, allowing the user to independently select the target energy storage capacity. This embodiment does not specifically limit the implementation method of step S50.

[0081] Based on the above, the technical solution provided in this embodiment analyzes the daily self-consumption capacity by utilizing the photovoltaic power generation curve and the target household's electricity load curve to match the photovoltaic energy storage system's power generation with the household's actual electricity consumption patterns, thus avoiding waste caused by blindly configuring excessive capacity. Simultaneously, based on the target backup power duration, the system identifies the continuous period with the highest total electricity consumption from the electricity load curve and uses the total electricity consumption during that period as the backup power capacity, ensuring that the stored energy can cover the period of most concentrated household electricity consumption and avoiding insufficient backup power. Then, by adding the daily self-consumption capacity to the backup power capacity, a reference energy storage capacity is obtained. This reference energy storage capacity is then compared with the battery capacities of various battery models compatible with the photovoltaic energy storage system to select the target energy storage capacity that can be directly configured. Thus, the technical solution provided in this embodiment, by quantifying and integrating the two types of needs—daily self-use needs and emergency backup power—not only avoids over-configuration of capacity caused by rough estimation based solely on total electricity consumption or fixed ratios, thereby avoiding energy waste to a certain extent, but also prevents insufficient backup power capacity caused by ignoring actual load peaks, thus ensuring backup power reliability.

[0082] In summary, the technical solution provided in this embodiment can achieve a reasonable configuration of energy storage capacity, thereby avoiding energy waste to a certain extent and ensuring the reliability of backup power.

[0083] Based on the first embodiment described above, a second embodiment of the photovoltaic energy storage system energy storage capacity configuration method of this application is proposed. In the second embodiment, before step S30, the photovoltaic energy storage system energy storage capacity configuration method may further include steps S301 to S302: Step S301: Determine the current allowable backup power duration range of the photovoltaic energy storage system based on the maximum battery capacity, daily self-consumption capacity, and the average hourly electricity consumption of the target household among the battery capacities. Average hourly electricity consumption refers to the average hourly electricity consumption of a target household during a typical day, which can be calculated using the following formula 10.

[0084] Formula 10; in, This represents the average hourly electricity consumption. This is the electricity load curve.

[0085] When determining the current allowable backup power duration range of the photovoltaic energy storage system based on the maximum battery capacity, daily self-consumption capacity, and the average hourly electricity consumption of the target household, the maximum allowable backup power duration of the photovoltaic energy storage system can be calculated first using the maximum battery capacity, daily self-consumption capacity, and the average hourly electricity consumption of the target household (the specific calculation process can be expressed as the following formula 11); then, the maximum backup power duration is used as the upper limit of the backup power duration range to construct the backup power duration range.

[0086] Formula 11; in, This represents the maximum allowable backup power duration for a photovoltaic energy storage system. This represents the maximum battery capacity among all battery capacities. For daily self-use capacity, This represents the average hourly electricity consumption.

[0087] Step S302: If the target backup power duration is within the backup power duration range, then the step of determining the first time period with the largest total electricity consumption from the electricity load curve based on the target backup power duration is executed.

[0088] In this embodiment, before determining the backup power capacity, the maximum battery capacity, daily self-consumption capacity, and average hourly electricity consumption of the target household are used to determine the range of backup power duration currently allowed by the photovoltaic energy storage system. This range of backup power duration is then used to verify the feasibility of the target backup power duration. Only after the feasibility verification is passed is the backup power capacity determined. This effectively avoids invalid determination of the backup power capacity due to the backup power duration requirement exceeding the system's physical capacity, thereby further ensuring the reliability of the final determined target energy storage capacity.

[0089] This application also provides an energy storage capacity configuration device for a photovoltaic energy storage system. Please refer to... Figure 4 The energy storage capacity configuration device of the photovoltaic energy storage system may include: The data acquisition module 10 is used to acquire the photovoltaic power generation curve of the photovoltaic energy storage system and the electricity load curve of the target household; The daily capacity determination module 20 is used to determine the daily self-consumption capacity of the photovoltaic energy storage system based on the photovoltaic power generation curve and the electricity load curve. The daily self-consumption capacity refers to the energy storage capacity required by the photovoltaic energy storage system to meet the daily self-consumption of the target households. The backup power capacity determination module 30 is used to determine the first time period with the largest total electricity consumption from the electricity load curve based on the target backup power duration, and to use the total electricity consumption of the electricity load curve in the first time period as the backup power capacity of the photovoltaic energy storage system. The energy storage capacity configuration module 40 is used to take the sum of the daily self-generation and self-consumption capacity and the backup power capacity as the reference energy storage capacity of the photovoltaic energy storage system; and compares the reference energy storage capacity with the battery capacity of each battery model adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured for the photovoltaic energy storage system from each battery capacity.

[0090] In one embodiment, the daily capacity determination module 20 is further configured to: The electrical energy corresponding to the area enclosed between the photovoltaic power generation curve and the electricity load curve is determined as the first energy storage capacity; Based on the photovoltaic power generation curve and the electricity load curve, determine the load electricity that needs to be supported by the discharge of the photovoltaic energy storage system, and use it as the second energy storage capacity; The daily self-consumption capacity is determined from the first energy storage capacity and the second energy storage capacity.

[0091] In one embodiment, the daily capacity determination module 20 is further configured to: Determine the anterior and posterior intersection points between the photovoltaic power generation curve and the electricity load curve; The sum of the total electricity consumption before the first intersection point and the total electricity consumption after the second intersection point of the electricity load curve is used as the candidate energy storage capacity. If the total power generation corresponding to the photovoltaic power generation curve is greater than or equal to the total power consumption corresponding to the power load curve, then the candidate energy storage capacity will be used as the second energy storage capacity. If the total power generation is less than the total power consumption, the sum of the candidate energy storage capacity and the first energy storage capacity will be used as the second energy storage capacity.

[0092] In one embodiment, the daily capacity determination module 20 is further configured to: The minimum value between the first and second energy storage capacities will be used as the daily self-consumption capacity.

[0093] In one embodiment, the backup power capacity determination module 30 is further configured to: If the target backup power duration is less than the time period corresponding to the power load curve, a first sliding window with a length of the target backup power duration is constructed, and all positions of the first sliding window on the time axis of the power load curve are traversed to determine the first time period with the largest total power consumption, and the total power consumption of the power load curve in the first time period is taken as the backup power capacity. When the target backup power duration is equal to the time period, the sum of the electricity consumption of the electricity load curve within the time period is taken as the backup power capacity. If the target backup power duration is longer than the time period corresponding to the power load curve, divide the target backup power duration by the time period to obtain the number of periods and the remaining duration. Construct a second sliding window with a length equal to the remaining duration, and iterate through all positions of the second sliding window on the time axis of the electricity load curve to determine the second time period with the largest total electricity consumption, and use the total electricity consumption of the electricity load curve in the second time period as the first reserve power. The product of the total electricity consumption within a time period and the number of periods is used as the second reserve power. The sum of the first and second backup power supplies is taken as the backup power capacity.

[0094] In one embodiment, the backup power capacity determination module 30 is further configured to: Based on the maximum battery capacity, daily self-consumption capacity, and the average hourly electricity consumption of the target household, determine the current allowable backup power duration range for the photovoltaic energy storage system; If the target backup power duration is within the backup power duration range, then the step of determining the first time period with the largest total electricity consumption from the electricity load curve based on the target backup power duration will be executed.

[0095] In one embodiment, the energy storage capacity configuration module 40 is further configured to: If the reference energy storage capacity is less than or equal to the smallest battery capacity among all battery capacities, then the smallest battery capacity will be used as the target energy storage capacity. If the reference energy storage capacity is greater than or equal to the maximum battery capacity among all battery capacities, then the maximum battery capacity shall be used as the target energy storage capacity. If the reference energy storage capacity is greater than the minimum battery capacity and less than the maximum battery capacity, then the first adjacent battery capacity and the second adjacent battery capacity of the reference energy storage capacity among all battery capacities are determined; the first adjacent battery capacity is less than the second adjacent battery capacity. Based on the energy storage capacity configuration mode of the photovoltaic energy storage system, the target energy storage capacity is determined from the capacity of the first adjacent battery and the capacity of the second adjacent battery.

[0096] In one embodiment, the energy storage capacity configuration module 40 is further configured to: When the energy storage capacity configuration mode is the maximum green electricity configuration mode, the capacity of the second adjacent battery is taken as the target energy storage capacity. When the energy storage capacity configuration mode is the high cost-performance configuration mode, the capacity of the first adjacent battery is used as the target energy storage capacity.

[0097] In one embodiment, the data acquisition module 10 is further configured to: Obtain the target household's weekday load curve, weekend load curve, and average monthly electricity consumption over the past year; The electricity load curve is generated based on the monthly weekday load curve, rest day load curve, and average monthly electricity consumption.

[0098] The energy storage capacity configuration device for a photovoltaic energy storage system provided in this application adopts the energy storage capacity configuration method for a photovoltaic energy storage system in the above embodiments, which can achieve reasonable configuration of energy storage capacity, thereby avoiding energy waste to a certain extent and ensuring backup power reliability. Compared with the prior art, the beneficial effects of the energy storage capacity configuration device for a photovoltaic energy storage system provided in this application are the same as the beneficial effects of the energy storage capacity configuration method for a photovoltaic energy storage system provided in the above embodiments, and other technical features in the energy storage capacity configuration device for this photovoltaic energy storage system are the same as the features disclosed in the methods of the above embodiments, and will not be repeated here.

[0099] This application also provides an energy storage capacity configuration device, which may include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the energy storage capacity configuration method of the photovoltaic energy storage system in the above embodiments.

[0100] The following is for reference. Figure 5 It shows a structural schematic diagram of an energy storage capacity configuration device suitable for implementing the embodiments of this application. Figure 5 The energy storage capacity configuration device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0101] like Figure 5As shown, the energy storage capacity configuration device may include a processing unit 101 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 102 or a program loaded from a storage device 103 into a random access memory 104. The random access memory 104 also stores various programs and data required for the operation of the energy storage capacity configuration device. The processing unit 101, the read-only memory 102, and the random access memory 104 are interconnected via a bus 105. An input / output interface 106 is also connected to the bus 105. Typically, the following systems can be connected to the input / output interface 106: input devices 107 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 108 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 103 including, for example, magnetic tape, hard disk, etc.; and communication devices 109. The communication device 109 allows the energy storage capacity configuration device to communicate wirelessly or wiredly with other devices to exchange data. Although the diagram shows energy storage capacity configurations with various systems, it should be understood that it is not required to implement or have all of the systems shown. Alternatively, more or fewer systems may be implemented.

[0102] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 103, or installed from read-only memory 102. When the computer program is executed by processing device 101, it performs the functions defined in the methods of the embodiments of this application.

[0103] The energy storage capacity configuration device provided in this application adopts the energy storage capacity configuration method of the photovoltaic energy storage system in the above embodiments, which can achieve reasonable configuration of energy storage capacity, thereby avoiding energy waste to a certain extent and ensuring backup power reliability. Compared with the prior art, the beneficial effects of the energy storage capacity configuration device provided in this application are the same as the beneficial effects of the energy storage capacity configuration method of the photovoltaic energy storage system provided in the above embodiments, and other technical features in the energy storage capacity configuration device are the same as the features disclosed in the methods of the above embodiments, and will not be repeated here.

[0104] It should be understood that various parts of the embodiments of this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0105] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the above claims.

[0106] This application also provides a computer-readable storage medium storing a computer program that can run on a processor. The computer program is used to execute the energy storage capacity configuration method of the photovoltaic energy storage system in the above embodiments.

[0107] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0108] The aforementioned computer-readable storage medium may be included in the energy storage capacity configuration device; or it may exist independently and not be assembled into the energy storage capacity configuration device.

[0109] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the energy storage capacity configuration device, cause the energy storage capacity configuration device to: acquire the photovoltaic power generation curve of the photovoltaic energy storage system and the electricity load curve of the target household; determine the daily self-consumption capacity of the photovoltaic energy storage system based on the photovoltaic power generation curve and the electricity load curve, wherein the daily self-consumption capacity refers to the energy storage capacity required by the photovoltaic energy storage system to meet the daily self-consumption of the target household; determine the first time period covering the largest total electricity consumption from the electricity load curve based on the target backup power duration, and use the total electricity consumption of the electricity load curve in the first time period as the backup power capacity of the photovoltaic energy storage system; use the sum between the daily self-consumption capacity and the backup power capacity as the reference energy storage capacity of the photovoltaic energy storage system; and compare the reference energy storage capacity with the battery capacity of each battery model adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured for the photovoltaic energy storage system from the battery capacities.

[0110] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0111] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0112] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0113] The computer-readable storage medium provided in this application embodiment stores computer-readable program instructions for executing the energy storage capacity configuration method of the photovoltaic energy storage system described above. This enables the rational configuration of energy storage capacity, thereby avoiding energy waste to a certain extent and ensuring backup power reliability. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the energy storage capacity configuration method of the photovoltaic energy storage system provided in the above embodiments, and will not be repeated here.

[0114] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the energy storage capacity configuration method of the photovoltaic energy storage system as described above.

[0115] The computer program product provided in this application can achieve reasonable configuration of energy storage capacity, thereby avoiding energy waste to a certain extent and ensuring backup power reliability. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the energy storage capacity configuration method of the photovoltaic energy storage system provided in the above embodiments, and will not be repeated here.

[0116] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. A method for configuring the energy storage capacity of a photovoltaic energy storage system, characterized in that, The method includes: Obtain the photovoltaic power generation curve of the photovoltaic energy storage system and the electricity load curve of the target household; Based on the photovoltaic power generation curve and the electricity load curve, the daily self-consumption capacity of the photovoltaic energy storage system is determined. The daily self-consumption capacity refers to the energy storage capacity required by the photovoltaic energy storage system to meet the daily self-consumption of the target household. Based on the target backup power duration, the first time period with the largest total electricity consumption is determined from the electricity load curve, and the total electricity consumption of the electricity load curve in the first time period is taken as the backup power capacity of the photovoltaic energy storage system. The sum of the daily self-consumption capacity and the backup power capacity is used as the reference energy storage capacity of the photovoltaic energy storage system. The reference energy storage capacity is compared with the battery capacity of each battery model adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured for the photovoltaic energy storage system from the battery capacities.

2. The method as described in claim 1, characterized in that, The step of determining the daily self-consumption capacity of the photovoltaic energy storage system based on the photovoltaic power generation curve and the electricity load curve includes: The electrical energy corresponding to the area enclosed between the photovoltaic power generation curve and the electricity load curve is determined as the first energy storage capacity; Based on the photovoltaic power generation curve and the electricity load curve, the amount of electricity required to be supported by the discharge of the photovoltaic energy storage system is determined as the second energy storage capacity. The daily self-generated and self-consumed capacity is determined from the first energy storage capacity and the second energy storage capacity.

3. The method as described in claim 2, characterized in that, The step of determining the load electricity consumption that needs to be supported by the discharge of the photovoltaic energy storage system as the second energy storage capacity based on the photovoltaic power generation curve and the electricity load curve includes: Determine the first and last intersection points between the photovoltaic power generation curve and the electricity load curve; The sum of the total electricity consumption before the first intersection point and the total electricity consumption after the second intersection point of the electricity load curve is used as the candidate energy storage capacity. If the total power generation corresponding to the photovoltaic power generation curve is greater than or equal to the total power consumption corresponding to the power load curve, then the candidate energy storage capacity is taken as the second energy storage capacity. If the total power generation is less than the total power consumption, then the sum of the candidate energy storage capacity and the first energy storage capacity shall be used as the second energy storage capacity.

4. The method as described in claim 2, characterized in that, The step of determining the daily self-consumption capacity from the first energy storage capacity and the second energy storage capacity includes: The minimum value between the first energy storage capacity and the second energy storage capacity shall be taken as the daily self-generated and self-consumed capacity.

5. The method as described in claim 1, characterized in that, The step of determining the first time period covering the largest total electricity consumption from the electricity load curve based on the target backup power duration, and using the total electricity consumption of the electricity load curve within the first time period as the backup power capacity of the photovoltaic energy storage system, includes: If the target backup power duration is less than the time period corresponding to the power load curve, a first sliding window with a length of the target backup power duration is constructed, and all positions of the first sliding window on the time axis of the power load curve are traversed to determine the first time period with the largest total power consumption, and the total power consumption of the power load curve in the first time period is taken as the backup power capacity. When the target backup power duration is equal to the time period, the sum of the electricity consumption of the electricity load curve within the time period is taken as the backup power capacity. If the target backup power duration is greater than the time period corresponding to the power load curve, divide the target backup power duration by the time period to obtain the number of periods and the remaining duration. Construct a second sliding window with a length equal to the remaining duration, and traverse all positions of the second sliding window on the time axis of the electricity load curve to determine the second time period covering the largest total electricity consumption, and use the total electricity consumption of the electricity load curve in the second time period as the first reserve power. The product of the total electricity consumption of the electricity load curve within the time period and the number of periods is used as the second reserve power. The sum of the first backup power and the second backup power is taken as the backup power capacity.

6. The method as described in claim 1, characterized in that, Before the step of determining the first time period covering the largest total electricity consumption from the electricity load curve based on the target backup power duration, the method further includes: Based on the maximum battery capacity among the various battery capacities, the daily self-consumption capacity, and the average hourly electricity consumption of the target household, the range of backup power duration currently allowed for the photovoltaic energy storage system is determined. If the target backup power duration is within the backup power duration range, then the step of determining the first time period covering the largest total electricity consumption from the electricity load curve based on the target backup power duration is executed.

7. The method as described in claim 1, characterized in that, The step of comparing the reference energy storage capacity with the battery capacities of various battery models adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured in the photovoltaic energy storage system from the battery capacities includes: If the reference energy storage capacity is less than or equal to the smallest battery capacity among all the battery capacities, then the smallest battery capacity shall be used as the target energy storage capacity. If the reference energy storage capacity is greater than or equal to the maximum battery capacity among all the battery capacities, then the maximum battery capacity is taken as the target energy storage capacity. If the reference energy storage capacity is greater than the minimum battery capacity and less than the maximum battery capacity, then the reference energy storage capacity is determined to be the first adjacent battery capacity and the second adjacent battery capacity among the battery capacities; the first adjacent battery capacity is less than the second adjacent battery capacity. The target energy storage capacity is determined from the first adjacent battery capacity and the second adjacent battery capacity according to the energy storage capacity configuration mode of the photovoltaic energy storage system.

8. The method as described in claim 7, characterized in that, The step of determining the target energy storage capacity from the first adjacent battery capacity and the second adjacent battery capacity according to the energy storage capacity configuration mode of the photovoltaic energy storage system includes: When the energy storage capacity configuration mode is the maximum green electricity configuration mode, the capacity of the second adjacent battery is taken as the target energy storage capacity; When the energy storage capacity configuration mode is the high cost-performance configuration mode, the capacity of the first adjacent battery is taken as the target energy storage capacity.

9. The method according to any one of claims 1 to 8, characterized in that, The steps to obtain the electricity load curve for the target household include: Obtain the weekday load curve, weekend load curve, and average monthly electricity consumption of the target household over the past year; The electricity load curve is generated based on the monthly workday load curve, the rest day load curve, and the monthly average electricity consumption.

10. A device for configuring the energy storage capacity of a photovoltaic energy storage system, characterized in that, The device includes: The data acquisition module is used to acquire the photovoltaic power generation curve of the photovoltaic energy storage system and the electricity load curve of the target household; The daily capacity determination module is used to determine the daily self-consumption capacity of the photovoltaic energy storage system based on the photovoltaic power generation curve and the electricity load curve. The daily self-consumption capacity refers to the energy storage capacity required by the photovoltaic energy storage system to meet the daily self-consumption of the target household. The backup power capacity determination module is used to determine the first time period with the largest total electricity consumption from the electricity load curve based on the target backup power duration, and to use the total electricity consumption of the electricity load curve in the first time period as the backup power capacity of the photovoltaic energy storage system. The energy storage capacity configuration module is used to take the sum of the daily self-generated and self-consumed capacity and the backup power capacity as the reference energy storage capacity of the photovoltaic energy storage system; and to compare the reference energy storage capacity with the battery capacity of each battery model adapted to the photovoltaic energy storage system to determine the target energy storage capacity to be configured for the photovoltaic energy storage system from the battery capacities.

11. An energy storage capacity configuration device, characterized in that, The energy storage capacity configuration device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the energy storage capacity configuration method of the photovoltaic energy storage system as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the energy storage capacity configuration method of the photovoltaic energy storage system as described in any one of claims 1 to 9.