A method and system for dispatching special vehicles at airports based on simulation model
By constructing a special vehicle dispatching model and a digital twin simulation model, combined with a deep reinforcement learning algorithm, the problem of low computing efficiency and dispatching efficiency in airport special vehicle dispatching is solved, and efficient, real-time dispatching plan generation and optimization are achieved.
Patent Information
- Application Number
- CN202411044599.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-01
AI Technical Summary
The existing technology has problems in airport special vehicle dispatching, such as low computational efficiency, weak generalization ability, and low dispatching efficiency in an uncertain environment. In particular, the scheduling plan cannot be adjusted in real time when flight schedules fluctuate or are delayed.
Adopting a simulation model-based method, by building a special vehicle dispatch model and a digital twin simulation model, combined with a deep reinforcement learning algorithm, using historical and real-time data for training and simulation evaluation, generating and optimizing the dispatch plan, and using a multi-agent reinforcement learning algorithm Perform offline training and online inference.
It achieves efficient calculation and robustness of the scheduling plan, can generate optimized special vehicle dispatching plans in a few seconds, and improves the real-time and robustness of dispatching.
Smart Images

Figure CN118586673B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital models, and in particular to a method and system for dispatching special vehicles at an airport based on a simulation model. Background Art
[0002] With the rapid development of the civil aviation industry, airport ground services are becoming more and more important as part of airport ground operation management. Airport ground services refer to the services provided by various special vehicles to flights within the specified time window, such as refueling services, cleaning services and cabin services. According to statistics, inefficient scheduling of special vehicles is an important cause of flight delays, and the current scheduling method is mainly manual, which has problems such as low efficiency and difficulty in adjustment. Many researchers model it as a related variant of the vehicle routing problem for research, such as the special vehicle routing problem with time windows or the pickup and delivery problem with time windows.
[0003] Currently, most of the solutions are based on precise algorithms or heuristic algorithms, such as mixed integer programming algorithms, genetic algorithms, particle swarm algorithms, and annealing algorithms. However, these algorithms have problems such as low computational efficiency and weak generalization. Moreover, heuristic algorithms have extremely high computational time complexity, which changes exponentially with the scale of the problem, and are heavily dependent on the setting of heuristic rules, requiring a lot of expert experience.
[0004] The application of deep reinforcement learning can solve the problems of high computational cost and weak generalization ability of traditional methods. Since the deep reinforcement learning model can continuously interact with the environment to obtain information, there is an active learning process, and the strategy is continuously learned and improved. Therefore, it has great advantages in solving the special vehicle routing problem with time windows. When the algorithm uses a large amount of empirical data to learn and generate a pre-trained model, the model has strong reasoning ability and can complete the calculation in a few seconds in various scenarios, which can provide real-time dispatch capabilities for special vehicles.
[0005] However, the use of heuristic algorithms or deep reinforcement learning algorithms alone uses historical data for solution and training, lacks interaction with the actual environment, and often performs unsatisfactorily in uncertain environments. They perform well under ideal scheduling models, but the efficiency of scheduling is low in the actual airport operation environment. For example, when the planned flight schedule fluctuates or flights are delayed on a large scale, real-time data cannot be obtained for future simulation and deduction, and the plan cannot be adjusted in real time to optimize the scheduling process. The emergence of digital twin technology, with its information communication between physical space and virtual space, has opened up new possibilities for the combination of optimization and simulation. However, how to use real-time data online reasoning to generate scheduling plans and perform simulation verification to improve the robustness of the plan is a challenging problem. Summary of the invention
[0006] The purpose of the present invention is to provide a method and system for dispatching special vehicles for airports based on a simulation model to solve the above-mentioned problems in the prior art.
[0007] The embodiments of the present invention are implemented by the following technical solutions:
[0008] In a first aspect, the present invention provides a method for dispatching special vehicles at an airport based on a simulation model, comprising:
[0009] Construct a special vehicle dispatching model, set optimization goals, and establish a constraint model. The optimization goals include minimizing the driving path of the fleet and the use cost of special vehicles;
[0010] Establish a digital twin simulation model for airport special vehicles enhanced by digital twins, which includes physical space, virtual space and scheduling decision space, obtain historical data of flights and special vehicles, and generate training data sets from historical data through a special vehicle scheduling model;
[0011] The scheduling decision space is trained using a deep reinforcement learning algorithm and a training data set to obtain a pre-trained model;
[0012] The current real-time data is obtained through the physical space, and the real-time data is input into the pre-trained model to obtain the fleet scheduling plan. The scheduling plan is simulated and evaluated through the virtual space to obtain evaluation indicators. The evaluation indicators are used to determine whether the expectations are met. If the expectations are not met, the parameters of the digital twin simulation model are modified and re-trained; if the expectations are met, the current fleet scheduling plan is output.
[0013] Preferably, the construction of the special vehicle dispatching model, setting the optimization target, and establishing the constraint model includes:
[0014]
[0015]
[0016]
[0017]
[0018]
[0019] In the formula, To minimize the fleet's driving routes and the cost of using special vehicles, is the number of special vehicles, is the total number of special vehicles, It is a collection of timestamps when special vehicles visit the parking space. To spend the total cost, For special vehicles The total cost, The service seats are numbered sequentially. For the Secondary service seat number Arrival seat number Mileage is the penalty coefficient, For the The latest arrival time allowed for the next service stand number i, For special vehicles No. The actual arrival time of the service timestamp, For the Secondary service seat number The earliest possible arrival time, is the penalty coefficient for special vehicles violating the time window, is the first penalty coefficient, is the second penalty coefficient, is the actual arrival time at the aircraft seat, To allow for the earliest possible arrival time, To allow for the latest arrival time at the aircraft, To constrain the fleet, is the spatial dimension, is the capacity constraint, For the service phase of special vehicles, For special vehicles The capacity, For flight demand, For special vehicles The maximum capacity.
[0020] Preferably, the physical space includes:
[0021] Acquire the aircraft data and the special vehicle data, and build a data relationship between the aircraft data and the special vehicle data.
[0022] Preferably, the virtual space includes:
[0023] Extract the state and action change rules of special vehicles during the service process, and establish a model of the driving speed and path-finding rules of special vehicles;
[0024] The model of the driving speed of the special vehicle includes:
[0025]
[0026] The model of the path-finding rule of the special vehicle includes:
[0027]
[0028] In the formula, Special vehicle speed, Special vehicles fixed speed, For special vehicles Arrival The distance For pathfinding rules, is the number of service paths, is the distance of the subpath, For the service path.
[0029] Preferably, the method further comprises establishing a behavior model, wherein the behavior model comprises:
[0030] judge Is it greater than or equal to zero? If it is greater than or equal to zero, the behavior occurrence sequence satisfies the service path sequence of special vehicle k. If it is less than zero, the behavior occurrence sequence is inconsistent with the service path sequence of special vehicle k. In the formula, This service logo is Sign for next service.
[0031] Preferably, the scheduling decision space includes:
[0032] The customer selection problem for each special vehicle in time is defined as ,in, Represents the current joint observation status of all special vehicles. Indicates the action taken, represents the state transition probability, It is the experience pool, which is used to store action information at a specified time step. represents the discount factor, Represents the reward function. strategies representing special vehicles;
[0033] When the special vehicle completes the current service and the global time step of the environment is greater than the next time the customer allows the service to start, the state of the special vehicle changes, and the change includes:
[0034]
[0035]
[0036]
[0037]
[0038]
[0039] In the formula, in the formula, As the demand for shared information changes, is the current capacity of special vehicles, is the spatial dimension, The number of the stand where the special vehicle will serve the customer next time. The first position for special vehicles Number, is the seat number of the next service calculated in the action space, is the action space, Calculation of the timestamp for the next service. The timestamp for the next service of the special vehicle, The time step for the special vehicle to complete the current service, Seat number Arrival seat number The journey, is the driving speed, For service time, Seat number Distance to warehouse, To rest in the warehouse, For the next calculation of the current capacity of special vehicles, The current capacity of special vehicles for the next time, The relationship between the next customer location of the special vehicle and other customer locations, Calculate the index of the value 1 in the action space, is the distance to the next service station, is the distance calculated in the action space.
[0040] Preferably, it also includes setting a reward function, wherein the reward function is used to describe the driving distance and time violation penalties;
[0041]
[0042] In the formula, Seat number Arrival seat number The distance Seat number Distance to warehouse.
[0043] Preferably, it also includes:
[0044] Obtain the deterministic policy of special vehicles, map the observation information of special vehicles into a distribution of a set of actions, and calculate them through reparameterization;
[0045] The goal of each special vehicle is to learn the strategy that maximizes the expected return:
[0046]
[0047] In the formula, in the formula, is the value function, is the strategy for special vehicle k, For all special vehicles according to their own strategic expectations, is the discount factor at time t, is the time step Instant rewards, is the time step The environmental status, For special vehicle 1 at time step Actions taken, is the number of special vehicles N at time step Actions taken;
[0048] Use policy gradient descent to update the policy:
[0049] ,
[0050] In the formula, in the formula, For strategy Relative to The gradient of for relative to strategy, are model parameters, is the time step The selection action, Access time steps for client nodes, is the discount factor, is the time step Instant rewards, is the time step status, is the time step Select action.
[0051] Preferably, the deep reinforcement learning algorithm includes:
[0052]
[0053]
[0054]
[0055] In the formula, is the attention weight, is the scoring function for the bilinear model, is the query vector, For special vehicles status, is the weighted contribution of special vehicles, For special vehicles The attention weight, For special vehicles status, for The embedded coding is the transformation of the shared matrix, is a single-layer perceptron, is a nonlinear activation function, The Q value function of special vehicles is defined as: For action, For special vehicle status, is a natural number.
[0056] In a second aspect, the present invention further provides an airport special vehicle dispatching system, comprising:
[0057] A data processing module is configured to construct a special vehicle dispatching model, set optimization goals, and establish a constraint model, wherein the optimization goals include minimizing the driving path of the fleet and the use cost of the special vehicles;
[0058] A model building module is configured to build a digital twin enhanced digital twin simulation model of airport special vehicles, wherein the digital twin simulation model includes a physical space, a virtual space, and a scheduling decision space, obtains historical data of flights and special vehicles, and generates a training data set from the historical data through a special vehicle scheduling model;
[0059] A training module, configured to train the scheduling decision space through a deep reinforcement learning algorithm and a training data set to obtain a pre-trained model;
[0060] The decision module is configured to obtain current real-time data through physical space, input the real-time data into the pre-trained model to obtain the fleet dispatch plan, simulate and evaluate the dispatch plan through virtual space to obtain evaluation indicators, and judge whether the expectations are met based on the evaluation indicators. If the expectations are not met, the parameters of the digital twin simulation model are modified and retrained; if the expectations are met, the current fleet dispatch plan is output;
[0061] The main control module is connected with the data processing module, the model building module, the training module and the decision module, and is used to execute the above-mentioned airport special vehicle dispatching method based on the simulation model.
[0062] The technical solution of the embodiment of the present invention has at least the following advantages and beneficial effects:
[0063] The present invention establishes a practical special vehicle dispatching model by taking the minimization of the fleet's driving distance and cost as the optimization goal, and defines special vehicles as agents through historical and real-time data obtained by digital twins. Multi-agent reinforcement learning algorithms are used for offline training and online reasoning. The dispatching scheme generated by online reasoning is verified and evaluated through the digital twin simulation model, and the algorithm improvement strategy is guided, and the optimal scheme is sent to the fleet for special vehicle services. This method can not only achieve efficient calculation, but also improve the robustness of the dispatching scheme. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0065] Figure 1 It is a schematic diagram of the first process of the present invention;
[0066] Figure 2 It is a second process schematic diagram of the present invention;
[0067] Figure 3 It is the interactive relationship between the physical space, virtual space and scheduling decision space of the present invention. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0069] The division of modules in this application is a logical division. There may be other division methods when implemented in actual applications. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.
[0070] The modules or submodules described independently may be physically separated or not: they may be implemented by software or hardware, and some modules or submodules may be implemented by software, and the processor may call the software to implement the functions of these modules or submodules, and other modules or submodules may be implemented by hardware, such as by hardware circuits. In addition, some or all of the modules may be selected according to actual needs to achieve the purpose of the present application.
[0071] Please refer to Figure 1-Figure 3 The present invention provides a method for dispatching special vehicles at an airport based on a simulation model, comprising:
[0072] S101: construct a special vehicle dispatching model, set optimization goals, and establish a constraint model, wherein the optimization goals include minimizing the driving path of the fleet and the use cost of the special vehicles;
[0073] The optimization goal of the model is to minimize the fleet's driving path and the cost of using special vehicles under the premise of acceptable time window violations, and establish model constraints, including time, capacity, and service rules.
[0074] S102: Establish a digital twin simulation model of airport special vehicles enhanced by a digital twin, wherein the digital twin simulation model includes a physical space, a virtual space, and a scheduling decision space, obtain historical data of flights and special vehicles, and generate a training data set from the historical data through a special vehicle scheduling model;
[0075] S103: training the scheduling decision space by using a deep reinforcement learning algorithm and a training data set to obtain a pre-trained model;
[0076] S104: Acquire current real-time data through physical space, input the real-time data into the pre-trained model to obtain a fleet scheduling plan, simulate and evaluate the scheduling plan through virtual space to obtain evaluation indicators, and judge whether it meets expectations based on the evaluation indicators. If it does not meet expectations, modify the parameters of the digital twin simulation model and retrain; if it meets expectations, output the current fleet scheduling plan.
[0077] The real-time data in the physical space is input into the pre-trained model to analyze the scheduling requirements and calculate the scheduling plan for the current fleet, wherein the special vehicles mentioned in this plan are all special vehicles referred to in the present invention.
[0078] Furthermore, according to the service order and time constraints of each special vehicle in the fleet in the scheduling plan, the scheduling plan is simulated in the virtual space. Specifically, the scheduling plan is input into the virtual space, random interference is added during the model operation, and finally the virtual space outputs a set of evaluation indicators.
[0079] Furthermore, the feasibility and robustness of the scheduling plan are judged according to the output evaluation index, and whether it can be used as the final output is judged. If so, the scheduling plan is sent to the fleet for execution. If not, the process jumps to S103 and uses the evaluation index to guide model training, thereby further making the model effect more accurate.
[0080] The scheduling plan is sent to the fleet, and each special vehicle in the fleet performs flight services according to the scheduling plan. The digital twin system conducts operation monitoring and situation awareness, and adjusts the scheduling plan in real time according to the operating status.
[0081] In one embodiment of the present invention, the construction of the special vehicle scheduling model, setting the optimization goal, and establishing the constraint model includes:
[0082] Construct a special vehicle scheduling model, where the information of each flight can be represented by a tuple Representative flight is at the gate Have material needs and service time requirements , the time for special vehicles to arrive at the parking position is and There will be no early or late penalties within the time frame.
[0083] The information of each special vehicle can be expressed as a tuple express, Representative special vehicles Service flights , the current capacity is , Represents the speed of the special vehicle. The corresponding distance can be calculated based on the position number and the stand number of the special vehicle (it is worth noting that the distance is not calculated using coordinates, but using the distance information calculated by the path-finding algorithm in the actual airport scenario, which is more in line with the actual airport scheduling needs). Special Vehicle Existing capacity Must be greater than the demand for flights Otherwise, return to the warehouse to replenish supplies to the special vehicle Maximum capacity and rest time.
[0084] Therefore, the service route of the entire fleet can be expressed as , Represents the order list of special vehicles visiting the aircraft positions, where Representative special vehicles At time step Visit flights , where is the total service route of the fleet, Sub-service paths for different special vehicles, Detailed information on service routes for special vehicles.
[0085] Then the fleet travel distance and cost minimization problem P can be constructed as:
[0086]
[0087]
[0088]
[0089]
[0090]
[0091] In the formula, To minimize the fleet's driving routes and the cost of using special vehicles, is the number of special vehicles, The total number of special vehicles, It is a collection of timestamps when special vehicles visit the parking space. To spend the total cost, For special vehicles The total cost, The service seats are numbered sequentially. For the Secondary service seat number Arrival seat number Mileage is the penalty coefficient, For the Secondary service seat number The latest arrival time allowed, For special vehicles The actual arrival time of the service timestamp, For the Secondary service seat number The earliest possible arrival time, is the penalty coefficient for special vehicles violating the time window, is the first penalty coefficient, is the second penalty coefficient, is the actual arrival time at the aircraft seat, To allow for the earliest possible arrival time, To allow for the latest arrival time at the aircraft, To constrain the fleet, is the spatial dimension, is the capacity constraint, For the service phase of special vehicles, For special vehicles The capacity, For flight demand, For special vehicles The maximum capacity.
[0092] Among them, if the special vehicle arrives at Arrival time earlier than the earliest allowed time If it is too early, the penalty coefficient is , otherwise, if the special vehicle arrives at Later than the latest allowed arrival time If it is late, the penalty coefficient is , when the arrival time is within the time window, there will be no penalty. C3 is the fleet constraint, which means that the fleet's service times are equal to the number of flight demands to ensure that all flights are served and to limit the lack of service or repeated service of special vehicles. C4 is the capacity constraint, which means that if special vehicle k has a service task, its current capacity Must be larger than the capacity required by the service Otherwise, it will return to the warehouse for replenishment and the capacity will be updated to .
[0093] In an exemplary embodiment of the present invention, the physical space includes:
[0094] Collect aircraft data and special vehicle data, and build data relationships between the aircraft data and special vehicle data.
[0095] Among them, aircraft data includes flight number, flight parking stand number and flight arrival and departure schedule, etc. Special vehicle data includes special vehicle location, capacity and service time, as well as distance information between stands and stands, and between stands and warehouses. In addition to collecting, cleaning and integrating information, physical space is also the executor of scheduling solutions and the entity of virtual space.
[0096] In an exemplary embodiment of the present invention, the virtual space includes:
[0097] To maintain the consistency of mapping between the virtual environment and the actual operating environment, it is necessary to ensure the consistency of the shape, proportion and structure of the 3D model. For example, the precise size and proportion of aircraft and special vehicles are crucial for special vehicles to find their way and find the designated service location in the simulation system for operation, and also ensure that the interaction between various devices can meet the basic physical properties. The behavior and rule model directly affects the fidelity of the virtual airport operation, especially the calculation results of the simulation model. Therefore, it is necessary to extract the state and action change rules of special vehicles in the service process. For example, special vehicles should first be parked in the warehouse. When receiving the service task from the dispatch center, the path-finding algorithm is used to find the optimal route, and the state is changed to driving. When encountering special vehicles parking and aircraft towing, the waiting driving state is maintained. When arriving at the parking position, it is determined whether the service can be started. The state is changed to waiting for service and the service is in progress. After the service is completed, the state is changed to completed service and it is determined whether it needs to return to the warehouse, otherwise, the next service preparation is carried out.
[0098] Among them, the state and action change rules of special vehicles in the service process are extracted, and the models of the driving speed and path-finding rules of special vehicles are established;
[0099] The model of the driving speed of the special vehicle includes:
[0100]
[0101] Indicates the speed of special vehicles in the simulation system. With the seat Distance When the vehicle is longer than 30 meters, the special vehicle shall be driven at a fixed speed. Keep driving until you are less than 30m away from the special vehicle stop at the aircraft stand, then gradually slow down until you reach the special vehicle stop.
[0102] The model of the path-finding rule of the special vehicle includes:
[0103]
[0104] Represents the path-finding rules for special vehicles, that is, for any special vehicle There is a service path , the path-finding rule is to find the shortest distance driving path for each sub-path, so that the service path The driving distance is the shortest.
[0105] In the formula, is the speed of special vehicles, Fixed speed for special vehicles, For special vehicles Arrival The distance For pathfinding rules, is the number of service paths, is the distance of the subpath, For the service path.
[0106] In one embodiment of the present invention, a behavior model is further established, wherein the behavior model includes:
[0107] judge Is it greater than or equal to zero? If it is greater than or equal to zero, the behavior sequence meets the requirements of special vehicles. The service path sequence of is less than zero, then the behavior sequence is the same as that of special vehicles. The service path order is inconsistent, where This service logo is Sign for next service.
[0108] The behavior model is used to indicate whether the simulation process is legal. If it is not reasonable, local adjustments are made to meet the service path sequence.
[0109] In one embodiment of the present invention, the scheduling decision space includes:
[0110] The scheduling decision space can be divided into two parts: offline learning and online reasoning. Offline learning can iteratively learn intelligence and update decision strategies through historical experience data, and constantly adjust learning parameters to generate optimal strategies in different environments. Online reasoning refers to the interaction between special vehicles and the environment, using real-time data to infer the solution of the current environment instance. Through the combination of the two parts, new problem instances can be quickly reasoned without tedious problem design.
[0111] S201: Define the customer selection problem for each special vehicle over time ,in, Represents the current joint observation status of all special vehicles. Indicates the action taken, represents the state transition probability, It is the experience pool, which is used to store action information at a specified time step. represents the discount factor, Represents the reward function. strategies representing special vehicles;
[0112] Furthermore, the state State is divided into special vehicle shared information and special vehicle local observation information. The shared information includes all customers at the time step Flight demand Observation information includes the number of the special vehicle position , the time step at which the special vehicle completes the current service , current capacity of special vehicles The distance matrix is used to calculate the distance between the current service customers of special vehicles and other customers and warehouses. Indicates that the x and y coordinates of the location are not used to calculate the distance, and the service time window list for all customers There is no service time window in the warehouse, and all special vehicles can access it. The dimension of the state space is , the special vehicle sharing information is expressed as , the local observation information of special vehicles is expressed as , where To arrive at the aircraft The journey, For the aircraft service time.
[0113] Furthermore, Action represents the special vehicle selecting the customer who needs the next service at the current time step. ,Since the algorithm uses a policy-based training method, It only contains two options, 0 and 1. 1 represents selecting a customer, and vice versa. The dimension of the Action space is ,in, The value of the position with index 1 in the action space is 0, The value of the position with index m in the action space is 1, The index in the action space is The value of position is 0,.
[0114] When the special vehicle completes the current service and the global time step of the environment is greater than the next time the customer allows the service to start, the state of the special vehicle changes. The change includes:
[0115]
[0116]
[0117]
[0118]
[0119]
[0120] In the formula, To share information in changing needs, is the current capacity of special vehicles, is the spatial dimension, The number of the stand where the special vehicle will serve the customer next time. The first position for special vehicles Number, is the seat number of the next service calculated in the action space, is the action space, Calculation of the timestamp for the next service. The timestamp for the next service of the special vehicle, The time step for the special vehicle to complete the current service, is the distance from stand number i to stand number i+1, For service time, is the distance from the aircraft number i to the warehouse, To rest in the warehouse, For the next calculation of the current capacity of special vehicles, The current capacity of special vehicles for the next time, The relationship between the next customer location of the special vehicle and other customer locations, Calculate the index of the value 1 in the action space, is the distance to the next service station, is the distance calculated in the action space.
[0121] An exemplary embodiment of the present invention further includes setting a reward function, the reward function being used to describe the driving distance and time violation penalties;
[0122]
[0123] In the formula, Seat number Arrival seat number The distance Seat number Distance to warehouse.
[0124] In one embodiment of the present invention, it further includes:
[0125] Furthermore, the information observed by each special vehicle at different time steps are all different, and the observed information is part of the global information. Each special vehicle learns a deterministic strategy , that is The observation information of special vehicles is mapped into a distribution of a set of actions, where is the action space, For special vehicles At time step The initial state of For special vehicles At time step The next moment state, because the action space is discrete, the parameter gradient based on back propagation in MADDPG cannot be calculated, so Gumbel-Softmax is introduced to solve this problem. It is mainly calculated by reparameterization. Therefore, after reparameterization There are only two probability expressions, 0 and 1, and only one action has a probability of 1, while the others have a probability of 0.
[0126] Obtain the deterministic policy of special vehicles, map the observation information of special vehicles into a distribution of a set of actions, and calculate them through reparameterization;
[0127] The goal of each special vehicle is to learn the strategy that maximizes the expected return:
[0128]
[0129] In the formula, is the value function, For special vehicles strategy, For all special vehicles according to their own strategic expectations, for The discount factor at the moment, is the time step Instant rewards, is the time step The environmental status, For special vehicle 1 at time step Actions taken, is the number of special vehicles N at time step Actions taken;
[0130] Use policy gradient descent to update the policy:
[0131]
[0132] In the formula, For strategy Relative to The gradient of for relative to strategy, are model parameters, is the time step The selection action, Access time steps for client nodes, is the discount factor, is the time step Instant rewards, is the time step status, is the selected action at time step t.
[0133] In one embodiment of the present invention, the deep reinforcement learning algorithm includes:
[0134] The deep reinforcement learning algorithm selectively focuses on important information when using the action value network to evaluate the selected action, rather than the integrated state information of all special vehicles. This can speed up the learning speed of the action value network and reduce the amount of calculation in the entire training process. Therefore, the multi-head attention mechanism is introduced into the action value network. At time step Actions taken The network receives status information of all special vehicles. ,in The status and actions of the special vehicle numbered |V| , special vehicles of The value function is defined as , attention weight , using the bilinear model as the scoring function Calculating the query vector and status The relationship between To represent the weighted contribution of other special vehicles.
[0135]
[0136]
[0137]
[0138] In the formula, is the attention weight, is the scoring function for the bilinear model, is the query vector, For special vehicles status, is the weighted contribution of special vehicles, For special vehicles The attention weight, For special vehicles status, for The embedded coding is the transformation of the shared matrix, is a single-layer perceptron, is a nonlinear activation function, The Q value function of special vehicles is defined as: For action, For special vehicle status, is a natural number.
[0139] Finally, the historical data in the physical space is used to train the policy network and action value network of each special vehicle in the fleet, and the pre-trained model of each special vehicle is saved.
[0140] The present invention also provides an airport special vehicle dispatching system, comprising:
[0141] A data processing module is configured to construct a special vehicle dispatching model, set optimization goals, and establish a constraint model, wherein the optimization goals include minimizing the driving path of the fleet and the use cost of the special vehicles;
[0142] A model building module is configured to build a digital twin enhanced digital twin simulation model of airport special vehicles, wherein the digital twin simulation model includes a physical space, a virtual space, and a scheduling decision space, obtains historical data of flights and special vehicles, and generates a training data set from the historical data through a special vehicle scheduling model;
[0143] A training module, configured to train the scheduling decision space through a deep reinforcement learning algorithm and a training data set to obtain a pre-trained model;
[0144] The decision module is configured to obtain current real-time data through physical space, input the real-time data into the pre-trained model to obtain the fleet dispatch plan, simulate and evaluate the dispatch plan through virtual space to obtain evaluation indicators, and judge whether the expectations are met based on the evaluation indicators. If the expectations are not met, the parameters of the digital twin simulation model are modified and retrained; if the expectations are met, the current fleet dispatch plan is output;
[0145] The main control module is connected with the data processing module, the model building module, the training module and the decision module, and is used to execute the above-mentioned airport special vehicle dispatching method based on the simulation model.
[0146] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0147] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0148] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for dispatching special vehicles at an airport based on a simulation model, characterized in that: include: Construct a special vehicle dispatching model, set optimization goals, and establish a constraint model. The optimization goals include minimizing the driving path of the fleet and the use cost of special vehicles; Establish a digital twin simulation model for airport special vehicles enhanced by digital twins, which includes physical space, virtual space and scheduling decision space, obtain historical data of flights and special vehicles, and generate training data sets from historical data through a special vehicle scheduling model; The scheduling decision space is trained using a deep reinforcement learning algorithm and a training data set to obtain a pre-trained model; The current real-time data is obtained through the physical space, and the real-time data is input into the pre-trained model to obtain the fleet dispatch plan. The dispatch plan is simulated and evaluated through the virtual space to obtain the evaluation index. The evaluation index is used to determine whether the expectations are met. If the expectations are not met, the parameters of the digital twin simulation model are modified and retrained. If the expectation is met, the current fleet dispatch plan is output; The construction of the special vehicle dispatching model, setting the optimization goal, and establishing the constraint model include: In the formula, To minimize the fleet's driving routes and the cost of using special vehicles, is the number of special vehicles, is the total number of special vehicles, It is a collection of timestamps when special vehicles visit the parking space. To spend the total cost, For special vehicles The total cost, The service seats are numbered sequentially. For the Secondary service seat number Arrival seat number Mileage is the penalty coefficient, For the Secondary service seat number The latest arrival time allowed, For special vehicles No. The actual arrival time of the service timestamp, For the Secondary service seat number The earliest possible arrival time, is the penalty coefficient for special vehicles violating the time window, is the first penalty coefficient, is the second penalty coefficient, is the actual arrival time at the aircraft seat, To allow for the earliest possible arrival time, To allow for the latest arrival time at the aircraft, To constrain the fleet, is the spatial dimension, is the capacity constraint, For the service phase of special vehicles, For special vehicles The capacity, For flight demand, For special vehicles Maximum capacity; The scheduling decision space includes: The customer selection problem for each special vehicle in time is defined as ,in, Represents the current joint observation status of all special vehicles. Indicates the action taken, represents the state transition probability, is the experience pool, which is used to store action information at a specified time step. represents the discount factor, represents the reward function, strategies representing special vehicles; When the special vehicle completes the current service and the global time step of the environment is greater than the next time the customer allows the service to start, the state of the special vehicle changes, and the change includes: In the formula, As the demand for shared information changes, is the current capacity of special vehicles, The number of the stand where the special vehicle will serve the customer next time. The first position for special vehicles Number, is the seat number of the next service calculated in the action space, is the action space, Calculation of the timestamp for the next service. The timestamp for the next service of the special vehicle, The time step for the special vehicle to complete the current service, Seat number Arrival seat number The journey, For service time, Seat number Distance to warehouse, To rest in the warehouse, For the next calculation of the current capacity of special vehicles, The current capacity of special vehicles for the next time, The relationship between the next customer location of the special vehicle and other customer locations, To calculate the index of the value 1 in the action space, is the distance to the next service station, is the distance calculated in the action space; Also includes: Obtain a deterministic policy for special vehicles, map the observation information of special vehicles into a distribution of a set of actions, and perform calculations through reparameterization; The goal of each special vehicle is to learn the strategy that maximizes the expected return: In the formula, is the value function, For special vehicles strategy, For all special vehicles according to their own strategic expectations, for The discount factor at the moment, is the time step Instant rewards, is the time step The environmental status, For special vehicle 1 at time step Actions taken, is the number of special vehicles N at time step Actions taken; Use policy gradient descent to update the policy: In the formula, For strategy Relative to The gradient of for relative to strategy, are model parameters, is the time step The selection action, Access time steps for client nodes, is the discount factor, is the time step Instant rewards, is the time step status, is the time step The selection action; The deep reinforcement learning algorithm includes: In the formula, is the attention weight, is the scoring function for the bilinear model, is the query vector, For special vehicles status, is the weighted contribution of special vehicles, For special vehicles The attention weight, For special vehicles status, for The embedded coding is the transformation of the shared matrix, is a single-layer perceptron, is a nonlinear activation function, The Q value function of special vehicles is defined as: For action, For special vehicle status, is a natural number.
2. The method for dispatching special vehicles for airports based on a simulation model according to claim 1, characterized in that: The physical space includes: Acquire the aircraft data and the special vehicle data, and build a data relationship between the aircraft data and the special vehicle data.
3. The method for dispatching special vehicles for airports based on a simulation model according to claim 2, characterized in that: The virtual space includes: Extract the state and action change rules of special vehicles during the service process, and establish a model of the driving speed and path-finding rules of special vehicles; The model of the driving speed of the special vehicle includes: The model of the path-finding rule of the special vehicle includes: In the formula, is the speed of special vehicles, Fixed speed for special vehicles, For special vehicles Arrival The distance For pathfinding rules, is the number of service paths, is the distance of the subpath, For the service path.
4. The method for dispatching special vehicles for airports based on a simulation model according to claim 3, characterized in that: Also included is establishing a behavior model, the behavior model comprising: judge Is it greater than or equal to zero? If it is greater than or equal to zero, the behavior sequence meets the requirements of special vehicles. The service path sequence of is less than zero, then the behavior sequence is the same as that of special vehicles. The service path order is inconsistent, where This service logo is Sign for next service.
5. The method for dispatching special vehicles for airports based on a simulation model according to claim 4, characterized in that: Also included is setting a reward function, the reward function being used to describe driving distance and time violation penalties; In the formula, Seat number Arrival seat number The distance Seat number Distance to warehouse.
6. An airport special vehicle dispatching system, characterized in that: include: A data processing module is configured to construct a special vehicle dispatching model, set optimization goals, and establish a constraint model, wherein the optimization goals include minimizing the driving path of the fleet and the use cost of the special vehicles; A model building module is configured to build a digital twin simulation model of airport special vehicles enhanced by a digital twin, wherein the digital twin simulation model includes a physical space, a virtual space, and a scheduling decision space, obtains historical data of flights and special vehicles, and generates a training data set from the historical data through a special vehicle scheduling model; A training module, configured to train the scheduling decision space through a deep reinforcement learning algorithm and a training data set to obtain a pre-trained model; The decision module is configured to obtain current real-time data through physical space, input the real-time data into the pre-trained model to obtain the fleet dispatch plan, simulate and evaluate the dispatch plan through virtual space to obtain evaluation indicators, and judge whether the expectations are met based on the evaluation indicators. If the expectations are not met, the parameters of the digital twin simulation model are modified and retrained; if the expectations are met, the current fleet dispatch plan is output; The main control module is connected to the data processing module, the model building module, the training module and the decision module, and is used to execute the airport special vehicle dispatching method based on the simulation model as described in any one of claims 1-5.
