Electricity control method and apparatus for photovoltaic community, photovoltaic community system, and medium
By employing priority control and incremental PID control methods in photovoltaic communities, hierarchical management and power consumption adjustment of electrical equipment are achieved, solving the problem of power instability caused by insufficient power in energy storage boxes, and realizing stable and reliable power supply and improving the power quality of the system.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2025-09-11
- Publication Date
- 2026-07-02
Smart Images

Figure CN2025120612_02072026_PF_FP_ABST
Abstract
Description
Electricity control methods and devices for photovoltaic communities, photovoltaic community systems and media
[0001] Cross-references to related applications
[0002] This application is based on and claims priority to CN application number CN 202411910969.2, filed on December 24, 2024, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] This disclosure relates to the field of photovoltaic community technology, and in particular to a method and apparatus for controlling electricity consumption in a photovoltaic community, a photovoltaic community system, and a medium. Background Technology
[0004] Most photovoltaic communities use photovoltaic panels to generate electricity during the day to supply the community's electricity needs, while storing excess electricity in battery packs in energy storage boxes; at night, they rely on the energy storage boxes to discharge to maintain the community's electricity demand. Summary of the Invention
[0005] According to one aspect of this disclosure, a method for controlling electricity consumption in a photovoltaic community is provided, comprising:
[0006] Determine whether the power output provided by the photovoltaic system is less than a predetermined threshold;
[0007] When the power available from the photovoltaic system is less than a predetermined threshold, the energy storage system is controlled to supply power to the electrical devices according to their priority, wherein the electrical devices are those within the photovoltaic community.
[0008] In some embodiments of this disclosure, the control energy storage system supplies power to electrical devices according to their priority, including:
[0009] Based on the power available from the energy storage system and the priority of each electrical device, determine the target power consumption of each electrical device;
[0010] An incremental proportional-integral-derivative control method is adopted to control the power consumption of each electrical device to achieve the target power consumption.
[0011] In some embodiments of this disclosure, determining the target power consumption of each electrical device based on the available power of the energy storage system and the priority of each device includes:
[0012] Calculate the sum of the rated power of electrical equipment for each priority level;
[0013] The current priority is determined sequentially from the highest priority to the lowest priority.
[0014] For the current priority electrical equipment, determine whether the power that the energy storage system can provide is greater than or equal to the first total power, wherein the first total power is the sum of the rated power of the current priority electrical equipment.
[0015] If the power available from the energy storage system is greater than or equal to the sum of the first power, the target power of the current priority electrical device is determined to be the rated power of the electrical device.
[0016] In some embodiments of this disclosure, determining the target power consumption of each electrical device based on the power available from the energy storage system and the priority of each device further includes:
[0017] If the power available from the energy storage system is less than the sum of the first power, the target power of the electrical equipment with a priority lower than or equal to the current power is determined as a predetermined proportion of the rated power of the electrical equipment.
[0018] In some embodiments of this disclosure, the predetermined ratio is a range greater than or equal to 0 and less than 1.
[0019] In some embodiments of this disclosure, determining the target power consumption of each electrical device based on the available power of the energy storage system and the priority of each device includes:
[0020] Calculate the sum of the rated power of electrical equipment for each priority level;
[0021] For N priorities, determine N first power sums, where N is the number of priorities of electrical equipment in the photovoltaic community, and the first power sum is the sum of the rated power of electrical equipment with a priority higher than or equal to the current priority;
[0022] Based on the sum of N first power values, determine N+1 power value ranges; and determine the target power consumption of each electrical device when the power available from the energy storage system falls within each of the N+1 power value ranges.
[0023] In some embodiments of this disclosure, the priority of the electrical equipment includes a first priority, a second priority, a third priority, and a fourth priority, wherein the first priority is higher than the second priority, the second priority is higher than the third priority, and the third priority is higher than the fourth priority.
[0024] In some embodiments of this disclosure, determining N+1 power value ranges based on the sum of N first power values; and determining the target power consumption of each electrical device when the available power consumption of the energy storage system falls within each of the N+1 power value ranges includes:
[0025] If the power available from the energy storage system is greater than or equal to the sum of the rated power of all electrical devices, the target power of all electrical devices shall be determined as the rated power of the electrical devices.
[0026] If the power available from the energy storage system is less than the sum of the rated power of all electrical devices, but greater than or equal to the sum of the rated power of the first, second, and third priority electrical devices, the target power of the first, second, and third priority electrical devices is determined as the rated power of the electrical devices, and the target power of the fourth priority electrical devices is determined as a predetermined proportion of the rated power of the electrical devices.
[0027] In some embodiments of this disclosure, determining N+1 power value ranges based on the sum of N first power values; and determining the target power consumption of each electrical device when the available power consumption of the energy storage system falls within each of the N+1 power value ranges includes:
[0028] If the power available from the energy storage system is less than the sum of the rated power of the first, second, and third priority electrical devices, but greater than or equal to the sum of the rated power of the first and second priority electrical devices, then the target power for the first and second priority electrical devices is determined as the rated power of the electrical devices, and the target power for the third and fourth priority electrical devices is determined as a predetermined proportion of the rated power of the electrical devices.
[0029] In some embodiments of this disclosure, determining N+1 power value ranges based on the sum of N first power values; and determining the target power consumption of each electrical device when the available power consumption of the energy storage system falls within each of the N+1 power value ranges includes:
[0030] If the power available from the energy storage system is less than the sum of the rated power of the first-priority and second-priority electrical devices, but greater than or equal to the sum of the rated power of the first-priority electrical devices, the target power of the first-priority electrical devices is determined to be the rated power of the electrical devices, and the target power of the second-priority, third-priority, and fourth-priority electrical devices is determined to be a predetermined proportion of the rated power of the electrical devices.
[0031] If the power available from the energy storage system is less than the total rated power of the first-priority electrical devices, the target power for all electrical devices is determined as a predetermined proportion of the rated power of the electrical devices.
[0032] In some embodiments of this disclosure, the incremental proportional-integral-derivative (PID) control method is used to control the power consumption of each electrical device to achieve the target power consumption, including:
[0033] For each electrical device, obtain the actual power consumption and target power consumption of that device;
[0034] The power difference of the electrical equipment is determined based on its actual power consumption and target power consumption.
[0035] An incremental proportional-integral-derivative control method is adopted to adjust the actual power consumption of the electrical equipment according to the power difference.
[0036] In some embodiments of this disclosure, the predetermined threshold is the sum of the rated power of all electrical devices within the photovoltaic community.
[0037] In some embodiments of this disclosure, the power control method further includes:
[0038] When the power supplied by the photovoltaic system is not less than a predetermined threshold, control the photovoltaic system to supply power to the electrical equipment.
[0039] According to another aspect of this disclosure, an electrical control device is provided, comprising:
[0040] The power judgment module is configured to determine whether the power available from the photovoltaic system is less than a predetermined threshold.
[0041] The control module is configured to control the energy storage system to supply power to electrical devices according to their priority when the power available from the photovoltaic system is less than a predetermined threshold, wherein the electrical devices are those within the photovoltaic community.
[0042] According to another aspect of this disclosure, an electrical control device is provided, comprising:
[0043] The memory is configured to store instructions; and
[0044] The processor is configured to execute the instructions, causing the power control device to implement the power control method as described in any of the above embodiments.
[0045] According to another aspect of this disclosure, a photovoltaic community system is provided, including an electricity control device as described in any of the above embodiments.
[0046] According to another aspect of this disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions that, when executed by a processor, implement the power control method as described in any of the above embodiments.
[0047] According to another aspect of this disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, it implements the power control method as described in any of the above embodiments. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 is a schematic diagram of some embodiments of the power consumption control method for photovoltaic communities disclosed herein.
[0050] Figure 2 is a schematic diagram of some other embodiments of the power consumption control method for the photovoltaic community disclosed herein.
[0051] Figure 3 is a schematic diagram of the incremental proportional-integral-derivative control method in some embodiments of this disclosure.
[0052] Figure 4 is a schematic diagram of some embodiments of the power control method for photovoltaic communities disclosed herein.
[0053] Figure 5 is a schematic diagram of the structure of some embodiments of the power control device disclosed herein.
[0054] Figure 6 is a schematic diagram of the structure of some other embodiments of the power control device disclosed herein.
[0055] Figure 7 is a schematic diagram of the structure of some embodiments of the power control system disclosed herein.
[0056] Figure 8 is a structural schematic diagram of some other embodiments of the power control system disclosed herein. Detailed Implementation
[0057] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0058] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of this disclosure.
[0059] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0060] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0061] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0062] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0063] The inventors discovered through research that photovoltaic communities using related technologies often fail to make effective, reasonable, and timely adjustments when the energy storage tanks are low on power at night, leading to power outages and unstable power supply, which is detrimental to the stability and reliability of the photovoltaic community. A distributed photovoltaic air conditioning system based on related technologies solves the technical problem of low regional energy utilization efficiency and difficulty in achieving energy sharing in existing photovoltaic air conditioning systems. However, this technology focuses more on the grid side than the energy storage side and does not address the technical problem of how to more rationally allocate limited power resources when power is scarce.
[0064] In view of at least one of the above technical problems, this disclosure provides a method and device for power consumption control in a photovoltaic community, a photovoltaic community system and medium, which can use priority control to hierarchically manage each power-consuming device, making power consumption more stable and reliable.
[0065] Figure 1 is a schematic diagram of some embodiments of the electricity control method for a photovoltaic community according to this disclosure. The embodiments of Figure 1 can be executed by the photovoltaic community system or the electricity control device of this disclosure. As shown in Figure 1, the method of the embodiment of Figure 1 may include at least one of steps 1 and 2.
[0066] Step 1: Determine whether the power available from the photovoltaic system is less than a predetermined threshold.
[0067] Step 2: When the power available from the photovoltaic system is less than a predetermined threshold, control the energy storage system to supply power to the electrical devices according to their priority, wherein the electrical devices are those within the photovoltaic community.
[0068] The embodiments disclosed above can utilize priority control to manage each electrical device in a hierarchical manner, making the power supply more stable and reliable, and prioritizing the stable and reliable power supply to more important electrical devices.
[0069] In some embodiments of this disclosure, the power control method may further include: controlling the photovoltaic system to supply power to electrical equipment when the power available from the photovoltaic system is not less than a predetermined threshold.
[0070] In the above embodiments of this disclosure, when the photovoltaic power output exceeds a predetermined threshold, photovoltaic power supply is preferentially used. Direct photovoltaic power supply avoids the energy loss during the process of photovoltaic power supply to energy storage and the external discharge of energy storage, thereby saving system power consumption and improving system power quality.
[0071] In some embodiments of this disclosure, the predetermined threshold is the sum of the rated power of all electrical devices within the photovoltaic community.
[0072] The embodiments disclosed herein use a predetermined threshold as the sum of the rated power of all electrical devices within the photovoltaic community. This can better ensure that the photovoltaic system directly supplies power to the electrical devices, thereby further saving system power consumption and improving system power quality.
[0073] Figure 2 is a schematic diagram of some other embodiments of the power consumption control method for the photovoltaic community disclosed herein. The embodiments of Figure 2 can be executed by the photovoltaic community system or the power consumption control device of the present disclosure. As shown in Figure 2, the method of the embodiment of Figure 2 (e.g., the step of controlling the energy storage system to supply power to electrical devices according to the priority of the electrical devices described in the embodiment of Figure 1) may include at least one of steps 21 to 23.
[0074] In some embodiments of this disclosure, the power control device can be implemented as a flexible control system.
[0075] In some embodiments of this disclosure, Figure 2 is a simplified diagram of the algorithm sequence executed by the minimum control system of the flexible control system.
[0076] Step 21: Determine the priority of electrical equipment.
[0077] In some embodiments of this disclosure, step 21 may include: determining the priority of each electrical device.
[0078] Step 22: Determine the target power consumption and target electrical power of each electrical device.
[0079] In some embodiments of this disclosure, step 22 may include: determining the target power consumption of each electrical device based on the power consumption that the energy storage system can provide and the priority of each electrical device.
[0080] In some embodiments of this disclosure, step 22 may include at least one of steps 221 to 227.
[0081] Step 221: Calculate the sum of the rated power of electrical equipment for each priority.
[0082] Step 222: Set the highest priority as the current priority.
[0083] Step 223: For the current priority electrical equipment, determine whether the power that the energy storage system can provide is greater than or equal to the first total power, wherein the first total power is the sum of the rated power of the current priority electrical equipment.
[0084] Step 224: If the power available from the energy storage system is less than the first total power, determine the target power of the electrical equipment with a priority lower than or equal to the current power as a predetermined proportion of the rated power of the electrical equipment.
[0085] In the above embodiments of this disclosure, if the total rated power of electrical devices with a priority lower than the sum of the rated power of the current priority devices is not supplied, or the power supply to electrical devices with a priority lower than or equal to the current priority is supplied according to a predetermined ratio. Thus, the above embodiments of this disclosure can ensure that high-priority electrical appliances can receive a stable and reliable power supply.
[0086] In some embodiments of this disclosure, the predetermined ratio is a range greater than or equal to 0 and less than 1.
[0087] In some embodiments of this disclosure, the predetermined ratio is 0.
[0088] In other embodiments of this disclosure, the predetermined ratio is 50%.
[0089] In the above embodiments of this disclosure, when the energy storage power is insufficient, power is not supplied to low-priority electrical devices or is supplied in a small amount. Therefore, the above embodiments of this disclosure can ensure that high-priority electrical devices can receive a stable and reliable power supply.
[0090] In the above embodiments of this disclosure, if a processing method greater than or equal to 0 and less than 1 is adopted, compared with a processing method equal to 0, it is possible to appropriately ensure that a predetermined proportion of the rated power is supplied to low-priority electrical equipment when the energy storage power is insufficient.
[0091] Step 225: If the power available from the energy storage system is greater than or equal to the sum of the first power, determine the target power of the current priority electrical device as the rated power of the electrical device; then proceed to step 226.
[0092] The embodiments of this disclosure determine whether the power available from the energy storage system is greater than or equal to the sum of the first power of the highest priority devices, starting from the highest priority. If it is greater than or equal to the sum of the first power of the highest priority devices, then power is supplied according to the rated power. Therefore, the embodiments of this disclosure can prioritize and ensure a stable and reliable power supply for more important first-priority electrical equipment.
[0093] Step 226: Determine if there is a priority level one level lower than the current priority; if there is no priority level one level lower than the current priority, the process ends; otherwise, if there is a priority level one level lower than the current priority, proceed to step 227.
[0094] Step 227: Take the priority one level lower than the current priority as the current priority; then repeat steps 223 to 226.
[0095] The embodiments of this disclosure employ a cyclical approach to determine the target power consumption. Each priority level, from highest to lowest, is sequentially used as the current priority, and it is determined whether the target power consumption of each priority device is met. Therefore, the embodiments of this disclosure can conveniently, quickly, and accurately determine whether the power consumption provided by the energy storage system can meet the power supply needs of devices with multiple priority levels, from high to low. By setting multiple priorities, the embodiments of this disclosure can ensure that the stable and reliable power supply needs of devices are met at multiple different levels.
[0096] In some embodiments of this disclosure, step 22 may include: calculating the sum of the rated power of electrical devices for each priority; for N priorities, determining N first power sums, wherein the first power sum is the sum of the rated power of electrical devices that is higher than or equal to the current priority, and N is the number of priorities of electrical devices in the photovoltaic community; determining N+1 power value ranges based on the N first power sums; and determining the target power consumption of each electrical device in each of the N+1 power value ranges, provided that the power consumption that the energy storage system can provide is within each of the N+1 power value ranges.
[0097] Other embodiments of this disclosure employ N priorities to determine N+1 power ranges. Then, given that the power available from the energy storage system falls within each of these N+1 power ranges, a specific technical solution for determining the target power consumption is determined. By setting N priorities, the embodiments of this disclosure enable the stable and reliable power supply requirements of electrical equipment to be met at N+1 different levels.
[0098] In some embodiments of this disclosure, the priority of the electrical equipment includes a first priority, a second priority, a third priority, and a fourth priority, wherein the first priority is higher than the second priority, the second priority is higher than the third priority, and the third priority is higher than the fourth priority.
[0099] In some embodiments of this disclosure, the first priority electrical equipment can be special important equipment, such as: base stations, gateways, surveillance cameras in photovoltaic communities, touch screens equipped with energy storage boxes in photovoltaic communities, etc.; the second priority electrical equipment can be lighting electrical equipment; the third priority electrical equipment can be air conditioners, centrifuges, multi-split air conditioners, etc.; and the fourth priority electrical equipment can be microwave ovens and other everyday household appliances.
[0100] In some embodiments of this disclosure, based on daily usage habits, the priority of electrical equipment should be set as follows: critical equipment > lighting equipment > air conditioning > other daily electrical equipment. This setting can be freely switched according to different usage scenarios, providing flexibility.
[0101] In some embodiments of this disclosure, in a 100kW-class energy storage converter development project, a single energy storage unit can control 100kW of electrical energy. For example, a single energy storage unit can allocate power according to the following proportions: critical equipment (10kW), lighting equipment (20kW), air conditioning (40kW), and other everyday electrical equipment (30kW). The allocation in the above embodiments of this disclosure can be set at any time via software.
[0102] The embodiments of this disclosure, by setting four priorities, ensure that the stable and reliable power supply needs of electrical equipment are met at four different levels. These embodiments guarantee that high-priority electrical appliances receive a stable and reliable power supply.
[0103] In some embodiments of this disclosure, when the priority of the electrical equipment includes a first priority, a second priority, a third priority, and a fourth priority, the step of determining N+1 power value ranges based on the sum of N first power values, and determining the target power of each electrical equipment when the power available from the energy storage system falls within each of the N+1 power value ranges, may include at least one of steps 22a to 22e.
[0104] Step 22a: If the power available from the energy storage system is greater than or equal to the sum of the rated power of all electrical devices, determine the target power of all electrical devices as the rated power of the electrical devices.
[0105] In the above embodiments of this disclosure, if the power provided by the energy storage system is greater than or equal to the sum of the rated power of all electrical devices, then the stable and reliable power supply needs of all electrical devices of four priorities can be met.
[0106] Step 22b: If the power available from the energy storage system is less than the sum of the rated power of all electrical devices, but greater than or equal to the sum of the rated power of the first priority, second priority, and third priority electrical devices, determine the target power of the first priority, second priority, and third priority electrical devices as the rated power of the electrical devices, and determine the target power of the fourth priority electrical devices as a predetermined proportion of the rated power of the electrical devices.
[0107] In the above embodiments of this disclosure, if the power provided by the energy storage system is less than the sum of the rated power of all electrical devices, but greater than or equal to the sum of the rated power of the three highest priority electrical devices, then the three highest priority electrical devices can be guaranteed to receive a stable and reliable power supply; the lowest priority electrical devices can also be supplied with power according to a predetermined proportion of their rated power.
[0108] Step 22c: If the power available from the energy storage system is less than the sum of the rated power of the first, second, and third priority electrical devices, but greater than or equal to the sum of the rated power of the first and second priority electrical devices, then the target power for the first and second priorities is determined as the rated power of the electrical devices, and the target power for the third and fourth priority electrical devices is determined as a predetermined proportion of the rated power of the electrical devices.
[0109] In the above embodiments of this disclosure, if the power provided by the energy storage system is less than the sum of the rated power of the three highest priority electrical devices, but greater than or equal to the sum of the rated power of the two highest priority electrical devices, then the two highest priority electrical devices can be guaranteed to receive a stable and reliable power supply, and the two lowest priority electrical devices can also be supplied with power according to a predetermined proportion of the rated power, thereby ensuring a certain degree of power supply for the two lowest priority electrical devices.
[0110] Step 22d: If the power available from the energy storage system is less than the sum of the rated power of the first-priority and second-priority electrical devices, but greater than or equal to the sum of the rated power of the first-priority electrical devices, the target power of the first-priority electrical devices is determined to be the rated power of the electrical devices, and the target power of the second-priority, third-priority, and fourth-priority electrical devices is determined to be a predetermined proportion of the rated power of the electrical devices.
[0111] In the above embodiments of this disclosure, if the sum of the rated power of the two highest priority electrical devices is greater than or equal to the sum of the rated power of the highest priority electrical device, then the highest priority electrical device can be guaranteed to receive a stable and reliable power supply, and the lowest three priority electrical devices can also be supplied with power according to a predetermined proportion of their rated power, thereby ensuring a certain degree of power supply for the lowest three priority electrical devices.
[0112] Step 22e: If the power available from the energy storage system is less than the total rated power of the first priority electrical devices, determine the target power of all electrical devices as a predetermined proportion of the rated power of the electrical devices.
[0113] In the above embodiments of this disclosure, if the power provided by the energy storage system is less than the sum of the rated power of the highest priority electrical devices, then a certain degree of power supply guarantee can be obtained for all electrical devices.
[0114] In summary, the embodiments of this disclosure, by setting four priorities, can ensure a stable and reliable power supply to electrical equipment. Furthermore, by setting four priorities, the embodiments of this disclosure ensure that the power consumption provided by the energy storage system is met at five different levels within five different ranges.
[0115] Step 22 will now be described for the energy storage enclosure of a 100kW-class energy storage converter. Step 22 may include at least one of steps a to f.
[0116] Step a: Calculate the total rated power of electrical equipment for each priority level. For example: 10KW for special important equipment, 20KW for lighting equipment, 40KW for air conditioning, and 30KW for other daily electrical equipment.
[0117] Step b: If the power supply provided by the energy storage system is greater than or equal to 100kW, then the target power supply of all electrical devices is set to the rated power of the electrical devices.
[0118] Step c: If the power available from the energy storage system is less than 10kW, then set the target power consumption of all electrical devices to a predetermined percentage (e.g., 0 or 50%) of the rated power of the electrical devices.
[0119] Step d: If the power consumption that the energy storage system can provide is less than 100kW and greater than or equal to 70kW, then the target power consumption of special important equipment, lighting equipment and air conditioning is set as the rated power of the equipment, and the target power consumption of other daily electrical equipment is set as a predetermined proportion of the rated power of the equipment.
[0120] Step e: If the power consumption provided by the energy storage system is less than 70kW and greater than or equal to 30kW, then the target power consumption of special important equipment and lighting equipment is set as the rated power of the equipment, and the target power consumption of air conditioners and other daily electrical equipment is set as a predetermined proportion of the rated power of the equipment.
[0121] Step f: If the power consumption provided by the energy storage system is less than 30kW and greater than or equal to 10kW, then the target power consumption of the special important equipment is set as the rated power of the equipment, and the target power consumption of lighting equipment, air conditioners and other daily electrical equipment is set as a predetermined proportion of the rated power of the equipment.
[0122] Step 23: Use incremental PID (proportional-integral-derivative) control to control the power consumption of each electrical device to achieve the target power consumption.
[0123] In some embodiments of this disclosure, step 23 may include: using PID control to flexibly control the power consumption of each electrical device to achieve the target power consumption.
[0124] The embodiments of this disclosure, based on priority management, determine the target power consumption of each electrical device and dynamically adjust the power consumption of the devices within the system using a PID control algorithm. This prioritization management ensures that high-priority devices operate at their target power consumption, thereby saving system power and improving system efficiency. By determining the target power consumption of each electrical device and dynamically adjusting its power consumption using a PID control algorithm, the embodiments of this disclosure ensure that each device operates at its target power consumption. Real-time control of parameters such as power consumption and frequency of the devices improves system power quality and effectively avoids adverse effects caused by fluctuations in device operating frequencies.
[0125] The embodiments disclosed above can keep the power consumption of electrical equipment in the system dynamically at a reasonable level, greatly reducing the possibility of the community shutting down due to insufficient power while ensuring the operation of electrical equipment in the community.
[0126] The PID algorithm described in the above embodiments of this disclosure is implemented through a combination of three basic control actions: proportional (P), integral (I), and derivative (D) control. Proportional control focuses on the current error and adjusts the output signal accordingly to reduce the error; integral control considers past error accumulation to help eliminate steady-state error; and derivative control predicts future error changes and adjusts the output signal in advance to prevent overshoot or oscillation.
[0127] The embodiments of this disclosure improve the performance of the control system, such as stability, response speed, and overshoot, by calibrating PID parameters (involving the setting of proportional gain, integral time, and derivative time). Simultaneously, the embodiments of this disclosure perform real-time control of parameters such as power consumption and frequency of electrical equipment, effectively avoiding adverse effects on the system caused by fluctuations in the equipment's operating frequency.
[0128] The embodiments of this disclosure employ a flexible PID control algorithm to adjust the power and operating frequency of each electrical device, resulting in precise and efficient control. The PID algorithm used in the embodiments of this disclosure is an incremental PID algorithm, which has advantages such as low computational load and minimal impact from machine failures.
[0129] In some embodiments of this disclosure, step 23 may include at least one of steps 231 to 233.
[0130] Step 231: For each electrical device, obtain the actual power consumption and target power consumption of that device.
[0131] Step 232: Determine the power difference of the electrical equipment based on its actual power consumption and target power consumption.
[0132] In some embodiments of this disclosure, step 232 may include: determining the power difference of the electrical device based on the difference between the actual power consumption and the target power consumption of the electrical device.
[0133] Step 233: Using incremental proportional-integral-derivative control, the actual power consumption of the electrical equipment is adjusted according to the power difference.
[0134] The PID algorithm in the above embodiments of this disclosure is mainly used to adjust the operating power of electrical equipment to achieve efficient control and energy saving. The PID control in the above embodiments of this disclosure, which adjusts the target power, comprehensively considers the gap between the actual operating state of the electrical equipment and the desired output power, thereby dynamically adjusting the actual power of the electrical equipment to achieve the target power.
[0135] The embodiments disclosed above perform real-time statistics on the power of electrical equipment, continuously calculate the difference between the target power and the actual power, and then make dynamic adjustments to achieve flexible dynamic control.
[0136] In the embodiments described above, when power is insufficient, the power consumption of electrical equipment in certain secondary areas is gradually reduced to ensure that the power consumption of the core area is at its rated power. In the embodiments described above, air conditioners, lighting, and other equipment can also be grouped and controlled as a single category. In the embodiments described above, users can control the system via the touchscreen of the energy storage box, and the PID algorithm is integrated into the control board of the energy storage box.
[0137] Figure 3 is a schematic diagram of the incremental proportional-integral-derivative control method in some embodiments of this disclosure. As shown in Figure 3, k is the sampling sequence number, representing each time step; u(k) is the PID calculated output value at the k-th sampling time; r(t) is the set operating power of the equipment (i.e., the target power consumption of the electrical equipment); y(t) is the actual measured operating power of the equipment (i.e., the actual power consumption of the electrical equipment); and e(k) is the power difference between r(t) and y(t).
[0138] The above embodiments of this disclosure employ an incremental PID algorithm. Figure 3 shows the formula and flow of the incremental PID algorithm. The above embodiments of this disclosure require real-time statistics on the power of the electrical equipment, continuously subtracting the target power from the actual power, and then dynamically adjusting to achieve flexible dynamic control.
[0139] In some embodiments of this disclosure, the positional PID expression is shown in Equation (1) according to classical PID control theory.
[0140] In formula (1), k is the sampling sequence number, u(k) is the PID calculated output value at the k-th sampling time, e(k) in the figure is the input deviation value at the k-th sampling time, which is the difference between the target power r(t) of the electrical equipment and the measured actual power y(t), and e(k-1) is the input deviation value at the (k-1)-th sampling time. P k is the proportionality coefficient. I k is the integral coefficient; D is the differential coefficient. Based on formula (1), formula (2) can be derived as follows.
[0141] Subtracting formula (2) from formula (1) yields the expression for the incremental PID control algorithm, as shown in formula (3).
[0142] Δu(k)=k P [e(k)-e(k-1)]+k I e(k)+k D [e(k)-2e(k-1)+e(k-2)](3)
[0143] Incremental PID control algorithms have advantages such as low computational complexity and a small impact range when machines malfunction. Let A = (k P +k I +k D ), B = (k P +2k D ), C = k D Figure 3 shows a schematic diagram of the incremental proportional-integral-derivative control method.
[0144] The embodiments disclosed above can continuously feed the error back to the incremental PID algorithm by subtracting the actual power from the required power, and continuously correct and adjust it so that the operating power of the equipment is always precisely controlled and stays near the required power (target power).
[0145] Figure 4 is a schematic diagram of some embodiments of the electricity control method for the photovoltaic community disclosed herein. The embodiments of Figure 4 can be executed by the photovoltaic community system or the electricity control device of this disclosure. As shown in Figure 4, the method of the embodiments of Figure 4 may include at least one step from step 41 to step 48.
[0146] In some embodiments of this disclosure, the power control device can be implemented as a flexible control module.
[0147] Step 41: The photovoltaic community system is in operation.
[0148] Step 42: The flexible control module determines whether the photovoltaic system's power generation is sufficient. If the photovoltaic system's power generation is sufficient, proceed to step 47; otherwise, if the photovoltaic system's power generation is insufficient, proceed to step 43.
[0149] In some embodiments of this disclosure, step 42 may include: the flexible control module determining whether the power available from the photovoltaic system is greater than or equal to a predetermined threshold. If the power available from the photovoltaic system is greater than or equal to the predetermined threshold, step 47 is executed; otherwise, if the power available from the photovoltaic system is less than the predetermined threshold, step 43 is executed.
[0150] Step 43: The electrical equipment is powered by the energy storage system.
[0151] Step 44: The flexible control module switches to the priority judgment mode for electrical equipment.
[0152] Step 45: The flexible control module determines the power consumption of each electrical device.
[0153] Step 46: The flexible control module uses an incremental proportional-integral-differential algorithm to precisely control the power of electrical equipment, thereby achieving the goal of energy saving and efficiency improvement in the photovoltaic community; thereafter, no other steps in this embodiment are executed.
[0154] Step 47: The electrical equipment is powered by the photovoltaic system.
[0155] Step 48: The flexible control module provides all electrical equipment with normal operating power (rated power) by default.
[0156] The above-described embodiments of this disclosure propose a flexible control method for electricity consumption in photovoltaic communities. Innovatively, a flexible control module is added to the original system. Based on the power value of the energy storage box, it dynamically maintains the power consumption of electrical equipment (such as air conditioners, centrifuges, multi-split air conditioners, and household appliances) in the system at a reasonable level, thus avoiding the possibility of the community shutting down due to insufficient power while ensuring the operation of electrical equipment in the community.
[0157] Figure 5 is a schematic diagram of the structure of some embodiments of the power control device of this disclosure. As shown in Figure 5, the power control device of this disclosure may include a power judgment module 51 and a control module 52.
[0158] The power judgment module 51 is configured to determine whether the power available from the photovoltaic system is less than a predetermined threshold.
[0159] In some embodiments of this disclosure, the predetermined threshold is the sum of the rated power of all electrical devices within the photovoltaic community.
[0160] The control module 52 is configured to control the energy storage system to supply power to the electrical equipment according to the priority of the electrical equipment when the power available from the photovoltaic system is less than a predetermined threshold, wherein the electrical equipment is the electrical equipment within the photovoltaic community.
[0161] In some embodiments of this disclosure, the control module 52 may also be configured to control the photovoltaic system to supply power to the electrical equipment when the power available from the photovoltaic system is not less than a predetermined threshold.
[0162] In some embodiments of this disclosure, when the control module 52 controls the energy storage system to supply power to the electrical devices according to their priorities, it can be configured to determine the target power consumption of each electrical device based on the power consumption that the energy storage system can provide and the priority of each electrical device; and use incremental proportional-integral-derivative control to control the power consumption of each electrical device to achieve the target power consumption.
[0163] In some embodiments of this disclosure, when the control module 52 determines the target power consumption of each electrical device based on the power consumption provided by the energy storage system and the priority of each electrical device, it can be configured to calculate the sum of the rated power of each priority of the electrical devices; sequentially taking each priority from the highest priority to the lowest priority as the current priority; for the electrical devices of the current priority, determining whether the power consumption provided by the energy storage system is greater than or equal to a first total power, wherein the first total power is the sum of the rated power of the electrical devices of the current priority that is higher than or equal to the sum of the rated power of the electrical devices of the current priority; if the power consumption provided by the energy storage system is greater than or equal to the first total power, determining the target power consumption of the electrical devices of the current priority as the rated power of the electrical devices; if the power consumption provided by the energy storage system is less than the first total power, determining the target power consumption of the electrical devices of the current priority as a predetermined proportion of the rated power of the electrical devices.
[0164] In some embodiments of this disclosure, the predetermined ratio can be a range greater than or equal to 0 and less than 1.
[0165] In some embodiments of this disclosure, when the control module 52 determines the target power of each electrical device based on the power available from the energy storage system and the priority of each electrical device, it can also be configured to, if the power available from the energy storage system is greater than the first total power, determine the target power of the current priority electrical device as the rated power of the electrical device, and set the priority one level lower than the current priority as the current priority; then, perform the operation of determining whether the power available from the energy storage system is greater than or equal to the first total power for the current priority electrical device; if the power available from the energy storage system is greater than or equal to the first total power, determine the target power of the current priority electrical device as the rated power of the electrical device; if the power available from the energy storage system is less than the first total power, determine the target power of the electrical device lower than or equal to the rated power of the electrical device as a predetermined proportion of the rated power of the electrical device.
[0166] In some embodiments of this disclosure, the priority of the electrical equipment includes a first priority, a second priority, a third priority, and a fourth priority, wherein the first priority is higher than the second priority, the second priority is higher than the third priority, and the third priority is higher than the fourth priority.
[0167] In some embodiments of this disclosure, when the control module 52 determines the target power of each electrical device based on the power available from the energy storage system and the priority of each electrical device, it can be configured to determine the target power of all electrical devices as the rated power of the electrical devices when the power available from the energy storage system is greater than or equal to the sum of the rated power of all electrical devices.
[0168] In some embodiments of this disclosure, when the control module 52 determines the target power consumption of each electrical device based on the power consumption available from the energy storage system and the priority of each electrical device, it can be configured to calculate the sum of the rated power of each priority electrical device; for N priorities, determine N first power sums, where N is the number of priorities of electrical devices in the photovoltaic community, and the first power sum is the sum of the rated power of electrical devices with a priority higher than or equal to the current priority; determine N+1 power value ranges based on the N first power sums; and determine the target power consumption of each electrical device when the power consumption available from the energy storage system falls within each of the N+1 power value ranges.
[0169] In some embodiments of this disclosure, when the control module 52 determines the target power of each electrical device based on the power available from the energy storage system and the priority of each electrical device, it can also be configured to determine the target power of the first and second priority electrical devices as the rated power of the electrical devices, and determine the target power of the third and fourth priority electrical devices as a predetermined proportion of the rated power of the electrical devices, when the power available from the energy storage system is less than the sum of the rated power of the first, second, and third priority electrical devices, but greater than or equal to the sum of the rated power of the first and second priority electrical devices.
[0170] In some embodiments of this disclosure, when the control module 52 determines the target power of each electrical device based on the power available from the energy storage system and the priority of each electrical device, it can also be configured to determine the target power of the first priority device as the rated power of the electrical device when the power available from the energy storage system is less than the sum of the rated power of the first priority and second priority electrical devices, but greater than or equal to the sum of the rated power of the first priority electrical devices. Furthermore, it can determine the target power of the second priority, third priority, and fourth priority electrical devices as predetermined proportions of the rated power of the electrical devices.
[0171] In some embodiments of this disclosure, when the control module 52 determines the target power of each electrical device based on the power available from the energy storage system and the priority of each electrical device, it can also be configured to determine the target power of all electrical devices as a predetermined proportion of the rated power of the electrical devices when the power available from the energy storage system is less than the sum of the rated power of the electrical devices with the first priority.
[0172] In some embodiments of this disclosure, when the control module 52 uses incremental proportional-integral-derivative (PID) control to control the power consumption of each electrical device to achieve the target power consumption, it can be configured to, for each electrical device, obtain the actual power consumption and the target power consumption of that device; determine the power difference of that device based on the actual power consumption and the target power consumption; and adjust the actual power consumption of that device using incremental PID control based on the power difference.
[0173] In some embodiments of this disclosure, the power control device of this disclosure can be configured to implement the power control method as described in any of the above embodiments.
[0174] This disclosure can utilize priority control to manage various electrical devices in a hierarchical manner, making power supply more stable and reliable, and prioritizing the stable and reliable power supply of more important electrical devices.
[0175] Figure 6 is a schematic diagram of the structure of some other embodiments of the power control device of this disclosure. As shown in Figure 6, the power control device of this disclosure may include a memory 61 and a processor 62.
[0176] The memory 61 is used to store instructions, and the processor 62 is coupled to the memory 61. The processor 62 is configured to execute the power control method of the photovoltaic community involved in the above embodiments based on the instructions stored in the memory.
[0177] As shown in Figure 6, the power control device also includes a communication interface 63 for exchanging information with other devices. Additionally, the power control device includes a bus 64, through which the processor 62, communication interface 63, and memory 61 communicate with each other.
[0178] Memory 61 may include high-speed RAM, and may also include non-volatile memory, such as at least one disk storage device. Memory 61 may also be a memory array. Memory 61 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules.
[0179] Furthermore, processor 62 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present disclosure.
[0180] Figure 7 is a schematic diagram of the structure of some embodiments of the power consumption control system of this disclosure. As shown in Figure 7, the power consumption control device of this disclosure may include a power consumption control device 71, a photovoltaic system 72, a photovoltaic DC / DC (direct current / direct current) conversion device 73, an energy storage system 74, an energy storage DC / DC conversion device 75, and power consumption equipment 76.
[0181] In some embodiments of this disclosure, the power supply of the photovoltaic community relies on the photovoltaic system 72 and the energy storage system 74. The photovoltaic system 72 and the energy storage system 74 can be converted into the power required by the electrical equipment through the photovoltaic DC / DC conversion device 73 and the energy storage DC / DC conversion device 75, respectively, to supply power to the electrical equipment 76. This disclosure adds a power control device 71 between the photovoltaic DC / DC conversion device 73, the energy storage DC / DC conversion device 75 and the electrical equipment 76, as shown in FIG7.
[0182] In some embodiments of this disclosure, the power control device 71 of this disclosure can be implemented as a flexible control module.
[0183] In some embodiments of this disclosure, the flexible control module can be implemented as a control board for an energy storage tank. The flexible control module has a built-in touchscreen. Users can control it via the touchscreen on the energy storage tank, and the PID algorithm is integrated into the control board of the energy storage tank.
[0184] In some embodiments of this disclosure, the power control device 71 of this disclosure can be implemented as the power control device described in any of the above embodiments (e.g., the embodiments of FIG5 or FIG6).
[0185] In some embodiments of this disclosure, the power control device 71 can be configured to determine the power supply system (photovoltaic system, energy storage system) after the photovoltaic community system is running; if the power that the photovoltaic system can provide exceeds a predetermined threshold, the electrical equipment in the photovoltaic community will all rely on the power generated by the photovoltaic system to work at the rated power.
[0186] In some embodiments of this disclosure, the power control device 71 can also be configured to use an energy storage system to power the equipment if the power provided by the photovoltaic system is lower than a predetermined threshold. Since the energy storage system consists of numerous batteries, to avoid power outages in the photovoltaic community caused by the depletion of power, the power control device 71 adopts flexible control, mainly divided into: priority judgment of power-consuming equipment and PID control.
[0187] The embodiments of this disclosure incorporate a flexible control module into the photovoltaic community system. This module utilizes a PID control algorithm to dynamically adjust the power consumption of electrical equipment within the system. Simultaneously, the module in the embodiments of this disclosure employs priority control for hierarchical management of each electrical device, resulting in more stable and reliable power supply. Ultimately, the embodiments of this disclosure achieve the effects of saving system power, improving system power quality, and enhancing system power efficiency.
[0188] Figure 8 is a structural schematic diagram of some other embodiments of the power consumption control system of this disclosure. Figure 8 is a schematic diagram of the power consumption control system of this disclosure supplying power to an energy storage system. As shown in Figure 8, the power consumption control system of this disclosure includes a power consumption control device 71, an energy storage system 74, an energy storage DC / DC conversion device 75, and power consumption equipment 76.
[0189] In some embodiments of this disclosure, as shown in FIG8, the energy storage system 74, the power control device 71, and the electrical equipment 76 communicate with each other using the 485 communication method; the energy storage system 74 outputs electrical energy to the power control device 71 and the electrical equipment 76 through the energy storage DC / DC conversion device 75.
[0190] In some embodiments of this disclosure, as shown in FIG8, the power control device 71 of this disclosure may include an interface terminal 711 and a minimum control system 712.
[0191] In some embodiments of this disclosure, the minimum control system 712 includes a main control chip, a memory chip, a memory, etc., to maintain the operation of the algorithm within the power control device.
[0192] The embodiments disclosed above first determine the priority of power consumption of the equipment, and then perform PID algorithm control on the power consumption of each power-consuming equipment.
[0193] According to another aspect of this disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, it implements the power control method as described in any of the above embodiments.
[0194] According to another aspect of this disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions that, when executed by a processor, implement the power control method as described in any of the above embodiments.
[0195] The computer-readable storage medium disclosed herein can be implemented as a non-transitory computer-readable storage medium.
[0196] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, apparatus, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0197] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more flowchart illustrations and / or one or more block diagrams.
[0198] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.
[0199] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
[0200] The power control device, minimum control system, power determination module, and control module described above can be implemented as a general-purpose processor, programmable logic controller, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or any suitable combination thereof for performing the functions described in this disclosure.
[0201] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments of this disclosure can be implemented in hardware. The hardware can be implemented as a general-purpose processor, programmable logic controller, digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware component or any suitable combination thereof for executing the methods of this disclosure.
[0202] This concludes the detailed description of the present disclosure. To avoid obscuring the concept of the disclosure, some details known in the art have not been described. Those skilled in the art will fully understand how to implement the technical solutions disclosed herein based on the above description.
[0203] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing the relevant hardware to implement them. The program can be stored in a non-transitory computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0204] The description in this disclosure is provided for illustrative and descriptive purposes only and is not intended to be exhaustive or to limit the disclosure to its forms. Many modifications and variations will be apparent to those skilled in the art. The embodiments were chosen and described in order to better illustrate the principles and practical application of this disclosure and to enable those skilled in the art to understand this disclosure and to design various embodiments with various modifications suitable for a particular purpose.
Claims
1. A method for controlling electricity consumption in a photovoltaic community, comprising: Determine whether the power output provided by the photovoltaic system is less than a predetermined threshold; When the power available from the photovoltaic system is less than a predetermined threshold, the energy storage system is controlled to supply power to the electrical devices according to their priority, wherein the electrical devices are those within the photovoltaic community.
2. The electricity control method for a photovoltaic community according to claim 1, wherein, The controlled energy storage system supplies power to electrical equipment according to the priority of the equipment, including: Based on the power available from the energy storage system and the priority of each electrical device, determine the target power consumption of each electrical device; An incremental proportional-integral-derivative control method is adopted to control the power consumption of each electrical device to achieve the target power consumption.
3. The electricity control method for a photovoltaic community according to claim 2, wherein, The determination of the target power consumption of each electrical device based on the available power of the energy storage system and the priority of each electrical device includes: Calculate the sum of the rated power of electrical equipment for each priority level; The current priority is determined sequentially from the highest priority to the lowest priority. For the current priority electrical equipment, determine whether the power that the energy storage system can provide is greater than or equal to the first total power, wherein the first total power is the sum of the rated power of the current priority electrical equipment. If the power available from the energy storage system is greater than or equal to the sum of the first power, the target power of the current priority electrical device is determined to be the rated power of the electrical device.
4. The electricity control method for a photovoltaic community according to claim 3, wherein, The step of determining the target power consumption of each electrical device based on the available power of the energy storage system and the priority of each electrical device also includes: If the power available from the energy storage system is less than the sum of the first power, the target power of the electrical equipment with a priority lower than or equal to the current power is determined as a predetermined proportion of the rated power of the electrical equipment.
5. The electricity control method for a photovoltaic community according to claim 4, wherein, The predetermined ratio is a range greater than or equal to 0 and less than 1.
6. The electricity control method for a photovoltaic community according to any one of claims 2 to 5, wherein, The determination of the target power consumption of each electrical device based on the available power of the energy storage system and the priority of each electrical device includes: Calculate the sum of the rated power of electrical equipment for each priority level; For N priorities, determine N first power sums, where N is the number of priorities of electrical equipment in the photovoltaic community, and the first power sum is the sum of the rated power of electrical equipment with a priority higher than or equal to the current priority; Based on the sum of N first power values, determine N+1 power value ranges; and determine the target power consumption of each electrical device when the power available from the energy storage system falls within each of the N+1 power value ranges.
7. The electricity control method for a photovoltaic community according to claim 6, wherein, The priority of the electrical equipment includes a first priority, a second priority, a third priority, and a fourth priority, wherein the first priority is higher than the second priority, the second priority is higher than the third priority, and the third priority is higher than the fourth priority.
8. The electricity control method for a photovoltaic community according to claim 7, wherein, The process involves determining N+1 power value ranges based on the sum of N first power values; and determining the target power consumption of each electrical device when the available power from the energy storage system falls within each of these N+1 power value ranges, including: If the power available from the energy storage system is greater than or equal to the sum of the rated power of all electrical devices, the target power of all electrical devices shall be determined as the rated power of the electrical devices. If the power available from the energy storage system is less than the sum of the rated power of all electrical devices, but greater than or equal to the sum of the rated power of the first, second, and third priority electrical devices, the target power of the first, second, and third priority electrical devices is determined as the rated power of the electrical devices, and the target power of the fourth priority electrical devices is determined as a predetermined proportion of the rated power of the electrical devices.
9. The electricity control method for a photovoltaic community according to claim 7 or 8, wherein, The process involves determining N+1 power value ranges based on the sum of N first power values; and determining the target power consumption of each electrical device when the available power from the energy storage system falls within each of these N+1 power value ranges, including: If the power available from the energy storage system is less than the sum of the rated power of the first, second, and third priority electrical devices, but greater than or equal to the sum of the rated power of the first and second priority electrical devices, then the target power for the first and second priority electrical devices is determined as the rated power of the electrical devices, and the target power for the third and fourth priority electrical devices is determined as a predetermined proportion of the rated power of the electrical devices.
10. The electricity control method for a photovoltaic community according to any one of claims 7 to 9, wherein, The process involves determining N+1 power value ranges based on the sum of N first power values; and determining the target power consumption of each electrical device when the available power from the energy storage system falls within each of these N+1 power value ranges, including: If the power available from the energy storage system is less than the sum of the rated power of the first-priority and second-priority electrical devices, but greater than or equal to the sum of the rated power of the first-priority electrical devices, the target power of the first-priority electrical devices is determined to be the rated power of the electrical devices, and the target power of the second-priority, third-priority, and fourth-priority electrical devices is determined to be a predetermined proportion of the rated power of the electrical devices. If the power available from the energy storage system is less than the total rated power of the first-priority electrical devices, the target power for all electrical devices is determined as a predetermined proportion of the rated power of the electrical devices.
11. The electricity control method for a photovoltaic community according to any one of claims 2 to 10, wherein, The incremental proportional-integral-derivative (PID) control method is used to control the power consumption of each electrical device to achieve the target power consumption, including: For each electrical device, obtain the actual power consumption and target power consumption of that device; The power difference of the electrical equipment is determined based on its actual power consumption and target power consumption. An incremental proportional-integral-derivative control method is adopted to adjust the actual power consumption of the electrical equipment according to the power difference.
12. The electricity control method for a photovoltaic community according to any one of claims 1 to 11, further comprising: When the power supplied by the photovoltaic system is not less than a predetermined threshold, control the photovoltaic system to supply power to the electrical equipment.
13. The electricity control method for a photovoltaic community according to any one of claims 1 to 12, wherein, The predetermined threshold is the sum of the rated power of all electrical devices in the photovoltaic community.
14. An electrical control device, comprising: The power judgment module is configured to determine whether the power available from the photovoltaic system is less than a predetermined threshold. The control module is configured to control the energy storage system to supply power to electrical devices according to their priority when the power available from the photovoltaic system is less than a predetermined threshold, wherein the electrical devices are those within the photovoltaic community.
15. An electrical control device, comprising: The memory is configured to store instructions; and The processor is configured to execute the instructions such that the power control device implements the power control method as described in any one of claims 1-13.
16. A photovoltaic community system, comprising the power control device as described in claim 14 or 15.
17. A computer-readable storage medium, wherein, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the power control method as described in any one of claims 1-13.
18. A computer program product comprising a computer program, wherein, When the computer program is executed by the processor, it implements the power control method as described in any one of claims 1-13.
19. A computer program comprising computer instructions, wherein, When the computer instructions are executed by the processor, they implement the power control method as described in any one of claims 1-13.