In-station scheduling method, device and equipment of battery swap station and storage medium

By acquiring preset waiting times and decision variables within the battery swapping station, multiple optimization objective functions are established. These functions are then solved using variable constraints and decision variables to formulate a charging and swapping scheduling strategy. This addresses the problem of inflexible battery scheduling within the battery swapping station, achieving more efficient battery management and improved user satisfaction.

CN121328953APending Publication Date: 2026-01-13CONTEMPORARY AMPEREX FUTURE ENERGY RES INST (SHANGHAI) LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410875701.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

The existing battery scheduling schemes for battery swapping stations lack flexibility and accuracy, resulting in longer vehicle waiting times, poor user experience, and insufficient consideration of the battery situation within the swapping stations.

Method used

By acquiring the preset waiting time and decision variables of the power-consuming equipment at the target battery swapping station, multiple optimization objective functions are established. These functions are then solved using variable constraints and decision variables to formulate a charging and swapping scheduling strategy and optimize the charging and swapping behavior of the battery.

Benefits of technology

It improves the accuracy and flexibility of battery scheduling within the battery swapping station, reduces vehicle waiting time, and enhances battery swapping revenue and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121328953A_ABST
    Figure CN121328953A_ABST
Patent Text Reader

Abstract

The invention discloses an in-station scheduling method, device and equipment for a battery swap station and a storage medium, and relates to the technical field of battery swap station scheduling, and the method comprises the steps: obtaining the preset waiting time of electric equipment in a target battery swap station, the decision variable of the target battery swap station, and a plurality of battery swap optimization targets; determining a variable constraint condition of the decision variable of the target battery swap station based on preset waiting time; solving the plurality of battery swap optimization targets through variable constraint conditions and decision variables to obtain a charging and swap scheduling strategy of a power supply battery in the target battery swap station; according to the method, the power supply battery in the target battery swap station is subjected to battery charging and swap scheduling through the battery charging and swap scheduling strategy, the battery charging and swap behaviors of the battery in the target battery swap station are rapidly and accurately scheduled by considering multiple factors, and the accuracy and flexibility of battery scheduling in the battery swap station are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery swapping station dispatching technology, and in particular to battery swapping station in-station dispatching methods, devices, equipment and storage media. Background Technology

[0002] As a new energy service facility, battery swapping stations primarily profit by charging vehicle owners a fee for battery swapping (usually a service fee plus charging electricity). Therefore, how to rationally schedule battery charging and swapping at these stations while ensuring the needs of vehicle battery swapping are met—that is, the issue of charging and swapping scheduling—has gradually become a pressing concern for battery swapping station operators.

[0003] Current battery swapping scheduling mainly focuses on vehicle-to-vehicle swapping, i.e., which swapping station a vehicle should go to for a swap. There is limited research on the charging and swapping scheduling of batteries within the swapping station itself. Most systems assume immediate charging after swapping, which increases vehicle waiting time during periods of high demand. Scheduling is only performed when a vehicle is matched with a swapping station, without considering the battery situation within the station, resulting in inaccurate and inflexible scheduling schemes. Summary of the Invention

[0004] The main objective of this application is to provide a method, apparatus, equipment, and storage medium for scheduling within a battery swapping station, aiming to solve the technical problems of low accuracy and flexibility in battery scheduling within a battery swapping station.

[0005] Firstly, this application proposes an in-station scheduling method for battery swapping stations, which includes:

[0006] Obtain the preset waiting time of the electrical equipment at the target battery swapping station, as well as the decision variables and multiple battery swapping optimization objectives of the target battery swapping station;

[0007] Variable constraints for determining the decision variables of the target battery swapping station based on the preset waiting time;

[0008] By solving multiple battery swapping optimization objectives using variable constraints and decision variables, the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station is obtained.

[0009] The charging and swapping scheduling strategy is used to schedule the charging and swapping of the power supply batteries in the target battery swapping station.

[0010] This embodiment proposes an in-station scheduling method for battery swapping stations. The method includes: acquiring the preset waiting time of the equipment at the target battery swapping station, the decision variables of the target battery swapping station, and multiple battery swapping optimization objectives; determining the variable constraints of the decision variables of the target battery swapping station based on the preset waiting time; solving the multiple battery swapping optimization objectives through the variable constraints and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station; and scheduling the charging and swapping of the power supply batteries within the target battery swapping station using the charging and swapping scheduling strategy. By considering multiple factors, this method can quickly and accurately schedule the charging and swapping behavior of the batteries within the target battery swapping station, improving the accuracy and flexibility of battery scheduling within the battery swapping station.

[0011] In some embodiments, the steps of solving multiple battery swapping optimization objectives through variable constraints and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station include:

[0012] Establish multiple objective functions based on multiple optimization objectives;

[0013] By solving multiple objective functions using variable constraints and decision variables, the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station is obtained.

[0014] In the technical solution of this application embodiment, multiple objective functions are established through multiple optimization objectives, and then multiple objective functions are solved through variable constraints and decision variables. This improves the battery swapping revenue of the battery swapping station while meeting the battery swapping needs of users, and enables precise and flexible scheduling of charging and swapping of the power supply battery.

[0015] In some embodiments, the steps of solving multiple objective functions through variable constraints and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station include:

[0016] Obtain the preset weight coefficients;

[0017] The preset objective function is determined from multiple objective functions by preset weighting coefficients;

[0018] By solving the preset objective function using preset weight coefficients, variable constraints, and decision variables, the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station is obtained.

[0019] In the technical solution of this application embodiment, different optimization objectives are weighted by setting preset weight coefficients to determine the preset objective function. The preset objective function is then solved according to the preset weight coefficients, variable constraints, and decision variables. The charging and swapping scheduling strategy for the power supply battery can accurately schedule each power supply battery in the target swapping station according to the charging and swapping scheduling strategy, thereby improving the scheduling effect.

[0020] In some embodiments, the steps of solving a preset objective function by pre-defined weighting coefficients, variable constraints, and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station include:

[0021] Obtain information on battery swapping costs and charging electricity prices;

[0022] By solving the preset objective function using preset weighting coefficients, battery swapping costs, charging electricity prices, variable constraints, and decision variables, the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station is obtained.

[0023] In the technical solution of this application embodiment, the multi-objective optimization problem is transformed into a single-objective optimization problem by calculating the preset weight coefficients, battery swapping costs, charging electricity prices, variable constraints, and decision variables, thereby improving the battery swapping revenue of the battery swapping station while meeting the battery swapping needs of users.

[0024] In some embodiments, the steps of solving a preset objective function by pre-setting weighting coefficients, battery swapping costs, charging prices, variable constraints, and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station include:

[0025] The user satisfaction objective function in the preset objective function is solved by setting preset weight coefficients, decision variables and variable constraints, so as to obtain the charging and swapping decision results of the power supply battery in the target battery swapping station.

[0026] The battery swapping revenue objective function in the preset objective function is solved by considering the battery swapping cost, charging electricity price, and decision variables, to obtain the charging time and / or charging power of the power supply battery in the target battery swapping station.

