Control method and device of optical storage equipment, electronic equipment and storage medium
By comprehensively considering actual electricity purchase price, state of charge, and grid load information, the charging and discharging strategy of photovoltaic and energy storage equipment is optimized, solving the economic and stability problems caused by electricity price differences in existing technologies, and improving the safety of the equipment and the stability of the grid.
Patent Information
- Application Number
- CN202511687317.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-12-17
- Filing Date
- 2025-11-17
- Publication Date
- 2026-02-17
AI Technical Summary
Existing control methods for photovoltaic and energy storage equipment only consider electricity price factors, resulting in a difference from the actual electricity price paid by users, which affects economic efficiency and may damage the stability of equipment and power grid.
By acquiring actual electricity purchase price, state of charge information, and grid load information, a comprehensive control strategy is established, taking into account state of charge and grid load, to optimize the charging and discharging operation of photovoltaic and energy storage equipment.
It improves the safety, grid stability, and economy of photovoltaic and energy storage equipment, avoids overcharging and discharging, extends equipment life, and enhances grid stability and equipment operation economy.
Smart Images

Figure CN121546667A_ABST
Abstract
Description
[0001] This application claims priority to Chinese Patent Application No. 202411871242.8, filed on December 17, 2024, entitled “Method, Apparatus, Electronic Device and Storage Medium for Determining Electricity Prices”, the contents of which are incorporated herein by reference. Technical Field
[0002] This application belongs to the field of optical storage equipment management technology, and in particular relates to a control method, device, electronic equipment and storage medium for optical storage equipment. Background Technology
[0003] In existing photovoltaic (PV) and energy storage (ESS) equipment software, software developers can typically access electricity prices from power companies to control the charging and discharging of PV and ESS equipment. Current control methods for PV and ESS equipment mostly consider only electricity prices. However, these accessed electricity prices are mostly wholesale or retail prices, which may differ significantly from the actual electricity price paid by users. These differences may stem from additional taxes, discounts, or other regional pricing standards. Because the actual electricity price differs from the price provided by power companies, controlling PV and ESS equipment based solely on electricity prices affects economic efficiency. Furthermore, considering only electricity prices for control may lead to overcharging and discharging that damages the equipment, and may also affect grid stability. Summary of the Invention
[0004] This application provides a control method, apparatus, electronic device, and storage medium for photovoltaic storage equipment. By determining the control strategy of the photovoltaic storage equipment based on the actual electricity purchase price, state of charge information, and load information, the safety, grid connection stability, and economy of the photovoltaic storage equipment can be improved.
[0005] In a first aspect, embodiments of this application provide a control method for a photovoltaic storage device, including: Obtain the current actual electricity purchase price, the state of charge information of the photovoltaic and energy storage equipment, and the load information of the power grid; Based on the actual electricity purchase price, the state of charge information, and the load information, a control strategy for the photovoltaic and energy storage device is determined, and the device is controlled based on the control strategy.
[0006] In some embodiments, determining a control strategy for the photovoltaic and energy storage device based on the actual electricity purchase price, the state of charge information, and the load information, and controlling the photovoltaic and energy storage device based on the control strategy, includes: When the actual electricity purchase price is lower than the first preset electricity price threshold, the load information is less than the first load threshold, and the state of charge information has not reached the preset upper limit threshold, the photovoltaic storage device is controlled to charge. When the actual electricity purchase price is higher than the second preset electricity price threshold, the load information is greater than the second load threshold, and the state of charge information is greater than the preset lower limit threshold, the photovoltaic energy storage device is controlled to discharge, wherein the first preset electricity price threshold is less than the second preset electricity price threshold, and the first load threshold is less than the second load threshold.
[0007] In some embodiments, obtaining the current actual electricity purchase price, the state-of-charge information of the photovoltaic-storage device, and the grid load information includes: Obtain market electricity prices from the electricity market; Obtain the target adjustment coefficient and target adjustment value of the market electricity price; The actual electricity purchase price is determined based on the market electricity price, the target adjustment coefficient, and the target adjustment value.
[0008] In some embodiments, obtaining the target adjustment coefficient and target adjustment value of the market electricity price includes: Obtain historical adjustment records and current seasonal information of the photovoltaic storage device, wherein the historical adjustment records include: adjustment coefficients and adjustment values; The average value of the adjustment coefficients is used to obtain the first adjustment coefficient, and the average value of the adjustment values is used to obtain the first adjustment value. The adjustment weights are determined based on the seasonal information. A second adjustment coefficient is determined based on the adjustment weight and the first adjustment coefficient, and a second adjustment value is determined based on the adjustment weight and the first adjustment value. The target adjustment coefficient and the target adjustment value are determined based on the second adjustment coefficient and the second adjustment value.
[0009] In some embodiments, determining the target adjustment coefficient and the target adjustment value based on the second adjustment coefficient and the second adjustment value includes: Output the second adjustment coefficient and the second adjustment value; Upon receiving a trigger operation to adjust the second adjustment coefficient and the second adjustment value, a target adjustment coefficient and a target adjustment value are determined based on the adjusted adjustment coefficient and the adjustment value. If it is determined that the second adjustment coefficient and the second adjustment value are to be used, the second adjustment coefficient is determined as the target adjustment coefficient, and the second adjustment value is determined as the target adjustment value. In some embodiments, the method further includes: Obtain the electricity selling price set by the user and store the electricity selling price.
[0010] In some embodiments, the method further includes: Upon obtaining electricity price discount information, the discount period and the corresponding discount electricity price are identified based on the electricity price discount information. The discount electricity price includes: a discounted selling price and a discounted selling price. The actual electricity purchase price corresponding to the preferential period is adjusted to the preferential electricity purchase price, and the electricity selling price corresponding to the preferential period is adjusted to the preferential electricity selling price.
[0011] In some embodiments, the method further includes: If the user-set discounted purchase price and discounted selling price for the discounted period are obtained, the actual purchase price corresponding to the discounted period is adjusted to the discounted purchase price, and the selling price corresponding to the discounted period is adjusted to the discounted selling price.
[0012] In some embodiments, the method further includes: Obtain the electricity sold, purchased, and self-consumed by photovoltaic and energy storage equipment; The first revenue of the photovoltaic energy storage device is determined based on the electricity sold and the electricity selling price. The second revenue of the photovoltaic energy storage device is determined based on the purchased electricity volume, the self-consumption of generated electricity, and the actual purchased electricity price. The total revenue of the optical storage device is determined based on the first and second revenues. And output the total revenue.
[0013] Secondly, embodiments of this application provide a control device for a photoelectric storage device, comprising: The acquisition module is used to acquire the current actual electricity purchase price, the state of charge information of the photovoltaic energy storage device, and the load information of the power grid; The control module is used to determine the control strategy of the photovoltaic and energy storage device based on the actual electricity purchase price, the state of charge information and the load information, so as to control the photovoltaic and energy storage device based on the control strategy.
[0014] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in any of the above-mentioned embodiments.
[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in any of the preceding claims.
[0016] Fifthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the electronic device to execute any of the methods described above.
[0017] The beneficial effects of the embodiments in this application compared with the prior art are: The control method for photovoltaic storage devices provided in this application obtains the current actual electricity purchase price, the state of charge information of the photovoltaic storage device, and the load information of the power grid; determines the control strategy for the photovoltaic storage device based on the actual electricity purchase price, the state of charge information, and the load information, and controls the photovoltaic storage device based on the control strategy, thereby improving the safety of the photovoltaic storage device, the stability of the grid, and the economy. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 A schematic diagram illustrating the implementation flow of a control method for a photovoltaic storage device provided in an embodiment of this application; Figure 2 A schematic diagram illustrating the implementation process of step S1 provided for the purposes of this application; Figure 3 This application provides a schematic diagram of a process for obtaining the target adjustment coefficient and target adjustment value of the market electricity price. Figure 4 A schematic diagram of the structure of a control device for a photoelectric storage device provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0020] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0021] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0022] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0023] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once detected," or "in response to detection."
[0024] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0025] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.
[0026] Based on the technical problems of related technologies, this application provides a control method for optical storage devices that can be applied to electronic devices such as mobile phones, tablets, wearable devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). This application does not limit the specific type of electronic device. The electronic device can be a controller for the optical storage device, and the electronic device can also have optical storage device software installed to manage and control the optical storage device.
[0027] This application provides a control method for a photovoltaic storage device. Figure 1 This is a schematic diagram illustrating the implementation flow of a control method for a photovoltaic storage device provided in an embodiment of this application, as shown below. Figure 1 As shown, the method includes: Step S1: Obtain the current actual electricity purchase price, the state of charge information of the photovoltaic storage device, and the load information of the power grid.
[0028] In this embodiment, the photovoltaic (PV) power generation system and its energy storage device are an organic combination. The PV power generation system uses solar panels to convert solar energy into direct current (DC), which is then converted into alternating current (AC) by an inverter for user use or grid connection. The energy storage device typically uses batteries (such as lithium batteries) to store electrical energy, releasing the stored energy when PV power generation is insufficient or user demand increases, thus achieving a stable power supply and flexible allocation. The actual electricity price refers to the price paid by the user when actually purchasing electricity. It includes not only the base price provided by the power company but may also cover various additional fees, such as taxes and transmission / distribution fees. It may also differ from the original price provided by the power company due to discounts, promotional activities, or special regional pricing standards. State of Charge (SOC) information describes the percentage of remaining charge in the energy storage battery of the PV power storage device relative to its total capacity. SOC information provides a clear understanding of the battery's remaining charge, allowing for determination of whether the battery needs charging or discharging, and the available charging / discharging capacity. The load information of the power grid reflects the power load that the power grid undertakes at a certain moment.
[0029] In this embodiment, the actual electricity purchase price can be calculated using the base electricity price provided by the power company. Power sensors, such as voltage and current sensors, can be installed in the energy storage batteries of the photovoltaic-storage equipment. By measuring parameters such as battery voltage and current, and combining this with the battery's charge-discharge model, the battery's state of charge can be calculated. Real-time load data can be obtained from the power grid dispatch center, which is responsible for monitoring and dispatching the entire power grid operation and can grasp the load status of each node in the power grid in real time.
[0030] Step S2: Determine the control strategy for the photovoltaic and energy storage device based on the actual electricity purchase price, the state of charge information, and the load information, and control the photovoltaic and energy storage device based on the control strategy.
[0031] In this embodiment, mathematical modeling can be used to comprehensively consider the relationship between actual electricity purchase price, state of charge, and grid load information to establish a multi-factor integrated control strategy model. For example, a model based on fuzzy logic, neural networks, or optimization algorithms can be established, using actual electricity purchase price, state of charge, and grid load as input variables, and outputting control parameters such as the charging and discharging power and charging and discharging time of the photovoltaic and energy storage devices.
[0032] In some embodiments, the acquired actual electricity purchase price, state of charge (SOC) information, and grid load information can be input into the control strategy model. The model analyzes and calculates according to preset rules and algorithms to determine the optimal control strategy for the photovoltaic (PV) and energy storage (ESS) devices. For example, when the actual electricity purchase price, SOC, and grid load are low, the model may decide to charge the PV and ESS devices; when the actual electricity purchase price, SOC, and grid load are high, the model may decide to discharge the PV and ESS devices.
[0033] In this embodiment, the predetermined control strategy can be transmitted to the photovoltaic-storage device via a communication interface (such as Ethernet, wireless communication, etc.). Based on the received control strategy, the photovoltaic-storage device controls the operation of devices such as the inverter of the photovoltaic power generation system, the charging module, and the discharging module of the photovoltaic-storage device, thereby achieving charging and discharging control of the photovoltaic-storage device. For example, the output power of the inverter can be adjusted according to the control strategy to control the power generation of the photovoltaic power generation system; the charging current and voltage of the charging module can be controlled to charge the energy storage battery; and the discharging current and voltage of the discharging module can be controlled to discharge the energy storage battery.
[0034] The method provided in this application, by considering the actual electricity purchase price, can accurately calculate the cost of charging and discharging photovoltaic energy storage devices, avoiding inaccurate cost control caused by using electricity price data that differs from the actual purchase price. By monitoring the state of charge information in real time, the remaining power of the energy storage device can be understood promptly, preventing overcharging or over-discharging. Overcharging increases the internal pressure and temperature of the energy storage device, accelerating its aging and even causing safety accidents; over-discharging leads to sulfation of the battery plates, reducing battery capacity and lifespan. Comprehensive control of multiple factors can effectively protect the photovoltaic energy storage device and extend its lifespan. Combining grid load information can prevent unreasonable charging and discharging operations by the photovoltaic energy storage device when the grid load is too high or too low, reducing the current and voltage surges experienced by the device, ensuring stable operation, reducing equipment failure rate, and improving grid stability.
[0035] In some embodiments, step S2 can be implemented through the following steps: Step S21: When the actual electricity purchase price is lower than the first preset electricity price threshold, the load information is less than the first load threshold, and the state of charge information has not reached the preset upper limit threshold, the photovoltaic storage device is controlled to charge.
[0036] Step S22: When the actual electricity purchase price is higher than the second preset electricity price threshold, the load information is greater than the second load threshold, and the state of charge information is greater than the preset lower limit threshold, the photovoltaic energy storage device is controlled to discharge, wherein the first preset electricity price threshold is less than the second preset electricity price threshold, and the first load threshold is less than the second load threshold.
[0037] In this embodiment, the first preset electricity price threshold and the second preset electricity price threshold are pre-set electricity price limits used to determine whether to perform charging and discharging operations. The first preset electricity price threshold is a relatively low electricity price standard; when the actual electricity purchase price is lower than this value, it is economically suitable to perform charging operations. The second preset electricity price threshold is a relatively high electricity price standard; when the actual electricity purchase price is higher than this value, it is suitable to perform discharging operations, and the first preset electricity price threshold is lower than the second preset electricity price threshold. The first load threshold and the second load threshold are pre-set limits used to determine whether the grid load is suitable for charging and discharging. The first load threshold represents a relatively low level of grid load; when the load information is lower than this value, it indicates that the grid has sufficient capacity to accept the charging of the photovoltaic energy storage device. The second load threshold represents a relatively high level of grid load; when the load information is higher than this value, it indicates that the grid's electricity demand is high, making it suitable for the photovoltaic energy storage device to discharge and supplement power, and the first load threshold is lower than the second load threshold. The preset upper limit threshold and the preset lower limit threshold are limits set for the state of charge of the energy storage battery of the photovoltaic energy storage device. The preset upper threshold represents the highest state of charge (SOC) the battery is allowed to reach. When the SOC information reaches this value, charging should be stopped to prevent overcharging. The preset lower threshold represents the lowest SOC the battery is allowed to reach. When the SOC information is below this value, discharging should be stopped to prevent over-discharging.
[0038] In this embodiment, the actual electricity purchase price can be compared with a first preset electricity price threshold, the load information can be compared with a first load threshold, and the state of charge information can be compared with a preset upper limit threshold. When the actual electricity purchase price is lower than the first preset electricity price threshold, the load information is less than the first load threshold, and the state of charge information has not reached the preset upper limit threshold, the charging condition is determined to be met. Alternatively, the actual electricity purchase price can be compared with a second preset electricity price threshold, the load information can be compared with the second load threshold, and the state of charge information can be compared with a preset lower limit threshold. When the actual electricity purchase price is higher than the second preset electricity price threshold, the load information is greater than the second load threshold, and the state of charge information is greater than the preset lower limit threshold, the discharging condition is determined to be met.
[0039] In this embodiment, when charging conditions are met, a charging command is transmitted to the optical storage device via a communication interface (such as Ethernet, wireless communication, etc.). The optical storage device controls the charging module to adjust the charging current and voltage to charge the device, while simultaneously monitoring the state of charge in real time. Charging stops when the preset upper threshold is reached. When discharging conditions are met, a discharging command is transmitted to the optical storage device. The optical storage device controls the discharging module according to the command to adjust the discharging current and voltage to discharge the device, while simultaneously monitoring the state of charge in real time. Discharging stops when the state of charge falls below a preset lower threshold.
[0040] In some embodiments, Figure 2A schematic diagram illustrating the implementation process of step S1 provided for the purposes of this application is shown below. Figure 2 As shown, it includes: Step S101: Obtain the market price of electricity in the electricity market.
[0041] In this embodiment of the application, the market price of electricity refers to the price used when electricity is traded between electricity suppliers and buyers in the electricity market. This price is usually updated in real time or periodically, reflecting the supply and demand relationship of electricity and the operation of the electricity market.
[0042] In this embodiment of the application, electronic devices can obtain data through the official website of the power market operator, the API interface of the power trading platform, or data released by the power industry association or relevant departments.
[0043] Step S102: Obtain the target adjustment coefficient and target adjustment value of the market electricity price.
[0044] In this embodiment, the target adjustment coefficient is used to adjust the market electricity price to reflect the deviation between the user's actual electricity payment and the market electricity price. The target adjustment coefficient typically considers factors such as taxes, service fees, discounts, and regional differences. The target adjustment coefficient may be calculated based on historical data and seasonal information. The target adjustment coefficient can be a fixed value or a dynamic value that varies with time and electricity consumption. The adjustment value is used to correct the market electricity price to more accurately reflect the user's actual electricity payment. It is typically used to compensate for fixed costs such as taxes and service fees. The adjustment value is usually a fixed numerical value.
[0045] In some embodiments, the target adjustment factor and the target adjustment value can also be set by the user based on their actual electricity price.
[0046] Step S103: Determine the actual electricity purchase price based on the market electricity price, the target adjustment coefficient, and the target adjustment value.
[0047] In this embodiment, the actual electricity purchase price refers to the price actually paid by the user for electricity. The actual electricity purchase price considers factors such as the market electricity price, adjustment coefficient, and adjustment value. The actual electricity purchase price can be calculated by multiplying the market electricity price by the adjustment coefficient and adding the adjustment value. The formula for calculating the actual electricity purchase price can be expressed as: The user's actual electricity price = k * price + b, where price is the market electricity price, k is the target adjustment coefficient, and b is the target adjustment value.
[0048] The electricity price determination method provided in this application obtains the market electricity price in the electricity market; obtains the target adjustment coefficient and target adjustment value of the market electricity price; and determines the actual electricity purchase price based on the market electricity price, the target adjustment coefficient, and the target adjustment value. This method can automatically adjust the price based on the market electricity price in the electricity market, thereby improving the accuracy of calculating the revenue of photovoltaic energy storage equipment.
[0049] In some embodiments, Figure 3 This application provides a schematic diagram of a process for obtaining the target adjustment coefficient and target adjustment value of the market electricity price, as illustrated in the embodiments of this application. Figure 3 As shown, step S102 can be achieved through the following steps: Step S1021: Obtain the historical adjustment records of the photovoltaic storage device and the seasonal information of the current time, wherein the historical adjustment records include: adjustment coefficients and adjustment values.
[0050] In this embodiment, the photovoltaic (PV) energy storage device refers to a device that converts solar energy into electrical energy and stores it. It typically includes solar panels (for collecting solar energy and converting it into electrical energy) and energy storage devices (such as battery packs for storing electrical energy for later use). This PV energy storage device can be connected to the power grid for charging or can output electrical energy back to the grid. Historical adjustment records refer to records of past adjustments to the electricity price of the PV energy storage device, including adjustment coefficients and adjustment values. Seasonal information refers to the current season (e.g., spring, summer, autumn, winter). The PV energy storage device here can refer to multiple PV energy storage devices with adjusted coefficients and adjustment values set.
[0051] In this embodiment of the application, historical adjustment records of the optical storage device can be retrieved from the database, and seasonal information of the current time can be obtained.
[0052] Step S1022: Calculate the average value of the adjustment coefficients to obtain the first adjustment coefficient, and calculate the average value of the adjustment values to obtain the first adjustment value.
[0053] In this embodiment, the value is obtained by averaging the adjustment coefficients in all historical adjustment records. The value is obtained by averaging the adjustment values in all historical adjustment records.
[0054] In this embodiment of the application, the first adjustment coefficient and the first adjustment value can be calculated using the following formula, wherein the formula is expressed as: Where n is the number of photovoltaic and energy storage devices with set electricity prices, and ki and bi are the adjustment coefficient and adjustment value of the i-th photovoltaic and energy storage device, respectively. The first adjustment system is: k avg b is the first adjustment factor. avg This is the first adjustment value.
[0055] Step S1023: Determine the adjustment weights based on the seasonal information.
[0056] In this embodiment, different seasons typically correspond to different electricity demands, and different electricity demands result in different electricity prices. Different seasons can correspond to different adjustment weights. Summer and winter, i.e., peak seasons, can have a first adjustment weight; Spring Festival and winter, i.e., off-peak seasons, can have a second adjustment weight. The first adjustment weight is greater than the second adjustment weight. For example, the first adjustment weight can be 1.2, and the second adjustment weight can be 0.8.
[0057] Step S1024: Determine a second adjustment coefficient based on the adjustment weight and the first adjustment coefficient, and determine a second adjustment value based on the adjustment weight and the first adjustment value.
[0058] In this embodiment of the application, the first adjustment coefficient and the first adjustment value are adjusted using adjustment weights to obtain the second adjustment coefficient and the second adjustment value, which can be adjusted using the following formula: ; Where k0 is the second adjustment coefficient and b0 is the second adjustment value.
[0059] Step S1025: Determine the target adjustment coefficient and the target adjustment value based on the second adjustment coefficient and the second adjustment value.
[0060] In this embodiment of the application, step S1025 can be implemented through the following steps: Step S251: Output the second adjustment coefficient and the second adjustment value.
[0061] In this embodiment of the application, the second adjustment coefficient and the second adjustment value can be output through the user interface.
[0062] Step S252: If a trigger operation to adjust the second adjustment coefficient and the second adjustment value is obtained, a target adjustment coefficient and a target adjustment value are determined based on the adjusted adjustment coefficient and the adjustment value.
[0063] In this embodiment, a triggering operation refers to an event or action that, when it occurs, triggers an adjustment to the second adjustment coefficient and the second adjustment value. This triggering operation may be a user-inputted command or an automatic system-triggered operation based on certain conditions. The electronic device continuously monitors for triggering operations. This triggering operation may be a user-inputted command via the interface, such as clicking buttons for "adjustment coefficient" or "adjustment value." The electronic device will adjust the second adjustment coefficient and the second adjustment value based on this operation. This adjustment may involve increasing, decreasing, multiplying, or dividing by a certain value or proportion. The adjusted new values will be used as the target adjustment coefficient and the target adjustment value.
[0064] Step S253: If it is determined that the second adjustment coefficient and the second adjustment value are to be used, the second adjustment coefficient is determined as the target adjustment coefficient, and the second adjustment value is determined as the target adjustment value.
[0065] In this embodiment of the application, if the electronic device does not receive a trigger operation, or if the user decides to directly use the current second adjustment coefficient and second adjustment value, then the second adjustment coefficient and second adjustment value are directly determined as the target adjustment coefficient and target adjustment value.
[0066] The method provided in this application involves outputting the second adjustment coefficient and the second adjustment value; upon receiving a trigger operation to adjust the second adjustment coefficient and the second adjustment value, determining a target adjustment coefficient and a target adjustment value based on the adjusted adjustment coefficient and the adjustment value; and upon receiving a determination to use the second adjustment coefficient and the second adjustment value, determining the second adjustment coefficient as the target adjustment coefficient and the second adjustment value as the target adjustment value. By inputting the first adjustment coefficient and the second adjustment value, users can adjust the price according to their actual electricity price needs.
[0067] The method provided in this application, by acquiring historical adjustment records of photovoltaic and energy storage devices and seasonal information of the current time, can automatically determine the target adjustment coefficient and target adjustment value, and can automatically adjust the electricity price, avoiding the tedious operation of manually entering complex electricity price formats, while improving the accuracy and practicality of electricity price settings.
[0068] In some embodiments, the method further includes: Step S3: Obtain the electricity selling price set by the user and store the electricity selling price.
[0069] In this embodiment, the photovoltaic energy storage device can supply power to the grid, thereby enabling the sale of electricity. The selling price can be a fixed price or a dynamically adjusted price, such as one dynamically adjusted based on market electricity prices. A user interface (UI) can be used to display an input box or selection box to the user, allowing them to enter or select the desired selling price. The user can input their desired selling price in the input box or selection box, or choose from preset options. When the user submits the input (e.g., by clicking a "Save" or "Confirm" button), the electronic device needs to capture this data, at which point the selling price can be saved for use in calculating revenue.
[0070] In related technologies, power companies may send notifications of preferential electricity prices to users via email or other means, informing them that electricity prices will be reduced on a future day or during a specific time period. However, adjusting these prices requires users to perform complex operations to set the electricity price. To address this issue, in some embodiments, the method further includes: Step S4: If the electricity price discount information is obtained, the discount period and the discount electricity price corresponding to the discount period are identified based on the electricity price discount information. The discount electricity price includes: discount purchase price and discount sale price.
[0071] In this embodiment, electricity price discount information can be obtained through methods such as interface calls, data capture, or user input. Taking data capture as an example, electricity price discount information can be obtained from power grid companies, energy suppliers, or third-party platforms. Taking user input as an example, power grid companies, energy suppliers, or third-party platforms can send electricity price discount information to users' email addresses. Users can input the electricity price discount information into electronic devices, thereby enabling the electronic devices to obtain the electricity price discount information.
[0072] In this embodiment, electricity price discount information can be parsed to extract the discount period and the corresponding discounted purchase and sale prices. Electronic devices can use natural language processing technology for automatic interpretation, employing text parsing algorithms to identify the time period and electricity price information.
[0073] Step S5: Adjust the actual electricity purchase price corresponding to the preferential period to the preferential electricity purchase price, and adjust the electricity selling price corresponding to the preferential period to the preferential electricity selling price.
[0074] In this embodiment of the application, the electronic device can automatically adjust the actual electricity purchase price corresponding to the preferential period to the preferential electricity purchase price, and adjust the electricity selling price corresponding to the preferential period to the preferential electricity selling price.
[0075] In this embodiment of the application, multiple language conversions can be supported when adjusting the actual electricity purchase price and electricity sales price.
[0076] In some embodiments, users can choose whether to enable automatic synchronization or manually confirm the synchronization results. This method allows for periodic checks and updates, ensuring the timeliness and accuracy of promotional information without manual intervention. When manual confirmation is required, the actual electricity purchase price for the promotional period is adjusted to the promotional purchase price, and the electricity sales price for the promotional period is adjusted to the promotional sales price. The results are then displayed to the user, who can confirm and submit the changes. If automatic synchronization is enabled, the changes are performed directly.
[0077] The method provided in this application can adjust the purchase and sale prices of electricity only for a specific time period, thus not affecting the purchase and sale prices for other time periods. This avoids the tedious manual input of each price, improving efficiency and reducing the risk of human error.
[0078] In some embodiments, when the preferential purchase price and preferential selling price of electricity for the preferential period set by the user are obtained, the actual purchase price of electricity corresponding to the preferential period is adjusted to the preferential purchase price, and the selling price of electricity corresponding to the preferential period is adjusted to the preferential selling price.
[0079] In this embodiment, users can independently set the discounted purchase price and discounted selling price for the preferential period through the system interface, manually inputting the start and end times of the preferential period, as well as the purchase and selling prices. This method is suitable for users who are familiar with the details of the preferential packages, and is convenient and flexible.
[0080] In some embodiments, the method further includes: Step S6: Obtain the electricity sold, electricity purchased, and electricity generated for self-consumption by the photovoltaic and energy storage equipment.
[0081] In this embodiment, the electricity sold refers to the total amount of electricity sold by the photovoltaic storage device to the grid or energy supplier within a specific time period. The device can sell electricity when its generated electricity exceeds its own consumption needs. The electricity purchased refers to the total amount of electricity purchased by the photovoltaic storage device from the grid or energy supplier within a specific time period. When the electricity generated by the photovoltaic storage device is insufficient to meet its own consumption needs, it needs to purchase electricity. The self-consumption of generated electricity refers to the total amount of electricity used by the photovoltaic storage device for its own load (such as lighting, heating, etc.) within a specific time period.
[0082] In this embodiment of the application, the electricity sold, electricity purchased, and electricity generated for self-consumption of the photovoltaic storage device can be obtained from the intelligent control system of the photovoltaic storage device.
[0083] Step S7: Determine the first revenue of the photovoltaic storage device based on the electricity sold and the electricity selling price.
[0084] In this embodiment of the application, the electricity sold is multiplied by the electricity price to obtain the revenue obtained by the photovoltaic energy storage device through the sale of electricity, which is the first revenue.
[0085] Step S8: Determine the second revenue of the photovoltaic storage device based on the purchased electricity volume, the self-consumption of generated electricity, and the actual electricity purchase price.
[0086] In this embodiment, the second benefit can be obtained by multiplying the value obtained by subtracting the purchased electricity from the self-consumption of generated electricity by the actual electricity purchase price. In some embodiments, the electricity purchase cost of the photovoltaic-storage equipment within a specific time period can be obtained by multiplying the purchased electricity (electricity purchased from the grid) by the actual electricity purchase price. Multiplying the self-consumption of generated electricity by the actual electricity purchase price yields the electricity cost savings. This is because it is assumed that the same electricity cost would be incurred if this self-consumption of generated electricity were purchased. Subtracting the purchase cost from the electricity cost savings yields the second benefit.
[0087] Step S9: Determine the total revenue of the optical storage device based on the first revenue and the second revenue.
[0088] In this embodiment, the total benefit can be obtained by adding the first benefit to the second benefit. Step S10, and output the total revenue.
[0089] In this embodiment, the total revenue can be displayed on the user interface of the optical storage software.
[0090] The method provided in this application, by displaying the total revenue, allows users to understand the benefits of energy storage devices, making the calculated revenue more accurate. In some embodiments, after calculating the total revenue, the operating strategy of the photovoltaic-storage system can be adjusted by combining electricity price trends and device operating status. When the total revenue decreases and the electricity price is low, the user can be prompted or the photovoltaic-storage device can be automatically controlled to enter charging mode; when the electricity price increases and the revenue increases, the device can be controlled to enter discharging mode. Through the above methods, the display module not only visualizes the revenue information but also promotes the optimization of the operation control of the photovoltaic-storage system, improving the system's energy utilization efficiency and operational stability.
[0091] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0092] According to the foregoing embodiments, this application provides a control device for an optical storage device. The various modules and units included in the device can be implemented by a processor in a computer device; of course, they can also be implemented by specific logic circuits. In the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.
[0093] This application provides a control device for a photoelectric storage device. Figure 4 This is a schematic diagram of the structure of a control device for a photovoltaic storage device provided in an embodiment of this application, as shown below. Figure 4 As shown, the control device 300 for the optical storage device includes: The acquisition module 301 is used to acquire the current actual electricity purchase price, the state of charge information of the photovoltaic energy storage device, and the load information of the power grid; The control module 302 is used to determine the control strategy of the photovoltaic storage device based on the actual electricity purchase price, the state of charge information and the load information, so as to control the photovoltaic storage device based on the control strategy.
[0094] In some embodiments, the control module includes: The first control unit is used to control the photovoltaic storage device to charge when the actual electricity purchase price is lower than the first preset electricity price threshold, the load information is less than the first load threshold, and the state of charge information has not reached the preset upper limit threshold. The second control unit is used to control the photovoltaic energy storage device to discharge when the actual electricity purchase price is higher than the second preset electricity price threshold, the load information is greater than the second load threshold, and the state of charge information is greater than the preset lower limit threshold, wherein the first preset electricity price threshold is less than the second preset electricity price threshold, and the first load threshold is less than the second load threshold.
[0095] In some embodiments, the acquisition module includes: The first acquisition unit is used to acquire the market electricity price in the electricity market; The second acquisition unit is used to acquire the target adjustment coefficient and target adjustment value of the market electricity price; The adjustment unit is used to determine the actual electricity purchase price based on the market electricity price, the target adjustment coefficient, and the target adjustment value.
[0096] In some embodiments, the second acquisition unit includes: The first acquisition subunit is used to acquire the historical adjustment records of the photovoltaic storage device and the seasonal information of the current time, wherein the historical adjustment records include: adjustment coefficients and adjustment values; The first calculation subunit is used to calculate the average value of the adjustment coefficients to obtain the first adjustment coefficient, and to calculate the average value of the adjustment values to obtain the first adjustment value; The first determining subunit is used to determine the adjustment weights based on the seasonal information; The second calculation subunit is used to determine a second adjustment coefficient based on the adjustment weight and the first adjustment coefficient, and to determine a second adjustment value based on the adjustment weight and the first adjustment value; The second determining subunit is used to determine the target adjustment coefficient and the target adjustment value based on the second adjustment coefficient and the second adjustment value.
[0097] In some embodiments, the second determining subunit is configured to: output the second adjustment coefficient and the second adjustment value; when a trigger operation for adjusting the second adjustment coefficient and the second adjustment value is obtained, determine a target adjustment coefficient and a target adjustment value based on the adjusted adjustment coefficient and the adjustment value; when a determination is made to use the second adjustment coefficient and the second adjustment value, determine the second adjustment coefficient as the target adjustment coefficient and the second adjustment value as the target adjustment value. In some embodiments, the control device for the optical storage device further includes: The first setting module is used to obtain the electricity selling price set by the user and store the electricity selling price.
[0098] In some embodiments, the control device for the optical storage device further includes: The first determining module is used to identify the discount period and the discount electricity price corresponding to the discount period based on the electricity price discount information when the electricity price discount information is obtained. The discount electricity price includes: the discount selling price and the discount selling price. The electricity price adjustment module is optimized to adjust the actual electricity purchase price corresponding to the preferential period to the preferential electricity purchase price, and to adjust the electricity selling price corresponding to the preferential period to the preferential electricity selling price.
[0099] In some embodiments, the control device for the optical storage device further includes: The second setting module is used to adjust the actual purchase price of the discounted electricity period to the discounted purchase price and the discounted selling price of the discounted electricity period set by the user, and adjust the selling price of the discounted electricity period to the discounted selling price.
[0100] In some embodiments, the control device for the optical storage device further includes: The parameter acquisition module is used to acquire the electricity sold, purchased, and self-consumed by the photovoltaic and energy storage equipment. The second determining module is used to determine the first revenue of the photovoltaic energy storage device based on the electricity sold and the electricity selling price. The third determining module is used to determine the first revenue of the photovoltaic storage device based on the purchased electricity volume, the self-consumption of generated electricity, and the actual purchased electricity price. The fourth determining module is used to determine the total revenue of the optical storage device based on the first revenue and the second revenue. The output module is used to output the total revenue.
[0101] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0102] in addition, Figure 4 The electricity price determination device shown can be a software unit, a hardware unit, or a combination of both. It can also be integrated into the electronic device as a separate component, or exist as a standalone terminal device.
[0103] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0104] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device 3 in this embodiment may include: at least one processor 30 ( Figure 5Only one processor 30, memory 31, and computer program 32 stored in memory 31 and executable on at least one processor 30 are shown. When the processor 30 executes the computer program 32, it implements the steps in any of the above method embodiments, or the processor 30 executes the computer program 32 to implement the functions of each module / unit in the above device embodiments.
[0105] For example, computer program 32 may be divided into one or more modules / units, one or more of which are stored in memory 31 and executed by processor 30 to complete this application. One or more modules / units may be a series of computer program 32 instruction segments capable of performing a specific function, which describe the execution process of computer program 32 in electronic device 3.
[0106] This application also provides a computer-readable storage medium storing a computer program 32, which, when executed by a processor 30, implements the steps described in the above-described method embodiments.
[0107] This application provides a computer program product that, when run on an electronic device, enables the electronic device to perform the steps described in the various method embodiments above.
[0108] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program 32 instructing related hardware. The computer program 32 can be stored in a computer-readable storage medium, and when executed by the processor 30, it can implement the steps of the various method embodiments described above. The computer program 32 includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium can include at least: any entity or device capable of carrying computer program code to a terminal, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, a computer-readable medium cannot be an electrical carrier signal or a telecommunication signal.
[0109] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0110] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0111] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0112] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0113] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A control method of a light storage device, characterized by, The method comprises: obtaining a current actual electricity purchase price, state of charge information of the light storage device, and load information of a power grid; determining a control strategy of the light storage device based on the actual electricity purchase price, the state of charge information, and the load information, to control the light storage device based on the control strategy.
2. The method of claim 1, wherein, The determination of the control strategy of the light storage device based on the actual electricity purchase price, the state of charge information, and the load information, to control the light storage device based on the control strategy, comprises: in a case where the actual electricity purchase price is lower than a first preset electricity price threshold, the load information is less than a first load threshold, and the state of charge information does not reach a preset upper threshold, controlling the light storage device to charge; in a case where the actual electricity purchase price is higher than a second preset electricity price threshold, the load information is greater than a second load threshold, and the state of charge information is greater than a preset lower threshold, controlling the light storage device to discharge, wherein the first preset electricity price threshold is lower than the second preset electricity price threshold, and the first load threshold is lower than the second load threshold.
3. The method of claim 1, wherein, The obtaining of the current actual electricity purchase price, the state of charge information of the light storage device, and the load information of the power grid comprises: obtaining a market electricity price of a power market; obtaining a target adjustment coefficient and a target adjustment value of the market electricity price; determining the actual electricity purchase price based on the market electricity price, the target adjustment coefficient, and the target adjustment value.
4. The method of claim 3, wherein, The obtaining of the target adjustment coefficient and the target adjustment value of the market electricity price comprises: obtaining historical adjustment records of the light storage device and seasonal information of a current time, wherein the historical adjustment records comprise an adjustment coefficient and an adjustment value; obtaining a first adjustment coefficient by averaging the adjustment coefficients and a first adjustment value by averaging the adjustment values; determining an adjustment weight based on the seasonal information; determining a second adjustment coefficient based on the adjustment weight and the first adjustment coefficient, and a second adjustment value based on the adjustment weight and the first adjustment value; determining the target adjustment coefficient and the target adjustment value based on the second adjustment coefficient and the second adjustment value.
5. The method of claim 4, wherein, The determination of the target adjustment coefficient and the target adjustment value based on the second adjustment coefficient and the second adjustment value comprises: outputting the second adjustment coefficient and the second adjustment value; in a case where a trigger operation of adjusting the second adjustment coefficient and the second adjustment value is obtained, determining a target adjustment coefficient and a target adjustment value based on the adjusted adjustment coefficient and the adjusted adjustment value; in a case where it is determined to use the second adjustment coefficient and the second adjustment value, determining the second adjustment coefficient as the target adjustment coefficient and the second adjustment value as the target adjustment value.
6. The method of claim 3, wherein, The method further comprises: in a case where electricity price preferential information is obtained, identifying a preferential time period and a preferential electricity price corresponding to the preferential time period based on the electricity price preferential information, the preferential electricity price comprising a preferential electricity purchase price and a preferential electricity selling price; adjusting an actual electricity purchase price corresponding to the preferential time period to the preferential electricity purchase price, and adjusting an electricity selling price corresponding to the preferential time period to the preferential electricity selling price.
7. The method of claim 4, wherein, The method further comprises: In a case where the user sets the preferential buying price and the preferential selling price of electricity in a preferential time period, the actual buying price of electricity corresponding to the preferential time period is adjusted to the preferential buying price of electricity, and the selling price of electricity corresponding to the preferential time period is adjusted to the preferential selling price of electricity.
8. The method of claim 7, wherein, The method further comprises: acquiring the amount of selling electricity, the amount of buying electricity, and the amount of self-use of generated electricity of the optical storage device; determining a first income of the optical storage device based on the amount of selling electricity and the selling price of electricity; determining a second income of the optical storage device based on the amount of buying electricity, the amount of self-use of generated electricity, and the actual buying price of electricity; determining a total income of the optical storage device based on the first income and the second income; and outputting the total income.
9. A control device of a light storage device, characterized by, comprises: an acquisition module, configured to acquire the actual buying price of electricity, state of charge information of the optical storage device, and load information of a power grid; a control module, configured to determine a control strategy of the optical storage device based on the actual buying price of electricity, the state of charge information, and the load information, and control the optical storage device based on the control strategy.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the method in any one of claims 1 to 8.
11. A computer-readable storage medium storing a computer program, wherein the computer program comprises the following steps of: The computer program is executed by the processor to implement the method in any one of claims 1 to 8.