CN114626638A - Dynamic scheduling optimization method for battery transportation of shared electric bicycle - Google Patents
Dynamic scheduling optimization method for battery transportation of shared electric bicycle Download PDFInfo
- Publication number
- CN114626638A CN114626638A CN202210380058.8A CN202210380058A CN114626638A CN 114626638 A CN114626638 A CN 114626638A CN 202210380058 A CN202210380058 A CN 202210380058A CN 114626638 A CN114626638 A CN 114626638A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- time
- parking
- battery
- batteries
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000005457 optimization Methods 0.000 title claims abstract description 15
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 32
- 230000009191 jumping Effects 0.000 claims description 10
- 230000000737 periodic effect Effects 0.000 claims description 8
- 238000012163 sequencing technique Methods 0.000 claims description 6
- 230000003044 adaptive effect Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 3
- 238000013178 mathematical model Methods 0.000 claims description 3
- 125000004122 cyclic group Chemical group 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 claims description 2
- 230000001502 supplementing effect Effects 0.000 abstract 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000035484 reaction time Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06312—Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06313—Resource planning in a project environment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Development Economics (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Educational Administration (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biodiversity & Conservation Biology (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
A dynamic scheduling optimization method for battery transportation of a shared electric bicycle comprises the steps of firstly, designing a strategy for supplementing batteries in a vehicle way according to the actual situation of the shared electric bicycle; then establishing a shared electric bicycle battery transportation dynamic scheduling optimization problem model, and taking the maximum number of replaceable batteries of the vehicles in the specified time as a target, wherein the model comprises the prediction of the number of low-power electric bicycles in a parking spot, the newly increased electric bicycles in the period updating time and the change of the number of the low-power electric bicycles in the non-service parking spot; and finally, a hybrid water wave optimization algorithm based on differential evolution is designed to solve the maximum number of replaced batteries of the vehicle. The invention solves the problem of vehicle path planning of replacing batteries for low-power electric bicycles in the regional shared electric bicycle parking points by operators.
Description
Technical Field
The invention belongs to the field of shared electric bicycle battery transportation scheduling, and relates to a dynamic scheduling optimization method for maximizing the number of replaced electric bicycle batteries.
Background
The shared electric bicycle is a product under the shared economy, and is more time-saving and labor-saving compared with the shared bicycle because the shared electric bicycle is driven by electricity. The shared electric bicycle requires that a user needs to park at a fixed parking spot when using and returning the electric bicycle, and the electric bicycle in the parking spot cannot be automatically charged, so that an operator needs to provide battery replacement service for the electric bicycle with insufficient electric quantity in a manual operation mode. As time goes by, the electric vehicles with low battery in the parking spot change due to the mobility of the electric vehicles in the area, and there is uncertainty about the number of the requested battery replacement. Therefore, a reasonable battery transportation scheduling method is designed to replace the low-power electric bicycle, so that the use satisfaction of users can be improved, the cost of operators can be reduced, and the method is a valuable research problem.
Disclosure of Invention
Aiming at the problems, the invention designs a hybrid water wave optimization algorithm based on differential evolution, provides a dynamic scheduling optimization method for the shared electric single vehicle battery transportation of multiple vehicles, and divides the working time into a plurality of periodic update times for updating the change of the number of low-power electric single vehicles in parking spots and newly-added parking spots needing to be replaced with service, and allocates the parking spots needing to be replaced with the service of the battery to the vehicles to obtain a vehicle service path which maximizes the number of the batteries which can be replaced in the specified working time by the vehicles.
In order to achieve the above object, the present invention provides the following steps:
a method for optimizing the dynamic scheduling of the transportation of shared electric single-vehicle batteries comprises the following steps:
step 1: the current time is represented by t ', and t' is 0 initially; by t*Indicating periodic update times, i.e. every time t*Acquiring the electric bicycle information in the parking spot, and updating the vehicle path again; the current cycle time, i.e. the time after several update cycles, is denoted by t, and at the initial stage t is 0, and S is S { S }1,s2,…,snIndicates that there are n shared electric bicycle parking points in the area,expressed as the current cycle time tstopVehicle spot si(siE is the number of batteries needing to be replaced in S), namely the electric bicycle with low electric quantity; a battery warehouse is denoted by d; by V ═ V1,v2,…,vkRepresents k homogeneous transport vehicles parked in the warehouse, wherein the maximum number of batteries that can be loaded by the vehicle k is bk,max(ii) a The average traveling speed of each vehicle is represented as v, and the number of battery replacements requested per parking spot is satisfiedThere are m battery stations for the vehicle to be fully charged during service, and H is { H ═ H1,h2,…,hmRepresents; distance between warehouse and parking spot is D1(d,si) Distance between stopping points is D2(si,sj) Distance between battery station and parking spot is D3(hi,si). The average time it takes for a maintenance person to change batteries for a shared electric bicycle is μ, the average time it takes to unload the batteries in the battery station is θ, and the maximum operating time of the vehicle is expressed as
Step 2: acquiring the information condition of the vehicle at the current period updating time, wherein the information condition comprises the current position point of the vehicle, the time of the vehicle reaching the position point, the time of the vehicle completing the position point task, the number of the remaining replaceable batteries of the vehicle and the number of the replaced batteries of the vehicle; and adding the parking points waiting for service into the service pool.
And 3, step 3: taking the current position of the vehicle as a starting point, taking the parking point information and each vehicle information in the waiting service pool as input parameters, obtaining a vehicle service path after calculation in steps 19-34, and assuming that the service pool has g parking point waiting distribution paths, obtaining the vehicle v at the current period time tkCan be represented asWherein n iskIs shown as allocated to vehicle vkThe number of the stop points is increased,expressed as the j (1. ltoreq. j. ltoreq.n) th in the path of the vehicle kk) The individual parking spots provide a replacement service,
and 4, step 4: by usingDenoted as vehicle vkTime of arrival at point j, when vehicle k arrives at the first stopThe travel time of (d) is:
and 5: by usingIndicating a vehicle vkTime to complete the Point j task, vehicle vkChange the first parking spotThe time of the medium-low battery is as follows:then the vehicle vkComplete the first parking spotThe service task has the time of
Step 6: by usingIs shown at T* k,jTime of day vehicle vkThe number of replaceable batteries remaining. Then the vehicle v at this timekThe number of replaceable batteries is:
and 7: vehicle vkForward to the next parking stationServing it. If it is notThe vehicle goes to a nearby appropriate battery station to replenish the battery and then serves the next parking spotOtherwise, the process jumps to the step 10,
vehicle vkAt a parking spotThe most suitable battery station for selecting as a supplementary batteryComprises the following steps:
step 11: vehicle vkGo directly to parking spotThe time for completing the service task of the point replacement is as follows:
step 12: when the vehicle vkService-completed parking spotThereafter, the number of remaining replaceable batteries on the vehicle is updated as:
step 13: vehicle vkThe number of electric bicycle batteries that have been replaced at this cycle time t is:
where round () denotes round down, ckFor vehicles v by the time t of the current cyclekThe number of stops served on its path;
step 14: when the current time t' is less than or equal to t, turning to the step 7; otherwise, go to step 15;
step 15: if the vehicle is at the stopping point, waiting for the vehicle to finish the task of the point, wherein the current time when the vehicle is finished is t'; if the vehicle is in the way from the parking point i to the parking point j at the moment, waiting for the vehicle to finish the task of the point j, wherein the current time when the vehicle is finished is t'; if the vehicle is at the battery station, waiting for the vehicle to finish the task at the point, wherein the current time when the vehicle finishes is t';
step 16: saving the vehicle v at the current moment tkThe condition information of the vehicle comprises the current position point of the vehicle, the time of the vehicle reaching the position point, the time of the vehicle completing the task of the position point, the number of the residual replaceable batteries of the vehicle and the number of the replaced batteries of the vehicle;
and step 17: setting the period time t as t' + t*Obtaining the periodic update time t*The information condition of the low-power electric bicycles in the parking spots of the local area comprises newly-added parking spots meeting the replacement condition and the parking spots which are not served yet, and the number of the low-power electric bicycles is changed on the way of the vehicles going to the parking spots, so that the battery replacement number is requested according to the condition in the current parking spotsIncrease delta by a predetermined valueAnd orderNamely, the maximum estimation is carried out on the number of the electric bicycles in the parking spot.
Step 18: and (3) obtaining the maximum number of the low-battery electric bicycles of all the vehicles, combining with the mathematical model of the problem in the steps 10, 11 and 13, and expressing as follows:
step 19: designing a fitness function based on a differential evolution discrete water wave optimization algorithm, and defining the fitness function according to the target problem and the constraint in the step 18WhereinFor vehicles vjThe number of the replaced electric bicycle batteries in the period time t;
step 20: coding in a sequencing sequence mode to form a sequencing sequence Pi:
Pi=(π1,π2,..,πj..,πD) Wherein D is n + k-1, PiIndicates the ith ordered sequence. PijDenotes the sequence number,. pij=j(j=1,2,..,D);
Step 21: randomly generating water waves of population size NP, denoted Pi=(π1,π2,..,πj..,πD) (i ═ 1, 2.., N) and finding the optimal solution P in the populationi *With a fitness of f (P)i *);
Step 22: if the algorithm reaches the termination condition, outputting the optimal solution and finishing; otherwise, jumping to step 31;
step 24: if f (P'i)>f(Pi) And then water wave P'iReplacement of PiOtherwise, jumping to step 28;
step 25: if f (x')>f(Pi *) Then replace P with water wave xi *;
Step 26: wave breaking operation according to the original optimal fitness fmaxDetermining solitary waves with fitness of new optimal solutionWherein k ismaxFor generating the maximum value of the independent wave, epsilon is a minimum positive number so as to avoid the generation of abnormity when the denominator is zero;
step 27: randomly generating a probability number r less than 1 if r>c, randomly selecting the water wave PiExchange two dimensions of; otherwise, randomly selecting a dimension D ═ rand (1, D-1), and exchanging two dimensions of the left dimension and the right dimension of D;
step 28: calculating the population size NP (g) of the current generation according to the following formula
Wherein g is the current iteration number, gmaxFor a set maximum number of iterations, NPmaxAnd NPminRespectively representing the upper limit and the lower limit of the population scale;
step 29: if NP > NP (g), NP-NP (g);
step 30: calculating the water wave wavelength according to the following formulaWherein f ismaxAnd fminRespectively representing the maximum fitness and the minimum fitness in the current population, wherein alpha is a wavelength attenuation coefficient, epsilon is a minimum positive number to avoid the generation of abnormity when the denominator is zero, and going to step 23;
step 32: and outputting the final solution to obtain the maximum number of the replaced batteries of the vehicle.
Further, the step 23 includes the following operations;
step 23-1:wherein rand (0,1) is [0,1 ]]F is the variation rate, swap (x) is a random exchange function, and two dimensions in the water wave are randomly selected for exchange;
step 23-2:wherein rand (0,1) is [0,1 ]]The random value between, CR is the crossover rate, PMX (P)m,Pi) Cross policy functions for partial matches;
step 23-3: conflict detection, namely establishing a mapping relation according to the two exchanged sequences to ensure that the formed new subsequence has no conflict;
step 23-4:and selecting the water wave with the optimal adaptive value as a new water wave according to the formula.
The invention has the beneficial effects that: according to the method, a multi-vehicle sharing electric single vehicle battery transportation dynamic scheduling optimization problem model is established, a mixed water wave optimization algorithm based on differential evolution is used for solving, vehicle path optimization of vehicles for replacing low-power electric single vehicle batteries in a parking spot in the maximum working time is maximized, the replacement rate of the batteries is improved, the operation cost of the whole electric single vehicle is reduced, and the user satisfaction degree is improved.
Drawings
FIG. 1 is a schematic diagram of a multi-vehicle service initial path;
fig. 2 is a new path obtained through periodic updating.
Detailed Description
The invention will be further explained with reference to the drawings.
With reference to fig. 1 and fig. 2, a method for optimizing dynamic scheduling of transportation of shared electric single vehicle batteries includes the following steps:
step 1: as in fig. 1, initially t, t' is 0; t is t*The service path is renewed at 1 hour intervals. In the figure there is a warehouse (D), two battery stations (H)1,H2) Two transport vehicles (V)1,V2) And three parking spots (S) to be serviced1,S2,S3) Wherein the maximum amount of the vehicle capable of loading the battery is indicated by a large bracket, the number of low-capacity electric bicycles for which battery replacement is requested at each parking spot is indicated by a small bracket, and the number on the dotted line between the points is indicated as the average time (in hours) for the vehicle to travel between the two points; furthermore, given that the number of batteries in warehouses and battery stations is sufficient for vehicle use in the problem, assuming a maximum number of vehicle-carrying batteries of 100, the average time to change batteries for each electric vehicle is 1 minute, and the average time taken to unload batteries in the battery station is 10 minutes. The maximum working time of the vehicle is expressed as
Step 2: acquiring the information condition of the vehicle at the current period updating time, wherein the information condition comprises the current position point of the vehicle, the time of the vehicle reaching the position point, the time of the vehicle completing the position point task, the number of the residual replaceable batteries of the vehicle and the number of the replaced batteries of the vehicle; adding parking spots waiting for service into a service pool;
and step 3: and (5) taking the current position of the vehicle as a starting point, taking the parking point information and each vehicle information in the waiting service pool as input parameters, and obtaining the vehicle service path after calculation in the step 20.
And 4, step 4: by usingDenoted as vehicle vkTime when point j is reached, t is 0, when vehicle v is1To the first stop s1The travel time of (d) is:the time is as long as the reaction time is short,the method comprises the following steps of (1) taking minutes;
and 5: by usingIndicating a vehicle vkTime to complete the Point j task, vehicle v1Changing the first parking spot s1The time of the medium-low battery is as follows:minute, then vehicle v1The time for completing the first parking spot service task isThe method comprises the following steps of (1) taking minutes; vehicle v2Changing the first parking spot s3The time of the medium-low battery is 47 minutes, and the task of finishing the battery is 77 minutes;
step 6: by usingIs shown at T* k,jTime of day vehicle vkThe number of remaining replaceable batteries, the vehicle v at this time1The number of replaceable batteries is:vehicle v1The number of replaceable batteries is 53;
and 7: vehicle v1Forward to the next parking station s2Serve it ifThe vehicle goes to a nearby suitable battery station to replenish the battery and then serves the next parking spot s2Otherwise, jumping to step 10;
vehicle vkAt a parking spotThe most suitable battery site to select as a supplementary batteryComprises the following steps:
step 10: vehicle v1Go directly to parking spot s2To a stop s2The time of day was:
step 11: vehicle vkGo directly to parking spotThe time for completing the service replacement task at this point is as follows:
step 12: when the vehicle vkService-off parking spotThereafter, the number of remaining replaceable batteries on the vehicle is updated to:
step 13: vehicle vkThe number of electric bicycle batteries that have been replaced at this cycle time t is:
where round () represents rounding down, ckFor vehicles v by the time t of the current cyclekThe number of stops served on its path. Vehicle v1The maximum number of replaced batteries is 89, and the vehicle v2The maximum number of replacement batteries is 47;
step 14: when the current time t' is less than or equal to t, turning to the step 7; otherwise, entering the next step;
step 15: if the vehicle is at the stopping point, waiting for the vehicle to finish the task of the point, wherein the current time when the vehicle is finished is t'; if the vehicle is in the way from the parking point i to the parking point j at the moment, waiting for the vehicle to finish the task of the point j, wherein the current time when the vehicle is finished is t'; if the vehicle is at the battery station, waiting for the vehicle to finish the task at the point, wherein the current time when the vehicle finishes is t';
step 16: saving vehicle v at present time tkThe condition information of the vehicle comprises the current position point of the vehicle, the time of the vehicle reaching the position point, the time of the vehicle completing the task of the position point, the number of the residual replaceable batteries of the vehicle and the number of the replaced batteries of the vehicle;
and step 17: setting the period time t as t' + t*Obtaining the periodic update time t*The information condition of the low-power electric bicycles in the parking spots of the local area comprises newly-added parking spots meeting the replacement condition and the parking spots which are not served yet, and the number of the low-power electric bicycles is changed on the way of the vehicles going to the parking spots, so that the battery replacement number is requested according to the condition in the current parking spotsIncrease delta by an estimated value ofAnd orderThe maximum estimation is carried out on the number of electric bicycles in the parking spot, and as shown in fig. 2, when the cycle time is 60 minutes, a vehicle service path after re-planning is obtained;
step 18: and (3) solving the maximum number of low-power electric bicycles which can be replaced by all vehicles, and combining the mathematical model of the problem in the step 13 to represent that:
in this case, the calculated solution value from the objective function is 129, which is the maximum number of replaced batteries;
step 19: and designing a fitness function based on a discrete water wave optimization algorithm of differential evolution. Defining a fitness function based on the objective problem and constraints in step 15WhereinFor vehicles vjThe number of the replaced electric bicycle batteries within the period time t;
step 20: coding in a sequencing sequence mode to form a sequencing sequence Pi:
Pi=(π1,π2,..,πj..,πD) Where D is n + k-1, PiIndicating the sorted sequence of the ith. PijDenotes the sequence number,. pij=j(j=1,2,..,D);
Step 21: randomly generating water waves of population size NP, denoted Pi=(π1,π2,..,πj..,πD) (i ═ 1, 2.., N) and finding the optimal solution P in the populationi *With a fitness of f (P)i *);
Step 22: if the algorithm reaches the termination condition, outputting the current optimal solution and jumping to step 32;
step 23: propagation operation, for each water wave PiThe following operations are performed;
step 23-1:wherein rand (0,1) is [0,1 ]]F is the variation rate, swap (x) is a random exchange function, and two dimensions in the water wave are randomly selected for exchange;
step 23-2:wherein rand (0,1) is [0,1 ]]CR is the crossover rate, PMX (P)m,Pi) Cross policy functions for partial matches;
step 23-3: conflict detection, namely establishing a mapping relation according to the two exchanged sequences to ensure that the formed new subsequence has no conflict;
step 24: if f (P'i)>f(Pi) And then is water wave P'iReplacement of PiOtherwise, jumping to step 28;
step 25: if f (x')>f(Pi *) Then replace P with water wave xi *;
Step 26: wave breaking operation according to the original optimal fitness fmaxDetermining solitary waves with fitness of new optimal solutionWherein k ismaxFor generating the maximum value of the independent wave, epsilon is a minimum positive number so as to avoid the generation of abnormity when the denominator is zero;
step 27: randomly generating a probability number r less than 1 if r>c, randomly selecting the water wave PiExchange two dimensions of; otherwise, randomly selecting a dimension D (1, D-1), exchanging two dimensions of the left and right sides of D, and c (0.3);
step 28: the population size NP (g) of the current generation was calculated according to the following formula
Wherein g is the current iteration number, gmaxIs the set maximum number of iterations. NPmaxAnd NPminRespectively indicate speciesUpper and lower limits of population size;
step 29: if NP > NP (g), NP-NP (g);
and step 30: calculating the water wave wavelength according to the following formulaWherein f ismaxAnd fminRespectively representing the maximum fitness and the minimum fitness in the current population, wherein alpha is a wavelength attenuation coefficient, epsilon is a minimum positive number to avoid the generation of abnormity when the denominator is zero, and going to step 23;
step 32: and finally, outputting, and obtaining the maximum number of replaced batteries of the vehicle.
Claims (2)
1. A shared electric single vehicle battery transportation dynamic scheduling optimization method is characterized by comprising the following steps:
step 1: the current time is represented by t ', and t' is 0 initially; by t*Indicating periodic update times, i.e. every time t*Acquiring the electric bicycle information in the parking spot, and updating the vehicle path again; the current cycle time is represented by t, namely the time of a plurality of updating cycles, and t is 0 in the initial stage; with S ═ S1,s2,…,snIndicates that there are n shared electric bicycle parking points in the area,expressed as the current cycle time t parking spot si(siThe number of batteries needing to be replaced in the element S), namely the low-power electric bicycle; a battery warehouse is denoted by d; by V ═ V1,v2,…,vkRepresents k homogeneous transport vehicles parked in the warehouse, wherein the maximum number of batteries that can be loaded by the vehicle k is bk,max(ii) a The average traveling speed of each vehicle is denoted by v, and each stop point requests a battery replacementIs in an amount ofThere are m battery stations for the vehicle to be fully charged during service, and H is { H ═ H1,h2,…,hmRepresents; distance between warehouse and parking spot is D1(d,si) Distance between stopping points is D2(si,sj) Distance between battery station and parking spot is D3(hi,si) The average time taken by the maintenance personnel to replace the battery for a shared electric bicycle is mu, the average time taken to unload the battery in the battery station is theta, and the maximum operating time of the vehicle is expressed as
Step 2: acquiring the information condition of the vehicle at the current period updating time, wherein the information condition comprises the current position point of the vehicle, the time of the vehicle reaching the position point, the time of the vehicle completing the position point task, the number of the remaining replaceable batteries of the vehicle and the number of the replaced batteries of the vehicle; adding parking spots waiting for service into a service pool;
and step 3: taking the current position of the vehicle as a starting point, taking the parking point information and the information of each vehicle in the waiting service pool as input parameters, and obtaining a vehicle service path after calculation in steps 19-34; assuming that the service pool has g parking spots waiting for distribution paths, the vehicle v is driven at the current cycle time tkCan be represented asWherein n iskIs shown as allocated to vehicle vkS 'of parking points'k,jExpressed as the j (1. ltoreq. j. ltoreq.n) th in the path of the vehicle kk) The individual parking spots provide a replacement service,
and 4, step 4: by usingDenoted as vehicle vkTime of arrival at point j, when vehicle k arrives at the first stopThe travel time of (c) is:
and 5: by usingIndicating a vehicle vkTime to complete the Point j task, vehicle vkChanging the first parking spotThe time of the medium-low battery is as follows:then the vehicle vkComplete the first parking spotThe service task has the time of
Step 6: by usingIs shown at T* k,jTime of day vehicle vkThe number of remaining replaceable batteries, the vehicle v at this timekThe number of replaceable batteries is:
and 7: vehicle vkForward to the next parking stationServe it ifThe vehicle goes to a nearby appropriate battery station to replenish the battery and then serves the next parking spotOtherwise, jumping to step 10;
vehicle vkAt a parking spotThe most suitable battery site to select as a supplementary batteryComprises the following steps:
step 11: vehicle vkGo directly to parking spotThe time for completing the service replacement task at this point is as follows:
step 12: when the vehicle vkService-off parking spotThereafter, the number of remaining replaceable batteries on the vehicle is updated to:
step 13: vehicle vkThe number of electric bicycle batteries that have been replaced at this cycle time t is:
where round () denotes round down, ckFor vehicles v by the time t of the current cyclekThe number of stops served on its path;
step 14: when the current time t' is less than or equal to t, turning to the step 7; otherwise, entering the next step;
step 15: if the vehicle is at the parking point, waiting for the vehicle to finish the task of the point, wherein the current time when the vehicle finishes is t'; if the vehicle is in the way from the parking point i to the parking point j at the moment, waiting for the vehicle to finish the task of the point j, wherein the current time when the vehicle is finished is t'; if the vehicle is at the battery station, waiting for the vehicle to finish the task at the point, wherein the current time when the vehicle finishes is t';
step 16: saving vehicle v at present time tkThe condition information of the vehicle comprises the current position point of the vehicle, the time of the vehicle reaching the position point, the time of the vehicle completing the task of the position point, the number of the residual replaceable batteries of the vehicle and the number of the replaced batteries of the vehicle;
and step 17: setting the period time t as t' + t*Obtaining the periodic update time t*The information conditions of the electric bicycles with low electric quantity in the parking spots of the local area comprise newly-added parking spots meeting the replacement condition and parking spots which are not served; since the number of the low-power electric bicycles is changed while the vehicle travels to the parking spot, the battery replacement number is requested according to the current situation in the parking spotIncrease delta by a predetermined valueAnd orderNamely, the maximum estimation is carried out on the number of electric bicycles in the parking spot;
step 18: and (3) calculating the maximum number of low-battery electric bicycles of all vehicles, and combining the steps 10, 11 and 13, wherein a mathematical model of the problem is represented as follows:
step 19: designing a fitness function based on a differential evolution discrete water wave optimization algorithm, and defining the fitness function according to the target problem and the constraint in the step 18WhereinFor vehicles vjThe number of the replaced electric bicycle batteries in the period time t;
step 20: coding in a sequencing sequence mode to form a sequencing sequence Pi:Pi=(π1,π2,..,πj..,πD) Wherein D is n + k-1, piDenotes the ordered sequence of the ith, pijDenotes the sequence number,. pij=j(j=1,2,..,D);
Step 21: randomly generating water waves of population size NP, denoted Pi=(π1,π2,..,πj..,πD) (i ═ 1, 2.., N) and finding the optimal solution P in the populationi *With a fitness of f (P)i *);
Step 22: if the algorithm reaches the termination condition, outputting the optimal solution and finishing; otherwise, jumping to step 31;
step 24: if f (P'i)>f(Pi) And then is water wave P'iReplacement of PiOtherwise, jumping to step 28;
step 25: if f (x')>f(Pi *) Then replace P with water wave xi *;
Step 26: wave breaking operation according to the original optimal fitness fmaxDetermining solitary waves with fitness of new optimal solutionWherein k ismaxFor generating the maximum value of the independent wave, epsilon is a minimum positive number so as to avoid the generation of abnormity when the denominator is zero;
step 27: randomly generating a probability number r less than 1 if r>c, randomly selecting the water wave PiExchange two dimensions of; otherwise, randomly selecting a dimension D (1, D-1) and exchanging two dimensions of the left dimension and the right dimension of D;
step 28: the population size NP (g) of the current generation was calculated according to the following formula
Wherein g is the current iteration number, gmaxFor a set maximum number of iterations, NPmaxAnd NPminRespectively representing the upper limit and the lower limit of the population scale;
step 29: if NP > NP (g), NP-NP (g);
step 30: calculating the water wave wavelength according to the following formulaWherein f ismaxAnd fminRespectively expressed as the maximum fitness and the minimum fitness in the current population, alpha is a wavelength attenuation coefficient, epsilon is a minimum positive number to avoid the generation of abnormity when the denominator is zero, and the step 23 is carried out;
step 32: and outputting the final solution to obtain the maximum number of the replaced batteries of the vehicle.
2. The method of claim 1, wherein the step 23 comprises the operations of;
step 23-1:wherein rand (0,1) is [0,1 ]]F is the variation rate, swap (x) is a random exchange function, and two dimensions in the water wave are randomly selected to be exchanged;
step 23-2:wherein rand (0,1) is [0,1 ]]The random value between, CR is the crossover rate, PMX (P)m,Pi) Matching a cross policy function for the portion;
step 23-3: conflict detection, namely establishing a mapping relation according to the two exchanged sequences to ensure that the formed new subsequence has no conflict;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210380058.8A CN114626638A (en) | 2022-04-06 | 2022-04-06 | Dynamic scheduling optimization method for battery transportation of shared electric bicycle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210380058.8A CN114626638A (en) | 2022-04-06 | 2022-04-06 | Dynamic scheduling optimization method for battery transportation of shared electric bicycle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114626638A true CN114626638A (en) | 2022-06-14 |
Family
ID=81906493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210380058.8A Pending CN114626638A (en) | 2022-04-06 | 2022-04-06 | Dynamic scheduling optimization method for battery transportation of shared electric bicycle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114626638A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116468257A (en) * | 2023-06-20 | 2023-07-21 | 宁波小遛共享信息科技有限公司 | Evaluation method and server for newly-added parking spots in operation fence |
-
2022
- 2022-04-06 CN CN202210380058.8A patent/CN114626638A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116468257A (en) * | 2023-06-20 | 2023-07-21 | 宁波小遛共享信息科技有限公司 | Evaluation method and server for newly-added parking spots in operation fence |
CN116468257B (en) * | 2023-06-20 | 2023-09-29 | 浙江小遛信息科技有限公司 | Evaluation method and server for newly-added parking spots in operation fence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109934391B (en) | Intelligent scheduling method for pure electric bus | |
CN113283623A (en) | Electric vehicle electric quantity path planning method compatible with energy storage charging pile | |
CN112193116B (en) | Electric vehicle charging optimization guiding strategy considering reward mechanism | |
CN110363311B (en) | Reservation-based charging pile distribution method and system | |
CN111754039B (en) | Pure electric bus network comprehensive integrated optimization design method | |
JP2015061496A (en) | Device, system, and method for charging management | |
CN114462693B (en) | Distribution route optimization method based on vehicle unmanned aerial vehicle cooperation | |
CN112729324B (en) | Electric vehicle charging guiding and path planning method based on mutual travel system | |
CN107921886A (en) | Method for calculating the set point for being used for the fuel and power consumption for managing hybrid moto vehicle | |
CN108493969B (en) | Intelligent planning method for electric vehicle charging station | |
CN114626638A (en) | Dynamic scheduling optimization method for battery transportation of shared electric bicycle | |
CN111798067A (en) | Automatic driving automobile distribution path planning method based on self-adaptive large neighborhood search algorithm | |
CN115186930A (en) | Method and system for planning path problem of simultaneously-taking and delivering goods vehicle with multiple time windows under uncertain goods taking demand | |
CN111260172A (en) | Information processing method and system and computer equipment | |
CN113222463A (en) | Data-driven neural network agent-assisted strip mine unmanned truck dispatching method | |
Hoch et al. | Electric vehicle travel optimization-customer satisfaction despite resource constraints | |
Hu et al. | Dynamic rebalancing optimization for bike-sharing system using priority-based MOEA/D algorithm | |
CN114897285A (en) | Shared automobile scheduling method based on residual electric quantity | |
CN117391564B (en) | New energy logistics vehicle energy supplementing and scheduling data model and scheduling optimization method | |
CN114742340A (en) | Optimal layout solving method for intelligent network connection sharing electric vehicle charging station in large-scale road network | |
CN112070300B (en) | Multi-objective optimization-based electric vehicle charging platform selection method | |
CN116822912A (en) | Intelligent dispatching method and device for electric vehicle trunk line long-distance transportation charging and changing | |
Erdoğan et al. | Finding an energy efficient path for plug-in electric vehicles with speed optimization and travel time restrictions | |
CN116993031A (en) | Charging decision optimization method, device, equipment and medium for electric vehicle | |
CN115496277B (en) | Mobile power supply device scheduling method and system based on improved cat swarm algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |