Vehicle distribution method, device and equipment and storage medium
By constructing a total greenhouse gas emission function and optimizing vehicle allocation, the problem of high greenhouse gas emissions in the express logistics industry has been solved, and the rationality of vehicle allocation and improvement of environmental benefits have been achieved.
Patent Information
- Application Number
- CN202310266390.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The express logistics industry has high greenhouse gas emissions. Existing new energy vehicles have short range, low power, and long charging time in the transportation and distribution process, resulting in unreasonable vehicle distribution and inability to effectively reduce greenhouse gas emissions.
By obtaining the fulfillment distance of the order to be delivered and the corresponding delivery proportions of vehicles of different models, a function representing the total greenhouse gas emissions is constructed to determine the optimal vehicle combination to optimize vehicle allocation and reduce greenhouse gas emissions.
It effectively reduces the greenhouse gas emissions generated by using vehicles in the preset vehicle library to distribute orders to be delivered, and improves the rationality and environmental benefits of vehicle allocation.
Smart Images

Figure CN118657301A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of resource scheduling, and in particular to a vehicle allocation method, device, equipment and storage medium. Background Art
[0002] With the advent of the Internet economy, the express logistics industry has also developed rapidly, and the national express business volume has also increased day by day. According to statistics, greenhouse gas emissions from the transportation sector account for 23% of the world's total greenhouse gas emissions, making it the third largest source of greenhouse gas emissions after industry and construction.
[0003] At present, the main solution for reducing carbon emissions in logistics is to replace fuel vehicles with more new energy vehicles. However, compared with fuel vehicles, new energy vehicles have problems such as short driving range, low power, and long charging time in transportation and distribution. Therefore, most logistics and transportation vehicles are still mainly diesel vehicles, which makes greenhouse gas emissions still high and vehicle allocation unreasonable. Summary of the invention
[0004] Embodiments of the present application are intended to provide a vehicle allocation method, apparatus, device, and storage medium.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] The present application provides a vehicle allocation method, the method comprising:
[0007] Obtain the fulfillment distance of each order in the orders to be delivered, and determine the delivery ratio of each order corresponding to the vehicles of different models; based on the unit greenhouse gas emissions corresponding to the vehicles of different models, the fulfillment distance of each order, and the delivery ratio of each order corresponding to the vehicles of different models, determine a total greenhouse gas emission function that characterizes the total greenhouse gas emissions generated by delivering the orders to be delivered, the orders to be delivered, the delivery vehicle model, and the logical relationship between the delivery vehicles; based on the total greenhouse gas emission function, obtain the optimal combination of the orders to be delivered, the delivery vehicle model, and the delivery vehicle, so as to allocate vehicles based on the optimal combination.
[0008] The embodiment of the present application provides a vehicle allocation device, comprising:
[0009] A determination module, used to determine unit greenhouse gas emissions corresponding to vehicles of different models in a preset vehicle library;
[0010] An acquisition module, used to acquire the fulfillment distance of each order in the to-be-delivered orders, and determine the delivery ratio corresponding to the vehicles of the different models for each order;
[0011] The determination module is further configured to determine, based on the unit greenhouse gas emissions corresponding to the vehicles of different models, the fulfillment distance of each order, and the delivery ratio of each order corresponding to the vehicles of different models, a total greenhouse gas emission function representing the total greenhouse gas emissions generated by delivering the order to be delivered, the order to be delivered, the delivery model, and the logical relationship between the delivery vehicle;
[0012] The allocation module is also used to obtain the optimal combination of the to-be-delivered orders, the delivery vehicle types, and the delivery vehicles based on the total greenhouse gas emission function, so as to perform vehicle allocation based on the optimal combination.
[0013] An embodiment of the present application provides a vehicle allocation device, comprising: a processor, a memory and a communication bus; the communication bus is used to realize a communication connection between the processor and the memory; the processor is used to execute a computer program stored in the memory to realize the above-mentioned vehicle allocation method.
[0014] An embodiment of the present application provides a computer-readable storage medium, which stores one or more computer programs. The one or more computer programs can be executed by one or more processors to implement the above-mentioned vehicle allocation method.
[0015] The embodiments of the present application provide a vehicle allocation method, apparatus, equipment and storage medium, the method comprising: determining the unit greenhouse gas emissions corresponding to vehicles of different models in a preset vehicle library; obtaining the fulfillment distance of each order in the orders to be delivered, and determining the delivery ratio corresponding to vehicles of different models for each order; based on the unit greenhouse gas emissions corresponding to vehicles of different models, the fulfillment distance of each order, and the delivery ratio corresponding to vehicles of different models for each order, determining a total greenhouse gas emission function that characterizes the total greenhouse gas emissions generated by delivering the orders to be delivered, the orders to be delivered, the delivery models, and the logical relationship between the delivery vehicles; based on the total greenhouse gas emission function, obtaining the optimal combination of the orders to be delivered, the delivery models, and the delivery vehicles, so as to perform vehicle allocation based on the optimal combination. The technical solution provided by the present application takes into account the greenhouse gas emissions generated when vehicles of different models in a preset vehicle library deliver orders to be delivered. The vehicle allocation equipment constructs a total greenhouse gas emission function that characterizes the total greenhouse gas emissions generated by delivering orders to be delivered, the orders to be delivered, the delivery model, and the logical relationship between the delivery vehicles. Based on the total greenhouse gas emission function, the vehicle with the optimal delivery model is matched for each order in the orders to be delivered, which can effectively reduce the greenhouse gas emissions generated by using vehicles in the preset vehicle library to deliver orders to be delivered, and improve the rationality of vehicle allocation. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a vehicle allocation process provided in an embodiment of the present application;
[0017] Figure 2 A schematic diagram of an exemplary process for determining unit greenhouse gas emissions provided in an embodiment of the present application;
[0018] Figure 3 A schematic diagram of an exemplary process for determining the order delivery ratio provided in an embodiment of the present application;
[0019] Figure 4 A schematic diagram of an exemplary greenhouse gas emission sharing structure provided in an embodiment of the present application;
[0020] Figure 5 A schematic diagram of an exemplary vehicle allocation method provided in an embodiment of the present application Figure 1 ;
[0021] Figure 6 A schematic diagram of an exemplary vehicle allocation method provided in an embodiment of the present application Figure 2 ;
[0022] Figure 7 A schematic diagram of the structure of a vehicle allocation device provided in an embodiment of the present application;
[0023] Figure 8 A schematic diagram of the structure of a vehicle allocation device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The technical solution in the present application will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are only used to explain the related application, rather than to limit the application. It should also be noted that, for ease of description, only the parts related to the related application are shown in the accompanying drawings.
[0025] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0026] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in this application are only for the purpose of describing this application and are not intended to limit this application.
[0027] The embodiment of the present application provides a vehicle allocation method, which is implemented by a vehicle allocation device, such as Figure 1As shown, the steps S101 to S102 are included:
[0028] Step S101: Determine the unit greenhouse gas emissions corresponding to vehicles of different models in a preset vehicle library.
[0029] In the embodiments of the present application, the vehicle allocation device is an electronic device with a vehicle allocation function, which may be a tablet computer, a laptop computer, a PDA, a personal digital assistant (PDA), a desktop computer, etc. The specific vehicle allocation device is not limited here.
[0030] In an embodiment of the present application, the preset vehicle library includes existing idle vehicles that can be used for delivery without purchasing or renting vehicles, and the vehicle allocation device can determine the corresponding unit greenhouse gas emissions for vehicles of different models in the preset vehicle library.
[0031] Step S102: Obtain the fulfillment distance of each order in the orders to be delivered, and determine the delivery ratio corresponding to vehicles of different models for each order.
[0032] In an embodiment of the present application, the vehicle allocation device can obtain the fulfillment distance of each order in the order to be delivered, and determine the distribution ratio of vehicles of different models for each order. Here, for the same order, the distribution ratio of vehicles of different models is completely different. For example, for the same order, the distribution ratio of large vehicles is smaller than that of small vehicles. Of course, although the distribution ratio of large vehicles is smaller, the energy consumption of large vehicles and small vehicles is different for the same mileage. Therefore, the distribution ratio of orders is also an important factor to be considered for reasonable vehicle allocation.
[0033] Step S103: Based on the unit greenhouse gas emissions corresponding to vehicles of different models, the fulfillment distance of each order, and the delivery ratio of vehicles of different models for each order, determine a total greenhouse gas emission function that characterizes the total greenhouse gas emissions generated by delivering orders to be delivered, orders to be delivered, delivery models, and the logical relationship between delivery vehicles.
[0034] In an embodiment of the present application, the vehicle allocation device can use the unit greenhouse gas emissions corresponding to vehicles of different models, the fulfillment distance of each order, and the delivery ratio corresponding to vehicles of different models for each order to construct the total greenhouse gas emissions generated by the delivery of orders to be delivered, the orders to be delivered, the delivery models, and the logical relationship between the delivery vehicles to obtain a total greenhouse gas emission function.
[0035] Step S104: based on the total greenhouse gas emission function, the optimal combination of the to-be-delivered orders, the delivery vehicle types, and the delivery vehicles is obtained, so as to allocate vehicles based on the optimal combination.
[0036] In an embodiment of the present application, the vehicle allocation device solves the total greenhouse gas emission function to obtain the optimal combination of the orders to be delivered, the delivery vehicle types, and the delivery vehicles, and then performs vehicle allocation based on the optimal combination.
[0037] In some embodiments, the vehicle allocation device executing step S104 may include: taking minimizing total greenhouse gas emissions as a goal, calling a solver, solving a total greenhouse gas emission function, and obtaining an optimal delivery vehicle model for each order to be delivered.
[0038] Compared with existing technologies, a potential technical solution to reduce greenhouse gas emissions is to replace more fuel vehicles with new energy vehicles. However, new energy vehicles have limited range, long charging time, high purchase cost, etc., and there is currently no way to reasonably allocate existing available vehicles.
[0039] In the present application, taking into account the greenhouse gas emissions generated by vehicles of different models in the preset vehicle library when delivering orders to be delivered, the vehicle allocation equipment constructs a total greenhouse gas emission function that characterizes the total greenhouse gas emissions generated by the delivery of orders to be delivered, the orders to be delivered, the delivery model, and the logical relationship between the delivery vehicles. Based on the total greenhouse gas emission function, the vehicle with the optimal delivery model is matched for each order in the orders to be delivered, which can effectively reduce the greenhouse gas emissions generated by using vehicles in the preset vehicle library to deliver orders to be delivered, and improve the rationality of vehicle allocation.
[0040] In some embodiments, the vehicles of different models include different models of fuel vehicles and different models of electric vehicles, and the vehicle allocation device may perform the above step S101 including the following steps S201 to S203:
[0041] Step S201, obtaining the fuel density and fuel emission factor corresponding to the fuel vehicle and the electric emission factor corresponding to the electric vehicle.
[0042] In an embodiment of the present application, the preset vehicle library includes vehicles of different models, and the vehicles of different models may include fuel vehicles of different models and electric vehicles of different models. For example, the vehicles of different models may be heavy vehicles, large vehicles, medium vehicles, and small vehicles.
[0043] In the embodiments of the present application, for fuel vehicles, measuring the greenhouse gas emissions generated by their delivery orders requires taking into account the fuel density and the fuel emission factor; for electric vehicles, measuring the greenhouse gas emissions generated by their delivery orders requires taking into account the electricity emission factor.
[0044] Step S202: for different models of fuel vehicles, obtain the unit mileage fuel consumption of the corresponding model, and determine the unit greenhouse gas emissions of the corresponding model of fuel vehicle based on the corresponding unit mileage fuel consumption, fuel density, and fuel emission factor.
[0045] In the embodiment of the present application, the unit mileage fuel consumption of different models of fuel vehicles is also different. For each model of fuel vehicle, the unit mileage fuel consumption of its corresponding model can be used, and the corresponding unit mileage fuel consumption, fuel density, and fuel emission factor are multiplied to determine the corresponding unit greenhouse gas emissions. The unit mileage fuel consumption here can be the fuel consumption per 100 kilometers.
[0046] Step S203: for different types of electric vehicles, obtain the unit mileage power consumption of the corresponding model, and determine the unit greenhouse gas emissions of the corresponding model of electric vehicles based on the corresponding unit mileage power consumption and electricity emission factor.
[0047] In the embodiment of the present application, the unit mileage power consumption of different types of electric vehicles is also different. For each type of electric vehicle, the unit mileage power consumption of the corresponding model can be used, and the product of the corresponding unit mileage power consumption and the electric emission factor can be determined as the corresponding unit greenhouse gas emissions. The unit mileage power consumption here can be the power consumption per 100 kilometers.
[0048] In some embodiments, the vehicle allocation device determines the delivery ratio corresponding to vehicles of different models for each order in step S102, which may include the following steps S301 to S304:
[0049] Step S301, obtaining vehicle information corresponding to vehicles of different models, and order information of each order in the order to be delivered; the vehicle information includes the vehicle load weight and vehicle volume; the order information includes the order weight and order volume.
[0050] In an embodiment of the present application, the vehicle allocation device obtains the order information of each order in the orders to be delivered, which may include: extracting multiple orders from a preset database, and multiple order data corresponding to the multiple orders one by one; using the multiple order data, eliminating orders with missing data in the multiple orders, and determining the multiple orders after elimination as orders to be delivered, and determining the order data corresponding to each order in the orders to be delivered as order information.
[0051] In the embodiment of the present application, the preset database is a database in a transportation management system (TMS), wherein the database stores order information and vehicle information corresponding to vehicles of different models, that is, the vehicle allocation device can obtain not only order information from the preset database, but also vehicle information corresponding to vehicles of different models in the preset vehicle library.
[0052] For example, the vehicle allocation device can extract the above data from the TMS through database operation. In the process of data extraction, the vehicle allocation device will automatically filter out orders with incomplete data, that is, remove orders with missing data.
[0053] Step S302: for vehicles of different models, the ratio of the order weight corresponding to each order to the corresponding vehicle load capacity is determined as the weight proportion corresponding to each order.
[0054] For example, for order i, for vehicles of different models, the vehicle allocation device assigns the order weight w corresponding to order i to i The corresponding vehicle load we v The ratio is determined as the weight proportion corresponding to each order.
[0055] Step S303: for vehicles of different models, the ratio of the order volume corresponding to each order to the corresponding vehicle volume is determined as the volume proportion corresponding to each order.
[0056] For example, for order i, for vehicles of different models, the vehicle allocation device assigns the order volume vl corresponding to order i to i and the corresponding vehicle volume vle v The ratio is determined as the weight proportion corresponding to each order.
[0057] Step S304: for vehicles of different models, the weight proportion and volume proportion corresponding to each order having the largest value is determined as the delivery proportion corresponding to each order.
[0058] Exemplarily, for order i, for vehicles of different models, the largest weight share and volume share corresponding to order i is determined as the delivery share corresponding to each order.
[0059] Accordingly, the vehicle allocation device determines a total greenhouse gas emission function that characterizes the total greenhouse gas emissions generated by delivering orders to be delivered, orders to be delivered, delivery models, and the logical relationship between delivery vehicles based on the unit greenhouse gas emissions corresponding to vehicles of different models, the fulfillment distance of each order, and the delivery ratio of vehicles of different models for each order.
[0060] In the embodiment of the present application, the total greenhouse gas emission function satisfies at least the following constraints: the uniqueness constraint of the order delivery vehicle, the constraint that the total order weight is less than or equal to the total vehicle load weight, the constraint that the total order volume is less than or equal to the total vehicle volume, the constraint that the order mileage is less than or equal to the mileage limit of the delivery vehicle, and the greenhouse gas emission constraint of the order dimension based on the methodology. Among them, the greenhouse gas emission constraint of the order dimension based on the methodology includes: the distance of each order delivered by the vehicle of the optimal delivery model is greater than or equal to zero; the product of the delivery proportion, fulfillment distance, and unit greenhouse gas emissions corresponding to vehicles of different models for each order is less than or equal to the greenhouse gas emissions generated by each order.
[0061] In some embodiments, the vehicle allocation device can also obtain the greenhouse gas emissions of each order in the order to be delivered when calling the solver to solve the total greenhouse gas emissions function with the goal of minimizing the total greenhouse gas emissions. After obtaining the greenhouse gas emissions of each order in the order to be delivered, the vehicle allocation device determines the difference between the corresponding greenhouse gas emissions and the preset greenhouse gas emissions for each order as the corresponding greenhouse gas emission reduction. The preset greenhouse gas emissions are greenhouse gas emissions calculated for each order based on the preset calculation rules. The preset calculation rules are based on the methodology of the "Guidelines for the Calculation and Reporting of Greenhouse Gas Emissions for Land Transportation Enterprises (Trial)".
[0062] Figure 4 This is a schematic diagram of an exemplary greenhouse gas emission sharing structure provided in an embodiment of the present application. Figure 4As shown, greenhouse gases are gaseous components that exist naturally in the atmosphere and are produced by human activities and can absorb and emit radiation with wavelengths within the infrared spectrum produced by the earth's surface, atmosphere and clouds. The seven greenhouse gases specified in the Kyoto Protocol are carbon dioxide (CO2), methane (CH4), nitrous oxide (N2O), hydrofluorocarbons (HFCs), perfluorocarbons (PFCs), sulfur hexafluoride (SF6), and hydrogen trifluoride (HF4). In this application, carbon dioxide among greenhouse gases is mainly considered. Among them, the greenhouse gas inventory of logistics companies is carried out, and the greenhouse gas emissions of vehicle fulfillment and delivery belong to "scope 1" and "scope 2", and each vehicle is loaded with a large number of orders consisting of goods from different merchants, that is, this part of greenhouse gas emissions belongs to the greenhouse gas inventory scope 3 of the merchant of the order goods. Therefore, the emission reduction data of the delivery vehicle can be shared with the merchant of the order goods to achieve a win-win situation in greenhouse gas emissions. Among them, "scope 1" emissions are direct emissions, that is, direct greenhouse gas emissions generated by fuel combustion activities and physical and chemical production processes directly controlled by the enterprise. "Scope 2" emissions are indirect emissions, meaning greenhouse gas emissions generated by the company's outsourced energy, including electricity, heat, steam and air conditioning. "Scope 3" emissions are indirect emissions from various activities in the upstream and downstream of the value chain, covering a wide range of upstream and downstream activities. In other words, order delivery is scope 3 for merchants, and scope 1 or scope 2 for logistics companies. In this way, greenhouse gas emission reduction is the sharing of greenhouse gas emissions based on the order dimension for different objects. It can be understood that for the greenhouse gas emissions of merchants in scope 3, by sharing the greenhouse gas emissions of vehicle fulfillment and delivery in scope 1 and scope 2 of logistics companies, based on the greenhouse gas calculation method of the order dimension, the greenhouse gas emissions of the overlapping parts of logistics companies and merchants can be refined and calculated, and the greenhouse gas emissions and emission reduction data can be shared, so as to achieve greenhouse gas emission reduction of merchants' goods in the downstream transportation link, and effectively control the greenhouse gas emissions generated by common business in the supply chain logistics industry.
[0063] Figure 5 A schematic diagram of an exemplary vehicle allocation method provided in an embodiment of the present application Figure 1 .like Figure 5As shown, the process of vehicle allocation by the vehicle allocation device is implemented by three functional modules, namely, extracting data from the database (acquisition module), constructing a greenhouse gas emission optimization model for vehicle selection based on orders (total greenhouse gas emission function and constraints that the total greenhouse gas emission function needs to meet), solving the greenhouse gas emission optimization model for vehicle selection based on orders and sharing strategies and outputting them to the vehicle dispatching system (determination module). Among them, the exemplary implementation process includes: first, the vehicle allocation device extracts data from the database, and the extracted data includes order weight, order volume, order fulfillment distance, rated volume (vehicle volume), rated load (vehicle load), fuel consumption per 100 kilometers, mileage limit (vehicle mileage), emission factors (fuel emission factor and electricity emission factor) and the upper limit of available vehicles; secondly, constructing a greenhouse gas emission optimization model for vehicle selection based on orders, including constructing an objective function: minimizing order greenhouse gas emissions (total greenhouse gas emission function), and setting constraints satisfied by the model (constraints that the total greenhouse gas emission function needs to meet): order fulfillment vehicle model uniqueness constraint (order delivery vehicle uniqueness constraint), greenhouse gas emission constraint based on the order dimension of methodology. Parts (the distance for each order to be delivered by the vehicle of the optimal delivery model is greater than or equal to zero; the product of the delivery proportion of vehicles of different models for each order, the fulfillment distance, and the unit greenhouse gas emissions corresponding to vehicles of different models is less than or equal to the greenhouse gas emissions generated by each order), vehicle weight and volume restrictions (the total order weight is less than or equal to the total vehicle load weight constraint, the total order volume is less than or equal to the total vehicle volume constraint), and vehicle mileage constraints (the order mileage is less than or equal to the mileage limit constraint of the delivery vehicle); finally, after inputting the data extracted from the database into the constructed model, the fulfillment model (delivery model), fulfillment vehicle (optimal delivery vehicle), and greenhouse gas emissions (greenhouse gas emissions) of each order under the optimal vehicle fulfillment can be obtained. Among them, after the vehicle allocation device extracts the data from the TMS, it will map the extracted data to the model-related parameters in Table 1. The exemplary model parameters are shown in Table 1:
[0064] Table 1
[0065] parameter Parameter Definition Parameter range <![CDATA[w i / ton]]> The weight of order i i∈I <![CDATA[vl i / m 3 ]]> Volume of order i i∈I <![CDATA[we v / ton]]> Model v freight load capacity v∈V <![CDATA[vle v / ton]]> Model v freight volume v∈V <![CDATA[L i / km]]> Mileage of Order i i∈I <![CDATA[Le v / km]]> Mileage limit for vehicle type v freight v∈V <![CDATA[fuel_con v / L·km -1 ]]> Model V freight fuel consumption per 100 kilometers <![CDATA[v∈V f ]]> <h2 style=";text-align:left;direction:ltr"><![CDATA[elec_con <h2 style=";text-align:left;direction:ltr"> v <h2 style=";text-align:left;direction:ltr"> / kWh·km<h2 style=";text-align:left;direction:ltr"> -1 <h2 style=";text-align:left;direction:ltr"> ]]><h2 style=";text-align:left;direction:ltr"> Model v Freight power consumption per 100 km <![CDATA[v∈V e ]]> <![CDATA[ρ / kg·m -3 ]]> density <![CDATA[em_factor v ]]> Fuel emission factors <![CDATA[v∈V f <!-- 6 -->]]> <![CDATA[em_factor ve ]]> Electricity emission factor <![CDATA[v∈V e ]]> <![CDATA[UB v ]]> Model v Quantity Limit v∈V
[0066] Regarding V and V in Table 1 f 、V e , and I, see Table 2 for specific definitions. Since Table 1 only involves vehicle models, in order to distinguish different vehicles, a vehicle number n and a set N of vehicle numbers n are introduced. An exemplary set is shown in Table 2:
[0067] Table 2
[0068]
[0069]
[0070] It is understandable that since the goods of each order and their volume, weight and delivery mileage are different, and the greenhouse gas emissions of different vehicle models delivering the same order are also different, that is, the transportation greenhouse gas emissions are closely related to the vehicle model that carries the order, there must be an optimal match between the order and the greenhouse gas emissions of the fulfillment vehicle. The vehicle allocation device of the present application is provided with an order-based vehicle selection greenhouse gas emission optimization model that achieves the optimal match between the order and the greenhouse gas emissions of the fulfillment vehicle. The model is a model that aims to minimize the greenhouse gas emissions generated by using vehicles in a preset vehicle library to deliver orders to be delivered. In this way, after the vehicle allocation device obtains data from the database, it can determine the optimal delivery vehicle and greenhouse gas emissions corresponding to each order in the to-be-delivered order from the preset vehicle library through the order-based vehicle selection greenhouse gas emission optimization model.
[0071] For example, the order-based vehicle selection greenhouse gas emission optimization model (total greenhouse gas emission function) is shown in formula (1):
[0072]
[0073] Among them, Em i,v,n is the greenhouse gas emissions of order i transported by vehicle type v and number n. In other words, formula (1) is the objective function of the model. From formula (1), it can be seen that the objective function is to minimize the greenhouse gas emissions of the vehicle. The model is a hybrid planning model based on the idea of overall optimization.
[0074] In an embodiment of the present application, the order-based vehicle selection greenhouse gas emission optimization model at least satisfies the preset conditions including: order fulfillment vehicle model uniqueness constraint, methodology-based order dimension greenhouse gas emission constraint, vehicle model load and volume limit constraint, and vehicle mileage constraint.
[0075] For example, the order fulfillment vehicle model uniqueness constraint condition (order fulfillment vehicle uniqueness constraint condition) is as follows:
[0076]
[0077] Among them, x i,v,n For order i, the vehicle type v is transported by number n. If x i,v,n If x is 1, order i is transported by vehicle model v and vehicle number n. i,v,n If it is 0, order i is not transported by vehicle model v and number n.
[0078] The greenhouse gas emission constraints based on the order dimension of the methodology are shown in formulas (3) to (5):
[0079] The product of the delivery ratio of vehicles of different models, the fulfillment distance, and the unit greenhouse gas emissions of vehicles of different models for each order is less than or equal to the greenhouse gas emissions generated by each order, see formula (3) and formula (4):
[0080]
[0081] Among them, Em i,v,n is the greenhouse gas emissions generated by the transportation of order i by vehicle model v and vehicle number n, is the ratio of the weight of order i to the cargo load of vehicle type v, is the ratio of the volume of order i to the volume of freight of vehicle type v, max is the maximum value function, Lx i,v,n is the mileage of order i transported by vehicle model v and number n, fuel_con v is the fuel consumption per 100 kilometers of vehicle type v, ρ is the fuel density, em_factor v is the fuel emission factor.
[0082]
[0083] Among them, different from the elec_con in formula (3) v is the power consumption per 100 kilometers of freight for vehicle type v, em_factor v is the electricity emission factor.
[0084] The distance that each order is delivered by the vehicle of the optimal delivery model is greater than or equal to zero, see formula (5):
[0085]
[0086] Among them, L i,v,n is the mileage of order i transported by vehicle model v and number n, x i,v,n Order i is transported by a vehicle of model v and number n, M is a sufficiently large positive number, and this constraint is used to limit the number of vehicles to x. i,v,n =1, L i,v,n It is not 0.
[0087] The load limit constraint condition of the vehicle model (the total order weight is less than or equal to the total vehicle load constraint condition) is shown in formula (6):
[0088]
[0089] Among them, w i is the weight of order i, x i,v,nFor order i, transported by vehicle model v and number n, we v is the cargo capacity of vehicle type v, UB v The upper limit of the number of vehicle models v.
[0090] The volume restriction constraint of the vehicle model (the total order volume is less than or equal to the total vehicle volume constraint) is shown in formula (7):
[0091]
[0092] Among them, different from vl in formula (6) i is the volume of order i, vle v is the volume of the freight of vehicle type v.
[0093] The vehicle mileage constraint condition (order mileage is less than or equal to the delivery vehicle mileage limit constraint condition) is shown in formula (8):
[0094] ∑ n∈N x i,v,n ≤max{L i -Le v ,0} (8);
[0095] Among them, max is the maximum value function, L i -Le v It is the difference between the mileage of order i and the upper limit of the mileage of vehicle type v.
[0096] In an embodiment of the present application, after mapping the data from the database into the above-mentioned model parameters, the vehicle allocation device inputs them as known parameters into the order-based vehicle selection greenhouse gas emission optimization model to obtain the optimal distribution plan (optimal combination) that satisfies formulas (1)-(8).
[0097] For example, the decision variables output by the order-based vehicle selection greenhouse gas emission optimization model are shown in Table 3:
[0098] Table 3
[0099]
[0100] As can be seen from Table 3 above, the vehicle allocation device can use the order-based vehicle selection greenhouse gas emission optimization model to obtain the optimal delivery vehicle model and greenhouse gas emissions for each order in the delivery order based on the order information and vehicle information extracted from the database.
[0101] After obtaining the greenhouse gas emissions, the vehicle allocation device determines the difference between the corresponding greenhouse gas emissions and the preset greenhouse gas emissions for each order as the corresponding greenhouse gas emission reduction;
[0102] An exemplary method for calculating greenhouse gas emission reduction is shown in formula (9):
[0103] ΔEm i,share =Em i,ref -Em i,v,n (9);
[0104] Among them, Em i,ref is the preset greenhouse gas emissions corresponding to order i, which is the greenhouse gas emissions calculated for each order based on the methodology of the "Guidelines for the Calculation and Reporting of Greenhouse Gas Emissions by Land Transportation Enterprises (Trial)", Em i,v,n is the greenhouse gas emissions corresponding to order i, ΔEm i,share is the greenhouse gas emission reduction of order i.
[0105] It can be understood that the greenhouse gas emission reduction optimization model for vehicle selection based on the order dimension (total greenhouse gas emission function and constraints) and the operations research algorithm (calling the solver) output the optimal distribution fulfillment decision that minimizes the greenhouse gas emissions of all orders, determines the fulfillment vehicle for each order, optimizes the greenhouse gas emissions of the logistics company's transportation link, and realizes the calculation of the greenhouse gas emission reduction of the logistics company under the premise of the existing vehicle resource allocation. In other words, using this model, the greenhouse gas emissions of vehicle fulfillment and delivery are minimized based on the order dimension, and the orders and existing fulfillment and delivery vehicles are optimally matched without purchasing / renting vehicles, ensuring the global optimality of vehicle resource utilization, optimizing the vehicle selection plan based on the global perspective, and reducing transportation greenhouse gas emissions.
[0106] Figure 6 A schematic diagram of an exemplary vehicle allocation method provided in an embodiment of the present application Figure 2 .
[0107] like Figure 6 As shown, it includes steps S601 to S604:
[0108] Step S601, map the order information, vehicle rated load and rated volume, vehicle mileage limit, vehicle fuel consumption per 100 kilometers, vehicle electricity consumption per 100 kilometers, fuel emission factor, electricity emission factor, and upper limit of available vehicles into relevant parameters in Table 1.
[0109] Here, the vehicle allocation device maps the data extracted from the preset database into model parameters and inputs them into the constructed order-based vehicle selection greenhouse gas emission optimization model.
[0110] Step S602: with the goal of minimizing greenhouse gas emissions, calling a solver to solve the order-based vehicle selection greenhouse gas emission optimization model.
[0111] Here, the vehicle allocation device calls the solver to solve the model that has been built with the goal of minimizing greenhouse gas emissions (the order-based vehicle selection greenhouse gas emission optimization model). Among them, the solver integrates a variety of optimization algorithms. The current mainstream solvers include the mathematical programming optimizer gurobi, the linear programming solver clplex, the mixed integer linear programming solver cbc, the linear programming solver scip, etc. The model built here is mixed integer programming (Mixed Integer Programming), that is, a decision planning model with both continuous variables and integer variables.
[0112] Step S603: The optimal decision output to the vehicle dispatching system includes: the optimal vehicle type for each order and the optimal greenhouse gas emissions for each order.
[0113] Here, the vehicle allocation device inputs the model parameters of step S601 into the model and solves the model to obtain the optimal fulfillment vehicle type (the vehicle with the optimal delivery model) and the optimal greenhouse gas emissions (greenhouse gas emissions) for each order.
[0114] Step S604: output the greenhouse gas emission reduction that can be shared by customers whose orders contain the goods.
[0115] Here, the vehicle allocation device determines the corresponding shared greenhouse gas emission reduction amount (greenhouse gas emission shared amount) for each order based on the above formula (9).
[0116] The embodiment of the present application provides a vehicle allocation method, which determines the unit greenhouse gas emissions corresponding to vehicles of different models in a preset vehicle library; obtains the fulfillment distance of each order in the orders to be delivered, and determines the delivery ratio corresponding to vehicles of different models for each order; based on the unit greenhouse gas emissions corresponding to vehicles of different models, the fulfillment distance of each order, and the delivery ratio corresponding to vehicles of different models for each order, determines a total greenhouse gas emission function that characterizes the total greenhouse gas emissions generated by delivering the orders to be delivered, the orders to be delivered, the delivery models, and the logical relationship between the delivery vehicles; based on the total greenhouse gas emission function, obtains the optimal combination of the orders to be delivered, the delivery models, and the delivery vehicles, so as to perform vehicle allocation based on the optimal combination. The vehicle allocation method provided in the present application takes into account the greenhouse gas emissions generated when vehicles of different models in a preset vehicle library deliver orders to be delivered. The vehicle allocation device constructs a total greenhouse gas emission function that characterizes the total greenhouse gas emissions generated by delivering orders to be delivered, the orders to be delivered, the delivery model, and the logical relationship between the delivery vehicles. Based on the total greenhouse gas emission function, the vehicle with the optimal delivery model is matched for each order in the orders to be delivered. This can effectively reduce the greenhouse gas emissions generated by using vehicles in the preset vehicle library to deliver orders to be delivered, and improve the rationality of vehicle allocation.
[0117] The present application embodiment provides a vehicle allocation device, such as Figure 7 As shown, the vehicle allocation device includes:
[0118] A determination module 701 is used to determine unit greenhouse gas emissions corresponding to vehicles of different models in a preset vehicle library;
[0119] The acquisition module 702 is used to obtain the fulfillment distance of each order in the to-be-delivered orders, and determine the delivery ratio corresponding to each order for vehicles of different models;
[0120] The determination module 701 is further used to determine a total greenhouse gas emission function representing the total greenhouse gas emissions generated by delivering the orders to be delivered, the orders to be delivered, the delivery models, and the logical relationship between the delivery vehicles based on the unit greenhouse gas emissions corresponding to the vehicles of different models, the fulfillment distance of each order, and the delivery ratios corresponding to the vehicles of different models for each order;
[0121] The allocation module 703 is further used to obtain the optimal combination of the to-be-delivered orders, the delivery vehicle types, and the delivery vehicles based on the total greenhouse gas emission function, so as to allocate vehicles based on the optimal combination to obtain the order information of the to-be-delivered orders and the vehicle information of the available delivery vehicles;
[0122] In one embodiment of the present application, the determination module 701 is also used to obtain the fuel density and fuel emission factor corresponding to the fuel vehicle and the electric emission factor corresponding to the electric vehicle; for different models of fuel vehicles, the unit mileage fuel consumption of the corresponding model is obtained, and based on the corresponding unit mileage fuel consumption, fuel density, and fuel emission factor, the unit greenhouse gas emissions of the corresponding model of fuel vehicle are determined; for different models of electric vehicles, the unit mileage electricity consumption of the corresponding model is obtained, and based on the corresponding unit mileage electricity consumption and the electric emission factor, the unit greenhouse gas emissions of the corresponding model of electric vehicle are determined.
[0123] In one embodiment of the present application, the determination module 701 is also used to obtain vehicle information corresponding to vehicles of different models and order information of each order in the order to be delivered; the vehicle information includes the vehicle load weight and the vehicle volume; the order information includes the order weight and the order volume; for vehicles of different models, the ratio of the order weight corresponding to each order to the corresponding vehicle load weight is determined as the weight share corresponding to each order; for vehicles of different models, the ratio of the order volume corresponding to each order to the corresponding vehicle volume is determined as the volume share corresponding to each order; for vehicles of different models, the weight share and the volume share corresponding to each order with the largest value is determined as the delivery share corresponding to each order.
[0124] In one embodiment of the present application, the allocation module 703 is also used to call the solver to solve the total greenhouse gas emission function with the goal of minimizing the total greenhouse gas emissions, and obtain the optimal delivery vehicle model for each order in the to-be-delivered order.
[0125] In one embodiment of the present application, the allocation module 703 is also used to call the solver with the goal of minimizing the total greenhouse gas emissions, solve the total greenhouse gas emission function, and obtain the greenhouse gas emissions of each order in the orders to be delivered; for each order, the difference between the corresponding greenhouse gas emissions and the preset greenhouse gas emissions is determined as the corresponding greenhouse gas emission reduction; the preset greenhouse gas emissions are the greenhouse gas emissions calculated for each order based on the preset calculation rules.
[0126] In one embodiment of the present application, the determination module 701 is also used to obtain order information of each order in the orders to be delivered, including: extracting multiple orders from a preset database, and multiple order data corresponding to the multiple orders one by one; using the multiple order data, eliminating orders with missing data in the multiple orders, and determining the eliminated multiple orders as orders to be delivered, and determining the order data corresponding to each order in the orders to be delivered as order information.
[0127] In one embodiment of the present application, the total greenhouse gas emission function satisfies at least the following constraints: the uniqueness constraint of the order delivery vehicle, the total order weight is less than or equal to the total vehicle load constraint, the total order volume is less than or equal to the total vehicle volume constraint, the order mileage is less than or equal to the delivery vehicle mileage limit constraint, and the greenhouse gas emission constraint of the order dimension based on the methodology.
[0128] In one embodiment of the present application, the greenhouse gas emission constraints based on the order dimension of the methodology include: the delivery distance of each order by the vehicle of the optimal delivery model is greater than or equal to zero; the product of the delivery proportion of vehicles of different models, the fulfillment distance, and the unit greenhouse gas emissions corresponding to vehicles of different models for each order is less than or equal to the greenhouse gas emissions generated by each order.
[0129] The present application embodiment provides a vehicle allocation device, such as Figure 8 As shown, the vehicle allocation device includes: a processor 801, a memory 802 and a communication bus 803;
[0130] A communication bus 803 is used to realize the communication connection between the processor 801 and the memory 802;
[0131] The processor 801 is used to execute the computer program stored in the memory 802 to implement the above-mentioned vehicle allocation method.
[0132] The embodiment of the present application provides a computer-readable storage medium, which stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the above-mentioned vehicle allocation method. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it can be a respective device including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.
[0133] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0134] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0135] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0137] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A vehicle allocation method, characterized in that: The method comprises: Determine the unit greenhouse gas emissions corresponding to different vehicle models in the preset vehicle library; Obtaining the fulfillment distance of each order in the to-be-delivered orders, and determining the delivery ratio corresponding to the vehicles of the different models for each order; Based on the unit greenhouse gas emissions corresponding to the vehicles of different models, the fulfillment distance of each order, and the delivery ratio of each order corresponding to the vehicles of different models, determine a total greenhouse gas emission function representing the total greenhouse gas emissions generated by delivering the orders to be delivered, the orders to be delivered, the delivery models, and the logical relationship between the delivery vehicles; Based on the total greenhouse gas emission function, an optimal combination of the orders to be delivered, the delivery vehicle type, and the delivery vehicles is obtained, so as to perform vehicle allocation based on the optimal combination.
2. The method according to claim 1, characterized in that The vehicles of different models include fuel vehicles of different models and electric vehicles of different models; the determining of unit greenhouse gas emissions corresponding to vehicles of different models in the preset vehicle library includes: Obtaining the fuel density and fuel emission factor corresponding to the fuel vehicle and the electric emission factor corresponding to the electric vehicle; For the different models of fuel vehicles, obtain the unit mileage fuel consumption of the corresponding model, and determine the unit greenhouse gas emissions of the corresponding model of fuel vehicle based on the corresponding unit mileage fuel consumption, the fuel density, and the fuel emission factor; For the different types of electric vehicles, the unit mileage power consumption of the corresponding model is obtained, and based on the corresponding unit mileage power consumption and the electricity emission factor, the unit greenhouse gas emissions of the corresponding model of electric vehicle are determined.
3. The method according to claim 1, characterized in that The determining of the delivery ratio corresponding to the vehicles of different models for each order includes: Obtaining vehicle information corresponding to the vehicles of different models and order information of each order in the to-be-delivered orders; the vehicle information includes vehicle load weight and vehicle volume; the order information includes order weight and order volume; For the vehicles of different models, the ratio of the order weight corresponding to each order to the corresponding vehicle load weight is determined as the weight proportion corresponding to each order; For the vehicles of different models, the ratio of the order volume corresponding to each order to the corresponding vehicle volume is determined as the volume proportion corresponding to each order; For the vehicles of different models, the weight proportion and volume proportion corresponding to each order with the largest value is determined as the delivery proportion corresponding to each order.
4. The method according to claim 1, characterized in that: The obtaining of the optimal combination of the to-be-delivered order, the delivery vehicle type, and the delivery vehicle based on the total greenhouse gas emission function includes: With the goal of minimizing the total greenhouse gas emissions, the solver is called to solve the total greenhouse gas emissions function to obtain the optimal delivery vehicle model for each order in the to-be-delivered orders.
5. The method according to claim 4, characterized in that The method further comprises: With the goal of minimizing the total greenhouse gas emissions, calling a solver to solve the total greenhouse gas emissions function to obtain the greenhouse gas emissions of each order in the to-be-delivered orders; For each of the orders, the difference between the corresponding greenhouse gas emissions and the preset greenhouse gas emissions is determined as the corresponding greenhouse gas emission reduction; the preset greenhouse gas emissions are the greenhouse gas emissions calculated for each of the orders based on preset calculation rules.
6. The method according to claim 3, characterized in that The step of obtaining the order information of each order in the order to be delivered includes: Extracting a plurality of orders and a plurality of order data corresponding to the plurality of orders from a preset database; The plurality of order data are used to eliminate orders with missing data from the plurality of orders, and the eliminated plurality of orders are determined as orders to be delivered, and the order data corresponding to each order in the orders to be delivered is determined as the order information.
7. The method according to any one of claims 1 to 6, characterized in that: The total greenhouse gas emission function satisfies at least the following constraints: order delivery vehicle uniqueness constraint, order total weight is less than or equal to vehicle total load constraint, order total volume is less than or equal to vehicle total volume constraint, order mileage is less than or equal to delivery vehicle mileage limit constraint, and greenhouse gas emission constraint based on the order dimension of methodology.
8. The method according to claim 7, characterized in that The greenhouse gas emission constraints in the order dimension based on the methodology include: The distance that each order is delivered by a vehicle of the optimal delivery model is greater than or equal to zero; The product of the delivery proportion of the vehicles of the different models, the fulfillment distance, and the unit greenhouse gas emissions corresponding to the vehicles of the different models for each order is less than or equal to the greenhouse gas emissions generated by each order.
9. A vehicle allocation device, characterized in that: include: A determination module, used to determine unit greenhouse gas emissions corresponding to vehicles of different models in a preset vehicle library; An acquisition module, used to acquire the fulfillment distance of each order in the to-be-delivered orders, and determine the delivery ratio corresponding to the vehicles of the different models for each order; The determination module is further configured to determine, based on the unit greenhouse gas emissions corresponding to the vehicles of different models, the fulfillment distance of each order, and the delivery ratio of each order corresponding to the vehicles of different models, a total greenhouse gas emission function representing the total greenhouse gas emissions generated by delivering the order to be delivered, the order to be delivered, the delivery model, and the logical relationship between the delivery vehicle; The allocation module is also used to obtain the optimal combination of the to-be-delivered orders, the delivery vehicle types, and the delivery vehicles based on the total greenhouse gas emission function, so as to perform vehicle allocation based on the optimal combination.
10. The device according to claim 9, characterized in that The determination module is also used to call the solver with the goal of minimizing the total greenhouse gas emissions, solve the total greenhouse gas emission function, and obtain the greenhouse gas emissions of each order in the orders to be delivered; for each order, the difference between the corresponding greenhouse gas emissions and the preset greenhouse gas emissions is determined as the corresponding greenhouse gas emission reduction; the preset greenhouse gas emissions are the greenhouse gas emissions for each order calculated based on preset calculation rules.
11. A vehicle allocation device, characterized in that: include: processor, memory, and communications bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the computer program stored in the memory to implement the vehicle allocation method according to any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the vehicle allocation method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Delivery scheme determination method and device and computer readable storage medium
CN110390409A
Load sharing method and device for determining kitchen and bathroom vehicles for home furnishing delivery
CN111985698A
Emergency order delivery scheduling optimization method
CN113033866A
Method and system of green chain management for greenhouse gas reduction
KR1020160132697A