[0027] The charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station is obtained by using the charging and swapping decision results, charging time, and / or charging power.

[0028] In the technical solution of this application embodiment, different optimization objectives are weighted by setting preset weight coefficients. The charging and swapping decision results of the power supply battery are solved by preset weight coefficients, decision variables and variable constraints. The battery swapping revenue objective function is solved by swapping cost, charging price and decision variables to obtain the charging strategy of the power supply battery. Thus, each power supply battery in the target battery swapping station can be accurately scheduled according to the charging and swapping decision results and the charging strategy, thereby improving the scheduling effect.

[0029] In some embodiments, the step of determining the variable constraints of the decision variables for the target battery swapping station based on a preset waiting time includes:

[0030] Obtain the arrival power and swapping power of the electrical equipment at the target battery swapping station at the target time, as well as the current battery swapping demand and power supply battery inventory information of the target battery swapping station;

[0031] The decision variables for determining the target battery swapping station are determined based on the arrival power, swapping capacity, preset waiting time, current battery swapping demand, and power supply battery inventory information.

[0032] In the technical solution of this application embodiment, the variable constraints of the target battery swapping station decision variables are determined by obtaining multiple factors, and then multiple battery swapping optimization objectives are solved by variable constraints and decision variables, so as to accurately and flexibly schedule the charging and swapping of the power supply battery.

[0033] In some embodiments, the step of determining the variable constraints of the decision variables for the target battery swapping station based on the arrived power capacity, swapped power capacity, preset waiting time, current battery swapping demand, and power supply battery inventory information includes:

[0034] Based on the preset waiting time, current battery swapping demand, swapping capacity, arrival capacity, decision variables, and power supply battery inventory information, set the charging and discharging behavior constraints of the power supply battery, the swapping capacity constraints of the power supply battery, the cumulative swapping capacity constraints of the power supply battery, and the battery swapping quantity limit.

[0035] The decision variables for the target battery swapping station are determined by constraints on charging and discharging behavior, battery swapping capacity, charging and swapping capacity, cumulative battery swapping capacity, and battery swapping quantity.

[0036] In the technical solution of this application embodiment, by setting constraints on the vehicle during battery swapping and constraints on the power supply battery during battery swapping or charging, the user experience during battery swapping is improved while ensuring the safety of charging and swapping each power supply battery.

[0037] In some embodiments, the step of obtaining the decision variables for the target battery swapping station includes:

[0038] The steps to obtain the decision variables for the target battery swapping station include:

[0039] Set a first variable, a binary variable, and a second variable, namely, the amount of battery swapping and the charging power, for each power supply battery in the target battery swapping station during the corresponding time period;

[0040] The decision variables for the target battery swapping station are obtained through the first variable, the binary variable, and the second variable.

[0041] In the technical solution of this application embodiment, by setting decision variables for the power supply battery in advance, the charging and swapping scheduling of the power supply battery can be carried out accurately and flexibly.

[0042] In some embodiments, the step of scheduling the charging and swapping of power supply batteries within a target battery swapping station using a charging and swapping scheduling strategy includes:

[0043] When the charging and swapping scheduling strategy is to charge the power supply batteries in the target swapping station, obtain the charging time and / or charging power;

[0044] The power supply battery is charged by charging time and / or charging power.

[0045] In the technical solution of this application embodiment, the optimal charging time and charging power of the power supply battery can be obtained through the charging and swapping scheduling strategy, thereby controlling the power supply battery in the target swapping station to charge at the optimal charging time and optimal charging power. Under the premise of considering the swapping demand and electricity price, the service quality of the swapping station is guaranteed, the utilization rate of power resources is improved, and the charging cost is saved.

[0046] In some embodiments, the step of scheduling the charging and swapping of power supply batteries within a target battery swapping station using a charging and swapping scheduling strategy includes:

[0047] When the charging and swapping scheduling strategy is to swap the power supply batteries in the target swapping station, the swapping sequence is obtained.

[0048] The battery swapping sequence is controlled to swap batteries for vehicles within the target battery swapping station.

[0049] In the technical solution of this application embodiment, the vehicle battery swapping sequence can be determined according to the vehicle queuing or arrival situation in the target battery swapping station, thereby controlling the power supply battery to swap the vehicles sequentially based on the battery swapping sequence, meeting the battery swapping needs of each vehicle and improving the battery swapping effect.

[0050] In some embodiments, the method further includes:

[0051] Detect whether a battery swapping request has been received from the target battery swapping station;

[0052] Upon receiving a request to update the battery swapping service, the charging and battery swapping scheduling strategy is updated accordingly.

[0053] In the technical solution of this application embodiment, when a change in the battery swapping demand of the power-consuming equipment is detected, the charging and swapping scheduling strategy of the power supply battery is adjusted in real time to improve the scheduling flexibility.

[0054] Secondly, this application also proposes an in-station dispatching device for battery swapping stations, which includes:

[0055] The acquisition module is used to acquire the preset waiting time of the electrical equipment at the target battery swapping station, as well as the decision variables of the target battery swapping station and multiple battery swapping optimization objectives;

[0056] The determination module is used to determine the variable constraints of the decision variables of the target battery swapping station based on a preset waiting time;

[0057] The acquisition module is also used to solve multiple battery swapping optimization objectives through variable constraints and decision variables, and obtain the charging and swapping scheduling strategy of the power supply battery in the target battery swapping station.

[0058] The scheduling module is used to schedule the charging and swapping of power supply batteries within the target battery swapping station using charging and swapping scheduling strategies.

[0059] Thirdly, this application also proposes an in-station scheduling device for a battery swapping station. The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The computer program is configured to implement the steps of the in-station scheduling method for the battery swapping station as described above.

[0060] Fourthly, embodiments of this application also propose a storage medium, which is a computer-readable storage medium, storing a computer program. When the computer program is executed by a processor, it implements the steps of the battery swapping station scheduling method described above.

[0061] Fifthly, embodiments of this application also propose a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the battery swapping station scheduling method described above. Attached Figure Description

[0062] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0063] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0064] Figure 1 This is a flowchart illustrating an embodiment of the battery swapping station in-station scheduling method proposed in this application.

[0065] Figure 2 This is another flowchart illustrating an embodiment of the battery swapping station in-station scheduling method proposed in this application.

[0066] Figure 3 This is another flowchart illustrating an embodiment of the battery swapping station in-station scheduling method proposed in this application.

[0067] Figure 4 This is a schematic diagram of the charging and swapping scheduling process for the power supply battery in one embodiment of the in-station scheduling method for a battery swapping station proposed in this application.

[0068] Figure 5 This is another flowchart illustrating an embodiment of the battery swapping station in-station scheduling method proposed in this application.

[0069] Figure 6 This is another flowchart illustrating an embodiment of the battery swapping station in-station scheduling method proposed in this application.

[0070] Figure 7 This is a schematic diagram of the overall process of internal scheduling of a battery swapping station in one embodiment of the battery swapping station scheduling method proposed in this application.

[0071] Figure 8 This is a schematic diagram of the battery scheduling process within a battery swapping station in one embodiment of the battery swapping station scheduling method proposed in this application.

