Light storage and charging energy management method, device and system and electronic equipment

By dynamically adjusting the photovoltaic output, charging power and energy storage output, and optimizing the photovoltaic charge energy management according to the electricity price period, the accuracy of the photovoltaic charge energy management under the dynamic electricity price mode is solved, and the energy utilization rate is improved and energy consumption cost is reduced.

CN119109019AActive Publication Date: 2024-12-10GOODWE TECHNOLOGIES CO LTD

Patent Information

Application Number
CN202411110447.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-10
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

The existing optical storage energy management technology is difficult to accurately predict charging loads and electricity loads under dynamic electricity price mode, resulting in power waste and safety hazards, and it is difficult to optimize energy utilization and reduce energy consumption costs.

Method used

By obtaining the current moment of buying electricity, selling electricity price and load power, dynamically adjusting the photovoltaic output, charging power and energy storage output according to the electricity price period, the maximum discharge of energy storage during high-price period, the maximum charging during low-price period, and the balanced power during medium-price period , ensure that it operates within the preset load limit and sends it to the device side.

Benefits of technology

Optimize energy use, improve energy utilization, reduce overall energy consumption costs, and ensure the economic benefits and safety of the system in a dynamic electricity price environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119109019A_ABST
    Figure CN119109019A_ABST
Patent Text Reader

Abstract

The invention provides a light storage and charging energy management method, device and system and electronic equipment, and is applied to the technical field of light storage and charging energy management, and the method comprises the steps: obtaining the electricity purchasing price, the electricity selling price and the load power at the current moment, and dynamically adjusting the photovoltaic output, the charging power and the energy storage output at the next moment according to the electricity price time period. Energy storage in the high-price period is discharged to the maximum extent, energy storage in the low-price period is charged to the maximum extent, power in the middle-price period is balanced, it is ensured that operation is conducted within the preset load limit, and confirmed parameters are issued to the equipment end so that efficient energy management can be achieved. According to the method, the electricity purchasing price and the electricity selling price which dynamically change in real time are comprehensively considered, the photovoltaic output, the charging efficiency and the energy storage output are judged and adjusted in combination with the electricity price time period, and therefore energy use is optimized, the energy utilization rate is increased, and the overall energy use cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photoelectric storage and charging energy management, and in particular to a photoelectric storage and charging energy management method, device, system and electronic equipment. Background Art

[0002] With the further development and expansion of the electricity market, the dynamic electricity price model has gradually become popular. At the same time, the number of distributed energy sources such as photovoltaics and energy storage connected to the grid is increasing, and the number of new energy vehicles is also increasing. In this context, energy management of the integrated photovoltaic storage and charging system under the dynamic electricity price model is particularly important.

[0003] However, current solar storage and charging energy management mostly relies on photovoltaic forecasting and load forecasting. However, due to the large randomness of charging load and power load in reality, it is difficult to ensure the accuracy of load forecasting, which can easily lead to power waste and even safety hazards.

[0004] Therefore, how to combine dynamic electricity prices to manage solar energy storage and charging, thereby improving energy utilization and reducing energy costs, has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] In view of the above problems, the present invention provides a method, device, system and electronic device for managing solar energy storage and charging, which overcome the above problems or at least partially solve the above problems. The technical solutions are as follows:

[0006] A method for managing light storage and charging energy, comprising:

[0007] Obtain the current electricity purchase price, electricity selling price and load power;

[0008] When the electricity purchase price is positive, the photovoltaic output at the next moment is set to the maximum output of the photovoltaic under MPPT control at the current moment; if the electricity selling price is positive, the electricity price period of the wholesale electricity price at the current moment is determined;

[0009] When the electricity price period is a high-price period, the charging power at the next moment is set to 0, and the energy storage output at the next moment is set to the maximum discharge power. If the photovoltaic output and the energy storage output are within the first load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed;

[0010] When the electricity price period is a low-price period, the charging power at the next moment is set to the maximum charging power of the car, and the energy storage output at the next moment is set to the negative value of the maximum charging power of the energy storage. If the photovoltaic output, the charging power and the energy storage output are within the second load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed;

[0011] When the electricity price period is a medium price period, the charging power at the next moment is set to the maximum charging power of the vehicle, and the energy storage output at the next moment is set to be equal to the value of the charging power plus the load power minus the photovoltaic output. If the energy storage output is within the energy storage power limit formed by the maximum energy storage charging power and the maximum energy storage discharging power, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed;

[0012] The confirmed photovoltaic output, charging power and energy storage output at the next moment are sent to the corresponding device end.

[0013] A photovoltaic energy storage and charging management device comprises: a current time data acquisition unit, an electricity price period determination unit, a high price period energy management unit, a low price period energy management unit, a medium price period energy management unit and an energy scheduling unit.

[0014] The current moment data acquisition unit is used to obtain the current moment's buying electricity price, selling electricity price and load power;

[0015] The electricity price period determination unit is used to set the photovoltaic output at the next moment to the maximum output of the photovoltaic under MPPT control at the current moment when the electricity purchase price is a positive value, and to determine the electricity price period of the wholesale electricity price at the current moment if the electricity selling price is a positive value;

[0016] The high-price period energy management unit is used to set the charging power at the next moment to 0 when the electricity price period is a high-price period, and then set the energy storage output at the next moment to the maximum discharge power, and if the photovoltaic output and the energy storage output are within the first load limit composed of the preset maximum power for buying electricity and the preset maximum power for selling electricity, then confirm the photovoltaic output, the charging power and the energy storage output at the next moment;

[0017] The low-price period energy management unit is used to set the charging power at the next moment to the maximum charging power of the car when the electricity price period is a low-price period, and then set the energy storage output at the next moment to the negative value of the maximum energy storage charging power. If the photovoltaic output, the charging power and the energy storage output are within the second load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, then confirm the photovoltaic output, the charging power and the energy storage output at the next moment;

[0018] The medium-price period energy management unit is used to set the charging power at the next moment to the maximum charging power of the vehicle when the electricity price period is the medium-price period, and then set the energy storage output at the next moment to be equal to the value of the charging power plus the load power minus the photovoltaic output. If the energy storage output is within the energy storage power limit formed by the maximum energy storage charging power and the maximum energy storage discharging power, then confirm the photovoltaic output, the charging power and the energy storage output at the next moment;

[0019] The energy scheduling unit is used to send the confirmed photovoltaic output, charging power and energy storage output at the next moment to the corresponding device end.

[0020] A light storage and charging energy management system, comprising: a cloud platform, a coordination controller and a local device end, wherein the cloud platform is connected to the coordination controller for communication, and the coordination controller is connected to the local device end for communication,

[0021] The cloud platform is used to obtain the dynamic wholesale electricity price of the day before and calculate the retail purchase price and sales price of the day before;

[0022] The coordination controller is used to execute the light storage and charging energy management method;

[0023] The local device end is used to receive and execute the scheduling instructions of the photovoltaic output, the charging power and the energy storage output issued by the coordination controller.

[0024] An electronic device comprises at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; and the processor is used to call program instructions in the memory to execute the light storage and charging energy management method.

[0025] Through the above technical scheme, the present invention provides a method, device, system and electronic equipment for managing photovoltaic storage and charging energy, which obtain the current electricity purchase price, electricity selling price and load power; when the electricity purchase price is a positive value, the photovoltaic output at the next moment is set to the maximum output of the photovoltaic MPPT control at the current moment; if the electricity selling price is a positive value, the electricity price period in which the wholesale electricity price at the current moment is located is determined; when the electricity price period is a high-price period, the charging power at the next moment is set to 0, and the energy storage output at the next moment is set to the maximum discharge power; if the photovoltaic output and the energy storage output are within the first load limit formed by the preset maximum electricity purchase power and the preset maximum electricity selling power, the photovoltaic output, charging power and energy storage output at the next moment are confirmed; when the electricity price period is a low-price period, the next moment is set to The charging power is the maximum charging power of the car, and then the energy storage output at the next moment is set to the negative value of the maximum charging power of the energy storage. If the photovoltaic output, charging power and energy storage output are within the second load limit composed of the preset maximum power of buying electricity and the preset maximum power of selling electricity, then the photovoltaic output, charging power and energy storage output at the next moment are confirmed; when the electricity price period is the medium price period, the charging power at the next moment is set to the maximum charging power of the car, and then the energy storage output at the next moment is set to be equal to the value of the charging power plus the load power minus the photovoltaic output. If the energy storage output is within the energy storage power limit composed of the maximum charging power of the energy storage and the maximum discharge power of the energy storage, then the photovoltaic output, charging power and energy storage output at the next moment are confirmed; the confirmed photovoltaic output, charging power and energy storage output at the next moment are sent to the corresponding device end. The present invention comprehensively considers the real-time dynamic changes in the purchase price and the selling price of electricity, and adjusts the photovoltaic output, charging efficiency and energy storage output in combination with the electricity price period, thereby optimizing energy use, improving energy utilization and reducing overall energy costs.

[0026] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0028] Figure 1 A schematic diagram showing a flow chart of an implementation of a method for managing solar energy storage and charging provided in an embodiment of the present invention;

