Discharge threshold processing method, device and equipment for vehicle in charging station, storage medium and program product

By generating the electric vehicle entry sequence and combining the charging station simulation model, the actual discharge charge threshold and discharge difference threshold in the charging station are determined, which solves the problem that the discharge state cannot be accurately controlled in the charging station, and improves the operating efficiency and power utilization efficiency of the charging station.

CN120327337APending Publication Date: 2025-07-18国电投锦润新能源科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510638594.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The prior art cannot accurately obtain the overall discharge charge threshold and discharge difference threshold of users in charging stations, resulting in the inability to accurately control the vehicle discharge status of the charging piles, affecting the efficient operation of the charging station.

Method used

By generating the electric vehicle entry sequence, N groups of discharge charge thresholds and discharge price difference thresholds are obtained, and input the charging station simulation model. Based on the actual total expenditure, actual total penalty, simulated total expenditure, simulated total penalty, simulated total penalty, and simulated total penalty, the actual discharge charge threshold and actual discharge price difference threshold are determined, and the charging and discharge status of the charging pile is optimized.

Benefits of technology

The discharge charge threshold and discharge price difference threshold are achieved accurately, the operating efficiency of the charging station is improved, and the electric vehicle's power is sufficient to be used without causing economic losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120327337A_ABST
    Figure CN120327337A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a discharging threshold processing method, device and equipment for a vehicle in a charging station, a storage medium and a program product. Belongs to the technical field of charging piles. Comprising the steps of generating an electric vehicle pull-in sequence including the pull-in time, pull-in electric quantity and departure time of at least one electric vehicle; acquiring N groups of discharge charge thresholds and discharge price difference thresholds; inputting the discharge charge threshold value of the target group, the discharge price difference threshold value of the target group, the electric vehicle pull-in sequence and the charge and discharge price of each time period into a charging station simulation model to obtain a simulation total expenditure and a simulation total penalty; the actual total expenditure and the actual total penalty of the target charging station within the preset time period are obtained; according to the actual total expenditure, the actual total penalty, the simulated total expenditure and the simulated total penalty, determining an actual discharge charge threshold value and an actual discharge price difference threshold value; and outputting the actual discharge charge threshold value and the actual discharge price difference threshold value. The problem that the discharge charge threshold value and the discharge price difference threshold value of the charging station cannot be accurately obtained is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of charging piles, and particularly to a method, device, equipment, storage medium and program product for processing the discharge thresholds of vehicles in a charging station. Background Art

[0002] Currently, the technology of electric vehicles accessing the grid is developing rapidly. Electric vehicles can not only obtain electrical energy from the grid, but also feed the electrical energy in the battery back to the grid.

[0003] Currently, in the related art, the charging and discharging behaviors of electric vehicle users in a charging station are determined by the users. Usually, the users need to consider the demand for electricity (charging and discharging threshold) and the impact of charging and discharging on the battery life attenuation (discharge price difference threshold) to choose whether to charge or discharge and how much to charge or discharge. The maintenance personnel of the charging station need to control the discharge state of electric vehicles in the charging station by combining the overall charging and discharging threshold and discharge price difference threshold of the charging station to maintain the efficient operation of the charging station.

[0004] However, currently, the overall charging and discharging threshold and discharge price difference threshold of users in the charging station cannot be accurately obtained, so the discharge state of electric vehicles in the charging station cannot be accurately controlled. Therefore, there is an urgent need for a method to determine the charging and discharging threshold and discharge price difference threshold. Summary of the Invention

[0005] Embodiments of this application provide a method, device, equipment, storage medium and program product for processing the discharge thresholds of vehicles in a charging station, so as to solve the problem that the overall charging and discharging threshold and discharge price difference threshold of users in the charging station cannot be accurately obtained.

[0006] In a first aspect, an embodiment of this application provides a method for processing the discharge thresholds of vehicles in a charging station, which is applied to a computer and includes: generating a sequence of electric vehicles entering the station, where the sequence of electric vehicles entering the station includes the entry time, entry power and departure time of at least one electric vehicle; obtaining N groups of charging and discharging thresholds and discharge price difference thresholds, where N is a positive integer; inputting the charging and discharging thresholds of the target group, the discharge price difference thresholds of the target group, the sequence of electric vehicles entering the station and the charging and discharging prices of each preset time period into a charging station simulation model to obtain the simulated total expenditure and simulated total penalty output by the charging station simulation model; obtaining the actual total expenditure and actual total penalty of the target charging station within a preset time period; determining the actual charging and discharging thresholds and actual discharge price difference thresholds from the N groups of charging and discharging thresholds and discharge price difference thresholds according to the actual total expenditure, actual total penalty, simulated total expenditure and simulated total penalty; and outputting the actual charging and discharging thresholds and actual discharge price difference thresholds.

[0007] In a possible implementation, based on the actual total expenditure, actual total penalty, simulated total expenditure, and simulated total penalty, determine the actual charge-discharge threshold and actual discharge price difference threshold from N groups of charge-discharge thresholds and discharge price difference thresholds, including: based on the actual total expenditure, actual total penalty, simulated total expenditure, and simulated total penalty, determine the weighted accuracy corresponding to the charge-discharge threshold and discharge price difference threshold of the target group; determine the group of charge-discharge threshold and discharge price difference threshold with the highest weighted accuracy as the actual charge-discharge threshold and actual discharge price difference threshold.

