Optical storage and charging micro-grid energy scheduling method, server, medium and product
The method optimizes energy distribution in light storage and charging microgrids by calculating energy needs, selecting low-loss paths, and adjusting charging times to reduce grid strain and ensure reliable energy supply.
Patent Information
- Application Number
- CN202510403553.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-07-15
AI Technical Summary
When the power grid is loaded too much, the fixed capacity of the photovoltaic energy storage device and the volatility of photovoltaic power generation increase the complexity of energy scheduling, resulting in charging piles that need to switch to the power grid for power supply during peak periods of the power grid, causing additional load impacts and affecting the reliability of the power supply system.
By accurately calculating the amount of electricity storage that the optical energy storage device meets the charging needs, selecting the charging line with the lowest power loss rate, and controlling the optical energy storage device to supply power according to the minimum charging time, determining the power acquisition object in combination with the grid load rate, avoiding blind switching to the power grid and dynamically adjusting the charging time and power.
It reduces the impact of additional load on the power grid, improves energy utilization efficiency, ensures normal charging of charging piles under the load state of the power grid, maintains the reliability of the power supply system and reduces dependence on the power grid.
Smart Images

Figure CN120320337A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of photovoltaic-storage-charging microgrids, and particularly to a method, server, medium, and product for energy scheduling of a photovoltaic-storage-charging microgrid. Background Art
[0002] With the rapid development of renewable energy technologies, photovoltaic power generation systems are increasingly widely used in the energy field. As an integrated energy system that combines photovoltaic power generation, energy storage systems, and charging facilities, a photovoltaic-storage-charging microgrid can effectively improve energy utilization efficiency and reduce dependence on the traditional power grid.
[0003] Currently, in the field of new energy vehicle charging piles, when the grid load is too large, the commonly adopted strategy is to control the charging piles to preferentially obtain electric energy from the energy storage devices in the photovoltaic-storage-charging microgrid rather than directly from the grid, so as to relieve the load pressure on the grid during peak hours.
[0004] However, the fixed capacity of the energy storage devices and the volatility and uncertainty of photovoltaic power generation further increase the complexity of energy scheduling. When the real-time stored electric energy of the energy storage devices is not sufficient to supply all the charging piles being charged to complete the charging operation, in order to enable the charging piles to complete the current charging operation, it is usually necessary to switch the power supply party of the charging piles to grid power supply to supplement the energy gap, thereby causing an additional load impact on the grid and affecting the reliability of the overall power supply system. Summary of the Invention
[0005] This application provides a method, server, medium, and product for energy scheduling of a photovoltaic-storage-charging microgrid, which can reduce the load pressure on the grid when the grid is in a loaded state.
[0006] In a first aspect, the present application provides a method for energy scheduling of a photovoltaic-storage-charging microgrid. The method includes: when the power grid is in a load state, obtaining the remaining charging duration of a target charging pile that is obtaining electric energy from a photovoltaic energy storage device; calculating stored electric energy based on the real-time output electric energy output by the photovoltaic energy storage device to the target charging pile, the real-time input electric energy of the photovoltaic energy storage device, and the remaining charging duration, where the stored electric energy is the electric energy that the photovoltaic energy storage device needs to store to complete the current charging operation of the target charging pile; when the real-time electric energy of the photovoltaic energy storage device is less than the stored electric energy, obtaining the grid load rate of the grid area corresponding to the photovoltaic energy storage device and the target charging pile; determining the electric energy acquisition object of the photovoltaic energy storage device and the target charging pile according to the grid load rate; when the electric energy acquisition object of a first charging pile is the photovoltaic energy storage device, determining a first loss rate and a second loss rate according to the historical electric energy transmission record of the first charging pile, where the first loss rate is the electric energy loss rate when the photovoltaic energy storage device directly transmits electric energy to the first charging pile, and the second loss rate is the electric energy loss rate when the photovoltaic energy storage device transmits electric energy to the energy storage device of a second charging pile, and then the energy storage device transmits electric energy to the first charging pile, and the target charging pile includes the first charging pile; obtaining the target charging line corresponding to the minimum loss rate among the first loss rate and the second loss rate; when the photovoltaic energy storage device transmits electric energy to the first charging pile according to the target charging line, recalculating to obtain new stored electric energy; when the real-time electric energy is less than the new stored electric energy, obtaining the minimum charging duration of the first charging pile; controlling the photovoltaic energy storage device to transmit electric energy to the first charging pile according to the minimum charging duration.
[0007] By adopting the above technical solution, when the power grid is in a load state, by accurately calculating the electric energy that the photovoltaic energy storage device needs to store to meet the charging demand of the target charging pile, the energy gap can be predicted in advance. Determining the electric energy acquisition object according to the grid load rate avoids blindly switching to grid power supply, thereby reducing the additional load impact on the power grid. Further, by comparing the electric energy loss rates of different charging lines to determine the target charging line, the loss during the electric energy transmission process can be effectively reduced, and the energy utilization efficiency can be improved. Moreover, when the electric energy of the photovoltaic energy storage device is still insufficient, controlling it to supply power to the charging pile according to the minimum charging duration can not only ensure that the charging pile can complete the charging operation as much as possible, but also minimize the dependence on the power grid, maintain the reliability of the overall power supply system, and reduce the load pressure on the power grid when the power grid is in a load state.
[0008] In some embodiments in combination with some embodiments of the first aspect, when the real-time electric energy is less than the newly stored electric energy, obtaining the minimum charging duration of the first charging pile specifically includes: determining a predicted duration from the current time point to when the power grid is not in a loaded state according to historical power grid load records; determining the highest energy consumption per unit duration of the target vehicle corresponding to the first charging pile according to the historical driving records of the target vehicle; calculating the minimum charging duration of the first charging pile according to the predicted duration, the highest energy consumption, the charging speed of the target vehicle, and the current energy consumption of the target vehicle.
[0009] By adopting the above technical solution, by predicting the duration of the power grid load state and dynamically calculating the minimum charging duration in combination with the actual energy consumption requirements of the vehicle, it is ensured that the vehicle only replenishes the necessary power rather than fully charges, reducing the electric energy that the optical storage device needs to transmit to the charging pile. Compared with the traditional method of directly switching to grid power supply, by dynamically adjusting the charging duration and charging power, the optical storage system can maintain the power supply capacity for a longer time without relying on the power grid, thereby reducing the load pressure on the power grid during peak electricity consumption.
[0010] In some embodiments in combination with some embodiments of the first aspect, after the step of calculating the minimum charging duration of the first charging pile according to the predicted duration, the highest energy consumption, the charging speed of the target vehicle, and the current energy consumption of the target vehicle, the method further includes: determining the target position of the target vehicle at the target time point according to the driving route of the target vehicle and the historical driving records, where the target time point is the time point obtained by adding the predicted duration to the current time point; when there is no charging pile within the preset range of the target position and the power acquisition object of the third charging pile is the power grid, determining the target energy consumption after the target vehicle finishes charging according to the first position of the third charging pile, the current position of the target vehicle, and the historical driving records, where the third charging pile is the nearest charging pile to the target position passed by the target vehicle before driving to the target position along the driving route; when there is no charging pile within the preset range of the target position and the power acquisition object of the third charging pile is the optical storage device, determining the target energy consumption according to the second position of the fourth charging pile, the current position, and the historical driving records, where the fourth charging pile is the nearest charging pile to the target position passed by the target vehicle after driving through the target position along the driving route; updating the minimum charging duration according to the target energy consumption, the charging speed, and the current energy consumption.
[0011] With the above technical solution, by combining the driving route of the target vehicle, historical driving records, and the distribution of charging piles, the target position of the target vehicle when the power grid is in a non-load state (i.e., the energy consumption is almost exhausted) is accurately predicted, and the minimum charging duration is dynamically adjusted according to the charging pile situation near the target position. When there is no charging pile near the target position, the minimum charging duration is further updated according to the energy consumption of the vehicle during driving and the power source of the subsequent available charging piles, ensuring that the vehicle has enough power to support its driving before reaching the next available charging pile. This dynamic adjustment mechanism can effectively avoid the situation where the vehicle cannot reach the next charging pile due to insufficient power, and at the same time reduce the dependence and load pressure of the charging pile on the power grid when the power grid is in a load state.
[0012] Combined with some embodiments of the first aspect, in some embodiments, after the step of controlling the energy storage device to deliver electric energy to the first charging pile according to the minimum charging duration, the method further includes: after the first charging pile stops the charging operation, obtaining the real-time energy consumption of the target vehicle; when the difference between the real-time energy consumption and the target energy consumption exceeds a preset error range, calculating the real-time loss rate according to the real-time input power and real-time output power of the first charging pile; when the real-time loss rate exceeds a preset first loss threshold, marking the first charging pile as an abnormal charging pile.
[0013] With the above technical solution, by real-time monitoring the deviation between the actual energy consumption and the expected energy consumption of the vehicle after charging is completed, and combining the power loss analysis during the charging process, charging piles with abnormal losses can be accurately identified. When an abnormal situation is detected, the problematic charging pile is automatically marked to avoid subsequent use of the abnormal charging pile causing power grid load fluctuations or energy waste.
[0014] In combination with some embodiments of the first aspect, in some embodiments, after the step of controlling the optical energy storage device to deliver electric energy to the first charging pile according to the minimum charging duration, the method further includes: after the target vehicle leaves the location where the first charging pile is located, when the electric energy acquisition object of the first charging pile is the optical energy storage device, if the first charging pile is an abnormal charging pile, then according to the historical loss record, predict the target loss rate of the first charging pile at each time point between the current time point and the target time point; if the target loss rate corresponding to the current time point does not exceed the preset second loss threshold, then according to the target loss rate, the prediction duration, the preset charging speed corresponding to the vehicle model of the next charging vehicle, and the preset energy consumption per unit time, calculate the predicted shortest charging duration of the next charging vehicle, where the next charging vehicle is a vehicle driving towards the first charging pile; according to the target loss rate, the predicted shortest charging duration, the target electric energy output by the optical energy storage device to the fifth charging pile, the charging duration of the fifth charging pile, the real-time input electric energy of the optical energy storage device, and the real-time electric energy, determine the working state of the first charging pile, where the working state includes on and off, and the fifth charging pile is the charging pile currently obtaining electric energy from the optical energy storage device.
[0015] By adopting the above technical solutions, by predicting the change trend of the loss rate of the abnormal charging pile at different time periods and combining the demand characteristics of the next charging vehicle, the working state of the charging pile is dynamically adjusted, which can effectively improve the operation efficiency and resource utilization rate of the optical storage and charging microgrid system. When it is detected that the charging pile is an abnormal charging pile, by predicting its loss rate, the use of the charging pile is avoided when the loss is too high, thereby reducing energy waste and equipment loss. At the same time, by dynamically determining the working state (on or off) of the abnormal charging pile in combination with the real-time electric energy state of the optical energy storage device and the operation conditions of other charging piles, it is possible to optimize the electric energy distribution of the optical energy storage device while ensuring the charging demand of the vehicle, and avoid the electric energy waste and the increase of the grid load caused by the unreasonable use of the abnormal charging pile.
[0016] In some embodiments in combination with some embodiments of the first aspect, the method for determining the operating state of the first charging pile based on the target loss rate, the predicted shortest charging duration, the target electric energy output by the optical energy storage device to the fifth charging pile, the charging duration of the fifth charging pile, the real-time input electric energy of the optical energy storage device, and the real-time electric energy specifically includes: If the first loss rate corresponding to the predicted time point does not exceed the second loss threshold, then based on the predicted shortest charging duration, the target electric energy output by the optical energy storage device to the fifth charging pile, the charging duration of the fifth charging pile, the real-time input electric energy of the optical energy storage device, and the real-time electric energy, determine whether the optical energy storage device has sufficient electric energy to charge the next charging vehicle. The predicted time point is the time point obtained by adding the predicted shortest charging duration to the current time point; if so, determine that the operating state of the first charging pile is on; if not, determine that the operating state of the first charging pile is off; If the first loss rate corresponding to the predicted time point exceeds the second loss threshold, then determine that the operating state of the first charging pile is off.
[0017] With the above technical solution, by determining whether the loss rate at the predicted time point reaches the threshold, it is ensured that the operating state of the first charging pile is set to on only when the optical energy storage device can supply enough electric energy for the next charging vehicle to complete the charging operation and the loss of the charging pile is within a controllable range (i.e., the charging pile can continue the charging operation), and the first charging pile obtains electric energy from the optical storage device to charge the next charging vehicle, avoiding the situation that the charging pile can only obtain electric energy from the power grid in the middle of charging due to insufficient electric energy stored in the optical storage device, and reducing the load pressure on the power grid when the charging pile is in the power grid load state.
[0018] In some embodiments in combination with some embodiments of the first aspect, after the step of controlling the optical energy storage device to deliver electric energy to the first charging pile according to the shortest charging duration, the method further includes: obtaining the real-time power grid load rate of the power grid area corresponding to the first charging pile; when the real-time power grid load rate is less than the preset load threshold and the charging gun of the first charging pile is in a connected state with the charging vehicle, obtaining the charging state of the first charging pile, where the charging state includes charging stopped and charging in progress; if the charging state is charging stopped, then control the first charging pile to obtain electric energy from the power grid to continue charging the charging vehicle.
[0019] With the above technical solution, when the real-time power grid load rate is lower than the preset load threshold and the charging gun of the charging pile is connected to the vehicle but in a charging stopped state, by controlling the charging pile to obtain electric energy from the power grid to continue charging the vehicle that is charged according to the shortest charging duration, on the premise of not increasing the additional load pressure on the power grid, the reasonable allocation of energy is realized, the continuity of the charging service is guaranteed, and the charging experience of users is greatly improved.
[0020] In a second aspect, an embodiment of the present application provides an energy scheduling server, including: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the energy scheduling server to execute the method described in the first aspect and any possible implementation manner in the first aspect.
[0021] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions, when the above instructions run on the energy scheduling server, enabling the energy scheduling server to execute the method described in the first aspect and any possible implementation manner in the first aspect.
[0022] In a fourth aspect, the present application provides a computer program product, when the computer program product runs on the energy scheduling server, enabling the energy scheduling server to execute the method described in the first aspect and any possible implementation manner in the first aspect.
[0023] It can be understood that the energy scheduling server provided in the second aspect above, the storage medium provided in the third aspect, and the computer program product provided in the fourth aspect are all used to execute the method provided by the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, and will not be elaborated here.
[0024] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The present application determines the electric energy acquisition object based on the grid load rate, avoiding blindly switching to grid power supply, thereby reducing the additional load impact on the grid. At the same time, when the electric energy of the optical energy storage device is insufficient, the charging line with the lowest electric energy loss rate is selected to supply electric energy to the charging pile, and the optical energy storage device is controlled to supply power to the charging pile according to the shortest charging duration, which can not only ensure that the charging pile can complete the charging operation as much as possible, but also minimize the dependence on the grid, maintain the reliability of the overall power supply system, and reduce the load pressure on the grid when the charging pile is in a loaded state.
[0025] 2. The present application can accurately identify the charging piles with abnormal losses by real-time monitoring the deviation between the actual energy consumption and the expected energy consumption of the vehicle after charging is completed, and combining the power loss analysis during the charging process. When an abnormal situation is detected, the problematic charging pile is automatically marked to avoid subsequent use of the abnormal charging pile causing grid load fluctuations or energy waste.
[0026] 3. By determining whether the loss rate at the predicted time point reaches the threshold, this application ensures that when the optical energy storage device can supply the next charging vehicle to complete the charging operation and the loss of the charging pile is within the controllable range (i.e., the charging pile can continue the charging operation), the working state of the first charging pile is set to on, and electrical energy is obtained from the optical energy storage device to charge the next charging vehicle, avoiding the situation that the charging pile can only obtain electrical energy from the power grid due to insufficient electrical energy stored in the optical energy storage device during the charging process, and reducing the load pressure on the power grid when the charging pile is in the power grid load state. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a schematic diagram of an application scenario of the optical storage and charging microgrid energy scheduling method in an embodiment of this application; Figure 2 is a schematic flow diagram of the optical storage and charging microgrid energy scheduling method in an embodiment of this application; Figure 3 is another schematic flow diagram of the optical storage and charging microgrid energy scheduling method in an embodiment of this application; Figure 4 is a schematic diagram of an exemplary hardware structure of the energy scheduling server in an embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] The terms used in the following embodiments of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in the specification and appended claims of this application, the singular forms "a", "an", "the", "above", "said", "this" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in this application refers to any and all possible combinations including one or more of the listed items.
[0029] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of this application, unless otherwise stated, the meaning of "a plurality" is two or more.
[0030] Figure 1 is a schematic diagram of an application scenario of the optical storage and charging microgrid energy scheduling method in an embodiment of this application.
[0031] Please refer to Figure 1, The figure shows the power acquisition process in which multiple charging piles obtain electric energy from the optical energy storage device to charge the charging vehicles. The figure shows two ways to obtain electric energy from the optical energy storage device. One is that the charging pile directly obtains electric energy from the optical energy storage device through a cable connected to the optical energy storage device, and the other is that the optical energy storage device transmits the electric energy to the charging pile with a storage device, and then the storage device transmits the electric energy to other charging piles.
[0032] In the related art, when the power grid load is too large, the commonly adopted strategy is to control the charging pile to preferentially obtain electric energy from the optical energy storage device in the optical storage charging microgrid rather than directly from the power grid, so as to reduce the load pressure on the power grid during peak hours. However, the fixed capacity of the optical energy storage device and the volatility and uncertainty of photovoltaic power generation further increase the complexity of energy scheduling. When the real-time stored electric energy of the optical energy storage device is not enough to supply all the charging piles being charged to complete the charging operation, in order to enable the charging pile to complete the current charging operation, it is usually necessary to switch the power supply side of the charging pile to the power grid power supply to supplement the energy gap, thereby causing an additional load impact on the power grid and affecting the reliability of the overall power supply system.
[0033] By using the optical storage charging microgrid energy scheduling method in the embodiment of the present application, when the power grid is in a loaded state and it is monitored that the stored electric energy of the optical storage device is not enough to supply the charging piles being charged to complete the current charging operation, the charging line with the lowest power loss rate is selected to deliver electric energy to the charging piles, and the optical energy storage device is controlled to supply power to the charging piles according to the shortest charging duration. While ensuring that the vehicle can be used normally, it is ensured that the charging pile obtains electric energy from the optical storage device to complete the current charging operation, reduces the dependence of the charging pile on the power grid, and reduces the load pressure on the power grid when the power grid is in a loaded state.
[0034] The following combines Figure 2 to illustrate the method of the embodiment of the present application.
[0035] Please refer to Figure 2 , which is a schematic flowchart of the optical storage charging microgrid energy scheduling method in the embodiment of the present application.
[0036] S201. When the power grid is in a loaded state, obtain the remaining charging duration of the target charging pile that is obtaining electric energy from the optical energy storage device.
[0037] Specifically, the server establishes a communication connection with the power grid management system and obtains the real-time load data of the current power grid, including data such as the current load rate and load peak. When the current load rate exceeds the preset threshold, it is determined that the power grid is in a loaded state.
[0038] When it is detected that the power grid is in a loaded state, obtain a list of charging piles of all target charging piles that are currently obtaining electric energy from the energy storage device from the management system of the energy storage device. Through the communication interfaces of the respective target charging piles in the charging pile list, send instructions to the target charging piles to obtain relevant information about the charging vehicles corresponding to the target charging piles. After receiving the instructions, the target charging piles establish a communication connection with the battery management system of the charging vehicles connected to themselves, obtain the current battery level and charging speed data of the charging vehicles, and transmit the obtained data to the server. After obtaining the current battery level and charging speed of the charging vehicles corresponding to the respective target charging piles, use the formula (total battery level - current battery level) ÷ charging speed to calculate the charging duration required for the charging vehicles to be fully charged, and use this duration as the remaining charging duration of the target charging piles.
[0039] S202. Calculate the stored electric energy based on the real-time output electric energy output by the energy storage device to the target charging piles, the real-time input electric energy of the energy storage device, and the remaining charging duration.
[0040] Among them, the stored electric energy is the electric energy that the energy storage device needs to store to enable the target charging piles to complete the current charging operation.
[0041] Specifically, first obtain the real-time output electric energy and the real-time input electric energy currently output by the energy storage device to the target charging piles through the management system of the energy storage device. The input electric energy mainly comes from a photovoltaic power generation system or other renewable energy power generation devices, etc. The real-time output electric energy and the real-time input electric energy are the electric energy output and input by the energy storage device per unit time.
[0042] Next, according to the remaining charging durations of the respective target charging piles and the real-time output electric energy output by the energy storage device to the target charging piles, calculate the target output electric energy required by the energy storage device at each time point from the current time point to the time point when all target charging piles complete the current charging operation. According to the remaining charging durations of the respective target charging piles, determine the target charging time periods of the respective target charging piles. According to the target charging time periods, determine the set of charging objects corresponding to each time point. Calculate the sum of the real-time output electric energies corresponding to the respective target charging piles in the set of charging objects to obtain the target output electric energy at each time point.
[0043] Then, according to the target output electric energy and the real-time input electric energy at each time point, calculate the target stored electric energy that the energy storage device needs to store at each time point. Calculate the difference between the respective target output electric energy and the real-time input electric energy to obtain the target stored electric energy at each time point.
[0044] Finally, calculate the sum of all target stored electric energies to obtain the stored electric energy of the energy storage device.
[0045] S203. When the real-time electric energy of the optical energy storage device is less than the stored electric energy, obtain the grid load rate of the grid area corresponding to the optical energy storage device and the target charging pile.
[0046] Specifically, through the management system of the optical energy storage device, obtain the real-time electric energy of the current optical energy storage device.
[0047] When the real-time electric energy of the optical energy storage device is less than the stored electric energy, determine the grid area corresponding to the optical energy storage device and the target charging pile according to the geographical location information of the optical energy storage device and the target charging pile. This process can be completed by combining the grid area division information pre-stored in the storage device with the positioning data of the device. Then, by establishing a communication connection with the grid management system, send a load rate data request for each specific grid area to the grid management system. After receiving the request, the grid management system will feedback the grid load rate data of each specific grid area to the server. After receiving the feedback information from the grid management system, the server pairs the grid area corresponding to the optical energy storage device and the target charging pile with the grid load rate data corresponding to each grid area to determine the grid load rate corresponding to the optical energy storage device and the target charging pile. The grid load rate reflects the current load situation of the grid in this area and is usually expressed as a percentage.
[0048] S204. Determine the power acquisition objects of the optical energy storage device and the target charging pile according to the grid load rate.
[0049] Specifically, when the grid load rate is not empty (i.e., the grid load rate is obtained), determine the power acquisition objects of the optical energy storage device and the target charging pile according to the preset different load rate intervals and the corresponding energy scheduling strategies.
[0050] If the grid load rate is lower than the first preset threshold, it indicates that the grid is in a light load state and has sufficient power supply capacity. Determine the power acquisition object of the optical energy storage device as the grid and the photovoltaic power generation system or other renewable energy power generation devices, and the power acquisition object of the target charging pile as the grid.
[0051] If the grid load rate is between the first preset threshold and the second preset threshold, it means the grid is in a normal load state. Determine the power acquisition object of the optical energy storage device as the grid and the photovoltaic power generation system or other renewable energy power generation devices. When the grid load rate is higher than the second preset threshold, set the power acquisition object of the optical energy storage device as the photovoltaic power generation system or other renewable energy power generation devices. For the target charging pile, determine the power acquisition object of the target charging pile as the optical energy storage device. When the current electric energy of the optical energy storage device is less than the real-time stored electric energy and the grid load rate is lower than the second preset threshold, set the power acquisition object of the target charging pile as the grid.
[0052] If the grid load rate is higher than the second preset threshold, it indicates that the grid is in a heavy load state and the power supply capacity is relatively tight. Determine that the power acquisition objects of the optical energy storage device and the target charging pile are the current power acquisition objects, and do not change the power acquisition objects of the optical energy storage device and the target charging pile.
[0053] When the grid load rate is empty (that is, the grid load rate is not obtained), determine that the power acquisition object of the optical energy storage device is the current power acquisition object, and obtain the historical charging records of each grid load area. These records include the number of charging piles obtaining power from the grid and the charging power at different time periods.
[0054] Then, according to the historical charging records, determine the number of charging piles that can increase power acquisition from the grid in each grid area. According to the characteristic data such as the date, week, and time period corresponding to the current time point, find the historical time period that is most similar to the current time point in the historical charging records, and extract the number of the first charging piles that obtain power from the grid during this similar time period. Next, obtain the charging pile data of each grid area obtaining power from the grid, and count the number of the second charging piles that are currently obtaining power from the grid in each grid area. Calculate the difference between the number of the first charging piles and the number of the second charging piles, that is, the number of the first charging piles minus the number of the second charging piles. If the difference is positive, it means that there is still a certain margin to increase the power acquisition of the charging piles from the grid when the current grid load is unknown; if the difference is negative or zero, it means that the current power supply capacity of the grid may have approached or reached the historical level, and it is not suitable to increase the power acquisition of the charging piles from the grid. According to the calculated difference, determine the number of charging piles that can increase power acquisition from the grid in each grid area.
[0055] Finally, obtain the set of target charging piles corresponding to the target grid areas with positive differences. Sort the remaining charging durations of each charging pile in the set of target charging piles from small to large, and set the power acquisition objects of the corresponding number of target charging piles with differences corresponding to the target grid areas ranked at the front to the grid.
[0056] S205. When the power acquisition object of the first charging pile is the optical energy storage device, determine the first loss rate and the second loss rate according to the historical power transmission record of the first charging pile.
[0057] Among them, the first loss rate is the power loss rate when the optical energy storage device directly transmits power to the first charging pile, and the second loss rate is the power loss rate when the optical energy storage device transmits power to the energy storage device of the second charging pile, and then the energy storage device transmits power to the first charging pile. The target charging pile includes the first charging pile.
[0058] Specifically, obtain the charging line of the first charging pile. The charging line includes a first charging line and a second charging line. The first charging line is for the photovoltaic energy storage device to directly deliver electric energy to the first charging pile, and the second charging line is for the photovoltaic energy storage device to deliver electric energy to the energy storage device of the second charging pile, and then the energy storage device of the second charging pile delivers electric energy to the first charging pile.
[0059] If the charging line is the first charging line, obtain the output power data output by the photovoltaic energy storage device to the first charging pile from the management system of the photovoltaic energy storage device, and obtain the input power data received by the first charging pile from the management system of the first charging pile. Calculate the first loss rate based on the input power and the output power.
[0060] At the same time, in order to obtain the second loss rate, establish a connection with the database storing historical power transmission records, and use a query statement to filter out all record entries where the photovoltaic energy storage device delivers electric energy to the energy storage device of the second charging pile, and then the energy storage device delivers electric energy to the first charging pile. For each filtered record, extract the input power input by the energy storage device of the second charging pile received by the first charging pile and the output power output by the photovoltaic energy storage device to the energy storage device of the second charging pile from the record, and perform validity checks on these data. Calculate according to the formula "Second loss rate = [Output power - Input power] ÷ Output power × 100%", and finally take the average value of all calculated second loss rates (or use other statistical methods according to actual needs) to obtain the final second loss rate.
[0061] If the charging line is the second charging line, obtain the output power data output by the photovoltaic energy storage device to the first charging pile from the management system of the photovoltaic energy storage device, and obtain the input power data received by the first charging pile from the management system of the first charging pile. Calculate the second loss rate based on the input power and the output power.
[0062] At the same time, in order to obtain the first loss rate, establish a connection with the database storing historical power transmission records, and use specific query conditions to filter out all records where the photovoltaic energy storage device directly delivers electric energy to the first charging pile. Extract the input power input by the first charging pile received from the photovoltaic energy storage device and the output power output by the photovoltaic energy storage device to the first charging pile from the filtered records, and perform validity checks on these data. According to the formula "First loss rate = [Output power - Input power] ÷ Output power × 100%", calculate the first loss rate for each record, and then obtain the final first loss rate through statistical analysis methods (such as taking the average value, weighted average, etc.).
[0063] S206. Obtain the target charging line corresponding to the minimum loss rate among the first loss rate and the second loss rate.
[0064] Select the minimum loss rate between the first loss rate and the second loss rate, and use the charging line corresponding to the minimum loss rate as the target charging line of the first charging pile.
[0065] S207. When the energy storage device delivers electric energy to the first charging pile according to the target charging line, recalculate to obtain the newly stored electric energy.
[0066] Specifically, generate a control instruction according to the target charging line and the first charging pile. Send the control instruction to the energy storage device through the communication line. After receiving the instruction, the energy storage device delivers electric energy to the first charging pile according to the target charging line in the instruction.
[0067] When the energy storage device delivers electric energy to the first charging pile according to the target charging line, re-execute the steps of S201 - S202 above to obtain the newly stored electric energy.
[0068] S208. When the real-time electric energy is less than the newly stored electric energy, obtain the minimum charging duration of the first charging pile.
[0069] Among them, the minimum charging duration is the vehicle charging duration corresponding to the minimum electric energy to be delivered to the charging vehicle to enable the charging vehicle to drive normally.
[0070] Specifically, obtain the real-time electric energy of the current energy storage device through the management system of the energy storage device.
[0071] When the real-time electric energy of the energy storage device is less than the newly stored electric energy, extract the historical power grid load data related to the current time point from the database storing the historical power grid load records. These data include the power grid load rates corresponding to different dates, weeks, time periods, etc. According to the characteristics such as the date, week, time period, etc. of the current time point, find the similar historical time periods in the historical power grid load records. Calculate the duration data of the power grid changing from the loaded state to the unloaded state in these similar historical time periods, and use appropriate statistical methods (such as taking the average value, median, etc.) to determine the predicted duration from the current time point to when the power grid is not in the loaded state.
[0072] Then, obtain the historical driving records of the target vehicle being charged corresponding to the first charging pile. Send an instruction to the first charging pile through the communication interface of the first charging pile to obtain the relevant information of the target vehicle corresponding to the first charging pile. After receiving the instruction, the first charging pile establishes communication with the battery management system of the target vehicle connected to it to obtain the current energy consumption and charging speed data of the target vehicle, and at the same time establishes communication with the in-vehicle system of the target vehicle to obtain the historical driving records of the target vehicle, and transmits the obtained data to the server. These historical driving records include the energy consumption data of the target vehicle under different time periods, different driving road conditions, different driving speeds, etc.
[0073] Next, analyze these historical driving records to find the maximum energy consumption of the target vehicle per unit time. The maximum energy consumption is the maximum amount of energy that the target vehicle needs to consume when driving per unit time. By sorting the energy consumption data under different driving conditions, select the maximum value as the maximum energy consumption.
[0074] Finally, according to the predicted duration, the maximum energy consumption, the charging speed of the target vehicle, and the current energy consumption obtained above, use the formula: the minimum charging duration = [((predicted duration - minimum charging duration) × maximum energy consumption - current energy consumption of the target vehicle)] ÷ charging speed of the target vehicle to calculate the minimum charging duration of the first charging pile. If the minimum charging duration is greater than or equal to the predicted duration, determine the predicted duration as the minimum charging duration. If the minimum charging duration is less than the predicted duration, do not change the minimum charging duration.
[0075] S209. Control the optical energy storage device to deliver electric energy to the first charging pile according to the minimum charging duration.
[0076] Specifically, generate a control command according to the first charging pile and its corresponding minimum charging duration. Send the control command to the optical energy storage device through a communication line. After receiving the command, the optical energy storage device delivers electric energy to the first charging pile according to the minimum charging duration in the command. Starting from the current time point, when the delivery duration of delivering electric energy to the first charging pile is consistent with the minimum charging duration, stop delivering electric energy to the first charging pile.
[0077] In the embodiment of the present application, when the power grid is in a loaded state, by accurately calculating the electric energy that the optical energy storage device needs to store to meet the charging requirements of the target charging pile, the energy gap can be predicted in advance. Determine the electric energy acquisition object according to the power grid load rate, avoiding blindly switching to the power grid for power supply, thereby reducing the additional load impact on the power grid. Further, by comparing the power loss rates of different charging lines to determine the target charging line, the loss during the power transmission process can be reduced, and the energy utilization efficiency can be improved. And when the electric energy of the optical energy storage device is still insufficient, control it to supply power to the charging pile according to the minimum charging duration, which can not only ensure that the charging pile can complete the charging operation as much as possible, but also minimize the dependence on the power grid, maintain the reliability of the overall power supply system, and reduce the load pressure on the power grid when the charging pile is in a loaded state of the power grid.
[0078] The following combines Figure 3 to further illustrate the method of the embodiment of the present application.
[0079] Please refer to Figure 3 , which is another process schematic diagram of the optical storage and charging microgrid energy scheduling method in the embodiment of the present application.
[0080] S301. When the power grid is in a loaded state, obtain the remaining charging duration of the target charging pile that is obtaining electric energy from the optical energy storage device.
[0081] S302. Calculate the stored electrical energy based on the real-time output electrical energy output by the optical energy storage device to the target charging pile, the real-time input electrical energy of the optical energy storage device, and the remaining charging duration.
[0082] S303. When the real-time electrical energy of the optical energy storage device is less than the stored electrical energy, obtain the grid load rate of the grid area corresponding to the optical energy storage device and the target charging pile.
[0083] S304. Determine the electrical energy acquisition object of the optical energy storage device and the target charging pile according to the grid load rate.
[0084] S305. When the electrical energy acquisition object of the first charging pile is the optical energy storage device, determine the first loss rate and the second loss rate according to the historical electrical energy transmission record of the first charging pile.
[0085] S306. Obtain the target charging line corresponding to the minimum loss rate among the first loss rate and the second loss rate.
[0086] S307. When the optical energy storage device transmits electrical energy to the first charging pile according to the target charging line, recalculate to obtain the new stored electrical energy.
[0087] S308. Determine the predicted duration from the current time point to when the grid is not in a loaded state according to the historical grid load record.
[0088] S309. Determine the maximum energy consumption per unit time of the target vehicle according to the historical driving record of the target vehicle corresponding to the first charging pile.
[0089] S310. Calculate the minimum charging duration of the first charging pile according to the predicted duration, the maximum energy consumption, the charging speed of the target vehicle, and the current energy consumption of the target vehicle.
[0090] Steps S301 - S310 are similar to Figure 2 Steps S201 - S208 in the illustrated embodiment. Refer to the description in Steps S201 - S208, and details will not be elaborated here.
[0091] S311. Determine the target position of the target vehicle at the target time point according to the driving route and historical driving record of the target vehicle.
[0092] Among them, the target time point is the time point obtained by adding the predicted duration to the current time point.
[0093] Specifically, if the target vehicle uses the navigation system to plan a route, an instruction is sent to the first charging pile through the communication interface of the first charging pile. After receiving the instruction, the first charging pile establishes a communication connection with the navigation system of the target vehicle, obtains the pre-planned driving route data in the navigation system, including information such as the road name, road type, section length, destination, etc. of each section passed by, and transmits the obtained data to the server.
[0094] If the target vehicle does not use the navigation system to plan a route, obtain the target driving route, target driving direction within a preset time period before the target vehicle arrives at the first charging pile, and the historical driving record of the target vehicle. Match the target driving route and target driving direction with the historical driving routes in the historical driving record of the target vehicle, and determine the historical driving route with the highest matching degree as the driving route of the target vehicle.
[0095] Then, according to the historical driving record of the target vehicle, determine the average driving speed of the target vehicle on different road types (such as highways, urban main roads, etc.). Extract all the recorded road type information and corresponding driving speed data from the historical driving record. Classify and count the driving speed data of the same road type, and calculate the average driving speed of each road type according to the pre-set calculation rules. For example, summarize all the driving speed data on the highway and obtain the average driving speed on the highway by taking the average value.
[0096] Next, according to the obtained driving route data and average driving speed of the target vehicle, determine the target position of the target vehicle at the target time point. According to the road type, section length of each section in the driving route data, and the average driving speed corresponding to each road type, estimate the driving time of the target vehicle on each section of the driving route. Then, accumulate the driving times of each section to obtain the total driving time of the target vehicle along the driving route. If the total time is less than the difference between the predicted duration and the minimum charging duration, it means that the vehicle may have reached the destination before the target time point, and the destination position is used as the target position of the target vehicle at the target time point. If the total time is greater than the difference between the predicted duration and the minimum charging duration, calculate the section where the vehicle is located at the target time point according to the difference between the predicted duration and the minimum charging duration and the driving times of each section. Then, according to the driving time of the vehicle on this section and the average driving speed of this section, calculate the driving distance of the vehicle on this section, so as to determine the specific position of the vehicle on this section, and use this position as the target position of the target vehicle at the target time point.
[0097] S312: When there is no charging pile within the preset range of the target position and the third charging pile obtains power from the power grid, determine the target energy consumption of the target vehicle after charging is completed according to the first position of the third charging pile, the current position of the target vehicle and the historical driving record.
[0098] Among them, the third charging pile is the charging pile closest to the target location and passed by the target vehicle before driving to the target location according to the driving route.
[0099] Specifically, according to the target location and the preset location information of each charging pile, it is confirmed whether there is a charging pile within the preset range of the target location. The preset range can be a circular area with the target location as the center and the radius can be set according to the actual situation, or an irregular area set according to the road and geographical environment.
[0100] When there is no charging pile within the preset range of the target location, obtain the first position and power acquisition object of the third charging pile. Obtain a set of preset charging piles corresponding to each section of the target vehicle's driving route that the target vehicle passes before reaching the target location. For each charging pile in the preset charging pile set, calculate its distance to the target location. The distance calculation formula in geographic space can be used to calculate the distance from each charging pile to the target location, such as calculating the spherical distance between two points based on longitude and latitude (such as the Haversine formula). Filter out the charging pile corresponding to the shortest distance among all distances as the third charging pile, and obtain the preset first position information and power acquisition object of the third charging pile.
[0101] When the electric energy acquisition object of the third charging pile is the power grid, the target energy consumption of the target vehicle after charging is completed is determined according to the first position of the third charging pile, the current position of the target vehicle, and the historical driving record.
[0102] First, according to the driving route of the target vehicle and the first position of the third charging pile, determine the target driving route of the target vehicle to the third charging pile according to the driving route. Obtain the target road section in the driving route corresponding to the third charging pile. The driving route from the current position of the target vehicle to the target road section in the driving route is taken as the first driving route. According to the path planning algorithm, plan the second driving route of the target vehicle from the target road section to the third charging pile. Summarize the first driving route and the second driving route to obtain the target driving route. Then, according to the average driving speed corresponding to each road type, the road section length of each road section in the target driving route and the road type, calculate the target driving time for the vehicle to reach the third charging pile. For each road section in the target driving route, find the corresponding average driving speed according to its road type, and then calculate the driving time of each road section by a preset formula, and then add the driving time of all road sections to obtain the target driving time. Then, according to the maximum energy consumption of the target vehicle and the target driving time, calculate the target energy consumption.
[0103] S313. When there is no charging pile within the preset range of the target position and the power acquisition object of the third charging pile is the optical storage device, determine the target energy consumption according to the second position, the current position, and the historical driving record of the fourth charging pile.
[0104] Wherein, the fourth charging pile is the closest charging pile to the target position that the target vehicle passes through after passing through the target position according to the driving route.
[0105] Specifically, when there is no charging pile within the preset range of the target position and the power acquisition object of the third charging pile is the optical storage device, obtain the second position of the fourth charging pile. Obtain the set of preset charging piles corresponding to each section of the driving route of the target vehicle that the target vehicle is about to pass through after passing through the target position. For each charging pile in the set of preset charging piles, calculate its distance to the target position. Screen out the charging pile corresponding to the shortest distance among all the distances as the fourth charging pile, and obtain the preset second position information of the third charging pile.
[0106] Determine the target energy consumption after the target vehicle finishes charging according to the second position of the fourth charging pile, the current position of the target vehicle, and the historical driving record.
[0107] Wherein, the implementation process of determining the target energy consumption is the same as the implementation process of determining the target energy consumption in step S312 above. For details, refer to the description in step S312 and will not be elaborated here.
[0108] S314. Update the minimum charging duration according to the target energy consumption, the charging speed, and the current energy consumption.
[0109] Specifically, calculate the difference between the target energy consumption and the current energy consumption to obtain the first energy consumption to be charged for the target vehicle. According to the first energy consumption and the charging speed, calculate the first charging duration required for the real-time energy consumption of the target vehicle to reach the target energy consumption. Take the first charging duration as the minimum charging duration.
[0110] S315. Control the optical energy storage device to deliver electric energy to the first charging pile according to the minimum charging duration.
[0111] Step S315 is similar to Figure 2 Step S209 in the illustrated embodiment. For details, refer to the description in step S209 and will not be elaborated here.
[0112] S316. After the first charging pile stops charging operation, obtain the real-time energy consumption of the target vehicle.
[0113] Specifically, communicate and connect with the first charging pile through the communication interface of the first charging pile to obtain the charging status information of the first charging pile. After detecting that the charging status of the first charging pile is the non-charging state (i.e., the first charging pile stops the charging operation), send an instruction to the first charging pile to obtain the relevant information of the charging vehicle corresponding to the first charging pile. After receiving the instruction, the first charging pile establishes communication with the battery management system of the target vehicle connected to itself, obtains the real-time energy consumption of the target vehicle, and transmits the obtained data to the server.
[0114] S317. When the difference between the real-time energy consumption and the target energy consumption exceeds the preset error range, calculate the real-time loss rate according to the real-time input power and the real-time output power of the first charging pile.
[0115] Specifically, when the difference between the real-time energy consumption and the target energy consumption exceeds the preset error range, communicate and connect with the first charging pile through the communication interface of the first charging pile to obtain the real-time input power and the real-time output power of the first charging pile. After receiving the instruction, the first charging pile obtains the real-time input power transmitted from the optical storage device and the real-time output power transmitted to the target vehicle, and transmits the real-time input power and the real-time output power to the server. Calculate the real-time loss rate according to the real-time input power and the real-time output power. Real-time loss rate = (real-time output power - real-time input power) ÷ real-time output power.
[0116] Meanwhile, control the first charging pile to continue charging the target vehicle, and stop the charging operation when the real-time energy consumption of the target vehicle reaches the target energy consumption.
[0117] S318. When the real-time loss rate exceeds the preset first loss threshold, mark the first charging pile as an abnormal charging pile.
[0118] When the real-time loss rate exceeds the preset first loss threshold, it indicates that there are aging or other abnormal conditions in the charging pile, resulting in a large energy loss during the power transmission process of the charging pile. Mark the first charging pile as an abnormal charging pile.
[0119] S319. After the target vehicle leaves the location where the first charging pile is located, when the power acquisition object of the first charging pile is the optical energy storage device, if the first charging pile is an abnormal charging pile, then according to the historical loss records, predict the target loss rate of the first charging pile at each time point between the current time point and the target time point.
[0120] Specifically, communicate and connect with the first charging pile through the communication interface of the first charging pile to obtain the image data of the charging area corresponding to the first charging pile. After receiving the instruction, the first charging pile collects the image data of the charging area through its own camera and transmits the image data to the server.
[0121] The server determines whether the target vehicle has left the location where the first charging pile is located based on the collected image data. First, preprocess the collected image data. Then, use object detection algorithms (such as YOLO, Faster R-CNN, etc.) to perform object detection on the preprocessed image to identify whether the target vehicle exists in the charging area in the image. If the target vehicle is not detected in the image, it is preliminarily determined that the target vehicle may have left the location where the first charging pile is located. To further confirm whether the target vehicle has left, image data at multiple time points within a preset duration can be continuously collected for object detection. If the target vehicle is not detected in the images at multiple consecutive time points, it is determined that the target vehicle has left the location where the first charging pile is located.
[0122] After the target vehicle leaves the location where the first charging pile is located, when the electrical energy acquisition object of the first charging pile is a photovoltaic energy storage device, if the first charging pile is an abnormal charging pile, predict the target loss rate of the first charging pile at each time point from the current time point to the target time point according to the historical loss record. Obtain the historical loss record of the first charging pile. The historical loss record should include the loss rate data of the charging pile at different time points and their corresponding environmental parameters, as well as the state parameters of each component of the charging pile (such as the input voltage and output current of the charging module, the operating temperature and voltage of the control chip, and the resistance and insulation performance of the cable, etc.). Use the loss rate, environmental parameters, and state parameters of each component of the first charging pile at the current time point as the input of the model, and through model calculation, obtain the predicted value of the target loss rate at each time point from the current time point to the target time point.
[0123] This prediction model can use time series analysis methods (such as ARIMA model, LSTM model, etc.) to model the historical loss rate data to predict the target loss rate at each future time point. During the model training process, use the loss data of other charging piles of the same model as the first charging pile, which contain loss rate data at different time points and their corresponding environmental parameters and state parameters of each component of the charging pile, as training data to train the model. Input the environmental parameters, charging pile loss rate, and state parameters of each component of the charging pile at the current time point into the trained model. The model will process and analyze the input parameters based on the relationship between the loss rate change and environmental parameters and state parameters of each component of the charging pile learned in advance during the training process, and through the internal calculation logic and algorithms of the model, output the predicted value of the target loss rate at each time point from the current time point to the target time point. These predicted values reflect the possible loss situations of the first charging pile at each future time point under the current environment and equipment state.
[0124] S320. If the target loss rate corresponding to the current time point does not exceed the preset second loss threshold, calculate the predicted shortest charging duration of the next charging vehicle according to the target loss rate, the prediction duration, the preset charging speed corresponding to the vehicle model of the next charging vehicle, and the preset energy consumption per unit time.
[0125] Among them, the next charging vehicle is the vehicle driving towards the first charging pile. The prediction duration is the duration between the current time point and the time point when the predicted power grid is not in a loaded state.
[0126] Specifically, if the target loss rate corresponding to the current time point does not exceed the preset second loss threshold, obtain the preset charging speed corresponding to the vehicle model of the next charging vehicle and the preset energy consumption per unit time. Obtain the image data of the charging area collected by the first charging pile. Preprocess the image data, using techniques such as image enhancement and denoising to improve the clarity and quality of the image. Use an advanced image recognition algorithm to construct a vehicle model recognition model, such as a vehicle model recognition algorithm based on deep learning (which can combine convolutional neural network CNN, etc.). Input the preprocessed image data into the trained vehicle model recognition model. The model analyzes and matches the vehicle appearance features in the image (such as the shape of the vehicle head, the vehicle logo, the body lines, etc.) and outputs the recognized vehicle model information of the next charging vehicle. During the training stage of this model, a large amount of image data containing various vehicle models was used for training, and the characteristic patterns of different vehicle models were learned. According to the vehicle model, look up the preset charging speed and the preset energy consumption per unit time corresponding to the vehicle model in the preset correspondence table.
[0127] Calculate the predicted shortest charging duration of the next charging vehicle according to the target loss rate, the prediction duration, the preset charging speed, and the preset energy consumption per unit time. Calculate the charging amount at each time point within the prediction duration after the current time point according to the target loss rate at each time point and the preset loss rate corresponding to the preset charging speed. Accumulate all the charging amounts in sequence according to the time order to obtain the cumulative sum. When the cumulative sum is greater than or equal to the minimum energy consumption amount at the cumulative time point corresponding to the last accumulated charging amount, stop accumulating and obtain the cumulative time point corresponding to the last accumulated charging amount. Finally, subtract the current time point from this cumulative time point to obtain the predicted shortest charging duration of the next charging vehicle. Among them, the minimum energy consumption amount at each cumulative time point is calculated according to the formula "minimum energy consumption amount = (current time point + prediction duration - cumulative time point) × preset energy consumption per unit time".
[0128] S321. If the first loss rate corresponding to the predicted time point does not exceed the second loss threshold, determine whether the optical energy storage device has enough electric energy to charge the next charging vehicle.
[0129] If the first loss rate corresponding to the predicted time point does not exceed the second loss threshold, determine whether the optical energy storage device has sufficient electrical energy to charge the next charging vehicle according to the predicted shortest charging duration, the target electrical energy output by the optical energy storage device to the fifth charging pile, the charging duration of the fifth charging pile, the real-time input electrical energy of the optical energy storage device, and the real-time electrical energy. If so, execute the steps of S322; if not, execute the steps of S323.
[0130] Among them, the predicted time point is the time point obtained by adding the predicted shortest charging duration to the current time point. The fifth charging pile is the charging pile that is currently obtaining electrical energy from the optical energy storage device.
[0131] Specifically, if the first loss rate corresponding to the predicted time point does not exceed the second loss threshold, re-execute the above steps of S301 - S302 to calculate the stored electrical energy required for the optical energy storage device to complete the current charging operation of the fifth charging pile and the charging duration required for each fifth charging pile to complete the current charging operation.
[0132] When the real-time electrical energy of the optical energy storage device is less than or equal to the stored electrical energy, it is determined that the optical energy storage device does not have sufficient electrical energy to charge the next charging vehicle.
[0133] When the real-time electrical energy of the optical energy storage device is greater than the stored electrical energy, calculate the difference between the current electrical energy and the stored electrical energy. When the difference is greater than or equal to the product of the predicted shortest charging duration and the preset output electrical energy to the first charging pile, it is determined that the optical energy storage device has sufficient electrical energy to charge the next charging vehicle. When the difference is less than the product of the predicted shortest charging duration and the preset output electrical energy to the first charging pile, according to the preset output electrical energy of the first charging pile, the target electrical energy output by the optical energy storage device to the fifth charging pile, and the charging duration of the fifth charging pile, determine the first electrical energy that the optical energy storage device needs to output at each time point between the current time point and the time point when the fifth charging pile and the first charging pile complete the current charging operation. According to the real-time electrical energy, the real-time input electrical energy of the optical energy storage device, and the first electrical energy corresponding to each time point, calculate the first output electrical energy and the first stored electrical energy of the optical energy storage device at each time point. When there is a certain time point at which the first output electrical energy is greater than the first stored electrical energy, it is determined that the optical energy storage device does not have sufficient electrical energy to charge the next charging vehicle. When the first output electrical energy at each time point is greater than or equal to the first stored electrical energy, it is determined that the optical energy storage device has sufficient electrical energy to charge the next charging vehicle.
[0134] S322. Determine that the working state of the first charging pile is on.
[0135] When the energy storage device has enough electrical energy to charge the next charging vehicle, determine that the working state of the first charging pile is on, and send an on command to the first charging pile. After receiving the command, the first charging pile sets its working state to the on state (i.e., the chargeable state).
[0136] S323. Determine that the working state of the first charging pile is off.
[0137] When the energy storage device does not have enough electrical energy to charge the next charging vehicle, determine that the working state of the first charging pile is off, and send an off command to the first charging pile. After receiving the command, the first charging pile sets its working state to the off state (i.e., the non-chargeable state).
[0138] S324. If the first loss rate corresponding to the predicted time point exceeds the second loss threshold, determine that the working state of the first charging pile is off.
[0139] If the first loss rate corresponding to the predicted time point exceeds the second loss threshold, determine that the working state of the first charging pile is off, and send an off command to the first charging pile. After receiving the command, the first charging pile sets its working state to the off state.
[0140] S325. Obtain the real-time grid load rate of the grid area corresponding to the first charging pile.
[0141] Step S325 is similar to Figure 2 Step S203 in the illustrated embodiment, and reference may be made to the description in Step S203, which will not be elaborated here.
[0142] S326. When the real-time grid load rate is less than the preset load threshold and the charging gun of the first charging pile is in a connected state with the charging vehicle, obtain the charging state of the first charging pile.
[0143] Among them, the charging state includes stopped charging and charging.
[0144] Specifically, when the real-time grid load rate is less than the preset load threshold, obtain the connection state of the charging gun of the first charging pile and the charging vehicle. Establish a communication connection through the communication interface of the first charging pile, and send a command to obtain the connection state of the charging gun and the charging vehicle to the first charging pile. After receiving the command, the first charging pile detects the connection situation of the charging gun and the charging vehicle through its internal sensors (such as proximity sensors, microswitches, etc.). If the charging interfaces of the charging gun and the charging vehicle are correctly connected, transmit the information that the charging gun and the charging vehicle are in a connected state to the server; if not connected, transmit the unconnected state information to the server.
[0145] When the charging gun of the first charging pile is in a connected state with the charging vehicle, communicate with the first charging pile through the communication interface of the first charging pile to obtain the charging status information of the first charging pile.
[0146] S327. If the charging status is charging stopped, control the first charging pile to obtain electric energy from the power grid to continue charging the charging vehicle.
[0147] Specifically, if the charging status is not charging (i.e., charging stopped), establish a communication connection through the communication interface with the first charging pile, and send a control instruction to the first charging pile. After receiving the control instruction, the first charging pile obtains electric energy from the power grid to continue charging the charging vehicle.
[0148] In the embodiments of the present application, when an abnormal situation is detected, the abnormal charging pile is automatically marked to avoid subsequent use of the abnormal charging pile causing fluctuations in the power grid load or energy waste. By judging whether the loss rate of the abnormal charging pile reaches a threshold at the predicted time point, it is ensured that when the optical energy storage device can supply power for the next charging vehicle to complete the charging operation and the loss of the abnormal charging pile is within a controllable range (i.e., the charging pile can continue to perform the charging operation), the working status of the abnormal charging pile is set to on, and electric energy is obtained from the optical energy storage device to charge the next charging vehicle, avoiding the situation that the abnormal charging pile can only obtain electric energy from the power grid due to insufficient electric energy stored in the optical energy storage device during the charging process, and reducing the load pressure on the power grid when the charging pile is in the power grid load state.
[0149] The optical storage and charging microgrid energy scheduling method in the embodiments of the present application has been described above. Next, in combination with the above optical storage and charging microgrid energy scheduling method, the energy scheduling server in the embodiments of the present application will be described in detail.
[0150] Please refer to Figure 4 , which is an exemplary hardware structure schematic diagram of the energy scheduling server in the embodiments of the present application.
[0151] In some embodiments, the energy scheduling server 400 includes a computer device, which may be a terminal device. The computer device includes a processor 401, a memory 402, a communication module 403, an input device 404, and an output device 405 connected via a system bus. Among them, the processor 401 of the computer device is used to provide computing and control capabilities. The memory 402 of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database is used to store data. The communication module 403 of the computer device is used to transmit instructions to devices such as charging piles and photovoltaic energy storage devices. The input device 404 of the computer device is used to receive data transmitted by the charging pile, etc. The output device 405 of the computer device is used to display the real-time operating status of the photovoltaic energy storage device, etc. The computer program, when executed by the processor 401, implements the photovoltaic-storage-charging microgrid energy scheduling method in the embodiments of the present application.
[0152] Those skilled in the art can understand that Figure 4 the structure shown in
[0153] is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0154] In some embodiments of the present application, a computer-readable storage medium is provided, including instructions that, when running on the energy scheduling server 400, can cause the energy scheduling server 400 to execute the photovoltaic-storage-charging microgrid energy scheduling method in the embodiments of the present application.
[0155] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0156] As used in the foregoing embodiments, depending on the context, the term "when" may be interpreted to mean "if", "after", "in response to determining", or "in response to detecting". Similarly, depending on the context, the phrase "when determining" or "if (the stated condition or event) is detected" may be interpreted to mean "if determined", "in response to determining", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".
[0157] In the foregoing embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium may be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive), etc.
[0158] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be completed by relevant hardware instructed by a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the foregoing method embodiments. The foregoing storage medium includes various media that can store program codes, such as ROM or random access memory RAM, magnetic disks, or optical discs.
Claims
1. A method for energy scheduling of a photovoltaic-storage-charging microgrid, characterized in that Including: When the power grid is in a loaded state, obtain the remaining charging duration of the target charging pile that is obtaining electric energy from the optical energy storage device; Calculate the stored electric energy according to the real-time output electric energy output by the optical energy storage device to the target charging pile, the real-time input electric energy of the optical energy storage device, and the remaining charging duration. The stored electric energy is the electric energy that the optical energy storage device needs to store to complete the current charging operation of the target charging pile; When the real-time electric energy of the optical energy storage device is less than the stored electric energy, obtain the power grid load rate of the power grid area corresponding to the optical energy storage device and the target charging pile; Determine the electric energy acquisition object of the optical energy storage device and the target charging pile according to the power grid load rate; When the electric energy acquisition object of the first charging pile is the optical energy storage device, determine the first loss rate and the second loss rate according to the historical electric energy transmission record of the first charging pile. The first loss rate is the electric energy loss rate when the optical energy storage device directly transmits electric energy to the first charging pile, and the second loss rate is the electric energy loss rate when the optical energy storage device transmits electric energy to the energy storage device of the second charging pile, and then the energy storage device transmits electric energy to the first charging pile. The target charging pile includes the first charging pile; Obtain the target charging line corresponding to the minimum loss rate among the first loss rate and the second loss rate; When the optical energy storage device transmits electric energy to the first charging pile according to the target charging line, recalculate to obtain the new stored electric energy; When the real-time electric energy is less than the new stored electric energy, obtain the minimum charging duration of the first charging pile. The minimum charging duration is the vehicle charging duration corresponding to the minimum electric energy to be transmitted for the vehicle to drive normally; Control the optical energy storage device to transmit electric energy to the first charging pile according to the minimum charging duration.
2. The method according to claim 1, wherein The step of, when the real-time electric energy is less than the new stored electric energy, obtaining the minimum charging duration of the first charging pile specifically includes: Determine the predicted duration from the current time point to when the power grid is not in a loaded state according to the historical power grid load record; Determine the highest energy consumption per unit time of the target vehicle corresponding to the first charging pile according to the historical driving record of the target vehicle. The highest energy consumption per unit time is the maximum energy consumption required for the target vehicle to drive per unit time; Calculate the minimum charging duration of the first charging pile according to the predicted duration, the highest energy consumption per unit time, the charging speed of the target vehicle, and the current energy consumption of the target vehicle.
3. The method according to claim 2, wherein After the step of calculating the minimum charging duration of the first charging pile according to the predicted duration, the highest energy consumption per unit time, the charging speed of the target vehicle, and the current energy consumption of the target vehicle, the method further includes: Determine the target position of the target vehicle at the target time point according to the driving route of the target vehicle and the historical driving record. The target time point is the time point obtained by adding the predicted duration to the current time point; When there is no charging pile within the preset range of the target position and the power acquisition object of the third charging pile is the power grid, determine the target energy consumption after the target vehicle finishes charging according to the first position of the third charging pile, the current position of the target vehicle, and the historical driving record, where the third charging pile is the nearest charging pile to the target position passed by the target vehicle before driving to the target position along the driving route; When there is no charging pile within the preset range of the target position and the power acquisition object of the third charging pile is the optical storage device, determine the target energy consumption according to the second position of the fourth charging pile, the current position, and the historical driving record, where the fourth charging pile is the nearest charging pile to the target position passed by the target vehicle after driving through the target position along the driving route; Update the minimum charging duration according to the target energy consumption, the charging speed, and the current energy consumption.
4. The method according to claim 3, wherein After the step of controlling the optical energy storage device to deliver electric energy to the first charging pile according to the minimum charging duration, the method further includes: After the first charging pile stops the charging operation, obtain the real-time energy consumption of the target vehicle; When the difference between the real-time energy consumption and the target energy consumption exceeds the preset error range, calculate the real-time loss rate according to the real-time input power and real-time output power of the first charging pile; When the real-time loss rate exceeds the preset first loss threshold, mark the first charging pile as an abnormal charging pile.
5. The method according to claim 4, characterized in that, After the step of controlling the optical energy storage device to deliver electric energy to the first charging pile according to the minimum charging duration, the method further includes: After the target vehicle leaves the location where the first charging pile is located, when the power acquisition object of the first charging pile is the optical energy storage device, if the first charging pile is an abnormal charging pile, predict the target loss rate of the first charging pile at each time point between the current time point and the target time point according to the historical loss record; If the target loss rate corresponding to the current time point does not exceed the preset second loss threshold, calculate the predicted shortest charging duration of the next charging vehicle according to the target loss rate, the prediction duration, the preset charging speed corresponding to the vehicle model of the next charging vehicle, and the preset energy consumption per unit time, where the next charging vehicle is the vehicle driving towards the first charging pile; Determine the working state of the first charging pile according to the target loss rate, the predicted shortest charging duration, the target electric energy output by the optical energy storage device to the fifth charging pile, the charging duration of the fifth charging pile, the real-time input electric energy of the optical energy storage device, and the real-time electric energy, where the working state includes on and off, and the fifth charging pile is the charging pile currently obtaining electric energy from the optical energy storage device.
6. The method according to claim 5, characterized in that, Determining the working state of the first charging pile according to the target loss rate, the predicted shortest charging duration, the target electric energy output by the optical energy storage device to the fifth charging pile, the charging duration of the fifth charging pile, the real-time input electric energy of the optical energy storage device, and the real-time electric energy specifically includes: If the first loss rate corresponding to the predicted time point does not exceed the second loss threshold, determine whether the optical energy storage device has enough electric energy to charge the next charging vehicle according to the predicted shortest charging duration, the target electric energy output by the optical energy storage device to the fifth charging pile, the charging duration of the fifth charging pile, the real-time input electric energy of the optical energy storage device, and the real-time electric energy, where the predicted time point is the time point obtained by adding the predicted shortest charging duration to the current time point; If so, determine that the working state of the first charging pile is on; If not, determine that the working state of the first charging pile is off; If the first loss rate corresponding to the predicted time point exceeds the second loss threshold, determine that the working state of the first charging pile is off.
7. The method according to claim 1, wherein After the step of controlling the optical energy storage device to deliver electric energy to the first charging pile according to the minimum charging duration, the method further includes: Obtain the real-time grid load rate of the grid area corresponding to the first charging pile; When the real-time grid load rate is less than the preset load threshold and the charging gun of the first charging pile is in a connected state with the charging vehicle, obtain the charging state of the first charging pile, where the charging state includes charging stopped and charging in progress; If the charging state is charging stopped, control the first charging pile to obtain electric energy from the grid to continue charging the charging vehicle.
8. An energy scheduling server, characterized in that, Including: One or more processors and a memory; The memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the energy scheduling server to execute the method according to any one of claims 1-7.
9. A computer-readable storage medium storing computer instructions, characterized in that, When the computer instructions run on the energy scheduling server, cause the energy scheduling server to execute the method according to any one of claims 1-7.
10. A computer program product, characterized in that, When the computer program product runs on the energy scheduling server, cause the energy scheduling server to execute the method according to any one of claims 1-7.
Citation Information
Cited By
Charging pile cooperative power supply control method and system, terminal and storage medium
CN121492741A