Control method and device of optical storage and charging system
By constructing an optimization model for photovoltaic (PV) consumption and energy storage lifetime degradation costs, and using an LSTM neural network to predict PV power generation and charging demand, energy storage charging and discharging control commands are generated. This solves the balance problem between PV consumption and energy storage lifetime degradation in the PV-storage-charging system, and improves the system's stability and energy efficiency.
Patent Information
- Application Number
- CN202611192869.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-07
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-08-07
AI Technical Summary
Existing technologies in photovoltaic-storage-charging systems have failed to effectively balance the consumption of photovoltaic power generation with the lifespan degradation of energy storage devices, resulting in frequent charging and discharging of energy storage devices and shortening the overall lifespan of the system.
An optimization model is constructed with photovoltaic absorption index and energy storage life decay cost as objective functions. The future photovoltaic power generation and charging demand is predicted by LSTM neural network. Combined with preset constraints, energy storage charging and discharging control commands are generated to optimize the energy storage charging and discharging strategy.
This approach achieves the goal of promoting photovoltaic power generation and suppressing energy storage lifespan degradation while ensuring stable system operation and power balance, thereby improving the long-term stability and overall energy efficiency of the photovoltaic-storage-charging system.
Smart Images

Figure CN122697459B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy management technology for photovoltaic energy storage and charging systems, and in particular to a control method and apparatus for a photovoltaic energy storage and charging system. Background Technology
[0002] In DC-DC coupled photovoltaic-storage-charging systems, the charging and discharging control of the energy storage device directly affects the absorption rate of photovoltaic power generation and the lifespan of the energy storage system. Related control methods, when formulating energy storage charging and discharging strategies, often focus on the local absorption of photovoltaic power generation, neglecting the lifespan degradation of the energy storage device caused by charging and discharging operations. This leads to frequent or unnecessary charging and discharging of the energy storage device in actual operation, accelerating cell aging, shortening the system's overall lifespan, and making it difficult to achieve an effective balance between improving photovoltaic utilization and suppressing energy storage lifespan degradation. Therefore, how to simultaneously achieve effective absorption of photovoltaic power generation and effective suppression of energy storage lifespan degradation through reasonable energy storage charging and discharging control, while meeting system operational constraints, has become a pressing technical problem to be solved in this field. Summary of the Invention
[0003] This application aims to at least partially address one of the technical problems in the related art.
[0004] Therefore, the first aspect of this application proposes a control method for a photovoltaic-storage-charging system, the photovoltaic-storage-charging system including a photovoltaic power generation unit, an energy storage device, and a charging device, wherein the photovoltaic power generation unit, the energy storage device, and the charging device are coupled together via a DC bus, and the method includes the following steps: Based on the historical photovoltaic output data and historical charging load data of the photovoltaic-storage-charging system, the first photovoltaic power generation prediction value and the first charging demand power prediction value of the charging pile are obtained for the future target period. A photovoltaic consumption index is constructed based on photovoltaic power generation, charging demand of charging piles, and energy storage charging and discharging power of energy storage devices. Substitute the first photovoltaic power generation prediction value and the first charging demand power prediction value into the pre-constructed objective function. The objective function is constructed based on the difference between the photovoltaic absorption index and the energy storage life decay cost. Under the premise of satisfying the preset constraints, the objective function is solved with the goal of maximizing the objective function to obtain the first energy storage charging and discharging power in the future target period. Based on the first energy storage charging and discharging power, control commands are generated to control the energy storage device to perform charging and discharging operations.
[0005] In some embodiments of this application, obtaining the first photovoltaic power generation prediction value and the first charging demand power prediction value of the charging pile for a future target period based on the historical photovoltaic output data and historical charging load data of the photovoltaic-storage-charging system includes: inputting the historical photovoltaic output data and the historical charging load data into an LSTM neural network model to obtain the first photovoltaic power generation prediction value and the first charging demand power prediction value of the charging pile for the future target period.
[0006] In some embodiments of this application, the photovoltaic power consumption index is expressed as follows:
[0007]
[0008] in, For excess photovoltaic power, Photovoltaic power generation capacity, The charging power required for the charging station. The energy storage charging and discharging power of the energy storage device, The photovoltaic power consumption index is mentioned above. For time-of-use electricity pricing for the power grid, This represents the total number of sampling times for the future target time period.
[0009] In some embodiments of this application, the energy storage lifetime degradation cost is calculated using the following formula:
[0010] in, The cost of energy storage lifespan degradation, θ The conversion factor between the energy storage device and the test battery capacity is given. σ As the attenuation factor, The charging and discharging current of the energy storage device, t 0 and t f Let these be the initial and final times of the future target time period. For energy storage purchase costs, This refers to the throughput per ampere-hour over the entire lifecycle under standard operating conditions.
[0011] In some embodiments of this application, the preset constraints include at least one of the following: energy storage state of charge constraints, DC bus voltage constraints, energy storage charge and discharge constraints, and charging pile scheduling constraints.
[0012] In some embodiments of this application, generating control instructions for controlling the energy storage device to perform charging and discharging operations based on the first energy storage charging and discharging power includes: determining the power fluctuation amplitude of the first energy storage charging and discharging power; when the power fluctuation amplitude is greater than a preset fluctuation threshold, obtaining a second photovoltaic power generation prediction value and a second charging demand power prediction value of the charging pile for the current time period; substituting the second photovoltaic power generation prediction value and the second charging demand power prediction value into the objective function to obtain the second energy storage charging and discharging power for the current time period; correcting the first energy storage charging and discharging power using the second energy storage charging and discharging power, and generating the control instructions based on the corrected first energy storage charging and discharging power.
[0013] In some embodiments of this application, the method further includes: when the power fluctuation amplitude is less than or equal to the preset fluctuation threshold, generating the control command based on the first energy storage charging and discharging power.
[0014] A second aspect of this application provides a control device for a photovoltaic-storage-charging system. The system includes a photovoltaic power generation unit, an energy storage device, and a charging device. The photovoltaic power generation unit, the energy storage device, and the charging device are coupled together via a DC bus. The device includes: The prediction module is used to obtain the first photovoltaic power generation prediction value and the first charging demand power prediction value of the charging pile for the future target period based on the historical photovoltaic output data and historical charging load data of the photovoltaic-storage-charging system. The module is used to construct photovoltaic consumption indicators based on photovoltaic power generation, charging demand power of charging piles, and energy storage charging and discharging power of energy storage devices. The determination module is used to substitute the first photovoltaic power generation prediction value and the first charging demand power prediction value into a pre-constructed objective function. The objective function is constructed based on the difference between the photovoltaic absorption index and the energy storage life decay cost. Under the premise of satisfying the preset constraints, the objective function is solved with the goal of maximizing the objective function to obtain the first energy storage charging and discharging power in the future target period. The generation module is used to generate control commands for controlling the energy storage device to perform charging and discharging operations based on the first energy storage charging and discharging power.
[0015] A third aspect of this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method described in the first aspect above.
[0016] A fourth aspect of this application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect above.
[0017] The control method for a photovoltaic-storage-charging system provided in this application constructs an optimization model with the difference between the photovoltaic absorption index and the energy storage lifetime degradation cost as the objective function. The model aims to maximize the objective function, ensuring that the calculated energy storage charging and discharging power both promotes photovoltaic power absorption and effectively suppresses the lifetime degradation of the energy storage device caused by unnecessary charging and discharging. Under the premise of meeting preset operating constraints and ensuring stable system operation and power balance, the system generates energy storage charging and discharging control commands based on the optimization results. This enables the system to proactively adapt to predicted operating conditions within a future target time period, precisely controlling the energy storage charging and discharging strategy to minimize battery life damage. This achieves synergistic optimization of photovoltaic utilization improvement and energy storage lifetime extension, thereby enhancing the long-term operational stability and overall energy efficiency of the photovoltaic-storage-charging system.
[0018] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0019] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 A flowchart illustrating a control method for an optical energy storage and charging system provided in an embodiment of this application; Figure 2 This is a schematic diagram of a control device for an optical energy storage and charging system provided in an embodiment of this application. Detailed Implementation
[0020] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0021] Specifically, the control method and apparatus of the optical energy storage and charging system according to embodiments of this application are described below with reference to the accompanying drawings.
[0022] Figure 1 This is a flowchart illustrating a control method for a photovoltaic-energy storage-charging system provided in an embodiment of this application. The system includes a photovoltaic power generation unit, an energy storage device, and a charging device, which are coupled together via a DC bus. Figure 1As shown, the control method for this optical energy storage and charging system may include the following steps: Step 101: Based on the historical photovoltaic output data and historical charging load data of the photovoltaic-storage-charging system, obtain the first photovoltaic power generation forecast value and the first charging demand power forecast value of the charging pile for the future target period.
[0023] In some embodiments of this application, historical photovoltaic power output data and historical charging load data can be input into an LSTM neural network model to obtain a first predicted value of photovoltaic power generation and a first predicted value of charging demand power for a future target time period. Optionally, the future target time period can be a future day, and the LSTM neural network model can be used to make daily predictions of photovoltaic power generation and charging demand power for charging piles.
[0024] Step 102: Construct photovoltaic consumption index based on photovoltaic power generation, charging demand of charging piles, and energy storage charging and discharging power of energy storage devices.
[0025] The photovoltaic power absorption index can be expressed as follows:
[0026]
[0027] in, For excess photovoltaic power, Photovoltaic power generation capacity, The charging power required for the charging station. The energy storage charging and discharging power of the energy storage device, For photovoltaic power consumption indicators, For time-of-use electricity pricing for the power grid, This represents the total number of sampling times for the future target period. Taking the future target period as the next 24 hours as an example, the sampling frequency of the photovoltaic-storage-charging system can be 1 minute / time, i.e., T is 1440, representing all sampling times within a 24-hour day. The photovoltaic absorption index is used to measure the power system's absorption level of photovoltaic energy and avoid curtailment. Its value is linked to the time-of-use tariff, using the tariff as the time-of-use weight to reflect the scarcity of energy at different times.
[0028] Step 103: Substitute the first photovoltaic power generation prediction value and the first charging demand power prediction value into the pre-constructed objective function. The objective function is constructed based on the difference between the photovoltaic absorption index and the energy storage life decay cost. Under the premise of satisfying the preset constraints, the objective function is solved with the goal of maximizing the objective function to obtain the first energy storage charging and discharging power in the future target period.
[0029] The cost of energy storage lifespan degradation is calculated using the following formula:
[0030] in, For the cost of energy storage lifespan degradation, θ This is the conversion factor between the energy storage device and the test battery capacity; its value represents the initial rated capacity of the energy storage system cell. Q 0 and standard test battery rated capacity Q test The ratio, σ The attenuation factor is the total ampere-hour throughput under standard operating conditions over its entire lifecycle. ψ n Full lifecycle throughput in a real operating environment ψ bat The ratio, EOL This refers to the end-of-life duration of batteries in energy storage devices. I n This represents the charging and discharging current of the energy storage device under standard operating conditions. The charging and discharging current of the energy storage device. t 0 and t f Let these be the initial and final times of the future target time period. The cost of energy storage is the initial purchase cost. The cost is also factored into the energy storage lifespan degradation cost. Quantify the technical damage to batteries caused by the charging and discharging behavior of energy storage devices.
[0031] In some embodiments of this application, the objective function This can be expressed by the following formula:
[0032] The first photovoltaic power generation prediction value and the first charging demand power prediction value obtained in step 101 are respectively used as and Substituting into the pre-constructed objective function, the energy storage charging and discharging power of the energy storage device is solved with the objective function as the goal. The goal is to find the optimal energy storage charging and discharging power while meeting preset constraints. This allows for the maximum utilization of photovoltaic energy while minimizing damage to battery life. It should be noted that the first energy storage charge / discharge power for the future target period, obtained by solving the objective function, represents the energy storage charge / discharge power at each moment within that future target period (i.e., the energy storage charge / discharge power sequence).
[0033] Preset constraints are used to ensure the feasibility of the objective function solution and the stability of the system operation. For example, preset constraints may include at least one of the following: Energy storage state of charge constraint: 20% ≤ SOC bat ≤90%. SOC collected in real-time by the BMS.bat Dynamic verification is performed, and once the SOC value exceeds the range, the charge / discharge start / stop control is immediately triggered. DC bus voltage constraint: 700V≤ U dc ≤800V, the real-time DC bus voltage U collected by the system sensors. dc Continuous monitoring is necessary to prevent overvoltage from burning out power devices and undervoltage from causing equipment to malfunction. Energy storage charge / discharge constraints: Set the energy storage charge / discharge current I bat The current should not exceed the rated current of the energy storage to prevent excessive current from causing the battery cell to overheat and accelerate its lifespan degradation. Charging pile scheduling constraints: Prioritize the scheduling of vehicles with urgent needs for charging, and achieve coordinated optimization of service priority, photovoltaic power consumption and energy storage life.
[0034] In some embodiments of this application, the objective function, in addition to considering photovoltaic power consumption and energy storage lifetime, may also simultaneously consider the charging load satisfaction index (or guarantee level) and grid dependence index of the photovoltaic-energy storage-charging system for the charging load. In one implementation, the charging load satisfaction index of the photovoltaic-energy storage-charging system for the charging load can be calculated by the following formula:
[0035] in, To ensure that the charging load meets the requirements, The charging demand power of the charging pile (when solving the objective function, the first predicted charging demand power value obtained in step 101 is used as) Substitute into the objective function). Time-of-use (TOU) pricing for charging stations is used as a priority weight for power supply, reflecting the urgency of power supply at different times to balance service quality. Optionally, charging load meets certain indicators. Time-of-use electricity pricing for charging stations It can be replaced by other time-related coefficients, such as high weighting for peak periods and low weighting for off-peak periods.
[0036] The power grid dependence index can be expressed by the following formula:
[0037] in, As a power grid dependence indicator, This refers to the interaction power between the photovoltaic-storage-charging system and the power grid. Power intake by the system is positive, while power connection to the grid is negative. The grid time-of-use pricing. The grid time-of-use pricing will be used as... The weighting coefficient for the power draw from the grid by the photovoltaic-storage-charging system is used to characterize the degree of impact of grid power draw on the system's autonomy at different times. The grid dependence index is used to characterize the energy dependence of the photovoltaic-storage-charging system on the external grid. Similarly, the grid dependence index... Time-of-use electricity pricing in China Alternatively, other time-related coefficients can be used instead, such as high weighting during peak hours (to avoid relying on the power grid at this time) and low weighting during off-peak hours (to minimize the impact of power extraction on system autonomy at this time).
[0038] When the objective function simultaneously considers photovoltaic power consumption, energy storage lifespan, charging load satisfaction, and grid dependence, the objective function is... This can be expressed by the following formula:
[0039] Under the premise of satisfying preset constraints, the objective function is solved with the goal of maximizing the photovoltaic power consumption index. Maximize charging load to meet performance targets Minimize the cost of energy storage lifespan degradation Minimize grid dependence index The goal is to find the optimal energy storage charging and discharging power while meeting preset constraints. This allows for the maximum utilization of photovoltaic power generation and ensures the maximum guarantee of charging load demand, while minimizing the lifespan damage of the energy storage system and the energy dependence of the photovoltaic-storage-charging system on the grid.
[0040] Step 104: Generate control commands for controlling the energy storage device to perform charging and discharging operations based on the first energy storage charging and discharging power.
[0041] In some embodiments of this application, control commands can be directly generated based on the first energy storage charging and discharging power. Alternatively, to improve control accuracy, the first energy storage charging and discharging power can be monitored and corrected in real time through the following steps S11-S15, and control commands can be generated based on the corrected energy storage charging and discharging power.
[0042] S11, determine the power fluctuation amplitude of the first energy storage charging and discharging power; S12, when the power fluctuation amplitude is greater than the preset threshold, obtain the second photovoltaic power generation prediction value and the second charging demand power prediction value of the charging pile for the current period; S13, Substitute the second photovoltaic power generation forecast value and the second charging demand power forecast value into the objective function to obtain the second energy storage charging and discharging power for the current period; S14, the first energy storage charging and discharging power is corrected using the second energy storage charging and discharging power, and a control command is generated based on the corrected first energy storage charging and discharging power. For example, within the overlapping time interval between the future target period and the current period, the second energy storage charging and discharging power (minute-level short-term predicted power sequence) and the first energy storage charging and discharging power (day-level day-ahead predicted power sequence) can be extracted. The deviation between the two types of predicted power at the same moment is calculated, and a time-series decay weight is introduced to weight and fuse the deviations at each moment to construct a time-series dynamic deviation correction factor. The time-series dynamic deviation correction factor is multiplied by the first energy storage charging and discharging power to obtain the corrected first energy storage charging and discharging power, which is then used to generate control commands.
[0043] S15, when the power fluctuation amplitude is less than or equal to the preset fluctuation threshold, generate a control command based on the first energy storage charging and discharging power.
[0044] In some embodiments of this application, cloud-edge-device three-layer collaborative MPC control can be performed based on an objective function, implementing the above-mentioned prediction, correction, and instruction execution steps in a layered manner: The upper-layer cloud controller executes steps 101-103 and synchronously transmits the first energy storage charging and discharging power of the future target period to the middle-layer edge controller, providing a benchmark for middle-layer fitting calibration and power correction.
[0045] The middle-layer edge controller receives the first energy storage charging and discharging power of the upper-layer cloud controller for the future target period, executes steps S11-S15, performs short-term accurate prediction of the photovoltaic output and charging demand in the short term to make up for the error of the cloud controller's long-term prediction; and re-solves the objective function based on the short-term prediction data to correct the first energy storage charging and discharging power output by the upper-layer cloud controller. If the power fluctuation amplitude of the energy storage charging and discharging power sequence output by the upper layer is less than or equal to the preset fluctuation threshold, no correction is required, and the first energy storage charging and discharging power output by the upper cloud controller is directly used; if the power fluctuation amplitude is greater than the preset threshold, the corrected first energy storage charging and discharging power is transmitted to the lower end controller, and the correction data is fed back to the upper cloud controller to ensure consistency with the upper optimization target.
[0046] The lower-level controller collects real-time operating parameters such as actual photovoltaic output, actual charging pile power demand, actual energy storage SOC, and actual DC bus voltage. Based on equipment hard limits such as rated operating limits of power devices and DC bus voltage safety constraints, it performs safety verification and real-time correction on the first energy storage charging and discharging power issued by the middle-level edge controller, generates directly executable final control commands, and sends them to the energy storage device, photovoltaic module, and charging pile execution units. At the same time, it transmits the actual operating status data of the system back to the middle-level edge controller, providing real-condition support for the next round of short-term prediction and power correction.
[0047] Based on the above three-layer control commands, the lower-level controller coordinates the operation of photovoltaic modules, energy storage devices, charging piles, and grid interaction units, achieving global optimization throughout the system's entire lifecycle. The specific execution is as follows: Photovoltaic module control: When photovoltaic output is sufficient and the demand for charging piles is large, and the energy storage SOC has not reached the upper limit, control the photovoltaic output to the full extent and prioritize charging piles; when photovoltaic output is excessive and the energy storage SOC has reached the upper limit, control photovoltaic power generation to reduce curtailment losses, while avoiding ineffective charging and discharging of energy storage and reducing the cost of energy storage lifespan degradation.
[0048] Energy storage device control: Combining three-layer control commands, the charging and discharging power is dynamically adjusted. During off-peak electricity prices, when the State of Charge (SOC) is below 80%, energy storage charging is controlled to reduce grid supply costs. During peak electricity prices, when the demand for charging piles is high and photovoltaic output is insufficient, energy storage discharging is controlled to supplement energy, avoiding peak electricity prices, while controlling the depth of charge and discharge and current to reduce energy storage lifespan degradation. When the SOC is below 20%, energy storage discharging is stopped to prioritize ensuring energy storage lifespan.
[0049] Charging station control: Priority scheduling can be implemented based on charging station type, urgency of charging, and estimated charging duration. Vehicles with urgent needs are prioritized for charging, while vehicles with non-urgent needs are scheduled to charge during off-peak hours or when solar power output is sufficient. This also avoids high-power consumption during peak hours, reducing grid supply costs.
[0050] Grid interaction unit control: During off-peak hours, priority is given to drawing power from the grid to charge energy storage and supply power to non-emergency charging piles; during peak hours, priority is given to using photovoltaic output and energy storage discharge to reduce grid power drawing and lower power supply costs; when photovoltaic output is excessive and energy storage SOC reaches its limit, control the energy storage to discharge to the grid to avoid photovoltaic curtailment losses.
[0051] Throughout the above control process, parameters such as DC bus voltage and power balance are monitored and collected synchronously. Control commands for each device are dynamically fine-tuned to ensure that the system maintains stable operation without voltage anomalies or power imbalances while achieving optimal economic efficiency throughout its entire life cycle. Ultimately, this achieves the goal of coordinated economic control of the photovoltaic-storage-charging DC coupling system.
[0052] By implementing the embodiments of this application, an optimization model is constructed with the difference between the photovoltaic absorption index and the energy storage lifetime degradation cost as the objective function. The model is solved by maximizing the objective function, ensuring that the calculated energy storage charging and discharging power can both promote the absorption of photovoltaic power generation and effectively suppress the lifetime degradation of the energy storage device caused by unnecessary charging and discharging. Under the premise of meeting preset operating constraints and ensuring stable system operation and power balance, energy storage charging and discharging control commands are generated based on the optimization results. This enables the system to proactively adapt to predicted operating conditions within a future target time period, precisely controlling the energy storage charging and discharging strategy to minimize battery life damage. This achieves synergistic optimization of photovoltaic utilization improvement and energy storage lifetime extension, thereby improving the long-term stability and overall energy efficiency of the photovoltaic-energy storage-charging system.
[0053] Figure 2 This is a schematic diagram of a control device for an optical energy storage and charging system provided in an embodiment of this application. Figure 2 As shown, the control device of the optical storage and charging system may include: a prediction module 201, a construction module 202, a determination module 203, and a generation module 204.
[0054] The prediction module 201 is used to obtain the first photovoltaic power generation prediction value and the first charging demand power prediction value of the charging pile for the future target period based on the historical photovoltaic power output data and historical charging load data of the photovoltaic-storage-charging system.
[0055] Module 202 is used to construct photovoltaic consumption indicators based on photovoltaic power generation, charging demand power of charging piles, and energy storage charging and discharging power of energy storage devices.
[0056] The determination module 203 is used to substitute the first photovoltaic power generation prediction value and the first charging demand power prediction value into the pre-constructed objective function. The objective function is constructed based on the difference between the photovoltaic absorption index and the energy storage life decay cost. Under the premise of satisfying the preset constraints, the objective function is solved with the goal of maximizing the objective function to obtain the first energy storage charging and discharging power in the future target period.
[0057] The generation module 204 is used to generate control commands for controlling the energy storage device to perform charging and discharging operations based on the first energy storage charging and discharging power.
[0058] In some embodiments of this application, the generation module 204 is specifically used to: determine the power fluctuation amplitude of the first energy storage charging and discharging power; when the power fluctuation amplitude is greater than a preset fluctuation threshold, obtain the second photovoltaic power generation prediction value and the second charging demand power prediction value of the charging pile for the current period; substitute the second photovoltaic power generation prediction value and the second charging demand power prediction value into the objective function to obtain the second energy storage charging and discharging power for the current period; use the second energy storage charging and discharging power to correct the first energy storage charging and discharging power, and generate control commands based on the corrected first energy storage charging and discharging power.
[0059] In some embodiments of this application, the generation module 204 is specifically used to: generate control commands based on the first energy storage charging and discharging power when the power fluctuation amplitude is less than or equal to a preset fluctuation threshold.
[0060] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0061] To implement the above embodiments, this application also proposes an electronic device, including: a processor and a memory communicatively connected to the processor; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the method provided in the foregoing embodiments.
[0062] To implement the above embodiments, this application also proposes a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided in the foregoing embodiments.
[0063] To implement the above embodiments, this application also proposes a computer program product, including a computer program that, when executed by a processor, implements the methods provided in the foregoing embodiments.
[0064] In the foregoing descriptions of the embodiments, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0065] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0066] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0067] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0068] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0069] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0070] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0071] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A control method for a photovoltaic energy storage and charging system, characterized in that, The photovoltaic-storage-charging system includes a photovoltaic power generation unit, an energy storage device, and a charging device. The photovoltaic power generation unit, the energy storage device, and the charging device are coupled together via a DC bus. The method includes the following steps: Based on the historical photovoltaic output data and historical charging load data of the photovoltaic-storage-charging system, the first photovoltaic power generation prediction value and the first charging demand power prediction value of the charging pile are obtained for the future target period. A photovoltaic consumption index is constructed based on photovoltaic power generation, charging demand of charging piles, and energy storage charging and discharging power of energy storage devices. Substitute the first photovoltaic power generation prediction value and the first charging demand power prediction value into the pre-constructed objective function. The objective function is constructed based on the difference between the photovoltaic absorption index and the energy storage life decay cost. Under the premise of satisfying the preset constraints, the objective function is solved with the goal of maximizing the objective function to obtain the first energy storage charging and discharging power in the future target period. Based on the first energy storage charging and discharging power, control commands are generated for controlling the energy storage device to perform charging and discharging operations, including: Determine the power fluctuation amplitude of the first energy storage charging and discharging power; When the power fluctuation amplitude is greater than the preset fluctuation threshold, the second photovoltaic power generation prediction value and the second charging demand power prediction value of the charging pile are obtained for the current time period. Substituting the second photovoltaic power generation forecast value and the second charging demand power forecast value into the objective function, the second energy storage charging and discharging power for the current time period is obtained; The first energy storage charging and discharging power is corrected using the second energy storage charging and discharging power, and the control command is generated based on the corrected first energy storage charging and discharging power. Specifically, the second energy storage charging and discharging power and the first energy storage charging and discharging power are extracted within the overlapping time interval of the future target time period and the current time period. The deviation between the two types of predicted power at the same time is calculated. A time-series decay weight is introduced to weight and fuse the deviations at each time to construct a time-series dynamic deviation correction factor. The time-series dynamic deviation correction factor is multiplied with the first energy storage charging and discharging power to obtain the corrected first energy storage charging and discharging power, so as to generate the control command.
2. The method according to claim 1, characterized in that, The step of obtaining the first predicted photovoltaic power generation value and the first predicted charging demand power value of the charging pile for a future target period based on the historical photovoltaic output data and historical charging load data of the photovoltaic-storage-charging system includes: The historical photovoltaic power output data and the historical charging load data are input into the LSTM neural network model to obtain the first photovoltaic power generation prediction value and the first charging demand power prediction value of the charging pile for the future target period.
3. The method according to claim 1, characterized in that, The photovoltaic power absorption index is expressed as follows: in, For excess photovoltaic power, Photovoltaic power generation capacity, The charging power required for the charging station. The energy storage charging and discharging power of the energy storage device, The photovoltaic power consumption index is mentioned above. For time-of-use electricity pricing for the power grid, This represents the total number of sampling times for the future target time period.
4. The method according to claim 1, characterized in that, The energy storage lifetime degradation cost is calculated using the following formula: in, The cost of energy storage lifespan degradation, θ The conversion factor between the energy storage device and the test battery capacity is given. σ As the attenuation factor, The charging and discharging current of the energy storage device, t 0 and t f Let these be the initial and final times of the future target time period. For energy storage purchase costs, This refers to the throughput per ampere-hour over the entire lifecycle under standard operating conditions.
5. The method according to claim 1, characterized in that, The preset constraints include at least one of the following: Constraints on energy storage state of charge, DC bus voltage, energy storage charge and discharge, and charging pile scheduling.
6. The method according to claim 1, characterized in that, Also includes: When the power fluctuation amplitude is less than or equal to the preset fluctuation threshold, the control command is generated based on the first energy storage charging and discharging power.
7. A control device for a photovoltaic energy storage and charging system, characterized in that, The photovoltaic-storage-charging system includes a photovoltaic power generation unit, an energy storage device, and a charging device. The photovoltaic power generation unit, the energy storage device, and the charging device are coupled together via a DC bus. The device includes: The prediction module is used to obtain the first photovoltaic power generation prediction value and the first charging demand power prediction value of the charging pile for the future target period based on the historical photovoltaic output data and historical charging load data of the photovoltaic-storage-charging system. The module is used to construct photovoltaic consumption indicators based on photovoltaic power generation, charging demand power of charging piles, and energy storage charging and discharging power of energy storage devices. The determination module is used to substitute the first photovoltaic power generation prediction value and the first charging demand power prediction value into a pre-constructed objective function. The objective function is constructed based on the difference between the photovoltaic absorption index and the energy storage life decay cost. Under the premise of satisfying the preset constraints, the objective function is solved with the goal of maximizing the objective function to obtain the first energy storage charging and discharging power in the future target period. The generation module is used to generate control commands for controlling the energy storage device to perform charging and discharging operations based on the first energy storage charging and discharging power. A generation module is used to determine the power fluctuation amplitude of the first energy storage charging and discharging power; When the power fluctuation amplitude is greater than the preset fluctuation threshold, the second photovoltaic power generation prediction value and the second charging demand power prediction value of the charging pile are obtained for the current time period. Substituting the second photovoltaic power generation forecast value and the second charging demand power forecast value into the objective function, the second energy storage charging and discharging power for the current time period is obtained; The first energy storage charging and discharging power is corrected using the second energy storage charging and discharging power, and the control command is generated based on the corrected first energy storage charging and discharging power. Specifically, the second energy storage charging and discharging power and the first energy storage charging and discharging power are extracted within the overlapping time interval of the future target time period and the current time period. The deviation between the two types of predicted power at the same time is calculated. A time-series decay weight is introduced to weight and fuse the deviations at each time to construct a time-series dynamic deviation correction factor. The time-series dynamic deviation correction factor is multiplied with the first energy storage charging and discharging power to obtain the corrected first energy storage charging and discharging power, so as to generate the control command.
8. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Optical storage and charging dynamic power distribution control method and system based on AI prediction
CN121813340A
Energy storage system optimization control method integrating aging evaluation and photovoltaic absorption
CN121906571A