[0029] Figure 2A schematic diagram illustrating a process of dividing electricity price periods based on a K-Means clustering algorithm provided in an embodiment of the present invention is shown;

[0030] Figure 3 A schematic diagram of a process flow of a photovoltaic storage and charging energy management strategy provided by an embodiment of the present invention is shown;

[0031] Figure 4 A schematic diagram showing the structure of a light storage and charging energy management device provided in an embodiment of the present invention is shown;

[0032] Figure 5 A schematic diagram of the architecture of a photovoltaic energy storage and charging management system provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0033] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0034] With the continuous development and expansion of the electricity market, the dynamic electricity price model has gradually become popular. At the same time, the number of distributed energy sources such as photovoltaics and energy storage connected to the grid continues to increase, and the number of new energy vehicles is also rising. In this context, energy management of the integrated photovoltaic storage and charging system under the dynamic electricity price model has become particularly important.

[0035] At present, most of the photovoltaic storage and charging energy management technologies are developed for time-of-use electricity prices. The time-of-use electricity price model only includes electricity prices for three time periods: peak, valley and flat, while the dynamic electricity price is different for different time periods throughout the day. This means that the time-of-use electricity price model is no longer applicable to photovoltaic storage and charging energy management under the dynamic electricity price model.

[0036] In addition, current solar energy storage and charging management mostly relies on photovoltaic forecasting and load forecasting, and then optimizes scheduling to achieve economic maximization of the entire system. However, there is a large degree of randomness in the charging load of electric vehicles and the power load of users, which makes it difficult to ensure the accuracy of load forecasting and cannot achieve the true economic optimum. If the forecast accuracy is low, it may even cause economic losses or even safety hazards to the system. Therefore, existing technologies need to be improved to meet the complex energy management challenges under the dynamic electricity price model.

[0037] Based on this, in an embodiment of the present invention, a method for managing photovoltaic storage and charging energy is provided, which is applied to the field of photovoltaic storage and charging energy management technology. The method dynamically adjusts the photovoltaic output, charging power and energy storage output at the next moment according to the electricity price period by obtaining the current electricity purchase price, electricity selling price and load power. The energy storage is discharged at the maximum during the high-price period, charged at the maximum during the low-price period, and balanced during the medium-price period to ensure operation within the preset load limit, and the confirmed parameters are sent to the device end to achieve efficient energy management.

[0038] like Figure 1 As shown, a flow chart of an implementation of a method for managing light storage and charging energy provided by an embodiment of the present invention includes:

[0039] S100: Obtain the current electricity purchase price, electricity sale price and load power.

[0040] The electricity purchase price is the price calculated based on the day-ahead dynamic wholesale electricity price in the electricity market, plus the electricity purchase tax rate and possible surcharges (such as transmission and distribution fees, service fees, etc.). The electricity purchase price reflects the cost of electricity use.

[0041] The electricity selling price is the electricity price calculated in the electricity market based on the day-ahead dynamic wholesale electricity price plus the electricity selling tax rate and possible surcharges. The electricity selling price reflects the revenue from electricity sales.

[0042] The day-ahead dynamic wholesale electricity price is referred to as the wholesale electricity price, which refers to the electricity price pre-set by the electricity market before the transaction date, and reflects the market's expectations for future electricity supply and demand. The embodiment of the present invention can calculate the current electricity purchase price and electricity selling price based on the wholesale electricity price published by the electricity market and the corresponding tax rate and surcharge.

[0043] The load power refers to the total power demand of all consumer devices connected to the power system at the current moment. The embodiment of the present invention can count the power demand of consumer devices connected to the power system in real time to obtain the load power at the current moment.

[0044] S110. When the electricity purchase price is a positive value, the photovoltaic output at the next moment is set to the maximum output of the photovoltaic power under MPPT control at the current moment. If the electricity selling price is a positive value, the electricity price period of the wholesale electricity price at the current moment is determined.

[0045] Among them, photovoltaic output refers to the amount of electricity output generated by a photovoltaic system (usually solar panels) at a specific point in time.

[0046] Among them, the maximum output of MPPT control refers to the maximum output of the photovoltaic system when it adopts MPPT (Maximum Power Point Tracking) control.

[0047] It is understandable that when the electricity purchase price is positive, electricity should not be purchased as much as possible to reduce economic losses. If the photovoltaic system can generate electricity at the maximum output at the next moment, the demand for purchasing electricity from the power grid can be reduced, thereby reducing electricity bills. Therefore, by maximizing the photovoltaic output, economic benefits can be maximized. For example: Assuming that the photovoltaic output at the current moment is the maximum output controlled by MPPT, if the photovoltaic system is not adjusted, the photovoltaic output at the next moment may be lower than the maximum output. At this time, if the electricity purchase price is high, it means that more electricity needs to be purchased from the power grid, increasing electricity bills. By setting the photovoltaic system to generate electricity at the maximum output according to the current MPPT control at the next moment, the amount of electricity purchased from the power grid at the next moment can be reduced, reducing electricity bills.

[0048] In order to optimize energy management and economic benefits, the embodiment of the present invention pre-divides the electricity price period when both the purchase price and the sale price are positive into a high price period, a low price period or a medium price period. Corresponding charging and discharging strategies, load management and demand response are provided in different electricity price periods, thereby maximizing economic benefits and improving the efficiency and cost-effectiveness of energy use.

[0049] S120. When the electricity price period is a high-price period, set the charging power at the next moment to 0, and then set the energy storage output at the next moment to the maximum discharge power. If the photovoltaic output and the energy storage output are within the first load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, confirm the photovoltaic output, charging power and energy storage output at the next moment.

[0050] Among them, charging power refers to the power transmission rate provided by charging equipment (such as charging piles or charging stations) to electric vehicles, that is, charging power is the amount of electric energy delivered by the charging equipment to the electric vehicle battery per unit time.

[0051] Among them, energy storage output refers to the power output or consumption provided by an energy storage system (such as a battery energy storage system) at a specific point in time.

[0052] When the electricity price is high, the cost of purchasing electricity from the grid is also high. Setting the charging power to 0 ensures that electricity is not purchased from the grid during high electricity price periods, thereby avoiding high electricity purchase costs. At the same time, high price periods mean that electricity can be sold back to the grid at a higher price. By setting the energy storage output to the maximum discharge power, it is ensured that the electricity in the energy storage system is sold at the highest price, thereby achieving maximum economic benefits.

[0053] The preset maximum power for purchasing electricity refers to the preset maximum allowable power for purchasing electricity from the power grid. The preset maximum power for purchasing electricity is usually set based on equipment capacity and economic budget.

[0054] The preset maximum power for selling electricity refers to the preset maximum power allowed for selling electricity to the power grid. The preset maximum power for selling electricity is usually set based on the equipment capacity or the grid acceptance capacity.

[0055] Optionally, the first load limit can be that the value of the photovoltaic output plus the energy storage output minus the load power is between the negative value of the preset maximum power for buying electricity and the preset maximum power for selling electricity, that is, -P buy,max ≤P pv,t+1 +P es,t+1 -P load,t ≤P sell,max , where P pv,t+1 is the photovoltaic output, P es,t+1 For energy storage output, P load,t is the load power, P buy,max is the preset maximum power of electricity purchase, P sell,max The preset maximum power for selling electricity.

[0056] The embodiment of the present invention can fully utilize renewable energy and energy storage systems to meet load demand and maximize energy self-use rate through the first load limitation, thereby reducing electricity purchase costs and increasing electricity sales revenue during high-price periods.

[0057] S130. When the electricity price period is a low-price period, the charging power at the next moment is set to the maximum charging power of the car, and the energy storage output at the next moment is set to the negative value of the maximum energy storage charging power. If the photovoltaic output, charging power and energy storage output are within the second load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0058] When the electricity price is low, the cost of purchasing electricity from the grid is low. By setting the charging power to the maximum charging power of the car and the energy storage output to the negative value of the maximum charging power of the energy storage, cheap electricity can be stored through charging and energy storage for use or sale during high-price periods, reducing the charging cost, while making full use of the capacity of existing equipment, improving the utilization rate of equipment, and ensuring the best balance between economic benefits and system stability.

[0059] Optionally, the second load limit can be that the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is between the negative value of the preset maximum power for buying electricity and the preset maximum power for selling electricity, that is, -P buy,max ≤P pv,t+1 +P es,t+1 -P ev,t+1 -Pload,t ≤P sell,max , where P ev,t+1 is the charging power.

[0060] Through the second load limitation, the embodiment of the present invention can maximize the use of low-cost electricity resources and reduce overall energy costs by reasonably controlling the power flow of charging, energy storage and power grid during periods of low electricity prices. It can fully utilize photovoltaic output during low-price periods, give priority to powering loads and energy storage systems, and improve the utilization efficiency of photovoltaic systems, energy storage systems, electric vehicles and power grid equipment.

