A method, device, system and electronic equipment for managing light storage and charging energy
By obtaining dynamic electricity price information to adjust the output and charging strategies of photovoltaic and energy storage systems, the accuracy problem of photovoltaic storage and charging energy management under the dynamic electricity price model is solved, and efficient energy utilization and cost optimization are achieved.
Patent Information
- Application Number
- CN202411110447.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-08-13
AI Technical Summary
Existing photovoltaic storage and charging energy management technologies are difficult to accurately predict loads under dynamic electricity pricing models, resulting in power waste and safety hazards. Existing methods also fail to effectively combine dynamic electricity pricing for optimized management.
By obtaining the current electricity purchase price, electricity selling price and load power, the photovoltaic output, charging power and energy storage output are dynamically adjusted, and the corresponding energy management strategy is set according to the electricity price period to ensure operation within the preset load limit, including maximum energy storage discharge in high-price periods, maximum charging in low-price periods, and balanced power in medium-price periods.
Optimize energy use, improve energy utilization, reduce overall energy costs, and ensure system stability and security.
Smart Images

Figure CN119109019B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of photovoltaic energy storage and charging management, and in particular to a photovoltaic energy storage and charging management method, device, system and electronic equipment. Background Art
[0002] With the further development and expansion of the electricity market, dynamic electricity pricing models are becoming increasingly popular. Simultaneously, the number of distributed energy sources connected to the grid, such as photovoltaics and energy storage, continues to increase, as does the ownership of new energy vehicles. Against this backdrop, energy management for integrated photovoltaic, storage, and charging systems under dynamic electricity pricing models is becoming increasingly important.
[0003] However, current solar-storage-charging energy management mostly relies on photovoltaic forecasting and load forecasting. However, due to the large randomness of charging load and electricity 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 storage and charging energy, thereby improving energy utilization and reducing energy costs, has become a technical problem that technicians 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 solar energy storage and charging, comprising:
[0007] Obtain the current electricity purchase price, electricity selling price and load power;
[0008] If the electricity purchase price is positive, the photovoltaic output at the next moment is set to the maximum output of the photovoltaic power plant 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] If 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 a first load limit consisting of a preset maximum power for buying electricity and a preset maximum power for selling electricity, the photovoltaic output, the charging power, and the energy storage output at the next moment are determined;
[0010] If 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 vehicle, 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, 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 determined;
[0011] If 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 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 discharge power, the photovoltaic output, the charging power, and the energy storage output at the next moment are determined;
[0012] The confirmed photovoltaic output, charging power and energy storage output at the next moment are sent to the corresponding device end.
[0013] A solar energy storage and charging management device includes: 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 configured to set the photovoltaic output at the next moment to the maximum output of the photovoltaic power plant under MPPT control at the current moment if 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 configured to, 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 a first load limit formed by a preset maximum power for buying electricity and a preset maximum power for selling electricity, then determine the photovoltaic output, the charging power, and the energy storage output at the next moment;
[0017] The low-price period energy management unit is configured to, when the electricity price period is a low-price period, set the charging power at the next moment to the maximum charging power of the vehicle, 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 a second load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, then determine the photovoltaic output, the charging power, and the energy storage output at the next moment;
[0018] The medium-price period energy management unit is configured to, 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 vehicle, 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 solar energy storage and charging management system includes: a cloud platform, a coordination controller and a local device end, wherein the cloud platform is in communication connection with the coordination controller, and the coordination controller is in communication connection with the local device end.
[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 solar energy storage and charging management method;
[0023] The local device side 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 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; and the processor is configured to call program instructions in the memory to execute the solar energy storage and charging management method.
[0025] By means of the above technical solution, the present invention provides a method, device, system and electronic equipment 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 positive, 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 positive, 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 composed of 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 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 purchase power and the preset maximum sale power, 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 the energy storage output at the next moment is set to be equal to 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 and the maximum discharge power of the energy storage, 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 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.
[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 in accordance with 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 specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the 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 by an embodiment of the present invention;
[0029] Figure 2A schematic diagram illustrating the process of dividing electricity price periods based on the K-Means clustering algorithm provided by an embodiment of the present invention is shown;
[0030] Figure 3 A schematic diagram of the process of the solar energy storage and charging management strategy provided by an embodiment of the present invention is shown;
[0031] Figure 4 The following is a schematic diagram showing the structure of a light storage and charging energy management device provided by an embodiment of the present invention;
[0032] Figure 5 A schematic diagram of the architecture of a solar energy storage and charging management system provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0033] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although 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. Rather, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0034] With the continuous development and expansion of the electricity market, dynamic electricity pricing models are becoming increasingly popular. Simultaneously, the number of distributed energy sources connected to the grid, such as photovoltaics and energy storage, continues to increase, as does the ownership of new energy vehicles. Against this backdrop, energy management for integrated photovoltaic, storage, and charging systems under dynamic electricity pricing models has become particularly important.
[0035] Currently, most PV-storage-charging energy management technologies are designed for time-of-use (TOU) electricity pricing. TOU pricing only covers peak, off-peak, and flat-rate electricity prices, while dynamic pricing varies across the day. This means TOU pricing is no longer suitable for PV-storage-charging energy management under dynamic pricing.
[0036] Furthermore, current solar-storage-charging energy management largely relies on photovoltaic and load forecasting, followed by optimized scheduling to maximize overall system economics. However, the significant randomness of EV charging loads and consumer electricity loads makes load forecasting accuracy difficult to guarantee, making true economic optimization impossible. Low forecast accuracy can even lead to economic losses and safety risks for the system. Therefore, existing technologies need to be improved to address the complex energy management challenges under dynamic electricity pricing models.
[0037] Based on this, an embodiment of the present invention provides a photovoltaic energy storage and charging management method, applicable to the field of photovoltaic energy storage and charging management technology. This method obtains the current electricity purchase price, electricity selling price, and load power, and dynamically adjusts the photovoltaic output, charging power, and energy storage output at the next moment according to the electricity price period. Energy storage is discharged at maximum during high-price periods, charged at maximum during low-price periods, and balanced during medium-price periods, ensuring operation within preset load limits. The confirmed parameters are then 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 solar energy storage and charging provided by an embodiment of the present invention includes:
[0039] S100: Obtain the current electricity purchase price, electricity selling price, and load power.
[0040] The electricity purchase price is 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 calculated based on the day-ahead dynamic wholesale electricity price in the electricity market, plus the electricity selling tax rate and any surcharges. The electricity selling price reflects the revenue from electricity sales.
[0042] The day-ahead dynamic wholesale electricity price, referred to as the wholesale electricity price, refers to the electricity price set in advance by the power market before the transaction date. It reflects the market's expectations for future electricity supply and demand. This embodiment of the present invention can calculate the current buying and selling prices for electricity based on the wholesale electricity price published by the power market and the corresponding tax rates and surcharges.
[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 positive, set the photovoltaic output at the next moment to the maximum output of the photovoltaic power plant under MPPT control at the current moment. If the electricity selling price is positive, determine the electricity price period of the wholesale electricity price at the current moment.
[0045] Photovoltaic output refers to the amount of electricity generated by a photovoltaic system (usually solar panels) at a specific point in time.
[0046] The maximum output of MPPT control refers to the maximum output of a photovoltaic system when MPPT (Maximum Power Point Tracking) control is adopted.
[0047] It's understandable that when the electricity purchase price is positive, it's best to avoid purchasing electricity whenever possible to minimize financial losses. If the PV system can generate at maximum output at the next moment, the need to purchase electricity from the grid can be reduced, thereby lowering electricity bills. Therefore, maximizing PV output can maximize economic benefits. For example, if the PV output at the current moment is at the maximum output under MPPT control, without adjusting the PV system, the output at the next moment may be lower than the maximum output. In this case, if the electricity purchase price is high, more electricity will need to be purchased from the grid, increasing electricity bills. By configuring the PV system to generate at the same maximum output under MPPT control at the next moment, the amount of electricity purchased from the grid can be reduced, thereby reducing electricity bills.
[0048] To optimize energy management and economic efficiency, this embodiment pre-classifies periods of electricity price, when both the purchase and sale prices are positive, into high-price, low-price, or medium-price periods. Appropriate charging and discharging strategies, load management, and demand response are implemented for each period, maximizing economic efficiency and improving energy efficiency and cost-effectiveness.
[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 composed of the preset maximum power for buying electricity and the preset maximum power for selling electricity, then 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] During periods of high electricity prices, the cost of purchasing electricity from the grid is also high. Setting the charging power to 0 ensures that no electricity is purchased from the grid during these periods, thus avoiding high costs. Furthermore, high-price periods allow electricity to be sold back to the grid at a higher price. By setting the energy storage output to the maximum discharge power, the energy stored in the energy storage system is sold at the highest price, thereby maximizing economic benefits.
[0053] The preset maximum power purchase power refers to the preset maximum allowable power purchase from the grid. The preset maximum power purchase power is usually set based on equipment capabilities and economic budget.
[0054] The preset maximum power selling power refers to the maximum power allowed for selling electricity to the grid, which is usually set based on the equipment's capabilities or the grid's 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 To store energy, P load,t is the load power, P buy,max P is the preset maximum power of electricity purchase. 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 through the first load limitation, maximize energy self-use rate, thereby reducing electricity purchase costs during high-price periods and increasing electricity sales revenue.
[0057] S130. When the electricity price period is a low-price period, set the charging power at the next moment to the maximum charging power of the vehicle, 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 composed of the preset maximum power for buying electricity and the preset maximum power for selling electricity, then confirm the photovoltaic output, charging power, and energy storage output at the next moment.
[0058] During periods of low electricity prices, the cost of purchasing electricity from the grid is lower. By setting the charging power to the vehicle's maximum charging power and the energy storage output to the negative of the maximum charging power, cheap electricity can be stored through charging and energy storage for use or sale during periods of high electricity prices. This reduces charging costs while fully utilizing the capacity of existing equipment, improving equipment utilization and ensuring an optimal 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 the load and energy storage system, 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, set the charging power at the next moment to the maximum charging power of the vehicle, and then set the energy storage output at the next moment to be equal to 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, then confirm the photovoltaic output, charging power and energy storage output at the next moment.
[0062] During the mid-price period, electricity prices fall between high and low prices. Charging electric vehicles during this period avoids the high cost of charging during high-price periods while also minimizing the excessive energy storage and charging burden during low-price periods. Charging electric vehicles during the mid-price period avoids the high electricity prices of peak periods while also maintaining the energy storage strategy during low-price periods. Setting the energy storage system output to the value of charging power plus load power minus PV output ensures optimal utilization of the energy storage system during the mid-price period, avoiding wasted PV power while still meeting load demand.
[0063] Optionally, the energy storage power limit can be set to a value between the negative value of the maximum energy storage charging power and the maximum energy storage discharging power, i.e. -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] In the embodiment of the present invention, by reasonably limiting the energy storage power during the medium-price period, the charging and discharging strategy of the energy storage system can be optimized, thereby avoiding excessive discharge during high-price periods or overcharging during low-price periods, improving overall economic benefits, and reducing unnecessary power losses 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 can adjust the power generation power according to the photovoltaic output at the next moment, the charging equipment can perform charging operations according to the charging power at the next moment, and the energy storage system can perform charging and discharging operations according to the energy storage output at the next moment.
[0068] The present invention provides a photovoltaic storage and charging energy management method, 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 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 composed of the preset maximum purchase power and the preset maximum 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. The electric power is set, 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, charging power and energy storage output are within the second load limit composed of the preset maximum purchase power and the preset maximum sale power, 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 the energy storage output at the next moment is set to be equal to 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 and the maximum discharge power of the energy storage, 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 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.
[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 high, if the photovoltaic output and 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 electricity purchase. If not, set 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 sale, and determine whether the charging power is less than or equal to the maximum charging power of the vehicle. If so, confirm the photovoltaic output, charging power and energy storage output at the next moment.
[0071] During periods of high electricity prices, the goal of solar-storage-charging energy management is typically to minimize the cost of purchasing electricity from the grid and maximize the use of photovoltaic power generation and energy storage systems to meet load demand and EV charging needs. By determining whether the sum of photovoltaic output and 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 storage output can meet the total system demand (including load and EV charging) and ensure that the cost of purchasing electricity is minimized during periods of high electricity prices.
[0072] This embodiment of the present invention sets the next charging power equal to the sum of the PV output and the energy storage output, minus the load power and the preset maximum power selling power. This ensures that the remaining power after deducting the total load and the preset maximum power selling power from the system's total power generation (PV and energy storage) is used for charging. During periods of high electricity prices, this embodiment of the present invention reduces the need for purchased electricity, optimizes the proportion of self-use, and ensures stable system operation by efficiently utilizing PV and energy storage resources, helping to maximize economic benefits while ensuring 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 equipment 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 vehicle, 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 equal to the charging power plus the load power and the preset maximum power of electricity sold minus the photovoltaic output. 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 must be reset for the next moment to ensure the entire system maintains power balance. Adjusting the energy storage output can compensate for power differences caused by charging power adjustments, ensuring a balance between the power system's load demand and power generation capacity. Furthermore, adjusting the energy storage output during periods of high electricity prices can minimize the need for purchased electricity, thereby optimizing electricity costs.
[0077] When the energy storage output is less than the negative value of the maximum energy storage charging power, set the energy storage output at the next moment equal to the negative value of the maximum energy storage charging power, and then set the photovoltaic output at the next moment equal to 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.
[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, the power can be supplemented by increasing photovoltaic output, so as to more efficiently utilize renewable energy and reduce dependence on the power grid.
[0079] During periods of high electricity prices, this embodiment of the present invention minimizes the need to purchase electricity from the grid by precisely controlling PV output, energy storage output, and charging power, thereby reducing electricity costs. Furthermore, by dynamically adjusting PV output, energy storage output, and load demand, 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 value of 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] During low-price periods, it's necessary to optimize the use of power resources to maximize the use of cheap electricity, minimize costs, and ensure system stability and security. By determining whether the sum of the PV output and the energy storage output minus the charging power and load power exceeds the preset maximum power sold, it's possible to verify whether the energy storage system is fully utilizing cheap electricity during low-price periods. This limits the power sold, ensuring that excessive electricity is not sold to the grid, thereby reducing electricity purchase demand and costs during high-price periods. Since electricity sales during low-price periods yield lower returns, rational control can reduce unnecessary electricity sales, prioritize meeting internal electricity and energy storage needs, and improve economic efficiency.
[0083] By setting the photovoltaic output at the next moment equal to the sum of the charging power, the load power, and the preset maximum power sold, minus the energy storage output, the embodiment of the present invention can ensure that during low-price periods, photovoltaic output is preferentially used to meet the charging and load demands of the energy storage system. By rationally allocating photovoltaic output, photovoltaic output is not wasted, the energy storage system is fully charged, the load is stably supplied, and the power sold is 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] By setting 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, the embodiment of the present invention can ensure that the system operates under the premise of power balance, limit the power purchased 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 energy storage discharge power, the embodiments 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. The charging power at the next moment is then set equal to the value of the photovoltaic output plus the energy storage output and the preset maximum power purchase minus the load power. 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.
[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 to reset the maximum power for purchasing electricity.
[0089] By limiting the energy storage output to the maximum discharge power range, the embodiments of the present invention can avoid overloading the energy storage device, preventing heating, damage, and even safety accidents. When the energy storage output is limited, by properly adjusting the charging power, the system can maintain stable operation under the new power distribution to meet load requirements. At the same time, the photovoltaic output and energy storage output are rationally utilized to maximize the use of local renewable energy, improve system operating efficiency, and thus ensure the overall safety, stability, and economic benefits of the system.
[0090] During low-price periods, the embodiments of the present invention prioritize the use of renewable energy and ensure that the energy storage system charges and discharges within a reasonable power range by rationally adjusting photovoltaic output, energy storage output, and charging power. This allows for the storage of as much low-cost electricity resources as possible during low-price periods, thereby maximizing economic benefits and resource utilization efficiency while ensuring system safety and stability, and optimizing the overall system operation.
[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, 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 of buying electricity and the preset maximum power of 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] By using the third load limit, the embodiment of the present invention can reasonably control the power purchased and sold during the medium-price period, maximize self-use of electricity, improve the utilization rate of the energy storage system, give priority to the use of renewable energy, reduce unnecessary electricity purchases, and lower electricity purchase costs. Under the premise of ensuring efficient, safe and stable operation of the system, it maximizes economic benefits and environmental benefits.
[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 load power is greater than the preset maximum power selling power. 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 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 ensures that the electricity selling power does not exceed the preset maximum electricity 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 electricity selling power, thereby avoiding safety hazards caused by overload.
[0098] By adjusting the photovoltaic output, the embodiments of the present invention can maintain the power balance of the system, 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 to be 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 a determination is made as to 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 electric vehicle charging power 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 ensure that the photovoltaic output and energy storage output are balanced within the load power and the preset maximum power range of purchased electricity, while ensuring charging and discharging within the appropriate power range, avoiding economic losses caused by excessive electricity purchases or insufficient charging.
[0102] By determining whether the charging power is greater than or equal to 0, the embodiment of the present invention can avoid unreasonable negative power situations, ensure that the charging power is within a reasonable range, and ensure the rationality and stability of system operation.
[0103] During the mid-price period, within a preset maximum power range for electricity sales, this embodiment of the present invention optimizes the distribution of photovoltaic output and charging power, reducing electricity purchase costs, increasing electricity sales revenue, and maximizing the economic benefits of the system. Dynamically adjusting charging power based on photovoltaic and energy storage output ensures the most efficient use of electricity resources and reduces unnecessary energy waste. It also rationally allocates the relationship between photovoltaic power, energy storage power, and grid power, ensuring the system maximizes the use of renewable energy and avoiding unnecessary power losses and additional costs, thereby helping to improve the efficiency and profitability 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 electricity purchase prices are positive and electricity sales prices are negative, the goal of PV-storage-charging energy management is to minimize the need to buy or sell electricity. To achieve this, the grid power can be set to zero to avoid the additional costs of selling electricity. Then, the energy storage output can be appropriately configured to fully utilize the energy storage system and the PV system to meet load demand without having to purchase electricity from the grid.
[0107] If the energy storage output is not within the energy storage power limit, set the energy storage output at the next moment equal to the negative value of the energy storage maximum charging power or the energy storage maximum discharge power. 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 vehicle's maximum charging power, confirm the photovoltaic output, charging power and energy storage output at the next moment.
[0108] When the energy storage output cannot meet the load demand, the first step is to ensure the stability of the system operation by controlling the energy storage output within a reasonable range and prevent system instability caused by excessive energy storage output. Then, the charging power is reasonably set to meet the load demand.
[0109] If the charging power is not within the charging power limit of the vehicle's maximum charging power, set the charging power at the next moment to 0 or the vehicle's maximum charging power. Then 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. Determine whether the photovoltaic output is less than or equal to the maximum output of MPPT control. If so, confirm the photovoltaic output, charging power, and energy storage output at the next moment.
[0110] Optionally, the charging power limit can 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 rationally 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 system's operating efficiency and resource utilization.
[0112] When the photovoltaic output is greater than the maximum output controlled by MPPT, the photovoltaic output at the next moment is set to be equal to the maximum output controlled by MPPT, and the photovoltaic output, charging power and energy storage output at the next moment are confirmed.
[0113] The embodiment of the present invention ensures 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. This 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. 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 price is negative, purchasing electricity is not only free but also profitable. In this case, maximizing the amount of electricity purchased from the grid can yield even greater returns. Setting the PV output to 0 reduces self-generation, maximizing the amount of electricity purchased from the grid, and leveraging negative electricity prices to generate 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 equipment charges at the maximum power, shortening the charging time and maximizing the use of electricity purchased when the electricity price is negative.
[0119] The embodiment of the present invention ensures that the energy storage system charges at maximum power by setting the energy storage output to a negative value of the maximum charging power. When the electricity purchase price is negative, as much electricity as possible is purchased from the 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 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. 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 greater the amount purchased, the more favorable it is. However, the power grid's purchasing capacity and actual user demand are limited, so the amount purchased must be controlled within a preset maximum power range. After the purchase reaches the preset maximum, using photovoltaic power generation to supplement power demand can optimize the allocation of power resources and maximize economic benefits.
[0122] By determining whether the photovoltaic output is less than or equal to the maximum output controlled by the MPPT, the embodiment of the present invention can check whether the photovoltaic system is operating within a safe range, thereby avoiding overload and damage to the photovoltaic equipment, ensuring that the photovoltaic system operates in the best state, and maximizing economic benefits and system safety.
[0123] When the PV output is greater than the maximum output controlled by the MPPT, set the PV output equal to the maximum output controlled by the MPPT. 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 PV output. Determine whether the energy storage output is less than or equal to the maximum discharge power of the energy storage. If so, confirm the PV output, charging power, and energy storage output at the next moment.
[0124] PV panels and inverters both have a maximum output power limit. Exceeding this limit can overload or even damage the equipment. The MPPT maximum output is the highest power the PV system can safely output. Therefore, setting the PV output to no more than the MPPT maximum output can protect PV equipment from damage.
[0125] When PV output is limited, adjusting the energy storage system's output can balance the relationship between load power, charging power, PV output, and grid purchases. Furthermore, even when electricity prices are negative, purchases must be kept within a preset maximum power range to avoid unnecessary waste. Therefore, adjusting energy storage output can effectively capitalize on negative electricity prices while simultaneously controlling purchases.
[0126] When the energy storage output is greater than the maximum energy storage discharge power, set the energy storage output to the maximum energy storage discharge power, and then 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 purchase power minus the load power. 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.
[0127] This embodiment of the present invention sets the energy storage output to the maximum discharge power of the energy storage device, protecting the energy storage device from overload, overheating, and even damage. When the energy storage system's discharge capacity is limited, adjusting the charging power can help the system maintain a balance between power supply and demand, avoiding power shortages or surpluses and ensuring stable system operation. Furthermore, it is important to ensure that the charging power does not reach a negative value, as a negative value would require additional discharge, which is impossible if the energy storage system has already reached its maximum discharge power.
[0128] The embodiments of the present invention achieve stable system operation, maximized economic benefits, balanced power supply and demand, and equipment protection by precisely controlling photovoltaic output, energy storage output, and charging power when the electricity purchase price is negative, thereby ensuring that the power system can operate safely, efficiently, and economically when the electricity purchase price is negative.
[0129] Optional, in the above Figure 1 Based on 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 high-price period, low-price period or medium-price period.
[0132] Specifically, an embodiment of the present invention can organize the wholesale electricity price data of multiple electricity price periods into a list or array, where each element corresponds to the electricity price of a period, and then set the number of clusters to 3, so as to divide the electricity price period into three categories: high-price period, medium-price period, and low-price 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 period division method provided in the embodiment of the present invention can refer to Figure 2 shown. Figure 2 The figure shows the process of dividing electricity price into time periods based on the K-Means clustering algorithm. In this embodiment of the present invention, the number of clusters k=3 is set, and the maximum, minimum and average values of electricity value in all time periods are selected as the initial centroids. i , calculate its relationship with each centroid Y j Euclidean distance The time period is assigned to the cluster with the closest distance. The centroid of each cluster is updated to the average value of electricity across all time periods in that cluster. The distance calculation and centroid update process is repeated until the electricity value of each time period is closest to the centroid of its cluster. The electricity price period is determined based on the size of the centroid: the cluster with the largest centroid is assigned to the high-price period, the cluster with the smallest centroid is assigned to the low-price period, and the cluster in the middle is assigned to the medium-price period.
[0134] The embodiment of the present invention clusters multiple electricity price periods based on the K-Means clustering algorithm, and can accurately divide each electricity price period into a high-price period, a medium-price period or a low-price period, thereby facilitating subsequent reliable solar storage and charging energy management based on the electricity price period.
[0135] In order to facilitate the understanding of the overall solution of the solar energy storage and charging management method provided in the embodiment of the present invention, Figure 3 To explain: Figure 3 The figure shows a flow chart of the solar energy storage and charging management strategy provided by an embodiment of the present invention. First, the period when both the purchase price and the selling 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 as much as possible during low-price periods for energy storage and electric vehicle charging, thus achieving peak-valley arbitrage. Then, determine the purchase price of electricity. If the purchase price C at time t is buy,t If the power output is negative, the company should buy as much electricity as possible from the grid to earn profits. 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 This is the maximum charging power of the energy storage. This can maximize the power purchased from the grid and maximize the benefits of buying electricity. At the same time, consider the maximum power purchased from the grid P buy,max If you buy electricity 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 simultaneously meet the load demand, electric vehicle charging, and energy storage charging. In this case, the photovoltaic output will be increased first. If the photovoltaic output is insufficient, the energy storage output will be increased. If the energy storage output is still insufficient, it will exceed 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 not buy electricity as much as possible to reduce economic losses. pv,t+1 =P mppt,t , where P mppt,t The maximum output of photovoltaic power when MPPT (Maximum Power Point Tracking) is used at time t. Then the selling price of electricity is judged. If the selling price of electricity at time t is C sell,t If it is negative, electricity should not be sold as much as possible to reduce losses. In order to achieve the goal of neither buying nor selling electricity, let the grid power P grid,t+1 = 0, then adjust the energy storage output 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 can't 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 profit 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 redundant while meeting the load demand. The redundant energy is given priority to charging electric vehicles. If there is still redundant energy after the electric vehicle charging power reaches the maximum, the energy storage output is reduced. If the photovoltaic output is still redundant 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. Let P ev,t+1 =P ev,max , P es,t+1 =-P cha,max , which can maximize the power purchased from the grid, thus achieving the goal of storing 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 at this time can meet the load demand and electric vehicle charging. If they can meet the requirements and there is a surplus, sell electricity to the grid. If the sold power reaches the limit and there is still a surplus, reduce the photovoltaic output; if it cannot meet the requirements, buy electricity from the grid. If the purchased power 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 the 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, the structure of which is as follows: Figure 4 As shown, it may include: a current moment data obtaining unit 10, an electricity price period determining 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 obtaining 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 power plant under MPPT control at the current moment when the electricity purchase price is positive. If the electricity selling price is positive, the electricity price period of the wholesale electricity price at the current moment is determined.
[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 vehicle 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 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.
[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 charging power plus the load power and then 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 that 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 of electricity purchase. If not, the charging power at the next moment is set to be equal to the photovoltaic output plus the energy storage output minus the load power and the preset maximum power of electricity sale, and whether the charging power is less than or equal to the maximum charging power of the car. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed; if the charging power is greater than the maximum charging power of the car, the next moment is set. The charging power of the vehicle is the maximum charging power of the vehicle, 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 for selling electricity minus the photovoltaic output. 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. The photovoltaic output at the next moment is then 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.
[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 when the electricity price period is a low-price period. If so, the photovoltaic output at the next moment is set 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 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, the photovoltaic output, charging power and energy storage output at the next moment are 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 purchase and photovoltaic output, and it is determined whether the energy storage output is less than or equal to the maximum energy storage discharge power. 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 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 photovoltaic output plus the energy storage output and the preset maximum power 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 to, when the electricity price period is the mid-price period, set the energy storage output at the next moment to be equal to the negative value of the maximum energy storage charging power or the maximum energy storage discharge power if the energy storage output is not within the energy storage power limit; if the photovoltaic output, energy storage output and charging power are within the third load limit consisting of the preset maximum power for buying electricity and the preset maximum power for selling electricity, then confirm the photovoltaic output, charging power and energy storage output at the next moment; if the photovoltaic output, energy storage output and charging power are not within the third load limit, then determine the value of the photovoltaic output plus the energy storage output minus the charging power and the load power. 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 solar energy storage and charging energy management device may further include: a solar energy storage and charging energy balance management unit.
[0155] The solar 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 to be 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; 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 discharge power of the energy storage, and then set the charging power at the next moment to be equal to 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 less than or equal to the maximum output under MPPT control, the PV output, charging power, and energy storage output at the next moment are determined. If the charging power is not within the charging power limit formed by the vehicle's maximum charging power, the charging power at the next moment is set equal to 0 or the vehicle's maximum charging power. The PV output at the next moment is then set equal to the value of the load power plus the charging power minus the energy storage output. It is determined whether the PV output is less than or equal to the maximum output under MPPT control. If so, the PV output, charging power, and energy storage output at the next moment are determined. If the PV output is greater than the maximum output under MPPT control, the PV output at the next moment is set equal to the maximum output under MPPT control, and the PV output, charging power, and energy storage output at the next moment are determined.
[0156] Optionally, the light storage and charging energy management device may further include: a light storage and charging energy storage 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 of electricity purchase. If so, the photovoltaic output, charging power and energy storage output at the next moment are confirmed; 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, 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 of electricity purchase, and judge whether the photovoltaic output is less than or equal to the maximum output of MPPT control. If so, the photovoltaic output and charging power at the next moment are confirmed. 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 purchased and the photovoltaic output, and judge 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; when the energy storage output is greater than the maximum discharge power of the energy storage, set the energy storage output to the maximum discharge power of the 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 purchased 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 energy storage and charging 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 energy storage and charging management device that comprehensively considers the real-time dynamic changes in electricity purchase and selling prices, and adjusts photovoltaic output, charging efficiency, and energy storage output based on electricity price period judgment, thereby optimizing energy use, improving energy utilization, and reducing overall energy costs.
[0161] Regarding the apparatus in the above embodiment, the specific manner in which each unit performs operations has been described in detail in the embodiment of the method, and will not be elaborated on here.
[0162] The solar energy storage and charging management device includes a processor and a memory. The above-mentioned current time data acquisition unit 10, electricity price period determination unit 20, high price period energy management unit 30, low price period energy management unit 40, medium price period energy management unit 50 and energy scheduling unit 60 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0163] The processor contains a core, which retrieves the corresponding program unit from memory. One or more cores can be configured. By adjusting core parameters, the system takes into account the dynamic changes in electricity purchase and sales prices. By adjusting photovoltaic output, charging efficiency, and energy storage output based on electricity price periods, the system optimizes energy use, improves energy efficiency, and reduces overall energy costs.
[0164] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon, which implements the solar energy storage and charging management method when executed by a processor.
[0165] An embodiment of the present invention provides a processor, which is used to run a program, wherein the solar energy storage and charging energy 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 to the coordination controller, and the coordination controller is communicatively connected to 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 cloud platform's primary functions include obtaining day-ahead dynamic wholesale electricity prices and calculating day-ahead retail selling and purchasing prices. Specifically, the cloud platform accesses day-ahead dynamic wholesale electricity prices through APIs on third-party power trading websites. Based on these day-ahead dynamic wholesale electricity prices, along with the applicable tax rates and surcharges for electricity purchases and sales, the cloud platform calculates day-ahead retail selling and purchasing prices, and then transmits the results to the coordination and control layer.
[0169] The cloud platform can communicate with the coordination control layer via WiFi, LAN or 4G.
[0170] The coordination controller is used to execute the steps of the above-mentioned solar energy storage and charging management method.
[0171] The coordination controller's primary function is to calculate the energy management strategy for solar-powered energy storage and charging. The coordination controller can communicate with local devices via a local area network (LAN). The coordination control layer uses solar-powered energy storage and charging energy control algorithms to calculate energy scheduling instructions for photovoltaics, energy storage, and charging stations. These scheduling instructions are then distributed to the devices.
[0172] The local device side is used to receive and execute the scheduling 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, which enables the photovoltaic energy storage and charging management system to efficiently use the cloud platform to obtain and calculate electricity prices, coordinate the control layer to perform strategy calculations, and the device side to execute scheduling instructions, thereby achieving 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 via the bus; the processor is used to call program instructions in the memory to execute the above-mentioned solar 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 the program steps of the initialization method for managing solar energy storage and charging.
[0177] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. It should also be noted that the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, commodity, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, commodity, or device comprising the element.
[0178] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, 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 magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0179] The above are merely embodiments of the present invention and are not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within 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; If the electricity purchase price is positive, the photovoltaic output at the next moment is set to the maximum output of the photovoltaic power plant 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. If 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 a first load limit consisting of a preset maximum power for buying electricity and a preset maximum power for selling electricity, the photovoltaic output, the charging power, and the energy storage output at the next moment are determined; If 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 vehicle, 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, 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 determined; If 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 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 discharge power, the photovoltaic output, the charging power, and the energy storage output at the next moment are determined; 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: 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, determining 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, setting 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 for selling electricity; determining whether the charging power is less than or equal to the maximum charging power of the vehicle; if so, confirming the photovoltaic output, the charging power, and the energy storage output at the next moment; If the charging power is greater than the maximum charging power of the vehicle, 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 equal to the value of the charging power plus the load power and the preset maximum power for selling electricity minus the photovoltaic output. It is determined whether the energy storage output is greater than or equal to the negative value of the maximum energy storage charging power. 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: When 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, 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 for selling electricity; if so, setting 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 confirming the photovoltaic output, the charging power, and the energy storage output at the next moment; If 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 whether the energy storage output is less than or equal to the maximum energy storage discharge power is determined. 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 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 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, wherein Also includes: When the electricity price period is a medium price period, if the energy storage output is not within the energy storage power limit, then 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, then 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, 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 for selling electricity; if so, setting 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 confirming 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: When the electricity purchase price is positive, if the electricity selling price is negative, then the grid power at the next moment is set to 0, and then the energy storage output at the next moment is set 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, then the photovoltaic output, the charging power, and the energy storage output at the next moment are confirmed; If the energy storage output is not within the energy storage power limit, set the energy storage output at the next moment equal to the negative value of the energy storage maximum charging power or the energy storage maximum discharging power, 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, then confirm the photovoltaic output, the charging power, and the energy storage output at the next moment; If the charging power is not within the charging power limit set by the maximum charging power of the vehicle, the charging power at the next moment is set 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. 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. 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, wherein Also includes: If the electricity purchase price is negative, the photovoltaic output at the next moment is set to 0, the charging power is set to the maximum charging power of the vehicle, and the energy storage output at the next moment is set to the negative value of the maximum energy storage charging power. 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, charging power, and energy storage output at the next moment are confirmed; If 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 whether the photovoltaic output is less than or equal to the maximum output of MPPT control is determined. If so, the photovoltaic output, the charging power, and the energy storage output at the next moment are confirmed; If 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. 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 K-Means clustering algorithm is used to cluster the multiple electricity price periods, 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: Current time data acquisition unit, electricity price period determination unit, high price period energy management unit, low price period energy management unit, medium price period energy management unit and 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 configured to set the photovoltaic output at the next moment to the maximum output of the photovoltaic power plant under MPPT control at the current moment if 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 configured to, 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 a first load limit formed by a preset maximum power for buying electricity and a preset maximum power for selling electricity, then determine the photovoltaic output, the charging power, and the energy storage output at the next moment; The low-price period energy management unit is configured to, when the electricity price period is a low-price period, set the charging power at the next moment to the maximum charging power of the vehicle, 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 a second load limit formed by the preset maximum power for buying electricity and the preset maximum power for selling electricity, then determine the photovoltaic output, the charging power, and the energy storage output at the next moment; The medium-price period energy management unit is configured to, 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 vehicle, 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 solar energy storage and charging management system, characterized in that: include: A cloud platform, a coordination controller, and a local device end, wherein the cloud platform is in communication connection with the coordination controller, and the coordination controller is in communication connection with the local device end, 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 side 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 energy storage and charging 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
Charging and discharging method of photovoltaic energy storage system and photovoltaic energy storage system
CN117375053A
Cited By
A method and system for coordinated dispatching of a light storage system, a light storage system and a medium
CN122394075A