[0008] In a possible implementation, based on the actual total expenditure, actual total penalty, simulated total expenditure, and simulated total penalty, determine the weighted accuracy corresponding to the charge-discharge threshold and discharge price difference threshold of the target group, including: calculate the actual total efficiency according to the actual total expenditure and actual total penalty; calculate the simulated total efficiency corresponding to the target group according to the simulated total expenditure corresponding to the target group and the simulated total penalty corresponding to the target group; calculate the difference between the actual total expenditure and the simulated total expenditure corresponding to the target group to obtain the total expenditure difference corresponding to the target group; calculate the difference between the actual total penalty and the simulated total penalty corresponding to the target group to obtain the total penalty difference corresponding to the target group; calculate the difference between the actual total efficiency and the simulated total efficiency corresponding to the target group to obtain the total efficiency difference corresponding to the target group; perform a weighted sum of the total expenditure difference, total penalty difference, and total efficiency difference corresponding to the target group to obtain the weighted accuracy corresponding to the target group.

[0009] In a possible implementation, based on the actual total expenditure, actual total penalty, simulated total expenditure, and simulated total penalty, determine the weighted accuracy corresponding to the charge-discharge threshold and discharge price difference threshold of the target group, including: calculate the difference between the actual total expenditure and the simulated total expenditure corresponding to the target group to obtain the total expenditure difference corresponding to the target group; calculate the difference between the actual total penalty and the simulated total penalty corresponding to the target group to obtain the total penalty difference corresponding to the target group; perform a weighted sum of the total expenditure difference and total penalty difference corresponding to the target group to obtain the weighted accuracy corresponding to the target group.

[0010] In a possible implementation, after determining the actual charge-discharge threshold and actual discharge price difference threshold from N groups of charge-discharge thresholds and discharge price difference thresholds based on the actual total expenditure, actual total penalty, simulated total expenditure, and simulated total penalty, it further includes: using the actual charge-discharge threshold and actual discharge price difference threshold to optimize the charge-discharge power of each charging pile in the target charging station.

[0011] In a possible implementation, the charging and discharging electricity of each charging pile in the target charging station is optimized by using the actual charge-discharge threshold and the actual discharge price difference threshold, including: obtaining the discharge electricity price, the state of charge (SOC) of the electric vehicle connected to each charging pile, and the charging and discharging state of each charging pile in real time; if the charging and discharging state of the target charging pile is the vehicle discharging state, and the SOC of the electric vehicle connected to the target charging pile is less than or equal to the actual charge-discharge threshold, then control the target charging pile to stop vehicle discharging; if the charging and discharging state of the target charging pile is the vehicle discharging state, and the discharge electricity price is less than the actual discharge price difference threshold, then control the target charging pile to reduce the vehicle discharging electricity.

[0012] In a second aspect, an embodiment of the present application provides a device for processing the discharge threshold of a vehicle in a charging station, which is applied to a computer and includes: a sequence generation module for generating an electric vehicle inbound sequence, where the electric vehicle inbound sequence includes the inbound time, inbound electricity, and outbound time of at least one electric vehicle; a threshold acquisition module for acquiring N groups of charge-discharge thresholds and discharge price difference thresholds, where N is a positive integer; a simulated data acquisition module for inputting the charge-discharge threshold of the target group, the discharge price difference threshold of the target group, the electric vehicle inbound sequence, and the charging and discharging prices of each preset time period into a charging station simulation model to obtain the simulated total expenditure and simulated total penalty output by the charging station simulation model; an actual data acquisition module for acquiring the actual total expenditure and actual total penalty of the target charging station within a preset time period; a threshold determination module for determining the actual charge-discharge threshold and the actual discharge price difference threshold from the N groups of charge-discharge thresholds and discharge price difference thresholds according to the actual total expenditure, actual total penalty, simulated total expenditure, and simulated total penalty; and a threshold data module for outputting the actual charge-discharge threshold and the actual discharge price difference threshold.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementation manners of the first aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the above first aspect and / or various possible implementation manners of the first aspect.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the above first aspect and / or various possible implementation manners of the first aspect.

[0016] The method, device, equipment, storage medium and program product for processing the discharge threshold of vehicles in a charging station provided by the embodiments of the present application generate a sequence of electric vehicles entering the station, obtain N groups of charge-discharge threshold values and discharge price difference threshold values, input the above data into a pre-trained charging station simulation model, obtain the simulated total expenditure and simulated total penalty corresponding to each group of charge-discharge threshold values and discharge price difference threshold values, combine the actual total expenditure, actual total penalty and each group of simulated total expenditure and simulated total penalty, determine the actual charge-discharge threshold value and actual discharge price difference threshold value, and output the charge-discharge threshold value and actual discharge price difference threshold value, so as to obtain accurate charge-discharge threshold values and discharge price difference threshold values, which is convenient for subsequent control of the charging piles in the charging station by using the charge-discharge threshold values and discharge price difference threshold values, and makes the operation efficiency of the charging station higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application and used together with the specification to explain the principles of the present application.

[0018] Figure 1 It is a schematic diagram of the scenario of the method for processing the discharge threshold of vehicles in the charging station provided by the present application;

[0019] Figure 2 It is a schematic flowchart of the method for processing the discharge threshold of vehicles in the charging station provided by the embodiments of the present application;

[0020] Figure 3 It is a schematic structural diagram of the device for processing the discharge threshold of vehicles in the charging station provided by the embodiments of the present application;

[0021] Figure 4 It is a schematic structural diagram of the electronic device provided by the embodiments of the present application.