[0061] S140. When the electricity price period is the medium price period, the charging power at the next moment is set to the maximum charging power of the car, and the energy storage output at the next moment is set equal to the value of the charging power plus the load power minus the photovoltaic output. If the energy storage output is within the energy storage power limit composed of the maximum charging power of the energy storage and the maximum discharging power of the energy storage, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0062] The electricity price during the mid-price period is between high and low prices. Charging electric vehicles during this period can avoid the high cost of charging during high-price periods, while not generating too much energy storage and charging burden during low-price periods. Charging electric vehicles during the mid-price period can avoid the high electricity prices during peak hours, while not affecting the energy storage strategy during low-price periods. Setting the energy storage system output to the value of charging power plus load power minus photovoltaic output can ensure that the energy storage system is reasonably used during the mid-price period, avoiding waste of photovoltaic power while meeting load demand.

[0063] Optionally, the energy storage power limit can be between the negative value of the maximum charging power of the energy storage and the maximum discharging power of the energy storage, that is, -P cha,max ≤P es,t+1 ≤P dis,max , where P cha,max is the maximum charging power of energy storage, P dis,max is the maximum discharge power of energy storage.

[0064] The embodiments of the present invention can optimize the charging and discharging strategy of the energy storage system by reasonably limiting the energy storage power during the medium-price period, avoid over-discharging during the high-price period or over-charging during the low-price period, improve the overall economic benefits, and reduce unnecessary power loss and electricity expenses through reasonable power limitation, thereby achieving cost optimization.

[0065] S150: Send the confirmed photovoltaic output, charging power and energy storage output at the next moment to the corresponding device end.

[0066] Among them, the equipment side may include photovoltaic systems, charging equipment and energy storage systems.

[0067] The embodiment of the present invention can generate corresponding photovoltaic storage and charging energy scheduling instructions based on the confirmed photovoltaic output, charging power and energy storage output at the next moment, and send the photovoltaic storage and charging energy scheduling instructions to the photovoltaic system, charging equipment and energy storage system, so that the photovoltaic system adjusts the power generation power according to the photovoltaic output at the next moment, the charging equipment performs charging operations according to the charging power at the next moment, and the energy storage system performs charging and discharging operations according to the energy storage output at the next moment.

[0068] The present invention provides a method for managing photovoltaic storage and charging energy, which obtains the current electricity purchase price, electricity selling price and load power; when the electricity purchase price is a positive value, the photovoltaic output at the next moment is set to the maximum output of the MPPT control of the photovoltaic at the current moment; if the electricity selling price is a positive value, the electricity price period in which the wholesale electricity price at the current moment is located is determined; when the electricity price period is a high-price period, the charging power at the next moment is set to 0, and the energy storage output at the next moment is set to the maximum discharge power; if the photovoltaic output and the energy storage output are within the first load limit formed by the preset maximum electricity purchase power and the preset maximum electricity selling power, the photovoltaic output, charging power and energy storage output at the next moment are confirmed; when the electricity price period is a low-price period, the charging power at the next moment is set to the maximum charging power of the car. Electric power, and then set the energy storage output at the next moment to be the negative value of the maximum charging power of the energy storage. If the photovoltaic output, charging power and energy storage output are within the second load limit composed of the preset maximum power of buying electricity and the preset maximum power of selling electricity, then confirm the photovoltaic output, charging power and energy storage output at the next moment; when the electricity price period is the medium price period, set the charging power at the next moment to the maximum charging power of the car, and then set the energy storage output at the next moment equal to the value of charging power plus load power minus photovoltaic output. If the energy storage output is within the energy storage power limit composed of the maximum charging power of the energy storage and the maximum discharge power of the energy storage, then confirm the photovoltaic output, charging power and energy storage output at the next moment; send the confirmed photovoltaic output, charging power and energy storage output at the next moment to the corresponding device end. The present invention comprehensively considers the real-time dynamic changes in the purchase price and the selling price of electricity, and adjusts the photovoltaic output, charging efficiency and energy storage output in combination with the electricity price period, so as to optimize energy use, improve energy utilization and reduce overall energy costs.

[0069] Optional, in the above Figure 1 On the basis of one or more corresponding embodiments, another optional embodiment provided by the embodiment of the present invention may further include:

[0070] When the electricity price period is a high-price period, if the photovoltaic output and the energy storage output are not within the first load limit, determine whether the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is less than the negative value of the preset maximum power for buying electricity. If not, set the charging power at the next moment equal to the photovoltaic output plus the energy storage output minus the load power and the preset maximum power for selling electricity, and determine whether the charging power is less than or equal to the maximum charging power of the car. If so, confirm the photovoltaic output, charging power and energy storage output at the next moment.

[0071] When electricity prices are high, the goal of photovoltaic energy storage and charging management is usually to minimize the cost of purchasing electricity from the grid and to make the best use of photovoltaic power generation and energy storage systems to meet load demand and electric vehicle charging needs. By determining whether the value of photovoltaic output plus energy storage output minus charging power and load power is less than the negative value of the preset maximum power purchase, it is possible to check whether the current power generation and energy storage output can meet the total demand of the system (including load and electric vehicle charging) and ensure that the cost of purchasing electricity is minimized during high-price periods.

[0072] The embodiment of the present invention sets the charging power at the next moment equal to the value of the photovoltaic output plus the energy storage output minus the load power and the preset maximum power of electricity sales, so as to ensure that the remaining power after the total power generation of the system (photovoltaic and energy storage) minus the total load and the preset maximum power of electricity sales is used for charging. During the period of high electricity prices, the embodiment of the present invention reduces the demand for electricity purchases, optimizes the proportion of self-use, and ensures the stable operation of the system by efficiently utilizing photovoltaic and energy storage resources, which helps to maximize economic benefits and ensure the balance and stability of the power system.

[0073] By determining whether the charging power is less than or equal to the maximum charging power of the vehicle, the embodiment of the present invention can ensure that the adjusted charging power does not exceed the maximum power that the charging device can withstand, thereby ensuring the practical feasibility and safety of the charging process, protecting the electric vehicle battery, and maintaining the stability of the system.

[0074] When the charging power is greater than the maximum charging power of the car, the charging power at the next moment is set to the maximum charging power of the car, and the energy storage output at the next moment is set equal to the charging power plus the load power and the preset maximum power of electricity sales minus the photovoltaic output value, and it is determined whether the energy storage output is greater than or equal to the negative value of the maximum charging power of the energy storage. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0075] When the calculated charging power exceeds the maximum charging power of the electric vehicle, the charging power needs to be limited to the range allowed by the electric vehicle to protect the battery system and ensure the safe operation of the charging equipment. Therefore, the charging power at the next moment is set to the maximum charging power of the vehicle to avoid damage to the battery and charging equipment.

[0076] After adjusting the charging power, the energy storage output at the next moment needs to be reset to ensure that the entire system still maintains power balance at the next moment. By adjusting the energy storage output, the power difference caused by the charging power adjustment can be compensated to ensure that the load demand and power generation capacity of the power system can be balanced. At the same time, by adjusting the energy storage output during high-price periods, the demand for electricity purchases can be minimized, thereby optimizing electricity costs.

[0077] When the energy storage output is less than the negative value of the maximum energy storage charging power, the energy storage output at the next moment is set equal to the negative value of the maximum energy storage charging power, and then the photovoltaic output at the next moment is set equal to the charging power plus the load power and the preset maximum power minus the energy storage output, and the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0078] The embodiments of the present invention can optimize energy utilization by adjusting photovoltaic output, ensuring that photovoltaic power generation can provide the required power when the energy storage system cannot bear the additional power. In this way, when the energy storage system is limited, power can be supplemented by increasing photovoltaic output, so as to more efficiently utilize renewable energy and reduce dependence on the power grid.

[0079] The embodiment of the present invention can minimize the need to purchase electricity from the power grid during high-price periods by accurately controlling the photovoltaic output, energy storage output and charging power, thereby reducing electricity costs. At the same time, by dynamically adjusting between photovoltaic output, energy storage output and load demand, the energy utilization efficiency is improved.

[0080] Optional, in the above Figure 1 On the basis of one or more corresponding embodiments, another optional embodiment provided by the embodiment of the present invention may further include:

[0081] When the electricity price period is a low-price period, if the photovoltaic output, charging power and energy storage output are not within the second load limit, determine whether the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is greater than the preset maximum power selling power. If so, set the photovoltaic output at the next moment equal to the charging power plus the load power and the preset maximum power selling power minus the energy storage output, and confirm the photovoltaic output, charging power and energy storage output at the next moment.

[0082] When the electricity price period is low, it is necessary to optimize the use of power resources to maximize the use of cheap electricity, reduce costs, and ensure the stability and safety of the system. By determining whether the value of photovoltaic output plus energy storage output minus charging power and load power is greater than the preset maximum power of electricity sales, it can be checked whether cheap electricity is fully utilized to charge the energy storage system during low-price periods, thereby limiting the power sales and ensuring that electricity is not sold excessively to the grid to reduce the demand and cost of purchasing electricity during high-price periods. Since the income from selling electricity during low-price periods is low, reasonable control can be used to reduce unnecessary electricity sales, give priority to meeting one's own electricity and energy storage needs, and improve economic benefits.

[0083] The embodiment of the present invention sets the photovoltaic output at the next moment equal to the value of the charging power plus the load power and the preset maximum power of electricity sold minus the energy storage output, so as to ensure that during the low-price period, the photovoltaic output is preferentially used to meet the charging demand and load demand of the energy storage system. By reasonably allocating the photovoltaic output, the photovoltaic output will not be wasted, the energy storage system will be fully charged, the load will be stably supplied, and the power sold will be controlled within a reasonable range, thereby improving the economic benefits and efficiency of the system.

[0084] When the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is less than or equal to the preset maximum power for selling electricity, the energy storage output at the next moment is set equal to the value of the charging power plus the load power minus the preset maximum power for buying electricity and the photovoltaic output, and it is determined whether the energy storage output is less than or equal to the maximum discharge power of the energy storage. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0085] The embodiment of the present invention sets the energy storage output at the next moment equal to the charging power plus the load power minus the preset maximum power purchase and photovoltaic output, so as to ensure that the system operates under the premise of power balance, limit the power purchase of electricity by the power grid, give priority to photovoltaic power generation, improve the utilization rate of the energy storage system, optimize the economic benefits of the system, and ensure the stability and safety of the system.

[0086] By determining whether the energy storage output is less than or equal to the maximum discharge power of the energy storage, the embodiment of the present invention can ensure that the energy storage system operates within a safe power range, prevent equipment overload, extend equipment life, maintain system power balance, and improve the utilization efficiency of the energy storage system, thereby ensuring the overall safety, stability and economic benefits of the system.

[0087] When the energy storage output is greater than the maximum energy storage discharge power, the energy storage output at the next moment is set equal to the maximum energy storage discharge power, and the charging power at the next moment is set equal to the value of the photovoltaic output plus the energy storage output and the preset maximum power purchase power minus the load power, to determine whether the charging power is greater than or equal to 0. If so, confirm the photovoltaic output, charging power and energy storage output at the next moment.

[0088] It is understandable that if the charging power of the electric vehicle is reduced to 0, the power purchased from the power grid will still exceed the limit, which means that the preset maximum power setting for purchasing electricity is unreasonable. At this time, the embodiment of the present invention can output a prompt message for resetting the maximum power for purchasing electricity.

[0089] The embodiment of the present invention can avoid overloading of energy storage equipment, prevent equipment heating, damage and even safety accidents by limiting the energy storage output within the maximum discharge power range. When the energy storage output is limited, the charging power is reasonably adjusted to ensure that the system can still operate stably under the new power distribution to meet the load demand. At the same time, the photovoltaic output and energy storage output are reasonably used to maximize the use of local renewable energy and improve the system operation efficiency, thereby ensuring the overall safety, stability and economic benefits of the system.

[0090] In the low-price period, the embodiment of the present invention reasonably adjusts the photovoltaic output, energy storage output and charging power, gives priority to the use of renewable energy, ensures that the energy storage system is charged and discharged within a reasonable power range, and reserves as much low-cost electricity resources as possible during the low-price period, thereby maximizing economic benefits and resource utilization efficiency and optimizing the operation effect of the entire system while ensuring system safety and stability.

[0091] Optional, in the above Figure 1 On the basis of one or more corresponding embodiments, another optional embodiment provided by the embodiment of the present invention may further include:

[0092] When the electricity price period is the medium price period, if the energy storage output is not within the energy storage power limit, the energy storage output at the next moment is set equal to the negative value of the maximum energy storage charging power or the maximum energy storage discharge power. If the photovoltaic output, energy storage output and charging power are within the third load limit composed of the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0093] When the electricity price period is medium-price period, the charging and discharging strategy of the energy storage system is dynamically adjusted according to the characteristics of the electricity price period, and the advantages of the energy storage system in electricity price changes are utilized to reduce the purchase of high-priced electricity, optimize the use of renewable energy such as photovoltaics, and reduce unnecessary energy losses, thereby improving the overall operating efficiency and economic benefits of the system and ensuring the safety and stability of the system under various operating conditions.

[0094] Optionally, the third load limit can be that the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is between the negative value of the preset maximum power for buying electricity and the preset maximum power for selling electricity, that is, -P buy,max ≤P pv,t+1 +P es,t+1 -P ev,t+1 -Pload,t ≤P sell,max .

[0095] Through the third load limitation, the embodiment of the present invention can reasonably control the power purchased and sold during the medium price period, self-use as much as possible, improve the utilization rate of the energy storage system, give priority to the use of renewable energy, reduce unnecessary electricity purchases, reduce electricity purchase costs, and maximize economic benefits and environmental benefits while ensuring efficient, safe and stable operation of the system.

[0096] If the photovoltaic output, energy storage output and charging power are not within the third load limit, determine whether the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is greater than the preset maximum power selling power. If so, set the photovoltaic output at the next moment equal to the charging power plus the load power and the preset maximum power selling power minus the energy storage output, and confirm the photovoltaic output, charging power and energy storage output at the next moment.

[0097] The embodiment of the present invention can ensure that the power selling power does not exceed the preset maximum power selling power by determining whether the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is greater than the preset maximum power selling power, thereby avoiding safety hazards caused by overload.

[0098] The embodiments of the present invention can maintain the power balance of the system by adjusting the photovoltaic output, while reducing unnecessary electricity purchases and lowering electricity purchase costs, thereby achieving efficient, safe and stable operation of the system and maximizing economic and environmental benefits.

[0099] When the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is less than or equal to the preset maximum power for selling electricity, the charging power at the next moment is set equal to the value of the photovoltaic output plus the energy storage output and the preset maximum power for buying electricity minus the load power, and it is determined whether the charging power is greater than or equal to 0. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0100] It is understandable that if reducing the charging power of the electric vehicle to 0 still cannot meet the load demand, it means that the preset maximum power setting for purchasing electricity is unreasonable. At this time, the embodiment of the present invention can output a prompt message for resetting the maximum power for purchasing electricity.

[0101] By setting the charging power, the embodiments of the present invention can balance the photovoltaic output and the energy storage output within the range of the load power and the preset maximum power of purchased electricity, while ensuring charging and discharging within the appropriate power range, thereby avoiding economic losses caused by excessive purchase of electricity or insufficient charging.

[0102] The embodiment of the present invention can avoid unreasonable negative power situations by determining whether the charging power is greater than or equal to 0, ensure that the charging power is within a reasonable range, and ensure the rationality and stability of system operation.

[0103] The embodiment of the present invention optimizes the distribution of photovoltaic output and charging power within the preset maximum power range of electricity sales during the medium price period, reduces the cost of electricity purchase and increases the income from electricity sales, and maximizes the economic benefits of the system. The charging power is dynamically adjusted according to the output of photovoltaic and energy storage to ensure that power resources can be used most effectively and reduce unnecessary energy waste. At the same time, the relationship between photovoltaic power, energy storage power and grid power is reasonably allocated to ensure that the system can maximize the use of renewable energy and avoid unnecessary power losses and additional costs, thereby helping to improve the efficiency and benefits of the power system.

[0104] Optional, in the above Figure 1 On the basis of one or more corresponding embodiments, another optional embodiment provided by the embodiment of the present invention may further include:

[0105] When the electricity purchase price is positive, if the electricity selling price is negative, the grid power at the next moment is set to 0, and the energy storage output at the next moment is set equal to the load power plus the charging power minus the photovoltaic output. If the energy storage output is within the energy storage power limit, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0106] When the purchase price is positive and the selling price is negative, the goal of photovoltaic storage and charging energy management is to neither buy nor sell electricity as much as possible. To achieve this goal, the grid power can be set to 0 first to avoid the additional cost of selling electricity, and then the energy storage output can be reasonably set so that the energy storage system and photovoltaic system can be fully utilized to meet the load demand without the need to buy electricity from the grid.

[0107] When the energy storage output is not within the energy storage power limit, the energy storage output at the next moment is set equal to the negative value of the maximum charging power of the energy storage or the maximum discharge power of the energy storage, and then the charging power at the next moment is set equal to the value of the energy storage output plus the photovoltaic output minus the load power. If the charging power is within the charging power limit formed by the maximum charging power of the vehicle, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0108] When the energy storage output cannot meet the load demand, the energy storage output is controlled within a reasonable range to ensure the stability of the system operation and prevent system instability caused by excessive energy storage output. Then, the charging power is set reasonably to meet the load demand.

[0109] When the charging power is not within the charging power limit formed by the maximum charging power of the vehicle, the charging power at the next moment is set equal to 0 or the maximum charging power of the vehicle, and the photovoltaic output at the next moment is set equal to the value of the load power plus the charging power minus the energy storage output, to determine whether the photovoltaic output is less than or equal to the maximum output of MPPT control. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0110] Optionally, the charging power limit may be within a range of greater than or equal to 0 and less than or equal to the maximum charging power of the vehicle, that is, 0≤P ev,t+1 ≤P ev,max , where P ev,t+1 Maximum charging power for the car.

[0111] The embodiments of the present invention reasonably utilize photovoltaic output to meet load demand while setting the charging power within a reasonable range, reduce excessive use of energy storage systems and charging equipment, and improve the utilization efficiency of photovoltaic power generation, thereby reducing economic losses caused by negative electricity prices and optimizing the operating efficiency and resource utilization of the system.

[0112] When the photovoltaic output is greater than the maximum output controlled by the MPPT, the photovoltaic output at the next moment is set equal to the maximum output controlled by the MPPT, and the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0113] The embodiment of the present invention can ensure that the photovoltaic system always operates at the highest efficiency point by controlling the photovoltaic output to be equal to the maximum output controlled by MPPT, thereby maximizing the utilization rate of photovoltaic power generation, which not only ensures the safe and stable operation of the photovoltaic system, but also maximizes resource utilization and economic benefits.