[0072] Figure 9 This is a schematic diagram of the module structure of the internal dispatching device of the battery swapping station according to an embodiment of this application;

[0073] Figure 10 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the in-station scheduling method of the battery swapping station in this application embodiment.

[0074] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0075] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0076] To better understand the technical solution of this application, the embodiments of the technical solution of this application will be described in detail below with reference to the accompanying drawings. The following embodiments are only used to illustrate the technical solution of this application more clearly, and are therefore only examples, and cannot be used to limit the protection scope of this application.

[0077] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0078] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0079] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0080] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0081] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple groups" refers to two or more (including two groups), and "multiple pieces" refers to two or more (including two pieces).

[0082] In the description of the embodiments of this application, the technical terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the embodiments of this application and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of this application.

[0083] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0084] With the popularization and promotion of electric vehicles, battery swapping stations, as a fast charging and swapping solution, have received widespread attention. In-station charging and swapping scheduling methods refer to the methods for scheduling and managing battery charging and swapping operations within an electric vehicle battery swapping station. By optimizing scheduling strategies, in-station resources can be utilized more efficiently, improving operational efficiency and service quality, reducing operating costs, and providing electric vehicle users with a better charging and swapping experience. For a single battery swapping station, considering multiple objectives such as economy and user experience, and taking into account various factors including vehicle arrival time, swapping demand, battery inventory, and the availability of swapping equipment over a future period, charging and swapping scheduling is performed for all battery packs within the station.

[0085] Currently, existing battery swapping station scheduling methods mainly focus on vehicle-to-swapping station matching, with less attention paid to battery charging and swapping scheduling within the station. For example, one approach uses minimizing charging costs and average vehicle battery swapping wait times as objective functions, constructing a two-stage robust optimization model. The first stage matches vehicles and batteries, and the second stage outputs a charging plan for the target battery, thus completing the battery charging and swapping scheduling scheme. However, this method primarily focuses on vehicle battery swapping scheduling—specifically, determining which swapping station a vehicle should use—without addressing the charging and swapping scheduling of batteries within the swapping station. Most methods assume immediate charging after swapping, which, when battery swapping demand is high, increases vehicle wait times, leading to a poor user experience.

[0086] To address the aforementioned shortcomings, the inventive concept of this application is as follows: Based on the battery swapping station scenario, with battery swapping revenue as the primary objective, the invention determines the variable constraints of the target battery swapping station's decision variables based on the preset waiting time of the electrical equipment at the target battery swapping station, as well as the decision variables of the target battery swapping station and multiple battery swapping optimization objectives. This allows for the determination of the battery charging and swapping scheduling strategy through the variable constraints and decision variables, thereby scheduling the charging and swapping behavior of batteries within the battery swapping station to maximize the station's revenue. Simultaneously, based on the first-come, first-served principle, the invention reduces vehicle waiting time and improves the vehicle battery swapping experience.

[0087] To achieve this objective, this embodiment first determines the preset waiting time of the power-consuming equipment at the target battery swapping station, as well as the decision variables and multiple battery swapping optimization objectives of the target battery swapping station. Then, based on the preset waiting time, the variable constraints are determined, and the charging and swapping scheduling strategy of the power supply batteries in the corresponding battery swapping station is determined accordingly. The charging and swapping scheduling strategy can be used to charge or swap each power supply battery, thereby improving the scheduling effect of the power supply batteries.

[0088] The executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of performing the above functions, such as a battery swapping station in-station dispatching device. The following description uses a battery swapping station in-station dispatching device as an example to illustrate this embodiment and the subsequent embodiments.

[0089] In this embodiment, for ease of description, the following description will focus on the scheduling equipment within the battery swapping station.

[0090] In some embodiments of this application, reference is made to Figure 1 This invention proposes an in-station scheduling method for battery swapping stations, which may include:

[0091] Step S10: Obtain the preset waiting time of the power-consuming equipment at the target battery swapping station, as well as the decision variables of the target battery swapping station and multiple battery swapping optimization objectives.

[0092] It should be noted that the electrical equipment refers to the equipment that needs to have its battery swapped at the target battery swapping station, such as electric vehicles (electric cars, electric bicycles), heavy trucks, and different types of power banks. The target battery swapping station is the station where the electrical equipment will go for battery swapping. If there are multiple electrical equipment, the target battery swapping stations for each device may be the same or different due to the different power consumption habits and power consumption of each device. Therefore, there can be multiple target battery swapping stations.

[0093] The preset waiting time is the maximum queuing time for the electrical equipment. Considering that there are many electrical equipment queuing in the battery swapping station, the battery swapping equipment can be set to have a certain waiting or queuing time. That is, the demand at time l can be met within the preset waiting time.

[0094] It should be noted that in order to accurately and flexibly schedule the charging and swapping of the power supply battery, it is necessary to decide whether the power supply battery should be charged or swapped, at what power to charge, and which electrical device to swap the battery with. Therefore, the decision variables of the target battery swapping station can be set in advance.

[0095] In practice, the primary goal can be the revenue from battery swapping in the next day, with user satisfaction as a secondary goal. Other optimization goals can also be set to obtain multiple optimization goals for battery swapping.

[0096] Electrical equipment is equipped with multiple batteries. For example, if a vehicle that needs electricity is traveling to a distant destination, it needs to swap batteries along the way. To improve the battery swapping efficiency, the charging and swapping schedule of the power supply batteries in the target battery swapping station can be arranged in advance, thereby avoiding the situation where the vehicle cannot swap batteries in time when it arrives at the battery swapping station in the future.

[0097] Step S20: Determine the variable constraints of the decision variables for the target battery swapping station based on the preset waiting time.

[0098] In practical implementation, the decision variables of the target battery swapping station can be determined based on a preset waiting time and other parameters. For example, the constraints of the decision variables of the target battery swapping station can be determined based on the preset waiting time and the predicted battery swapping demand of the equipment at the target battery swapping station in the future time period or the current battery swapping demand of the target battery swapping station. There can be multiple variable constraints, and the variable constraints will vary depending on the scenario.

[0099] Step S30: Solve multiple battery swapping optimization objectives by using variable constraints and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries in the target battery swapping station.

[0100] In practical implementation, the charging and swapping scheduling strategy of the power supply batteries in the target battery swapping station can be determined by variable constraints and decision variables. Specifically, the charging and swapping scheduling strategy of the power supply batteries in the target battery swapping station can be obtained by solving each battery swapping optimization objective among multiple battery swapping optimization objectives through variable constraints and decision variables.

[0101] The power supply battery is the battery used to swap the power of the electrical equipment in the target battery swapping station. The power supply battery can be a battery pack or a separate battery block, which can be selected according to the specific battery swapping needs.