[0022] Through the above-mentioned accompanying drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These accompanying drawings and text descriptions are not intended to limit the scope of the concept of the present application in any way, but to explain the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0023] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different accompanying drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0024] With the rapid development of V2G (Vehicle-to-Grid), electric vehicles have broken through the traditional one-way charging mode and formed the ability of bidirectional power flow. Its energy storage system can not only obtain electric energy from the power grid, but also feed back the redundant electric energy of the vehicle-mounted battery to the power grid during the peak load period of the power grid, realizing the flexible scheduling of distributed energy storage resources.

[0025] Currently, during the process of electric vehicles discharging to the power grid, users of electric vehicles usually hope to reserve a part of the power for the normal use of electric vehicles, and also consider the impact of charging and discharging on the battery life of electric vehicles. The amount of power that users hope to reserve is the charge-discharge threshold, and the parameter that measures the economic benefit generated by the charging and discharging of electric vehicles being greater than the battery loss is the discharge price difference threshold. Users will comprehensively consider the charge-discharge threshold and the discharge price difference threshold to choose whether to charge and discharge and how much to charge and discharge. The maintenance personnel of the charging station need to control the charging and discharging status of the charging piles in combination with the overall charge-discharge threshold and the discharge price difference threshold of the electric vehicles in the charging station to maintain the efficient operation of the charging station. However, currently, it is impossible to accurately judge the overall charge-discharge threshold and the discharge price difference threshold of the vehicles in the charging station, so it is impossible to accurately control the charging and discharging status of the charging piles. Therefore, there is an urgent need for a method that can accurately obtain the charge-discharge threshold and the discharge price difference threshold.

[0026] This application is applied to the scenario of processing the discharge threshold of vehicles in a charging station. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. And the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0027] Figure 1 It is a schematic diagram of the scenario of the method for processing the discharge threshold of vehicles in a charging station provided by this application. As Figure 1 shown, in this scenario, it includes: a computer 101, a charging pile 102, and an electric vehicle 103.

[0028] In the specific implementation process, the computer 101 can include a computer, a server, a tablet, a mobile phone, a personal digital assistant, and a notebook, etc., which can perform data input.

[0029] The charging pile 102 can include an AC charging pile, a DC charging pile, etc.

[0030] The charging pile 102 is used to obtain electric energy from the power grid and charge the electric vehicle, or receive the electric energy released by the electric vehicle and input the electric energy released by the electric vehicle into the power grid. The charging pile 102 can also record data such as the start time of charging, the end time of charging, the battery level of the electric vehicle at the start of charging, the start time of discharging, the end time of discharging, the battery level at the start of discharging, and the battery level at the end of discharging.

[0031] The electric vehicle 103 can include at least one of a pure electric vehicle, a plug-in hybrid vehicle, a hybrid vehicle, an extended-range electric vehicle, etc.

[0032] The connection between the computer 101 and the charging pile 102 can be wired or wireless. The computer 101 can obtain data such as the start time of charging, the end time of charging, the battery level at the start of charging, the battery level at the end of charging, the start time of discharging, the end time of discharging, the battery level at the start of discharging, and the battery level at the end of discharging of the electric vehicle 103 recorded by the charging pile 102. The computer 101 uses these data to calculate the actual total expenditure and actual total penalty of the charging station within a preset duration, generate an electric vehicle entry sequence, and determine the actual charge and discharge threshold values and the discharge price difference threshold value of the charging station in combination with the actual total expenditure and actual total penalty of the charging station.

[0033] It can be understood that the scenarios illustrated in the embodiments of the present application do not constitute a specific limitation on the method for processing the discharge threshold of vehicles in the charging station. In other feasible embodiments of the present application, the above scenarios may include more or fewer components than those shown in the figures, or combine certain components, or split certain components, or have different component arrangements, which can be specifically determined according to the actual application scenario and will not be limited herein. Figure 1 The illustrated scenarios can be implemented by hardware, software, or a combination of software and hardware.

[0034] The following uses specific embodiments to elaborate in detail on the technical solution of the present application and how the technical solution of the present application solves the above technical problems. These several specific embodiments below can be combined with each other, and for the same or similar concepts or processes, they may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0035] Figure 2 It is a flowchart of the method for processing the discharge threshold of vehicles in the charging station provided by the embodiments of the present application. The execution subject of the embodiments of the present application can be Figure 1 the computer 101 therein. As Figure 2 shown, the method includes: step S201 to step S206.

[0036] S201: Generate an electric vehicle entry sequence, where the electric vehicle entry sequence includes the entry time, entry battery level, and departure time of at least one electric vehicle.

[0037] In this step, it may include obtaining data such as the vehicle arrival time, departure time, arrival power, and departure power of the target charging station, fitting to obtain the probability density function satisfied by variables such as the electric vehicle arrival time, departure time, and arrival power, and generating an electric vehicle arrival sequence that conforms to the probability density function satisfied by the arrival time, arrival power, and departure time.

[0038] Among them, the process of generating an electric vehicle arrival sequence that conforms to the probability density function may include calculating the inverse function of the probability density function, generating uniformly distributed random numbers, and inputting the uniformly distributed random numbers into the inverse function to obtain data that conforms to the probability density function.

[0039] S202: Obtain N groups of charge-discharge threshold values and discharge price difference threshold values, where N is a positive integer.

[0040] In this step, each group of charge-discharge threshold values and discharge price difference threshold values can be obtained by fixing the charge-discharge threshold value, changing the discharge price difference threshold value, fixing the discharge price difference threshold value, and changing the charge-discharge threshold value.

[0041] Among them, the charge-discharge threshold value represents the limit of the electric vehicle's battery power retention (which can also be the cruising range). The proportion of the electric vehicle's power or remaining power after discharge to the total power should not be less than the charge-discharge threshold value. The discharge price difference threshold value represents the difference between the electric vehicle's discharge electricity price and the value of battery loss.

[0042] For example, fix the charge-discharge threshold value at 0.25, and change the discharge price difference threshold values to 0.25, 0.35, 0.45, 0.6, 0.75, 0.9, etc., to obtain 6 groups of charge-discharge threshold values and discharge price difference threshold values, which are (0.25, 0.25), (0.25, 0.35), (0.25, 0.45), (0.25, 0.6), (0.25, 0.75), (0.25, 0.9) respectively. Then fix the discharge price difference threshold value at 0.25, and change the charge-discharge threshold values to 0.25, 0.35, 0.45, 0.6, 0.75, 0.9, etc., to obtain another 6 groups of charge-discharge threshold values and discharge price difference threshold values, which are (0.25, 0.25), (0.35, 0.25), (0.45, 0.25), (0.6, 0.25), (0.75, 0.25), (0.9, 0.25) respectively. By analogy, more combinations of charge-discharge threshold values and discharge price difference threshold values can be obtained.

[0043] S203: Input the charge-discharge threshold value of the target group, the discharge price difference threshold value of the target group, the electric vehicle arrival sequence, and the charging and discharging prices of each preset time period into the charging station simulation model to obtain the simulated total expenditure and simulated total penalty output by the charging station simulation model.

[0044] In this step, the charging station simulation model can be trained by staff using data such as actual charging and discharging electricity prices, total output of distributed energy, and state of charge of electric vehicles through deep reinforcement learning methods.

[0045] Among them, the simulated total expenditure is the charging cost of each electric vehicle in the simulated charging station minus the discharging income, and the total penalty includes the total penalty for the "abandoned wind and light" electricity of distributed new energy and the unmet charging targets of electric vehicle users. The simulated total expenditure and the simulated total penalty are related to the charge-discharge threshold of the target group and the discharging price difference threshold of the target group.

[0046] S204: Obtain the actual total expenditure and the actual total penalty of the target charging station within a preset time period.

[0047] In this step, the preset time period can include 1 day, 1 week, 1 month, the daily average within 1 week, etc. The actual total expenditure and the actual total penalty are similar to those in step S203 above and will not be elaborated here.

[0048] S205: Determine the actual charge-discharge threshold and the actual discharging price difference threshold from N groups of charge-discharge thresholds and discharging price difference thresholds according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty.

[0049] In this step, it may include determining the similarity between the actual total expenditure, the actual total penalty and the simulated total expenditure, the simulated total penalty of each group, and determining the charge-discharge threshold and the discharging price difference threshold associated with the group of simulated total expenditure and simulated total penalty with the highest similarity as the actual charge-discharge threshold and the actual discharging price difference threshold.

[0050] S206: Output the actual charge-discharge threshold and the actual discharging price difference threshold.

[0051] In this step, it includes sending the actual charge-discharge threshold and the actual discharging price difference threshold to the control terminal, or displaying and outputting the actual charge-discharge threshold and the actual discharging price difference threshold.

[0052] As can be seen from the description of the above embodiments, the embodiments of the present disclosure provide a method capable of obtaining the actual charge and discharge threshold values and the actual discharge price difference threshold values. By generating an electric vehicle entry sequence and obtaining N groups of charge and discharge threshold values and discharge price difference threshold values, the above data is input into a pre-trained charging station simulation model to obtain the simulated total expenditure and simulated total penalty corresponding to each group of charge and discharge threshold values and discharge price difference threshold values. Combining the actual total expenditure, actual total penalty, and each group of simulated total expenditure and simulated total penalty, the actual charge and discharge threshold values and the actual discharge price difference threshold values are determined, and the charge and discharge threshold values and the actual discharge price difference threshold values are output to achieve accurate charge and discharge threshold values and discharge price difference threshold values, which is convenient for subsequent control of the charging piles in the charging station using the charge and discharge threshold values and the discharge price difference threshold values, making the charging station operation more efficient.

[0053] In a possible implementation manner, in the above step S205, according to the actual total expenditure, actual total penalty, simulated total expenditure, and simulated total penalty, the actual charge and discharge threshold values and the actual discharge price difference threshold values are determined from the N groups of charge and discharge threshold values and discharge price difference threshold values, including: steps S2051 and S2052.

[0054] S2051: Determine the weighted accuracy corresponding to the charge and discharge threshold values and the discharge price difference threshold values of the target group according to the actual total expenditure, actual total penalty, simulated total expenditure, and simulated total penalty.

[0055] In this step, it includes combining the actual total expenditure and actual total penalty into a first vector, combining each group of simulated total expenditure and simulated total penalty into a second vector, and determining the cosine similarity between the first vector and each second vector as the weighted accuracy.

[0056] S2052: Determine the group of charge and discharge threshold values and the discharge price difference threshold values with the highest weighted accuracy as the actual charge and discharge threshold values and the actual discharge price difference threshold values.

[0057] In this step, for example, currently there are 3 groups of charge and discharge threshold values and discharge price difference threshold values, and the corresponding weighted accuracies are 0.8, 0.65, and 0.9 respectively. Then, the third group of charge and discharge threshold values and discharge price difference threshold values are determined as the actual charge and discharge threshold values and the actual discharge price difference threshold values. Another example is that currently there are 10 groups of charge and discharge threshold values and discharge price difference threshold values, and the ninth group has the highest corresponding weighted accuracy. Then, the ninth group of charge and discharge threshold values and discharge price difference threshold values are determined as the actual charge and discharge threshold values and the actual discharge price difference threshold values.

[0058] As can be seen from the description of the above embodiments, in the embodiments of the present disclosure, by calculating the weighted accuracy corresponding to the charging and discharging threshold values and the discharging price difference threshold values of each group, the group of charging and discharging threshold values and the discharging price difference threshold values with the highest weighted accuracy are determined as the actual charging and discharging threshold values and the actual discharging price difference threshold values, so as to accurately obtain the actual charging and discharging threshold values and the actual discharging price difference threshold values, which is convenient for optimizing the working efficiency of the charging station subsequently.

[0059] In a possible implementation manner, in the above step S2051, determining the weighted accuracy corresponding to the charging and discharging threshold values and the discharging price difference threshold values of the target group according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty includes steps S51A1 to S51A6.

[0060] S51A1: Calculate the actual total efficiency according to the actual total expenditure and the actual total penalty.

[0061] In this step, it includes adding the actual total expenditure and the actual total penalty and taking the negative value to obtain the actual total efficiency.

[0062] S51A2: Calculate the simulated total efficiency corresponding to the target group according to the simulated total expenditure corresponding to the target group and the simulated total penalty corresponding to the target group.

[0063] This step is similar to the above step S51A1 and will not be elaborated here.

[0064] S51A3: Calculate the difference between the actual total expenditure and the simulated total expenditure corresponding to the target group to obtain the total expenditure difference corresponding to the target group.

[0065] In this step, for example, if the actual total expenditure is 1000 and the simulated total expenditure is 800, then the total expenditure difference is 200. Another example is that if the actual total expenditure is 3200 and the simulated total expenditure is 4000, then the total expenditure difference is 800.

[0066] S51A4: Calculate the difference between the actual total penalty and the simulated total penalty corresponding to the target group to obtain the total penalty difference corresponding to the target group.

[0067] This step is similar to the above step S51A3 and will not be elaborated here.

[0068] S51A5: Calculate the difference between the actual total efficiency and the simulated total efficiency corresponding to the target group to obtain the total efficiency difference corresponding to the target group.

[0069] This step is similar to the above step S51A3 and will not be elaborated here.

[0070] S51A6: Perform a weighted sum of the total expenditure difference, the total penalty difference, and the total efficiency difference corresponding to the target group to obtain the weighted accuracy corresponding to the target group.

[0071] In this step, the weight values of the total expenditure difference, the total penalty difference, and the total efficiency difference can be pre-set by the staff, which will not be elaborated here.

[0072] As can be seen from the description of the above embodiments, the embodiments of the present disclosure calculate the total expenditure difference, the total penalty difference, and the total efficiency difference and perform weighted summation to obtain the weighted accuracy, so as to find the charge and discharge thresholds and the discharge price thresholds closer to the actual situation by combining multiple dimensions, which is convenient for obtaining more accurate actual charge and discharge thresholds and actual discharge price thresholds subsequently.

[0073] In a possible implementation manner, in the above step S2051, determining the weighted accuracy corresponding to the charge and discharge thresholds and the discharge price thresholds of the target group according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty includes: steps S51B1 to S51B3.

[0074] S51B1: Calculate the difference between the actual total expenditure and the simulated total expenditure corresponding to the target group to obtain the total expenditure difference corresponding to the target group.

[0075] This step is similar to the above step S51A3 and will not be elaborated here.

[0076] S51B2: Calculate the difference between the actual total penalty and the simulated total penalty corresponding to the target group to obtain the total penalty difference corresponding to the target group.

[0077] This step is similar to the above step S51A3 and will not be elaborated here.

[0078] S51B3: Perform weighted summation on the total expenditure difference and the total penalty difference corresponding to the target group to obtain the weighted accuracy corresponding to the target group.

[0079] This step is similar to the above step S51A6 and will not be elaborated here.

[0080] As can be seen from the description of the above embodiments, the embodiments of the present disclosure combine the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty to obtain the weighted accuracy corresponding to the simulated total expenditure and the simulated total penalty of each group, so as to determine the closest simulated total penalty and simulated total expenditure from the two aspects of total expenditure and total penalty, which is convenient for obtaining more accurate actual charge and discharge thresholds and actual discharge price thresholds subsequently.

[0081] In a possible implementation manner, after determining the actual charge and discharge thresholds and the actual discharge price thresholds from N groups of charge and discharge thresholds and discharge price thresholds according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty in the above step S205, it further includes:

[0082] S220: Optimize the charging and discharging power of each charging pile in the target charging station by using the actual discharging and charging threshold values and the actual discharging price difference threshold value.

[0083] In this step, it includes training a charging and discharging power optimization model by using the actual discharging and charging threshold values and the discharging price difference threshold value, and optimizing the charging and discharging power of the charging pile by using the charging and discharging power optimization model. It may also include allowing the electric vehicle corresponding to the charging pile in the target charging station to discharge when the electric vehicle's power is greater than the actual discharging and charging threshold value and the difference between the vehicle discharging price and the vehicle charging price of the real-time electricity price is greater than the actual discharging price difference threshold value. It may also include obtaining the power and attenuation cost of the electric vehicle associated with each charging pile, and stopping the associated electric vehicle from discharging to the charging pile if the power is less than the actual discharging and charging threshold value or the attenuation cost is greater than the actual discharging price difference threshold value.

[0084] As can be seen from the description of the above embodiments, the embodiments of the present disclosure control the charging and discharging states of each charging pile in the target charging station by using the actual discharging and charging threshold values and the actual discharging price difference threshold value, so as to increase the power utilization efficiency of the charging station and ensure that the electric vehicle user will not suffer losses due to the electric vehicle discharging.