[0114] In the embodiment of the present invention, when the electricity purchase price is positive and the electricity selling price is negative, by reasonably setting the grid power, energy storage output, charging power and photovoltaic output, it is possible to optimize economic benefits, ensure system stability, protect equipment and maximize resource utilization, thereby avoiding economic losses caused by negative electricity selling prices, improving the operating efficiency and safety of the system, and maximizing the utilization rate of the photovoltaic and energy storage systems.

[0115] Optional, in the above Figure 1 On the basis of one or more corresponding embodiments, another optional embodiment provided by the embodiment of the present invention may further include:

[0116] When the electricity purchase price is negative, set the photovoltaic output at the next moment to 0 and the charging power to the maximum charging power of the car, and then set the energy storage output at the next moment to be equal to the negative value of the maximum energy storage charging power. Determine whether the value of the load power plus the charging power minus the energy storage output is less than or equal to the preset maximum electricity purchase power. If so, confirm the photovoltaic output, charging power and energy storage output at the next moment.

[0117] When the electricity purchase price is negative, it means that there is no cost for purchasing electricity, and you can also get benefits. In this case, you can get more benefits by purchasing electricity from the grid and maximizing the amount of electricity purchased. Set the photovoltaic output to 0, reduce the amount of self-generated electricity, and maximize the amount of electricity purchased from the grid, and use the negative electricity price to obtain economic benefits.

[0118] The embodiment of the present invention sets the charging power to the maximum charging power of the vehicle: ensuring that the vehicle charging device charges at the maximum power, shortening the charging time and maximizing the use of the electricity purchased when the electricity purchase price is negative.

[0119] The embodiment of the present invention ensures that the energy storage system is charged at the maximum power by setting the energy storage output to the negative value of the maximum charging power. When the electricity purchase price is a negative value, as much electricity as possible is purchased from the power grid and stored.

[0120] When the value of the load power plus the charging power minus the energy storage output is greater than the preset maximum power of electricity purchase, the photovoltaic output at the next moment is set equal to the value of the load power plus the charging power minus the energy storage output and the preset maximum power of electricity purchase, and it is determined whether the photovoltaic output is less than or equal to the maximum output of MPPT control. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0121] Although the purchase price is negative, the more electricity purchased, the more favorable it is, but the power purchasing capacity of the power grid and the actual power demand of users are limited, and the purchase amount must be controlled within the preset maximum power range. After the purchase amount reaches the preset maximum value, using photovoltaic power generation to supplement power demand can achieve the optimal allocation of power resources and maximize economic benefits.

[0122] The embodiment of the present invention can check whether the photovoltaic system is operating within a safe range by judging whether the photovoltaic output is less than or equal to the maximum output controlled by MPPT, thereby avoiding overload and damage of photovoltaic equipment, ensuring that the photovoltaic system operates in the best state, and maximizing economic benefits and system safety.

[0123] When the photovoltaic output is greater than the maximum output controlled by MPPT, set the photovoltaic output equal to the maximum output controlled by MPPT, and then set the energy storage output at the next moment equal to the load power plus the charging power minus the preset maximum power purchase and photovoltaic output values, and determine whether the energy storage output is less than or equal to the maximum discharge power of the energy storage. If so, confirm the photovoltaic output, charging power and energy storage output at the next moment.

[0124] Both photovoltaic modules and inverters have a maximum output power limit. Exceeding this limit may cause equipment overload or even damage. The maximum output of MPPT control is the highest power that the photovoltaic system can safely output. Therefore, setting the photovoltaic output to not exceed the maximum output of MPPT control can protect photovoltaic equipment from damage.

[0125] When the photovoltaic output is limited, the relationship between load power, charging power, photovoltaic output and power purchase from the power grid can be balanced by adjusting the output of the energy storage system. At the same time, even if the electricity price is negative, it is necessary to control the purchase amount within the preset maximum power range to avoid unnecessary waste. Therefore, adjusting the energy storage output can effectively utilize negative electricity prices to obtain benefits while controlling the purchase amount.

[0126] When the energy storage output is greater than the maximum energy storage discharge power, the energy storage output is set to the maximum energy storage discharge power, and the charging power at the next moment is set equal to the value of the photovoltaic output plus the energy storage output and the preset maximum power purchase power minus the load power, and it is determined whether the charging power is greater than or equal to 0. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0127] The embodiment of the present invention sets the energy storage output to the maximum discharge power of the energy storage, which can protect the energy storage device from overload, heating or even damage. When the discharge capacity of the energy storage system is limited, by adjusting the charging power, the system can maintain a balance between power supply and demand, avoid power shortages or surpluses, and ensure stable operation of the system. At the same time, ensure that the charging power is not negative, because a negative value means that the system needs additional discharge, which is impossible when the energy storage system has reached the maximum discharge power.

[0128] The embodiments of the present invention achieve stable operation of the system, maximization of economic benefits, balance of power supply and demand, and equipment protection by precisely controlling photovoltaic output, energy storage output, and charging power when the power purchase price is negative, thereby ensuring that the power system can operate safely, efficiently, and economically when the power purchase price is negative.

[0129] Optional, in the above Figure 1 On the basis of one or more corresponding embodiments, in another optional embodiment provided by the embodiment of the present invention, before determining the electricity price period of the wholesale electricity price at the current moment, the method may further include:

[0130] Determine multiple electricity price periods in which both the purchase price and the sale price are positive.

[0131] Based on the wholesale electricity price in each electricity price period, the K-Means clustering algorithm is used to cluster multiple electricity price periods, and each electricity price period is divided into a high-price period, a low-price period or a medium-price period.

[0132] Specifically, the embodiment of the present invention can organize the wholesale electricity price data of multiple electricity price time periods into a list or array, where each element corresponds to the electricity price of a time period, and then set the number of clusters to 3, so as to divide the electricity price time period into three categories: high-price time period, medium-price time period, and low-price time period. Select the initial centroid, usually the maximum value, minimum value, and average value in the electricity price data can be selected as the initial centroid. Use the K-Means algorithm to perform clustering operations, including calculating distances, assigning categories, and updating centroids. Repeat these steps until the centroid converges, that is, the centroid no longer changes, and output the clustering results.

[0133] The electricity price time period division method provided in the embodiment of the present invention can refer to Figure 2 shown. Figure 2 The figure shows a schematic diagram of the electricity price period division process based on the K-Means clustering algorithm. In the embodiment of the present invention, the number of clusters k=3 is set, and the maximum, minimum and average values ​​of the electricity value of all periods are selected as the initial centroid. i , calculate its relationship with each centroid Y j The Euclidean distance And assign the time period to the cluster that is closest to it. Update the centroid of each cluster to the average value of electricity in all time periods of the cluster. Repeat the process of calculating distance and updating centroids until the electricity value of each time period is closest to the centroid of the cluster to which it belongs. Determine the electricity price period based on the size of the centroid: the cluster with the largest centroid is the high electricity price period, the cluster with the smallest centroid is the low electricity price period, and the cluster in the middle is the medium electricity price period.

[0134] The embodiment of the present invention clusters multiple electricity price time periods based on the K-Means clustering algorithm, and can accurately divide each electricity price time period into a high-price time period, a medium-price time period or a low-price time period, thereby facilitating subsequent reliable photovoltaic storage and charging energy management based on the electricity price time period.

[0135] In order to facilitate the understanding of the overall solution of the photovoltaic energy storage and charging management method provided in the embodiment of the present invention, Figure 3 To explain: Figure 3 FIG. 1 is a flow chart of a photovoltaic energy storage and charging management strategy provided by an embodiment of the present invention. First, the time period when both the purchase price and the sale price are positive is divided into a high price period, a medium price period and a low price period, and they are respectively grouped into Ωhigh ,Ω medium and Ω low , sell electricity to the grid as much as possible during high-price periods, generate electricity for self-use as much as possible during medium-price periods, and buy electricity from the grid for energy storage and electric vehicle charging as much as possible during low-price periods to achieve peak-valley arbitrage. Then, determine the purchase price of electricity. If the purchase price C at time t is buy,t If the photovoltaic power output P pv,t+1 Set to 0. Electric vehicle charging power P ev,t+1 Set as the maximum charging power of the car P ev,max . Energy storage output P es,t+1 =-P cha,max , where P cha,max is the maximum charging power of the energy storage. This can maximize the power purchased from the power grid and maximize the power purchase revenue. At the same time, consider the maximum power purchased from the power grid P buy,max If you buy power P from the grid load,t +P ev,t+1 -P es,t+1 >P buy,max , where P load,t is the load power at time t, indicating that buying electricity from the grid cannot meet the load demand, electric vehicle charging and energy storage charging at the same time, then the photovoltaic output is increased first. If the photovoltaic output is insufficient, the energy storage output is increased. If the energy storage output is still insufficient, it exceeds its maximum discharge power P dis,max , then reduce the charging power of the electric vehicle. If reducing the charging power of the electric vehicle to 0 is still not enough to meet the load demand, it means that P buy,max The settings are unreasonable.

