1 / 28

Flight Time Allocation Using Reinforcement Learning

This study explores efficient aircraft maintenance assignment, considering flight time allocation as a Markov Decision Problem. It compares Q-learning with heuristic rules for improved fleet operations and resource management.

hvaught
Télécharger la présentation

Flight Time Allocation Using Reinforcement Learning

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Flight Time Allocation Using Reinforcement Learning Ville Mattila and Kai Virtanen Systems Analysis Laboratory, Helsinki University of Technology www.sal.tkk.fiVille.A.Mattila@tkk.fi

  2. Abstract Fighter aircraft are maintained periodically on the basis of cumulated usage hours. In a fleet of aircraft, the timing of the maintenance therefore depends on the allocation of flight time. The timing is also subject to a number of uncertainties such as failures of the aircraft. A fleet with limited maintenance resources is faced with a design problem in assigning the aircraft to flight missions so that the overall amount of maintenance needs will not exceed the maintenance capacity. We consider the assignment of aircraft to flight missions as a Markov Decision Problem over a finite time horizon. The average availability of aircraft is taken as the optimization criterion. We describe the fleet operations with a simulation model. An efficient assignment policy is solved using a Reinforcement Learning technique called Q-learning that presents actions to the simulation and observes the resulting system behavior. We compare the performance of the Q-learning algorithm to a set of heuristic assignment rules using problems involving varying number of aircraft and types of periodic maintenance. Moreover, we consider the possibilities of practical implementation of the produced solutions.

  3. 1. The Flight Time Allocation Problem

  4. Problem setting Which assignment preserves aircraft availability? A fraction of aircraft assigned to flight missions Air base start of day end of day Flight missions Periodic maintenance after fixed number of flight hours Limited maintenance capacity Mission-capable aircraft to base

  5. The flight time allocation problem • The timing of periodic maintenance depends on the assignment of aircraft to flight missions, i.e., allocation of flight time • Problem: How to allocate flight time so that aircraft availability is preserved

  6. Availability as performance indicator • Availability: The proportion of mission-capable aircraft to the total size of the fleet • One of the primary performance indicators of operational capability in actual maintenance-related decision making • We consider average availability over a finite time horizon • Need to study operational capability given certain initial state • Operational environment remains the same for a limited amount of time

  7. Difficulty of flight time allocation • Uncertainties • Maintenance duration • Accumulated flight hours during missions • Unplanned maintenance through failure repairs • Unplanned maintenance through battle damage repairs • Dimension of the problem • Potentially a large number of aircraft • Different types of periodic maintenance • Multiple, different level maintenance facilities

  8. 2. Problem formulation

  9. m m m 1 1 1 m-1 m-1 m-1 2 2 2 0 0 0 Formulation as a Markov Decision Problem Days in use since last periodic maintenance Periodic maintenance State of a single aircraft→ Action: The number of aircraft assigned to flight missions from each state Transition: assigned to fligh missions Performance criterion: The number of aircraft in maintenance / total fleet size Transition: maintenance completed State of the fleet → the number of aircraft in each state

  10. System state • Denote the size of the fleet with N • A single aircraft • State i [0, m-1]: ‘the number of stages in use since last periodic maintenance’ • State m: ‘aircraft in maintenance’ • m equals the maintenance interval of the aircraft • The aircraft fleet • State s=(s0, s1,…, sm), where si denotes the number of aircraft in state i

  11. Actions • The number of aircraft assigned to perform flight missions d • Action a=(a0, a1,…, am-1) where ai is the number of assigned aircraft in state i • The set of admissible actions in state s of the aircraft fleet: • At most d aircraft are assigned • If the number of available aircraft is less than d, all are assigned

  12. Simulation of the aircraft fleet • Current state s, action a, resulting state s’ • Maintenance capacity M, expected duration D • State transitions • Completed maintenance: for k = 1 to min(M,sm) draw z~U(0,1) if z < 1/D, s0’=s0 + 1, sm’=sm - 1 • Usage of aircraft: for k = 1 to m-1 sk’=sk’+ak-1’ - ak’

  13. Optimization criterion • Immediate reward r(s,a,s’) is the aircraft availability in s’ • Optimization criterion: average availability over finite number of stages

  14. 3. The reinforcement learning approach

  15. Learning optimal flight time allocation policy The learning algorithm Present action to the simulation and observe its benefit on the basis of the simulated response Repeat action system state reward Simulation of the system Simulate the state transition and reward following the execution of the action Learned policy: actions that produce greatest immediate and expected future rewards

  16. Q-learning • The value of executing action a in state s and following the optimal policy from then onis stored in the Q-factor Q(s,a) of the state-action pair • The factors Q(s,a) are updated s follows: where (0,1)is the step size and (0,1) the discount factor • The learned policy:

  17. Details of the learning algorithm • Action selection with probability e, select a for which Q(s,a) is highest, i.e., a greedy action with probability 1-e, select any other a randomly from A(s) • Step size where V(s,a) denotes number of times pair (s,a) has been visited • Discounting • Q-learning is actually a technique for discounted total reward • Can however optimize average reward, if  is sufficiently high

  18. Heuristic policies • Can represent efficient solution for many complex problems • Can act as reference to the policy produced by Q-learning • Two simple policies are considered • ‘advance’: flight time is allocated to aircraft with least time to maintenance • ‘postpone’: flight time is allocated to aircraft with most time to maintenance

  19. 4. Results

  20. Example problem Learning parameters • e = 0.9 probability of choosing a greedy action •  = 0.98 the discount factor • Problem instance • N = 4 the number of aircraft • m = 2 maintenance interval • d = 1 number of aircraft to flight missions • M = 1 maintenance capacity • D = 2 expected duration of maintenance • L = 50 number of stages • Initial state s(0)=[1 2 1]

  21. Convergence of average reward • A convergent solution is obtained after 1000 state transitions • 20 replications of the 50-day time period • Average availablity over the time period outperforms simple heuristic policies

  22. Availability under the different policies • The learned policy • Maintains higher availability than heuristic policies in the beginning • Matches the availability of the heuristics during later stages

  23. Characterizing the learned policy • Since m was taken very small, the learned solution can be characterized with the ‘advance’ and the ‘postpone’ heuristic policies as follows: • if number of aircraft in maintenance is equal to or more than capacity: → ‘postpone’ • if maintenance facility is idle: if s2 >1 → ‘advance’ else → ‘postpone’

  24. 5. Conclusions

  25. Contributions • Insight to a difficult problem actually faced by fleet commanders • Flight time allocation as a means for timing maintenance • Has not been considered as a dynamic problem to the best of our knowledge • Has not been considered with RL-techniques

  26. The reinforcement learning approach • Results of the reinforcement learning approach for the studied problem instances are promising • A convergent policy is found • The obtained policy outperforms simple heuristic policies • Learning time is manageable for fleet sizes of up to 16 aircraft

  27. Extensions to the model • A number of extensions to the presented model are likely required in order to describe more realistic scenarios • Of particular interest are the effects of • Additional uncertainties such as battle damage • Operational environment that evolves through time • Violations of the Markovian property of states

  28. Analysis of obtained policies • The purpose of studying the flight time allocation problem is to obtain new insight for the use of human decision makers • Until now, Q-learning has been implemented as a look-up table version • Q-factors are stored explicitly → representation of learned requires large storage space • Post-learning analysis to build intuition of efficient policies • Future challenge is to represent policies in compact form that allows both • Efficient learning • Intuitive representation to human decision makers

More Related