[0085] In a possible implementation manner, in the above step S220, controlling the charging and discharging states of each charging pile in the target charging station by using the actual discharging and charging threshold values and the actual discharging price difference threshold value includes:

[0086] S2201: Obtain the discharging electricity price, the state of charge of the battery of the electric vehicle connected to each charging pile, and the charging and discharging states of each charging pile in real time.

[0087] In this step, obtaining in real time may include obtaining at intervals periodically, and the interval period may be, for example, 1 minute, 10 seconds, 1 second, etc. The discharging electricity price can be obtained from the Internet or the server. The state of charge of the battery of the electric vehicle connected to each charging pile can send a state of charge acquisition request to the charging pile and receive the state of charge of the battery fed back by the charging pile. The charging and discharging states of the charging pile can be sent to the computer periodically by the charging pile.

[0088] S2202: If the charging and discharging state of the target charging pile is the vehicle discharging state and the state of charge of the battery of the electric vehicle connected to the target charging pile is less than or equal to the actual discharging and charging threshold value, then control the target charging pile to stop the vehicle from discharging.

[0089] In this step, for example, if the current charge-discharge state is the vehicle discharging state, and the state of charge (SOC) of the electric vehicle battery is 30%, and the actual discharge SOC threshold is 30%, then control the target charging pile to stop the vehicle from discharging. Another example is that the current charge-discharge state is the vehicle discharging state, the SOC of the electric vehicle battery is 33%, and the actual discharge SOC threshold is 35%, then control the target charging pile to stop the vehicle from discharging. Controlling the target charging pile to stop the vehicle from discharging may include sending a stop vehicle discharge command to the target charging pile, enabling the target charging pile to interact with the electric vehicle and stop the electric vehicle from discharging.

[0090] S2203: If the charge-discharge state of the target charging pile is the vehicle discharging state, and the discharge electricity price is less than the actual discharge price difference threshold, then control the target charging pile to stop the vehicle from discharging.

[0091] This step is similar to the above step S2202 and will not be elaborated here.

[0092] From the description of the above embodiments, it can be seen that the embodiments of the present disclosure obtain the discharge electricity price, the state of charge of the electric vehicle batteries connected to each charging pile, and the charge-discharge state of each charging pile. When the charge-discharge state of the target charging pile is the vehicle discharging state, and when the state of charge is less than or equal to the actual discharge SOC threshold or the discharge electricity price is less than the actual discharge price difference threshold, control the target charging pile to stop the vehicle from discharging, so that when the electric vehicle discharges to the power grid, the remaining power will not be lower than the actual discharge SOC threshold, ensuring that there is enough power for the electric vehicle to use, and the electric vehicle will not discharge when the discharge electricity price is lower than the actual discharge price difference threshold.

[0093] Figure 3 It is a schematic structural diagram of a device for processing the discharge threshold of a vehicle in a charging station provided by an embodiment of the present application. As Figure 3 shown, the device 300 for processing the discharge threshold of a vehicle in a charging station includes: a sequence generation module 301, a threshold acquisition module 302, a simulation data acquisition module 303, an actual data acquisition module 304, a threshold determination module 305, and a threshold data module 306.

[0094] The sequence generation module 301 is configured to generate an electric vehicle entry sequence, where the electric vehicle entry sequence includes the entry time, entry power, and departure time of at least one electric vehicle;

[0095] The threshold acquisition module 302 is configured to acquire N groups of discharge SOC thresholds and discharge price difference thresholds, where N is a positive integer;

[0096] The simulation data acquisition module 303 is configured to input the discharge SOC threshold of the target group, the discharge price difference threshold of the target group, the electric vehicle entry sequence, and the preset charge-discharge prices of each time period into the charging station simulation model to obtain the simulated total expenditure and simulated total penalty output by the charging station simulation model;

[0097] An actual data acquisition module 304, configured to acquire the actual total expenditure and the actual total penalty of the target charging station within a preset time period;

[0098] A threshold determination module 305, configured to determine an actual charge-discharge threshold and an actual discharge price difference threshold from N groups of charge-discharge thresholds and discharge price difference thresholds according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty;

[0099] A threshold output module 306, configured to output the actual charge-discharge threshold and the actual discharge price difference threshold.

[0100] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here in this embodiment.

[0101] In a possible implementation manner, the threshold determination module 305 is specifically configured to determine the weighted accuracy corresponding to the charge-discharge threshold and the discharge price difference threshold of the target group according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty; and determine the group of charge-discharge thresholds and discharge price difference thresholds with the highest weighted accuracy as the actual charge-discharge threshold and the actual discharge price difference threshold.

[0102] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here in this embodiment.

[0103] In a possible implementation manner, the threshold determination module 305 is specifically configured to calculate the actual total efficiency according to the actual total expenditure and the actual total penalty; calculate the simulated total efficiency corresponding to the target group according to the simulated total expenditure corresponding to the target group and the simulated total penalty corresponding to the target group; calculate the difference between the actual total expenditure and the simulated total expenditure corresponding to the target group to obtain the total expenditure difference corresponding to the target group; calculate the difference between the actual total penalty and the simulated total penalty corresponding to the target group to obtain the total penalty difference corresponding to the target group; calculate the difference between the actual total efficiency and the simulated total efficiency corresponding to the target group to obtain the total efficiency difference corresponding to the target group; and perform a weighted sum of the total expenditure difference, the total penalty difference, and the total efficiency difference corresponding to the target group to obtain the weighted accuracy corresponding to the target group.

[0104] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here in this embodiment.

[0105] In a possible implementation, the threshold determination module 305 is specifically configured to calculate the difference between the actual total expenditure and the simulated total expenditure corresponding to the target group to obtain the total expenditure difference corresponding to the target group; calculate the difference between the actual total penalty and the simulated total penalty corresponding to the target group to obtain the total penalty difference corresponding to the target group; and perform a weighted sum of the total expenditure difference and the total penalty difference corresponding to the target group to obtain the weighted accuracy corresponding to the target group.

[0106] The device provided in this embodiment can be used to implement the technical solutions of the above method embodiments. The implementation principles and technical effects are similar, and will not be elaborated here.

[0107] In a possible implementation, the discharge threshold processing device 300 for vehicles in a charging station further includes: a state control module 307.

[0108] The state control module 307 is configured to optimize the charging and discharging power of each charging pile in the target charging station by using the actual discharge charge threshold and the actual discharge price difference threshold.

[0109] The device provided in this embodiment can be used to implement the technical solutions of the above method embodiments. The implementation principles and technical effects are similar, and will not be elaborated here.

[0110] In a possible implementation, the state control module 307 is specifically configured to obtain the discharge electricity price, the state of charge of the battery of the electric vehicle connected to each charging pile, and the charging and discharging states of each charging pile in real time; if the charging and discharging state of the target charging pile is the vehicle discharging state and the state of charge of the battery of the electric vehicle connected to the target charging pile is less than or equal to the actual discharge charge threshold, then control the target charging pile to stop vehicle discharging; if the charging and discharging state of the target charging pile is the vehicle discharging state and the difference between the discharge electricity price and the preset discharge cost is less than the actual discharge price difference threshold, then control the target charging pile to reduce the vehicle discharging power.

[0111] The device provided in this embodiment can be used to implement the technical solutions of the above method embodiments. The implementation principles and technical effects are similar, and will not be elaborated here.

[0112] To implement the above embodiments, an electronic device is further provided in an embodiment of the present application.

[0113] Refer to Figure 4, which shows a schematic structural diagram of an electronic device 400 suitable for implementing the embodiments of the present application. The electronic device 400 can be a terminal device or a server. Among them, the terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, abbreviated as PDA), tablet computers (Portable Android Device, abbreviated as PAD), portable multimedia players (Portable Media Player, abbreviated as PMP), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present application.

[0114] As Figure 4 shown, the electronic device 400 may include a processor (such as a central processing unit, a graphics processing unit, etc.) 401, and a memory 402 communicatively connected to the processor. It can perform various appropriate actions and processes according to the programs, computer execution instructions stored in the memory 402, or the programs loaded from the storage device 408 into the random access memory (Random Access Memory, abbreviated as RAM) 403, and implement the method for processing the discharge threshold of vehicles in the charging station in any of the above embodiments, where the memory can be a read-only memory (Read Only Memory, abbreviated as ROM). In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the memory 402, and the RAM 403 are connected to each other through a bus 404. The input / output (I / O) interface 405 is also connected to the bus 404.

[0115] Generally, the following devices can be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (Liquid Crystal Display, abbreviated as LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 can allow the electronic device 400 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 4 the electronic device 400 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. Instead, more or fewer devices can be implemented or had.

[0116] In particular, according to an embodiment of the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product that includes a computer program carried on a computer-readable storage medium, and the computer program includes program code for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device 409, or installed from a storage device 408, or installed from a memory 402. When the computer program is executed by a processing device 401, the above-mentioned functions defined in the method of the embodiment of the present application are performed.

[0117] It should be noted that the above-mentioned computer-readable storage medium in the present application can be a computer-readable signal medium, a computer storage medium, or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable storage medium other than the computer-readable storage medium, and the computer-readable signal medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium can be transmitted by any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0118] The above-mentioned computer-readable storage medium can be included in the above-mentioned electronic device; or it can exist separately without being assembled into the electronic device.

[0119] The above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is caused to execute the method shown in the above embodiment.

[0120] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0121] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and this module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutively represented blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0122] The modules described in the embodiments of this application can be implemented in software or in hardware. Among them, the name of the unit does not constitute a limitation on the module itself in some cases. For example, the sequence generation module can also be described as the "electric vehicle entry sequence generation module".

[0123] The functions described above in this article can be performed at least in part by one or more hardware logic components. For example, without limitation, the exemplary types of hardware logic components that can be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and so on.

[0124] The present application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the technical solution of the method for processing the discharge threshold of a vehicle in a charging station in any of the above embodiments. The implementation principle and beneficial effects are similar to those of the method for processing the discharge threshold of a vehicle in a charging station, and reference may be made to the implementation principle and beneficial effects of the method for processing the discharge threshold of a vehicle in a charging station, which will not be elaborated here.

[0125] In the context of the present application, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0126] The present application also provides a computer program product including a computer program, which, when executed by a processor, implements the technical solution of the method for processing the discharge threshold of a vehicle in a charging station in any of the above embodiments. The implementation principle and beneficial effects are similar to those of the method for processing the discharge threshold of a vehicle in a charging station, and reference may be made to the implementation principle and beneficial effects of the method for processing the discharge threshold of a vehicle in a charging station, which will not be elaborated here.

[0127] The above description is only a preferred embodiment of the present application and an explanation of the technical principles applied. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, a technical solution formed by mutually replacing the above features with technical features having similar functions (but not limited to) disclosed in the present application.

[0128] Those of ordinary skill in the art can understand that all or part of the steps to implement the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including those of the above method embodiments; and the aforementioned storage medium includes: various media such as ROM, RAM, magnetic disks, or optical discs that can store program codes.