[0136] If C buy,t If P is positive, we should try not to buy electricity to reduce economic losses. pv,t+1 =P mppt,t , where P mppt,t is the maximum output of photovoltaic power when MPPT (Maximum Power Point Tracking) is used for control at time t. Then the selling price is judged. If the selling price C at time t is sell,t If P is negative, we should try not to sell electricity to reduce losses. grid,t+1 = 0, the energy storage output is adjusted so that the energy storage output and photovoltaic output meet the load demand and electric vehicle charging, that is, P es,t+1 =P load,t +P ev,t -P pv,t+1 If the energy storage regulation capacity is limited, the charging power of the electric vehicle is adjusted. If the charging power of the electric vehicle is adjusted to 0 or P ev,max Still unable to make P grid,t+1=0, the photovoltaic output is adjusted. If the photovoltaic output exceeds the maximum output power, it means that the energy storage and photovoltaic output are limited and cannot meet the load demand, and electricity needs to be purchased from the grid.

[0137] If C buy,t is positive, C sell,t is positive, and the wholesale electricity price C whole,t ∈Ω high , we should sell electricity to the grid as much as possible. ev,t+1 =0,P es,t+1 =P dis,max , which can maximize the power sold to the grid and maximize the revenue from selling electricity. However, it is necessary to consider the maximum power P purchased from the grid buy,max and the maximum power sold to the grid P sell,max , if P grid,t+1 =P pv,t+1 +P es,t+1 -P load,t <-P buy,max , which means that the energy storage output and photovoltaic output cannot meet the load demand, and the power purchased from the grid exceeds the limit, P buy,max The setting is unreasonable; if P grid,t+1 =P pv,t+1 +P es,t+1 -P load,t >P sell,max , it means that the energy storage output and photovoltaic output are surplus when meeting the load demand, and the surplus energy is used to charge electric vehicles first. If there is still surplus energy after the electric vehicle charging power reaches the maximum, the energy storage output is reduced. If the photovoltaic output is still surplus after the energy storage charging power reaches the maximum, the photovoltaic output is reduced.

[0138] If C buy,t is positive, C sell,t is positive, and C whole,t ∈Ω low , we should buy electricity from the grid as much as possible to charge energy storage and electric vehicles. ev,t+1 =P ev,max , P es,t+1 =-P cha,max , which can maximize the power purchased from the power grid, achieving the purpose of storing electric energy and saving electricity costs. However, it is necessary to prevent P grid,t+1 If the limit is exceeded, grid,t+1 =P pv,t+1 +P es,t+1 -P ev,t+1 -P load,t >P sell,max , indicating that the photovoltaic output is still surplus when meeting the load demand, energy storage and electric vehicle charging, and the surplus energy exceeds the maximum power sold to the grid. In this case, it is only necessary to reduce the photovoltaic output; if P grid,t+1 =Ppv,t+1 +P es,t+1 -P ev,t+1

[0139] -P load,t <-P buy,max , indicating that the photovoltaic output cannot meet the load demand, energy storage and electric vehicle charging at the same time. At this time, the energy storage output should be increased first. If the energy storage discharge at maximum power still cannot meet the load demand and electric vehicle charging, the electric vehicle charging power should be reduced. If the electric vehicle charging power is reduced to 0, the power purchased from the grid will still exceed the limit, which means that P buy,max The settings are unreasonable.

[0140] If C buy,t is positive, C sell,t is positive, and C whole,t ∈Ω medium , should be used as much as possible by oneself. ev,t+1 =P ev,max , which can make photovoltaic output and energy storage output prioritize the load and electric vehicle charging. First, adjust the energy storage to determine whether the photovoltaic output and energy storage output can meet the load demand and electric vehicle charging. If they can and there is a surplus, sell electricity to the grid. If the power sold reaches the limit and there is still a surplus, reduce the photovoltaic output; if it cannot meet the demand, buy electricity from the grid. If the power purchased exceeds the limit, reduce the electric vehicle charging power. If the electric vehicle charging power drops to 0 and still cannot meet the load demand, it means that P buy,max The settings are unreasonable.

[0141] The solar storage energy scheduling instruction P calculated above is pv,t+1 , P es,t+1 and P ev,t+1 Through the above steps, the K-Means clustering algorithm can be effectively used to classify electricity price periods, and corresponding scheduling strategies can be adopted for different electricity price periods to achieve peak-valley arbitrage, optimize electricity costs, and improve the overall efficiency and stability of the system.

[0142] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.

[0143] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0144] Corresponding to the above method embodiment, the embodiment of the present invention also provides a light storage and charging energy management device, whose structure is as follows: Figure 4 As shown, it may include: a current time data acquisition unit 10, an electricity price period determination unit 20, a high price period energy management unit 30, a low price period energy management unit 40, a medium price period energy management unit 50 and an energy scheduling unit 60.

[0145] The current moment data acquisition unit 10 is used to obtain the current moment's buying electricity price, selling electricity price and load power.

[0146] The electricity price period determination unit 20 is used to set the photovoltaic output at the next moment to the maximum output of the photovoltaic MPPT control at the current moment when the electricity purchase price is a positive value, and to determine the electricity price period of the wholesale electricity price at the current moment if the electricity selling price is a positive value.

[0147] The high-price period energy management unit 30 is used to set the charging power at the next moment to 0 when the electricity price period is a high-price period, and then set the energy storage output at the next moment to the maximum discharge power. If the photovoltaic output and the energy storage output are within the first load limit composed of the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0148] The low-price period energy management unit 40 is used to set the charging power at the next moment to the maximum charging power of the car when the electricity price period is a low-price period, and then set the energy storage output at the next moment to the negative value of the maximum energy storage charging power. If the photovoltaic output, charging power and energy storage output are within the second load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0149] The medium-price period energy management unit 50 is used to set the charging power at the next moment to the maximum charging power of the vehicle when the electricity price period is the medium-price period, and then set the energy storage output at the next moment to be equal to the value of the charging power plus the load power minus the photovoltaic output. If the energy storage output is within the energy storage power limit composed of the maximum energy storage charging power and the maximum energy storage discharging power, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0150] The energy scheduling unit 60 is used to send the confirmed photovoltaic output, charging power and energy storage output at the next moment to the corresponding device end.

[0151] Optionally, the high-price period energy management unit 30 can also be used in the case where the electricity price period is a high-price period. If the photovoltaic output and the energy storage output are not within the first load limit, it is determined whether the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is less than the negative value of the preset maximum power for buying electricity. If not, the charging power at the next moment is set equal to the photovoltaic output plus the energy storage output minus the load power and the preset maximum power for selling electricity, and it is determined whether the charging power is less than or equal to the maximum charging power of the vehicle. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed; when the charging power is greater than the maximum charging power of the vehicle, the charging power at the next moment is set. The charging power is the maximum charging power of the car, and then the energy storage output at the next moment is set equal to the charging power plus the load power and the preset maximum power for selling electricity minus the photovoltaic output, and it is determined whether the energy storage output is greater than or equal to the negative value of the maximum charging power of the energy storage. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed; when the energy storage output is less than the negative value of the maximum charging power of the energy storage, the energy storage output at the next moment is set equal to the negative value of the maximum charging power of the energy storage, and then the photovoltaic output at the next moment is set equal to the charging power plus the load power and the preset maximum power for selling electricity minus the energy storage output, and the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0152] Optionally, the low-price period energy management unit 40 can also be used to determine whether the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is greater than the preset maximum power for selling electricity if the photovoltaic output, the charging power and the energy storage output are not within the second load limit when the electricity price period is a low-price period. If so, the photovoltaic output at the next moment is set equal to the value of the charging power plus the load power and the preset maximum power for selling electricity minus the energy storage output, and the photovoltaic output, charging power and energy storage output at the next moment are confirmed; when the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is less than or equal to the preset maximum power for selling electricity, set The energy storage output at the next moment is set equal to the charging power plus the load power minus the preset maximum power of electricity purchase and the photovoltaic output, and it is determined whether the energy storage output is less than or equal to the maximum discharge power of the energy storage. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed; when the energy storage output is greater than the maximum discharge power of the energy storage, the energy storage output at the next moment is set equal to the maximum discharge power of the energy storage, and then the charging power at the next moment is set equal to the photovoltaic output plus the energy storage output and the preset maximum power of electricity purchase minus the load power, and it is determined whether the charging power is greater than or equal to 0. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed.

[0153] Optionally, the mid-price period energy management unit 50 can also be used in the case where the electricity price period is the mid-price period. If the energy storage output is not within the energy storage power limit, the energy storage output at the next moment is set to be equal to the negative value of the maximum charging power of the energy storage or the maximum discharging power of the energy storage. If the photovoltaic output, energy storage output and charging power are within the third load limit composed of the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, charging power and energy storage output at the next moment are confirmed; if the photovoltaic output, energy storage output and charging power are not within the third load limit, the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is determined. Is it greater than the preset maximum power for selling electricity? If so, set the photovoltaic output at the next moment equal to the value of the charging power plus the load power and the preset maximum power for selling electricity minus the energy storage output, and confirm the photovoltaic output, charging power and energy storage output at the next moment; when the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is less than or equal to the preset maximum power for selling electricity, set the charging power at the next moment equal to the value of the photovoltaic output plus the energy storage output and the preset maximum power for buying electricity minus the load power, and determine whether the charging power is greater than or equal to 0. If so, confirm the photovoltaic output, charging power and energy storage output at the next moment.