[0102] The charging and swapping scheduling strategy refers to the strategy for scheduling the charging and swapping of the power supply batteries. This strategy may include using a portion of the power supply batteries for battery swapping (i.e., using the power supply batteries to swap the vehicle's battery) or using a portion of the power supply batteries for charging. These power supply batteries can be empty batteries removed from electrical equipment or batteries whose charge is insufficient to meet the user's battery swapping requirements. The strategy may also include using all power supply batteries to swap the electrical equipment or using all batteries to charge at charging equipment.

[0103] It should be noted that the specific charging and battery swapping scheduling strategy can be flexibly adjusted according to the demand of the electrical equipment in the target battery swapping station and the predicted battery swapping demand of the electrical equipment.

[0104] Step S40: Perform charging and swapping scheduling for the power supply batteries within the target battery swapping station using a charging and swapping scheduling strategy.

[0105] It should be noted that charging and swapping scheduling strategies can be used to schedule the charging and swapping of batteries within the target battery swapping station. For example, if the target battery swapping station contains 20 empty batteries and 100 fully charged batteries, and the vehicle's battery swapping demand at the station is 30 batteries, while the predicted battery swapping demand for the equipment is 90 batteries, then the charging and swapping scheduling strategy can be as follows: 30 fully charged batteries will be used to swap batteries for the equipment within the target battery swapping station; 70 fully charged batteries will be used to swap batteries for the equipment upon its arrival at the target battery swapping station; and the 20 empty batteries will be charged at a preset time and power using charging equipment, so that they can be used for battery swapping upon the arrival of the equipment at the target battery swapping station.

[0106] This embodiment proposes an in-station scheduling method for battery swapping stations. The method includes: acquiring the preset waiting time of the equipment at the target battery swapping station, the decision variables of the target battery swapping station, and multiple battery swapping optimization objectives; determining the variable constraints of the decision variables of the target battery swapping station based on the preset waiting time; solving the multiple battery swapping optimization objectives through the variable constraints and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station; and scheduling the charging and swapping of the power supply batteries within the target battery swapping station using the charging and swapping scheduling strategy. By considering multiple factors, this method can quickly and accurately schedule the charging and swapping behavior of the batteries within the target battery swapping station, improving the accuracy and flexibility of battery scheduling within the battery swapping station.

[0107] In some embodiments, when determining the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station, different optimization objectives also need to be considered. Therefore, referring to Figure 2 Step S30 may include:

[0108] Step S301: Establish multiple objective functions based on multiple optimization objectives.

[0109] It should be noted that different objective functions can be established based on different optimization objectives. For example, optimization objectives may include the revenue from battery swapping in the next day, user satisfaction, minimizing battery swapping costs, etc., and corresponding objective functions can be established based on specific optimization objectives.

[0110] Step S302: Solve multiple objective functions through variable constraints and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries in the target battery swapping station.

[0111] It is understandable that the variable constraints include constraints on the charging and swapping behavior of the power supply battery, constraints on the swapping capacity of the power supply battery, constraints on the chargeable and swappable capacity of the power supply battery, constraints on the cumulative discharge of the power supply battery, and constraints on the number of power supply batteries discharged. Therefore, the charging and swapping scheduling strategy of the power supply battery can be obtained by solving the various objective functions in the multiple objective functions through the variable constraints and decision variables.

[0112] In the technical solution of this application embodiment, multiple objective functions are established through multiple optimization objectives, and then multiple objective functions are solved through variable constraints and decision variables. This improves the battery swapping revenue of the battery swapping station while meeting the battery swapping needs of users, and enables precise and flexible scheduling of charging and swapping of the power supply battery.

[0113] In some embodiments, the steps of solving multiple objective functions through variable constraints and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station include:

[0114] Step A10: Obtain the preset weight coefficients.

[0115] It should be noted that the preset weighting coefficient can be set according to requirements, such as 0.8, 0.6, etc., and this embodiment does not limit it.

[0116] Step A20: Determine the preset objective function from multiple objective functions by using preset weighting coefficients.

[0117] It is understandable that a preset objective function can be determined from multiple objective functions through weighting coefficients. The preset objective function may include the battery swapping revenue objective function, the user satisfaction objective function, and other objective functions, such as the queuing time objective function and the battery swapping waiting time objective function.

[0118] Step A30: Solve the preset objective function by setting preset weight coefficients, variable constraints, and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries in the target battery swapping station.

[0119] In practice, one or more of the preset objective functions can be solved by presetting weight coefficients, variable constraints, and decision variables. By assigning different weights, the problem can be transformed into a single-objective optimization problem, which is easier to solve, thereby obtaining the charging and swapping scheduling strategy for the power supply batteries in the target battery swapping station.

[0120] Further, step A30 may include: obtaining the battery swapping cost and the charging price; solving the preset objective function by using preset weighting coefficients, battery swapping cost, charging price, variable constraints and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries in the target battery swapping station.

[0121] The cost of battery swapping can be calculated based on the demand for swapping and the price per kilowatt-hour. The charging price can be calculated based on the grid electricity price p during the i-th time period. i Charging power c k,i And the decision frequency Δ is calculated.

[0122] In practical implementation, one or more objective functions can be solved by pre-setting weighting coefficients, battery swapping costs, charging prices, variable constraints, and decision variables to obtain the charging and swapping scheduling strategy for the power supply battery. By calculating using pre-set weighting coefficients, battery swapping costs, charging prices, variable constraints, and decision variables, the multi-objective optimization problem is transformed into a single-objective optimization problem, thereby improving the battery swapping revenue of battery swapping stations while meeting users' battery swapping needs.

[0123] In one feasible approach, the steps to obtain the charging and swapping scheduling strategy for the target battery swapping station's power supply batteries include: solving a preset objective function by pre-setting weighting coefficients, battery swapping costs, charging prices, variable constraints, and decision variables.

[0124] The user satisfaction objective function in the preset objective function is solved by pre-setting weighting coefficients, decision variables, and variable constraints to obtain the charging and swapping decision results of the power supply batteries in the target battery swapping station; the battery swapping revenue objective function in the preset objective function is solved by swapping costs, charging prices, and decision variables to obtain the charging time and / or charging power of the power supply batteries in the target battery swapping station; and the charging and swapping scheduling strategy of the power supply batteries in the target battery swapping station is obtained based on the charging and swapping decision results, charging time, and / or charging power.

[0125] It should be noted that user satisfaction in the preset battery swapping optimization objective can be solved by presetting weight coefficients, decision variables, and variable constraints, thereby obtaining the charging and swapping decision results of the power supply battery.

[0126] The charging / swapping decision for the power supply battery includes charging or swapping the power supply battery.

[0127] In practical implementation, the process of solving the user satisfaction objective function in the preset battery swapping optimization objective by setting weight coefficients, decision variables, and variable constraints is as follows: Equation 1:

[0128]

[0129] In Equation 1 above, α is a preset weighting coefficient.

[0130] The process of solving the objective function of battery swapping revenue in the preset battery swapping optimization objective by considering battery swapping costs, charging prices, and the amount of battery swapping in the decision variables is as follows: Equation 2:

[0131]

[0132] In Equation 2 above, sellprice is the battery swapping cost, and DC is the current cost. k,i To exchange for power, Δ*c k,i *p i The electricity price for charging.

[0133] By setting preset weight coefficients, different optimization objectives are weighted and assigned. Then, the charging and swapping decision results of the power supply battery are solved by preset weight coefficients, decision variables, and variable constraints. The battery swapping revenue objective function is solved by swapping cost, charging price, and decision variables, thereby obtaining the charging strategy of the power supply battery. Based on the charging and swapping decision results and charging strategy, each power supply battery in the target battery swapping station can be accurately scheduled, improving the scheduling effect.

[0134] In the technical solution of this application embodiment, different optimization objectives are weighted by setting preset weight coefficients to determine the preset objective function. The preset objective function is then solved according to the preset weight coefficients, variable constraints, and decision variables. The charging and swapping scheduling strategy for the power supply battery can accurately schedule each power supply battery in the target swapping station according to the charging and swapping scheduling strategy, thereby improving the scheduling effect.

[0135] In some embodiments, when determining the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station, it is also necessary to consider the battery swapping demand of the equipment, the battery swapping demand within the target battery swapping station, and battery inventory information. Therefore, referring to Figure 3 Step S20 may include:

[0136] Step S201: Obtain the arrival power and swapping power of the power-consuming equipment at the target battery swapping station at the target time, as well as the current battery swapping demand and power supply battery inventory information of the target battery swapping station.

[0137] It should be noted that the target time is a future time, and the power level of the equipment when it arrives at the target battery swapping station at the target time is the remaining power of the equipment. The swapping capacity is the battery power that the equipment needs to swap.

[0138] Since the number of battery swaps and the demand vary at different times, precise charging and swapping scheduling is required. Each device reaches a different State of Charge (SOC). The power supply battery for swapping is generally at 95% or fully charged. However, it can also be based on the specific SOC requirement specified by the device. This embodiment does not impose any restrictions on this, and this embodiment uses 95% as an example for explanation.

[0139] The current battery swapping demand of the target battery swapping station is the battery swapping demand within the target battery swapping station at the current moment. The current battery swapping demand is the number of batteries that can be swapped by the battery swapping equipment within the battery swapping station. The power supply battery inventory information is the number of fully charged batteries within the target battery swapping station.

[0140] Step S202: Determine the variable constraints of the decision variables for the target battery swapping station based on the arrived power volume, swapped power volume, preset waiting time, current battery swapping demand, and power supply battery inventory information.

[0141] In practice, when formulating charging and swapping scheduling strategies for power supply batteries, it is also necessary to consider the current swapping demand and power supply battery inventory information at the target swapping station at the current moment, so as to make more accurate charging and swapping decisions for power supply batteries.

[0142] In practical implementation, the above parameters can be used to model the charging and swapping scheduling of the power supply battery in advance, thereby establishing a charging and swapping scheduling model. This allows for the direct output of the optimal charging and swapping scheduling strategy during power supply battery scheduling, such as... Figure 4 As shown, Figure 4 This is a flowchart illustrating the charging and swapping scheduling process for power supply batteries. It obtains vehicle demand for various time periods in the future, including arrival time, arrival SOC, specific swapping capacity (i.e., target SOC), and waiting time. The charging and swapping scheduling model is used to schedule the charging and swapping of batteries at the target swapping station for each time period, thereby obtaining the charging and swapping behavior of batteries at the target swapping station for each time period: whether charging is performed, charging power, charging time, whether swapping is performed, and which vehicle is swapped.

[0143] It should be noted that, assuming there are N power supply batteries, a decision frequency of Δ, and a decision length of L, the power supply batteries can be flexibly charged, meaning they are charged at a constant power within each decision period, but the power can be adjusted at different times. Battery swapping can be considered as discharging the same battery. The State of Charge (SOC) reaching the device at all times is expressed as Equation 3:

[0144] S={s lj ,l=1,...,L,j=1,...,n l (Equation 3)

[0145] In equation 3 above, n l This represents the number of swapping devices arriving in time period l. Similarly, the specific swapping volume of devices arriving at all times is expressed in the following formula 4:

[0146] D={d lj ,l=1,...,L,j=1,...,n l (Equation 4)

[0147] The waiting time can be constrained by setting additional parameters such as the number of rounds of waiting. Therefore, the user's preset waiting time is at most wait×Δ. The user can specify a specific waiting time, such as setting the preset waiting time to a fixed duration, such as 20 minutes.

[0148] In the technical solution of this application embodiment, the variable constraints of the target battery swapping station decision variables are determined by obtaining multiple factors, and then multiple battery swapping optimization objectives are solved by variable constraints and decision variables, so as to accurately and flexibly schedule the charging and swapping of the power supply battery.

[0149] In some embodiments, step S202 includes:

[0150] Step B10: Set the charging and discharging behavior constraints of the power supply battery, the power supply battery power exchange capacity constraints, the power supply battery charge and exchange capacity constraints, the power supply battery cumulative power exchange capacity constraints, and the battery exchange quantity limit based on the preset waiting time, current battery exchange demand, power exchange capacity, arrival capacity, decision variables, and power supply battery inventory information.

[0151] It should be noted that the charging and discharging behavior constraints of the power supply battery, the power supply battery power exchange capacity constraints, the power supply battery charge and exchange capacity constraints, the power supply battery cumulative power exchange capacity constraints, and the battery exchange quantity limits can be set by setting one or more of the following: preset waiting time, current battery exchange demand, power exchange capacity, arrival capacity, decision variables, and power supply battery inventory information.

[0152] It should be noted that the charging and discharging behavior constraints are restrictions on the charging and swapping behavior of the power supply battery. These constraints can be set by preset waiting time and current battery swapping needs. The charging and discharging behavior constraints are expressed as follows:

[0153] Each power supply battery can only be replaced once per time period, as shown in Formula 5 below:

[0154]

[0155] Each battery swapping request can only have one power supply battery swapped, as shown in equation 6 below:

[0156]

[0157] When the battery is swapped at any time, it cannot be charged, that is, the charging power is 0, as shown in Equation 7 below:

[0158]

[0159] In equation 7 above, This refers to the charging power.

[0160] It is understandable that the battery swapping capacity constraint can be set through the swapping capacity and decision variables, as shown in Equation 8 below:

[0161]

[0162] In equation 8 above, dc k,i Let d be the amount of charge exchanged by the k-th battery at time i. l,j This represents the l-th and j-th battery swapping needs.

[0163] The charging / swapping capacity constraint of the power supply battery can be set by the reached power level and decision variables, as shown below.

[0164] Formula 9:

[0165]

[0166] In Equation 9 above, cap is the capacity of the power supply battery, the initial soc is socinit, the upper limits of soc charging and swapping are soc1 and soc2 respectively, and the decision is that when swapping batteries, the capacity of the power supply battery must be greater than the capacity of the battery of the device being used.

[0167] In practical implementation, the cumulative battery swapping capacity constraint can be set according to the current battery swapping demand and swapping capacity, as shown in Equation 10 below:

[0168]

[0169] The number of batteries that can be swapped can be limited based on the battery inventory information. Due to the limitations of the swapping equipment, only a maximum of a certain number of batteries can be discharged each time period, such as 15 or 20, as shown in the following formula 11:

[0170]

[0171] In Equation 11 above, servenum is the threshold for the number of battery swaps.

[0172] Step B11: Determine the variable constraints of the decision variables for the target battery swapping station by considering the constraints on charging and discharging behavior, the battery swapping capacity, the cumulative battery swapping capacity, and the battery swapping quantity limit.

[0173] In practical implementation, at least one of the following can be used to determine the decision variables of the target battery swapping station: charging and discharging behavior constraints, battery swapping capacity constraints, charging and swapping capacity constraints, cumulative battery swapping capacity constraints, and battery swapping quantity limits. For example, all of these can be used as decision variables, thereby generating the charging and swapping behavior of the battery more accurately, improving the charging and swapping scheduling effect of the battery, and enabling precise matching between the battery and the vehicle.

[0174] In the technical solution of this application embodiment, by setting constraints on the vehicle during battery swapping and constraints on the power supply battery during battery swapping or charging, the user experience during battery swapping is improved while ensuring the safety of charging and swapping each power supply battery.

[0175] In some embodiments, the step of obtaining the decision variables for the target battery swapping station may include:

[0176] Set a first variable, a binary variable, and a second variable, namely, the amount of battery swapping and the charging power, for each power supply battery in the target battery swapping station during the corresponding time period;

[0177] The decision variables for the target battery swapping station are obtained through the first variable, the binary variable, and the second variable.

[0178] It should be noted that a first variable can be set for each power supply battery in the target battery swapping station to determine whether it meets the battery swapping needs of the equipment in the corresponding time period. That is, the decision of whether the k-th battery meets the battery swapping needs of the l and j-th time period is made in the i-th time period. i,j The binary variable is I k,i,l,j Where 1 represents battery swapping and 0 represents no battery swapping (i.e., charging). The swapping amount and the second variable from point kilometer are the swapping amount dc of the k-th battery at time i. k,i Charging power c k,i .

[0179] In practice, the first variable, the binary variable, and the second variable can be used as the decision-making power of the battery in the target battery swapping station.

[0180] In the technical solution of this application embodiment, by setting decision variables for the power supply battery in advance, the charging and swapping scheduling of the power supply battery can be carried out accurately and flexibly.

[0181] In some embodiments, the scheduling of the power supply battery differs for different charging and swapping behaviors, referring to... Figure 5 Step S40 may include:

[0182] Step S401: When the charging and swapping scheduling strategy is to charge the power supply batteries in the target swapping station, obtain the charging time and / or charging power.

[0183] It should be noted that if the charging and swapping scheduling strategy is to charge part or all of the power supply batteries, the charging and swapping scheduling strategy generates the optimal charging time and / or the optimal charging power in advance. Therefore, the charging time and / or charging power can be obtained.

[0184] Step S402: Charge the power supply battery by charging time and / or charging power.

[0185] In practice, the power supply battery can be charged by charging time and / or charging power. For example, the power supply battery can be charged at the optimal charging time, or charged at the charging power. It can also be charged at the charging time and charging power, so as to charge the power supply battery that needs to be charged in a timely manner and maximize the benefits of the battery swapping station.

[0186] In the technical solution of this application embodiment, the optimal charging time and charging power of the power supply battery can be obtained through the charging and swapping scheduling strategy, thereby controlling the power supply battery in the target swapping station to charge at the optimal charging time and optimal charging power. Under the premise of considering the swapping demand and electricity price, the service quality of the swapping station is guaranteed, the utilization rate of power resources is improved, and the charging cost is saved.

[0187] In some embodiments, the scheduling of the power supply battery differs for different charging and swapping behaviors, as referenced. Figure 6 Step S40 may include:

[0188] Step S401': When the charging and swapping scheduling strategy is to swap the power supply batteries in the target swapping station, obtain the swapping sequence.

[0189] It is understandable that if the charging and swapping scheduling strategy involves swapping some or all of the power supply batteries, the swapping sequence can be obtained. That is, the swapping time scheduled for each power supply battery can be obtained based on the arrival time of the swapping vehicle that matches the power supply battery.

[0190] Step S402': The battery is swapped for the vehicles in the target battery swapping station by controlling the battery swapping sequence.

[0191] In practice, the battery swapping sequence can be controlled to swap batteries sequentially for vehicles arriving at the target battery swapping station.

[0192] In some embodiments, after arranging the charging and swapping scheduling strategy for each power supply battery, it is also necessary to detect in real time whether the battery swapping demand needs to be updated. For example, if a vehicle with a reservation cancels its battery swapping plan temporarily, or if there is a deviation in the demand forecast that needs to be adjusted in a timely manner, the on-site scheduling method of the battery swapping station also includes:

[0193] Detect whether a battery swapping request has been received from the target battery swapping station;

[0194] Upon receiving a request to update the battery swapping service, the charging and battery swapping scheduling strategy is updated accordingly.

[0195] It should be noted that the system can detect whether a battery swapping request has been received from the target battery swapping station. For example, if a vehicle cancels its scheduled battery swapping or there is a discrepancy in the prediction of the vehicle's battery swapping demand, the user may update their battery swapping request.

[0196] When a battery swapping request is received, the charging and swapping scheduling strategy needs to be updated based on the updated request. Specifically, this can be done by updating the battery swapping needs of the electrical equipment in the future time period, thereby updating the charging and swapping scheduling strategy and improving the real-time performance of the scheduling.

[0197] By adjusting the charging and swapping scheduling strategy of the power supply battery in real time when changes in the battery swapping demand of the power-consuming equipment are detected, the scheduling flexibility is improved.

[0198] like Figure 7 As shown, Figure 7 This is a schematic diagram of the overall process of the battery swapping station's in-station scheduling method. At the current time T, the vehicle demand for each time period in the future T+N is obtained. Based on the demand of the electrical equipment, the charging and swapping scheduling model is executed to generate the charging and swapping scheduling strategy for the power supply batteries in the target battery swapping station. The charging and swapping scheduling strategy is then distributed. At the future time T+1, the scheduling results for the next time period are executed. Batteries that need charging are charged at a specific power, and the arriving electrical equipment is swapped with the designated batteries. It is then determined whether to update the swapping demand between T+1 and T+N. If an update is needed, the process returns to the step of obtaining the electrical equipment's swapping demand, updates the electrical equipment's swapping demand, and adjusts the charging and swapping scheduling strategy for the power supply batteries in a timely manner.

[0199] like Figure 8 As shown, Figure 8 This diagram illustrates the battery scheduling process within a battery swapping station. The station includes a waiting-to-charge battery bay and a fully charged battery bay. Equipment swaps batteries in the fully charged battery bay, removing empty batteries and transferring fully charged batteries into the vehicle. The current battery swapping demand within the station can be determined based on the number of vehicles in the queue. According to the charging and swapping scheduling strategy, empty batteries removed by the equipment are placed in the waiting-to-charge battery bay and transported to the charging facility for charging. Batteries scheduled to charge equipment arriving at a later time can remain in the fully charged battery bay until the equipment arrives for swapping.

[0200] In the technical solution of this application embodiment, the battery swapping sequence of the electrical equipment can be determined according to the queuing or arrival status of the electrical equipment in the target battery swapping station. Based on the battery swapping sequence, the power supply battery is controlled to swap the electrical equipment sequentially, so as to meet the battery swapping needs of each electrical equipment and improve the battery swapping effect.

[0201] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the in-station scheduling method of the battery swapping station in this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0202] This application also provides an in-station dispatching device for battery swapping stations; please refer to [reference needed]. Figure 9 The on-site dispatching device of the battery swapping station includes:

[0203] The acquisition module 10 is used to acquire the preset waiting time of the power-consuming equipment at the target battery swapping station, as well as the decision variables of the target battery swapping station and multiple battery swapping optimization objectives.

[0204] The determination module 20 is used to determine the variable constraints of the decision variables of the target battery swapping station based on the preset waiting time.

[0205] The acquisition module 10 is also used to solve multiple battery swapping optimization objectives through variable constraints and decision variables, so as to obtain the charging and swapping scheduling strategy of the power supply battery in the target battery swapping station.

[0206] The scheduling module 30 is used to schedule the charging and swapping of power supply batteries in the target battery swapping station through a charging and swapping scheduling strategy.

[0207] The battery swapping station in-station dispatching device provided in this application, employing the battery swapping station in-station dispatching method in the above embodiments, can solve the technical problems of low accuracy and flexibility in battery dispatching within battery swapping stations. Compared with the prior art, the beneficial effects of the battery swapping station in-station dispatching device provided in this application are the same as those of the battery swapping station in-station dispatching method provided in the above embodiments, and other technical features in the battery swapping station in-station dispatching device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0208] In one embodiment, the acquisition module 10 is further configured to establish multiple objective functions based on multiple optimization objectives; and to solve the multiple objective functions through variable constraints and decision variables to obtain the charging and swapping scheduling strategy of the power supply battery in the target battery swapping station.

[0209] In one embodiment, the acquisition module 10 is further configured to acquire preset weight coefficients; determine a preset objective function from multiple objective functions using the preset weight coefficients; and solve the preset objective function using the preset weight coefficients, variable constraints, and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries within the target battery swapping station.

[0210] In one embodiment, the acquisition module 10 is further used to acquire the battery swapping cost and the charging price; and to solve the preset objective function by using preset weighting coefficients, battery swapping cost, charging price, variable constraints and decision variables to obtain the charging and swapping scheduling strategy of the power supply battery in the target battery swapping station.

[0211] In one embodiment, the acquisition module 10 is further configured to solve the user satisfaction objective function in the preset objective function through preset weight coefficients, decision variables, and variable constraints to obtain the charging and swapping decision results of the power supply battery in the target battery swapping station; solve the battery swapping revenue objective function in the preset objective function through battery swapping costs, charging prices, and decision variables to obtain the charging time and / or charging power of the power supply battery in the target battery swapping station; and obtain the charging and swapping scheduling strategy of the power supply battery in the target battery swapping station through the charging and swapping decision results, charging time, and / or charging power.

[0212] In one embodiment, the determining module 20 is further configured to acquire the arrival power and swapping power of the power-consuming equipment at the target swapping station at the target time, as well as the current swapping demand and power supply battery inventory information of the target swapping station; and to determine the variable constraints of the decision variables of the target swapping station based on the arrival power, swapping power, preset waiting time, current swapping demand and power supply battery inventory information.

[0213] In one embodiment, the determining module 20 is further configured to set charging and discharging behavior constraints, battery swapping capacity constraints, charging and swapping capacity constraints, cumulative battery swapping capacity constraints, and battery swapping quantity limits for the power supply battery based on the preset waiting time, current battery swapping demand, swapping capacity, arrival capacity, decision variables, and power supply battery inventory information; and to determine the variable constraints of the decision variables for the target battery swapping station through the charging and discharging behavior constraints, battery swapping capacity constraints, charging and swapping capacity constraints, cumulative battery swapping capacity constraints, and battery swapping quantity limits.

[0214] In one embodiment, the acquisition module 10 is further configured to set a first variable, a binary variable, and a second variable, namely, whether each power supply battery in the target battery swapping station meets the vehicle battery swapping requirements during the corresponding time period; and to obtain the decision variables of the target battery swapping station through the first variable, the binary variable, and the second variable.

[0215] In one embodiment, the scheduling module 30 is further configured to acquire the charging time and / or charging power when the charging and swapping scheduling strategy is to charge the power supply battery in the target swapping station; and to charge the power supply battery using the charging time and / or charging power.

[0216] In one embodiment, the scheduling module 30 is further configured to acquire the battery swapping sequence when the charging and swapping scheduling strategy is to swap the power supply batteries in the target battery swapping station; and to control the power supply batteries to swap the batteries in the target battery swapping station through the battery swapping sequence.

[0217] In one embodiment, the scheduling module 30 is further configured to detect whether a battery swapping request for the power-consuming equipment at the target battery swapping station is received; when a battery swapping request is received, the charging and battery swapping scheduling strategy is updated based on the battery swapping request.

[0218] Furthermore, this application provides a battery swapping station in-station scheduling device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the battery swapping station in-station scheduling method in Embodiment 1 above.

[0219] The following is for reference. Figure 10The diagram illustrates a structural schematic suitable for implementing the in-station dispatching equipment of the battery swapping station in the embodiments of this application. The in-station dispatching equipment of the battery swapping station in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), vehicle terminals (such as vehicle navigation terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. Figure 10 The on-site dispatching equipment of the battery swapping station shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0220] like Figure 10 As shown, the in-station dispatching equipment of the battery swapping station may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage device 1003 into the random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the in-station dispatching equipment. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the swapping station's in-station dispatching equipment to exchange data wirelessly or via wired communication with other devices. Although the figure shows swapping station in-station dispatching equipment with various systems, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems can be implemented alternatively.