[0129] Finally, it should be noted that: after considering the specification and practicing the invention disclosed herein, those skilled in the art will readily think of other embodiments of the present invention. The present invention is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed by the present invention. It is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.

Claims

1. A method for processing the discharge threshold of a vehicle in a charging station, characterized in that, Applied to a computer, including: Generating an electric vehicle in-station sequence, where the electric vehicle in-station sequence includes the in-station time, in-station power, and out-station time of at least one electric vehicle; Obtaining N groups of charge-discharge threshold values and discharge price difference threshold values, where N is a positive integer; Inputting the charge-discharge threshold values of the target group, the discharge price difference threshold values of the target group, the electric vehicle in-station sequence, and the charging and discharging prices of each preset time period into a charging station simulation model to obtain the simulated total expenditure and simulated total penalty output by the charging station simulation model; Obtaining the actual total expenditure and actual total penalty of the target charging station within a preset time period; Determining the actual charge-discharge threshold values and actual discharge price difference threshold values from the N groups of charge-discharge threshold values and discharge price difference threshold values according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty; Outputting the actual charge-discharge threshold values and the actual discharge price difference threshold values.

2. The method according to claim 1, wherein The determining the actual charge-discharge threshold values and actual discharge price difference threshold values from the N groups of charge-discharge threshold values and discharge price difference threshold values according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty includes: Determining the weighted accuracy corresponding to the charge-discharge threshold values and discharge price difference threshold values of the target group according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty; Determining the group of charge-discharge threshold values and discharge price difference threshold values with the highest weighted accuracy as the actual charge-discharge threshold values and the actual discharge price difference threshold values.

3. The method according to claim 1, wherein The determining the weighted accuracy corresponding to the charge-discharge threshold values and discharge price difference threshold values of the target group according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty includes: Calculating the actual total efficiency according to the actual total expenditure and the actual total penalty; Calculating the simulated total efficiency corresponding to the target group according to the simulated total expenditure corresponding to the target group and the simulated total penalty corresponding to the target group; Calculating the difference between the actual total expenditure and the simulated total expenditure corresponding to the target group to obtain the total expenditure difference corresponding to the target group; Calculating the difference between the actual total penalty and the simulated total penalty corresponding to the target group to obtain the total penalty difference corresponding to the target group; Calculating the difference between the actual total efficiency and the simulated total efficiency corresponding to the target group to obtain the total efficiency difference corresponding to the target group; Weighted summing the total expenditure difference, the total penalty difference, and the total efficiency difference corresponding to the target group to obtain the weighted accuracy corresponding to the target group.

4. The method according to claim 2, wherein The determining the weighted accuracy corresponding to the charge-discharge threshold values and discharge price difference threshold values of the target group according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty includes: Calculating the difference between the actual total expenditure and the simulated total expenditure corresponding to the target group to obtain the total expenditure difference corresponding to the target group; Calculating the difference between the actual total penalty and the simulated total penalty corresponding to the target group to obtain the total penalty difference corresponding to the target group; Weighted sum the total expenditure difference and the total penalty difference corresponding to the target group to obtain the weighted accuracy corresponding to the target group.

5. The method according to any one of claims 1 to 4, characterized in that, After determining the actual charge-discharge threshold and the actual discharge price difference threshold from N groups of charge-discharge thresholds and discharge price difference thresholds according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty, it further includes: Optimize the charge-discharge power of each charging pile in the target charging station by using the actual charge-discharge threshold and the actual discharge price difference threshold.

6. The method according to claim 5, wherein The optimizing the charge-discharge power of each charging pile in the target charging station by using the actual charge-discharge threshold and the actual discharge price difference threshold includes: Obtain the discharge electricity price, the state of charge of the electric vehicle connected to each charging pile, and the charge-discharge state of each charging pile in real time; If the charge-discharge state of the target charging pile is the vehicle discharging state, and the state of charge of the electric vehicle connected to the target charging pile is less than or equal to the actual charge-discharge threshold, then control the target charging pile to stop vehicle discharging; If the charge-discharge state of the target charging pile is the vehicle discharging state, and the difference between the discharge electricity price and the preset discharge cost is less than the actual discharge price difference threshold, then control the target charging pile to reduce the vehicle discharge power.

7. A device for processing the discharge threshold of a vehicle in a charging station, characterized in that, Applied to a computer, it includes: A sequence generation module for generating an electric vehicle entry sequence, where the electric vehicle entry sequence includes the entry time, the entry power, and the departure time of at least one electric vehicle; A threshold acquisition module for acquiring N groups of charge-discharge thresholds and discharge price difference thresholds, where N is a positive integer; A simulated data acquisition module for inputting the charge-discharge threshold of the target group, the discharge price difference threshold of the target group, the electric vehicle entry sequence, and the charge-discharge prices of each time period preset into a charging station simulation model to obtain the simulated total expenditure and the simulated total penalty output by the charging station simulation model; An actual data acquisition module for acquiring the actual total expenditure and the actual total penalty of the target charging station within a preset time period; A threshold determination module for determining the actual charge-discharge threshold and the actual discharge price difference threshold from N groups of charge-discharge thresholds and discharge price difference thresholds according to the actual total expenditure, the actual total penalty, the simulated total expenditure, and the simulated total penalty; A threshold output module for outputting the actual charge-discharge threshold and the actual discharge price difference threshold.

8. An electronic device, characterized in that, It includes: A memory, a processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory, so that the processor executes the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, Computer execution instructions are stored in the computer-readable storage medium, and when the computer execution instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that, It includes a computer program, and when the computer program is executed by a processor, it implements the method according to any one of claims 1 to 6.