[0154] Optionally, the light storage and charging energy management device may further include: a light storage and charging energy balance management unit.

[0155] The photovoltaic storage and charging energy balance management unit is used to set the grid power at the next moment to 0 if the electricity selling price is negative, and then set the energy storage output at the next moment equal to the value of the load power plus the charging power minus the photovoltaic output. If the energy storage output is within the energy storage power limit, the photovoltaic output, charging power and energy storage output at the next moment are confirmed; if the energy storage output is not within the energy storage power limit, the energy storage output at the next moment is set equal to the negative value of the maximum charging power of the energy storage or the maximum discharge power of the energy storage, and then set the charging power at the next moment equal to the value of the energy storage output plus the photovoltaic output minus the load power. If the charging power is within the charging power limit formed by the maximum charging power of the vehicle, If the PV output is within the MPPT control maximum output, the PV output, charging power and energy storage output at the next moment are confirmed; if the charging power is not within the charging power limit formed by the maximum charging power of the vehicle, the charging power at the next moment is set to be equal to 0 or the maximum charging power of the vehicle, and then the PV output at the next moment is set to be equal to the value of the load power plus the charging power minus the energy storage output, and it is determined whether the PV output is less than or equal to the MPPT control maximum output. If so, the PV output, charging power and energy storage output at the next moment are confirmed; if the PV output is greater than the MPPT control maximum output, the PV output at the next moment is set to be equal to the MPPT control maximum output, and the PV output, charging power and energy storage output at the next moment are confirmed.

[0156] Optionally, the light storage and charging energy management device may further include: a light storage and charging energy reserve unit.

[0157] The photovoltaic energy storage unit is used to set the photovoltaic output at the next moment to 0 and the charging power to the maximum charging power of the car when the electricity purchase price is negative, and then set the energy storage output at the next moment to be equal to the negative value of the maximum energy storage charging power, and judge whether the value of the load power plus the charging power minus the energy storage output is less than or equal to the preset maximum power purchase. If so, confirm the photovoltaic output, charging power and energy storage output at the next moment; when the value of the load power plus the charging power minus the energy storage output is greater than the preset maximum power purchase, set the photovoltaic output at the next moment to be equal to the value of the load power plus the charging power minus the energy storage output and the preset maximum power purchase, and judge whether the photovoltaic output is less than or equal to the maximum output of MPPT control. If so, confirm the photovoltaic output and charging power at the next moment. Electric power and energy storage output; when the photovoltaic output is greater than the maximum output of MPPT control, set the photovoltaic output equal to the maximum output of MPPT control, and then set the energy storage output at the next moment equal to the load power plus the charging power minus the preset maximum power of electricity purchase and the photovoltaic output, and judge whether the energy storage output is less than or equal to the maximum discharge power of energy storage. If so, confirm the photovoltaic output, charging power and energy storage output at the next moment; when the energy storage output is greater than the maximum discharge power of energy storage, set the energy storage output to the maximum discharge power of energy storage, and then set the charging power at the next moment equal to the photovoltaic output plus the energy storage output and the preset maximum power of electricity purchase minus the load power, and judge whether the charging power is greater than or equal to 0. If so, confirm the photovoltaic output, charging power and energy storage output at the next moment.

[0158] Optionally, the solar storage and charging energy management device may further include: an electricity price period clustering processing unit.

[0159] The electricity price period clustering processing unit is used to determine multiple electricity price periods in which both the buying price and the selling price are positive before the electricity price period determination unit 20 determines the electricity price period in which the wholesale electricity price at the current moment is located; based on the wholesale electricity price of each electricity price period, the multiple electricity price periods are clustered using the K-Means clustering algorithm, and each electricity price period is divided into a high-price period, a low-price period or a medium-price period.

[0160] The present invention provides a photovoltaic storage and charging energy management device, which comprehensively considers the real-time dynamic changes in the purchase price and the sale price of electricity, and adjusts the photovoltaic output, charging efficiency and energy storage output in combination with the electricity price period, thereby optimizing energy use, improving energy utilization and reducing overall energy costs.

[0161] Regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0162] The photovoltaic storage and charging energy management device includes a processor and a memory. The current time data acquisition unit 10, the electricity price period determination unit 20, the high price period energy management unit 30, the low price period energy management unit 40, the medium price period energy management unit 50 and the energy scheduling unit 60 are all stored in the memory as program units, and the processor executes the above program units stored in the memory to realize the corresponding functions.

[0163] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to comprehensively consider the real-time dynamic changes in the purchase and sale prices of electricity, and adjust the photovoltaic output, charging efficiency and energy storage output in combination with the electricity price period, so as to optimize energy use, improve energy utilization and reduce overall energy costs.

[0164] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the solar energy storage and charging management method is implemented.

[0165] An embodiment of the present invention provides a processor, which is used to run a program, wherein the solar energy storage and charging management method is executed when the program is running.

[0166] like Figure 5 As shown, an embodiment of the present invention further provides a light storage and charging energy management system, including: a cloud platform, a coordination controller and a local device end, the cloud platform is communicatively connected with the coordination controller, and the coordination controller is communicatively connected with the local device end.

[0167] The cloud platform is used to obtain the dynamic wholesale electricity price of the day before and calculate the retail purchase and sale prices of electricity of the day before.

[0168] The main functions of the cloud platform include obtaining the day-ahead dynamic wholesale electricity price and calculating the day-ahead retail electricity selling price and electricity buying price. Specifically, the cloud platform can obtain the day-ahead dynamic wholesale electricity price through the API interface of the third-party power trading website. The cloud platform calculates the day-ahead retail electricity selling price and electricity buying price based on the day-ahead dynamic wholesale electricity price obtained, as well as the tax rates and surcharges for buying and selling electricity, and then sends the calculation results to the coordination control layer.

[0169] The cloud platform can communicate with the coordination control layer via WiFi, LAN or 4G.

[0170] A coordination controller is used to execute the steps of the above-mentioned photovoltaic storage and charging energy management method.

[0171] The main function of the coordination controller is to calculate the energy management strategy of photovoltaic energy storage and charging. The coordination controller can communicate with the local device through LAN. The coordination control layer can use the photovoltaic energy storage and charging energy control algorithm to calculate the energy scheduling instructions for photovoltaic, energy storage and charging piles. These scheduling instructions are then sent to the device.

[0172] The local device side is used to receive and execute the dispatching instructions of photovoltaic output, charging power and energy storage output issued by the coordination controller.

[0173] The local device receives energy scheduling instructions from the photovoltaic, energy storage and charging equipment of the coordination control layer and performs corresponding operations.

[0174] The embodiment of the present invention adopts a three-layer architecture design, so that the photovoltaic storage and charging energy management system can efficiently use the cloud platform to obtain and calculate electricity prices, coordinate the control layer to perform strategy calculations, and the device side is responsible for executing scheduling instructions, thereby realizing comprehensive energy management and optimization.

[0175] An embodiment of the present invention provides an electronic device, which includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the above-mentioned light storage and charging energy management method.

[0176] The present invention also provides a computer program product, which, when executed on an electronic device, is suitable for executing a program for initializing the steps of the light storage and charging energy management method.

[0177] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0178] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0179] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A method for managing solar energy storage and charging, characterized in that: include: Obtain the current electricity purchase price, electricity selling price and load power; When the electricity purchase price is positive, the photovoltaic output at the next moment is set to the maximum output of the photovoltaic under MPPT control at the current moment; if the electricity selling price is positive, the electricity price period of the wholesale electricity price at the current moment is determined; When the electricity price period is a high-price period, the charging power at the next moment is set to 0, and the energy storage output at the next moment is set to the maximum discharge power. If the photovoltaic output and the energy storage output are within the first load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; When the electricity price period is a low-price period, the charging power at the next moment is set to the maximum charging power of the car, and the energy storage output at the next moment is set to the negative value of the maximum charging power of the energy storage. If the photovoltaic output, the charging power and the energy storage output are within the second load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; When the electricity price period is a medium price period, the charging power at the next moment is set to the maximum charging power of the vehicle, and the energy storage output at the next moment is set to be equal to the value of the charging power plus the load power minus the photovoltaic output. If the energy storage output is within the energy storage power limit formed by the maximum energy storage charging power and the maximum energy storage discharging power, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; The confirmed photovoltaic output, charging power and energy storage output at the next moment are sent to the corresponding device end.

2. The method according to claim 1, characterized in that: Also includes: In the case where the electricity price period is a high-price period, if the photovoltaic output and the energy storage output are not within the first load limit, determine whether the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is less than the negative value of the preset maximum power of buying electricity. If not, set the charging power at the next moment to be equal to the value of the photovoltaic output plus the energy storage output minus the load power and the preset maximum power of selling electricity, and determine whether the charging power is less than or equal to the maximum charging power of the car. If yes, confirm the photovoltaic output, the charging power and the energy storage output at the next moment; In the case where the charging power is greater than the maximum charging power of the car, the charging power at the next moment is set to be the maximum charging power of the car, and the energy storage output at the next moment is set equal to the value of the charging power plus the load power and the preset maximum power of electricity sold minus the photovoltaic output, and it is determined whether the energy storage output is greater than or equal to the negative value of the maximum charging power of the energy storage. If not, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; When the energy storage output is less than the negative value of the maximum energy storage charging power, the energy storage output at the next moment is set equal to the negative value of the maximum energy storage charging power, and then the photovoltaic output at the next moment is set equal to the charging power plus the load power and the preset maximum power for selling electricity minus the energy storage output, and the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed.

3. The method according to claim 1, characterized in that Also includes: In the case where the electricity price period is a low-price period, if the photovoltaic output, the charging power and the energy storage output are not within the second load limit, determine whether the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is greater than the preset maximum power for selling electricity. If so, set the photovoltaic output at the next moment to be equal to the value of the charging power plus the load power and the preset maximum power for selling electricity minus the energy storage output, and confirm the photovoltaic output, the charging power and the energy storage output at the next moment; In the case where the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is less than or equal to the preset maximum power for selling electricity, the energy storage output at the next moment is set to be equal to the value of the charging power plus the load power minus the preset maximum power for buying electricity and the photovoltaic output, and it is determined whether the energy storage output is less than or equal to the maximum discharge power of the energy storage. If so, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; In the case where the energy storage output is greater than the maximum energy storage discharge power, the energy storage output at the next moment is set equal to the maximum energy storage discharge power, and then the charging power at the next moment is set equal to the value of the photovoltaic output plus the energy storage output and the preset maximum power purchase power minus the load power, and it is determined whether the charging power is greater than or equal to 0. If so, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed.

4. The method according to claim 1, characterized in that: Also includes: In the case where the electricity price period is a medium price period, if the energy storage output is not within the energy storage power limit, the energy storage output at the next moment is set equal to the negative value of the energy storage maximum charging power or the energy storage maximum discharging power; if the photovoltaic output, the energy storage output and the charging power are within the third load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; If the photovoltaic output, the energy storage output and the charging power are not within the third load limit, determine whether the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is greater than the preset maximum power for selling electricity. If so, set the photovoltaic output at the next moment to be equal to the value of the charging power plus the load power and the preset maximum power for selling electricity minus the energy storage output, and confirm the photovoltaic output, the charging power and the energy storage output at the next moment; When the value of the photovoltaic output plus the energy storage output minus the charging power and the load power is less than or equal to the preset maximum power for selling electricity, the charging power at the next moment is set equal to the value of the photovoltaic output plus the energy storage output and the preset maximum power for buying electricity minus the load power, and it is determined whether the charging power is greater than or equal to 0. If so, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed.

5. The method according to claim 1, characterized in that Also includes: In the case where the electricity purchase price is a positive value, if the electricity selling price is a negative value, the grid power at the next moment is set to 0, and the energy storage output at the next moment is set to be equal to the value of the load power plus the charging power minus the photovoltaic output. If the energy storage output is within the energy storage power limit, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; In the case where the energy storage output is not within the energy storage power limit, the energy storage output at the next moment is set equal to the negative value of the maximum charging power of the energy storage or the maximum discharging power of the energy storage, and then the charging power at the next moment is set equal to the value of the energy storage output plus the photovoltaic output minus the load power. If the charging power is within the charging power limit formed by the maximum charging power of the vehicle, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; In the case where the charging power is not within the charging power limit formed by the maximum charging power of the vehicle, the charging power at the next moment is set to be equal to 0 or the maximum charging power of the vehicle, and the photovoltaic output at the next moment is set to be equal to the value of the load power plus the charging power minus the energy storage output, and it is determined whether the photovoltaic output is less than or equal to the maximum output of the MPPT control, and if so, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; When the photovoltaic output is greater than the maximum output controlled by the MPPT, the photovoltaic output at the next moment is set equal to the maximum output controlled by the MPPT, and the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed.

6. The method according to claim 1, characterized in that Also includes: When the electricity purchase price is a negative value, the photovoltaic output at the next moment is set to 0, the charging power is set to the maximum charging power of the car, and the energy storage output at the next moment is set to be equal to the negative value of the maximum energy storage charging power, and it is determined whether the value of the load power plus the charging power minus the energy storage output is less than or equal to the preset maximum electricity purchase power. If so, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; In the case where the value of the load power plus the charging power minus the energy storage output is greater than the preset maximum power for electricity purchase, the photovoltaic output at the next moment is set to be equal to the value of the load power plus the charging power minus the energy storage output and the preset maximum power for electricity purchase, and it is determined whether the photovoltaic output is less than or equal to the maximum output of the MPPT control. If so, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; In the case where the photovoltaic output is greater than the maximum output controlled by the MPPT, the photovoltaic output is set equal to the maximum output controlled by the MPPT, and the energy storage output at the next moment is set equal to the value of the load power plus the charging power minus the preset maximum power purchase and the photovoltaic output, and it is determined whether the energy storage output is less than or equal to the maximum discharge power of the energy storage. If so, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed; In the case where the energy storage output is greater than the maximum energy storage discharge power, the energy storage output is set to the maximum energy storage discharge power, and the charging power at the next moment is set equal to the value of the photovoltaic output plus the energy storage output and the preset maximum power purchase power minus the load power, and it is determined whether the charging power is greater than or equal to 0. If so, the photovoltaic output, the charging power and the energy storage output at the next moment are confirmed.

7. The method according to any one of claims 1 to 6, characterized in that Before determining the electricity price period of the wholesale electricity price at the current moment, the method further includes: Determine a plurality of electricity price periods in which both the electricity purchase price and the electricity selling price are positive; Based on the wholesale electricity price in each electricity price period, a plurality of electricity price periods are clustered using a K-Means clustering algorithm, and each electricity price period is divided into the high price period, the low price period or the medium price period.

8. A light storage and charging energy management device, characterized in that: include: The current time data acquisition unit, the electricity price period determination unit, the high price period energy management unit, the low price period energy management unit, the medium price period energy management unit and the energy scheduling unit, The current moment data acquisition unit is used to obtain the current moment's buying electricity price, selling electricity price and load power; The electricity price period determination unit is used to set the photovoltaic output at the next moment to the maximum output of the photovoltaic under MPPT control at the current moment when the electricity purchase price is a positive value, and to determine the electricity price period of the wholesale electricity price at the current moment if the electricity selling price is a positive value; The high-price period energy management unit is used to set the charging power at the next moment to 0 when the electricity price period is a high-price period, and then set the energy storage output at the next moment to the maximum discharge power, and if the photovoltaic output and the energy storage output are within the first load limit composed of the preset maximum power for buying electricity and the preset maximum power for selling electricity, then confirm the photovoltaic output, the charging power and the energy storage output at the next moment; The low-price period energy management unit is used to set the charging power at the next moment to the maximum charging power of the car when the electricity price period is a low-price period, and then set the energy storage output at the next moment to the negative value of the maximum energy storage charging power. If the photovoltaic output, the charging power and the energy storage output are within the second load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, then confirm the photovoltaic output, the charging power and the energy storage output at the next moment; The medium-price period energy management unit is used to set the charging power at the next moment to the maximum charging power of the vehicle when the electricity price period is the medium-price period, and then set the energy storage output at the next moment to be equal to the value of the charging power plus the load power minus the photovoltaic output. If the energy storage output is within the energy storage power limit formed by the maximum energy storage charging power and the maximum energy storage discharging power, then confirm the photovoltaic output, the charging power and the energy storage output at the next moment; The energy scheduling unit is used to send the confirmed photovoltaic output, charging power and energy storage output at the next moment to the corresponding device end.

9. A light storage and charging energy management system, characterized in that: include: A cloud platform, a coordination controller and a local device end, wherein the cloud platform is connected to the coordination controller for communication, and the coordination controller is connected to the local device end for communication, The cloud platform is used to obtain the dynamic wholesale electricity price of the day before and calculate the retail purchase price and sales price of the day before; The coordination controller is used to execute the photovoltaic storage and charging energy management method according to any one of claims 1 to 7; The local device end is used to receive and execute the scheduling instructions of the photovoltaic output, the charging power and the energy storage output issued by the coordination controller.

10. An electronic device, comprising at least one processor, and at least one memory and a bus connected to the processor; wherein: The processor and the memory communicate with each other via the bus; The processor is used to call the program instructions in the memory to execute the photovoltaic storage and charging energy management method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Photovoltaic power station three-period energy management method based on time-of-use power prices and load characteristics

    CN110868134A

  • Collaborative optimization method and device for electric vehicle containing new energy and building air conditioning system

    CN113325701A

  • Method and device for managing and controlling network-side power of optical storage system

    CN116316767A

  • Charging and discharging method of photovoltaic energy storage system and photovoltaic energy storage system

    CN117375053A

Cited By

  • Virtual power plant power transaction optimization method and system based on data driving

    CN119417510A

  • Optical storage and charging system adaptive load balancing method based on dynamic scene perception

    CN121261357A

  • Dynamic scene perception based self-adaptive load balancing method for optical storage and charging system

    CN121261357B