[0221] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0222] The battery swapping station in-station dispatching equipment provided in this application, employing the battery swapping station in-station dispatching method in the above embodiments, can solve the technical problems of low accuracy and flexibility in battery dispatching within battery swapping stations. Compared with the prior art, the beneficial effects of the battery swapping station in-station dispatching equipment provided in this application are the same as the beneficial effects of the battery swapping station in-station dispatching method provided in the above embodiments, and other technical features in the battery swapping station in-station dispatching equipment are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0223] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0224] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

[0225] In addition, this application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the battery swapping station scheduling method in the above embodiments.

[0226] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0227] The aforementioned computer-readable storage medium may be included in the dispatching equipment within the battery swapping station; or it may exist independently and not be assembled into the dispatching equipment within the battery swapping station.

[0228] The aforementioned computer-readable storage medium carries one or more programs. When these programs are executed by the in-station scheduling equipment of the battery swapping station, the in-station scheduling equipment performs the following actions: acquires the preset waiting time of the power-consuming equipment at the target battery swapping station, as well as the decision variables and multiple battery swapping optimization objectives of the target battery swapping station; determines the variable constraints of the decision variables of the target battery swapping station based on the preset waiting time; solves the multiple battery swapping optimization objectives through the variable constraints and decision variables to obtain the charging and swapping scheduling strategy for the power supply batteries in the target battery swapping station; and performs charging and swapping scheduling for the power supply batteries in the target battery swapping station through the charging and swapping scheduling strategy.

[0229] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and 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, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0230] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0231] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0232] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., computer programs) for executing the above-described battery swapping station in-station scheduling method, which can solve the technical problem of low accuracy and flexibility in battery scheduling within the battery swapping station. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the battery swapping station in-station scheduling method provided in the above embodiments, and will not be repeated here.

[0233] In addition, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method for scheduling within a battery swapping station.

[0234] The computer program product provided in this application can solve the technical problem of low accuracy and flexibility in battery scheduling within battery swapping stations. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the battery swapping station scheduling method provided in the above embodiments, and will not be repeated here.

[0235] The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for in-station scheduling of a battery swap station, characterized in that, The method for scheduling in the battery swap station comprises the following steps: acquiring a preset waiting time of the power consumption equipment in the target battery swap station, and a decision variable and a plurality of battery swap optimization objectives of the target battery swap station; determining a variable constraint condition of the decision variable of the target battery swap station based on the preset waiting time; solving the plurality of battery swap optimization objectives through the variable constraint condition and the decision variable to obtain a charging and battery swap scheduling strategy of the power supply battery in the target battery swap station; scheduling the power supply battery in the target battery swap station through the charging and battery swap scheduling strategy.

2. The method of claim 1, wherein, The step of solving the plurality of battery swap optimization objectives through the variable constraint condition and the decision variable to obtain the charging and battery swap scheduling strategy of the power supply battery in the target battery swap station comprises the following steps: establishing a plurality of objective functions according to the plurality of optimization objectives; solving the plurality of objective functions through the variable constraint condition and the decision variable to obtain the charging and battery swap scheduling strategy of the power supply battery in the target battery swap station.

3. The method of claim 2, wherein, The step of solving the plurality of objective functions through the variable constraint condition and the decision variable to obtain the charging and battery swap scheduling strategy of the power supply battery in the target battery swap station comprises the following steps: acquiring a preset weight coefficient; determining a preset objective function from the plurality of objective functions through the preset weight coefficient; solving the preset objective function through the preset weight coefficient, the variable constraint condition and the decision variable to obtain the charging and battery swap scheduling strategy of the power supply battery in the target battery swap station.

4. The method of claim 3, wherein, The step of solving the preset objective function through the preset weight coefficient, the variable constraint condition and the decision variable to obtain the charging and battery swap scheduling strategy of the power supply battery in the target battery swap station comprises the following steps: acquiring a battery swap cost and a charging price; solving the preset objective function through the preset weight coefficient, the battery swap cost, the charging price, the variable constraint condition and the decision variable to obtain the charging and battery swap scheduling strategy of the power supply battery in the target battery swap station.

5. The method of claim 4, wherein, The step of solving the preset objective function through the preset weight coefficient, the battery swap cost, the charging price, the variable constraint condition and the decision variable to obtain the charging and battery swap scheduling strategy of the power supply battery in the target battery swap station comprises the following steps: solving a user satisfaction objective function in the preset objective function through the preset weight coefficient, the decision variable and the variable constraint condition to obtain a charging and battery swap decision result of the power supply battery in the target battery swap station; solving a battery swap income objective function in the preset objective function through the battery swap cost, the charging price and the decision variable to obtain a charging time and / or a charging power of the power supply battery in the target battery swap station; obtaining the charging and battery swap scheduling strategy of the power supply battery in the target battery swap station through the charging and battery swap decision result, the charging time and / or the charging power.

6. The method of claim 1, wherein, The step of determining the variable constraint condition of the decision variable of the target battery swap station based on the preset waiting time comprises the following steps: acquire arrival power and battery swap power of the power consuming device arriving at the target battery swap station at a target time, and current battery swap demand and power supply battery inventory information of the target battery swap station; determine variable constraint conditions of the decision variable of the target battery swap station according to the arrival power, the battery swap power, the preset waiting time, the current battery swap demand, and the power supply battery inventory information.

7. The method of claim 6, wherein, The step of determining the variable constraint conditions of the decision variable of the target battery swap station according to the arrival power, the battery swap power, the preset waiting time, the current battery swap demand, and the power supply battery inventory information comprises: respectively setting charge-discharge behavior constraint conditions, power supply battery battery swap power constraints, power supply battery charge-swap capacity constraints, power supply battery cumulative battery swap power constraints, and battery swap quantity limits according to the preset waiting time, the current battery swap demand, the battery swap power, the arrival power, the decision variable, and the power supply battery inventory information; determining the variable constraint conditions of the decision variable of the target battery swap station through the charge-discharge behavior constraint conditions, the power supply battery battery swap power constraints, the power supply battery charge-swap capacity constraints, the power supply battery cumulative battery swap power constraints, and the battery swap quantity limits.

8. The method of any one of claims 1 to 7, wherein, The step of acquiring the decision variable of the target battery swap station comprises: respectively setting a first variable indicating whether each power supply battery in the target battery swap station meets the vehicle battery swap demand in a corresponding time period, a binary variable, and a second variable indicating battery swap power and charging power; obtaining the decision variable of the target battery swap station through the first variable, the binary variable, and the second variable.

9. The method of any one of claims 1 to 8, wherein, The step of performing charge-swap scheduling on the power supply battery in the target battery swap station through the charge-swap scheduling strategy comprises: when the charge-swap scheduling strategy is to charge the power supply battery in the target battery swap station, acquiring a charging time and / or a charging power; charging the power supply battery through the charging time and / or the charging power.

10. The method of any one of claims 1 to 9, wherein, The step of performing charge-swap scheduling on the power supply battery in the target battery swap station through the charge-swap scheduling strategy comprises: when the charge-swap scheduling strategy is to swap the power supply battery in the target battery swap station, acquiring a battery swap time sequence; controlling the power supply battery to swap the vehicle in the target battery swap station through the battery swap time sequence.

11. The method of any one of claims 1 to 10, wherein, The method further comprises: detecting whether an updated battery swap demand of the power consuming device at the target battery swap station is received; updating the charge-swap scheduling strategy through the updated battery swap demand when the updated battery swap demand is received.

12. A battery replacement station in-station scheduling device, characterized in that, The device comprises: an acquisition module, configured to acquire a preset waiting time of a power consuming device at a target battery swap station, and a decision variable and a plurality of battery swap optimization targets of the target battery swap station; a determination module, configured to determine variable constraint conditions of the decision variable of the target battery swap station based on the preset waiting time; the acquisition module is further configured to solve the plurality of battery swap optimization targets through the variable constraint conditions and the decision variable, to obtain a charge-swap scheduling strategy of a power supply battery in the target battery swap station; a scheduling module, configured to perform charge-swap scheduling on the power supply battery in the target battery swap station through the charge-swap scheduling strategy.

13. A battery replacement station in-station scheduling device, characterized by, The device comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the battery swap station intra-station scheduling method according to any one of claims 1 to 11.

14. A storage medium, characterized by The storage medium is a computer readable storage medium, and the storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the battery swap station intra-station scheduling method according to any one of claims 1 to 11.