Demand adjust (domestic/regional/intercontinental) #622
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Equations are combined in certain ways, so below numbers are just for reference, the end result usually is hard to describe due to combined effect, especially point 9 changes everything 🙄
Performance/Workload
Before the change: Demand chunks 4944595. Demand total pax 37060702
After the change (w/o 7 and 8): Demand chunks 4990100. Demand total pax 43270165
After the change (with 7 and 8) :Demand chunks 4661797. Demand total pax 42620660
Perspectives
Since there are quite a few changes/parameters in the calculation. Some demand perspectives. TAKE NOTE THAT THESE ARE JUST FOR REFERENCE SINCE I'M COMPARING WITH CURRENT PROD DATA WITH MY LOCAL DATA with might have different assets bonus
Ultra Short-hauls
HND -> NRT (59km) : 4526 -> 1621
LHR -> BHX (140km): 1406 -> 4712
LHR -> CDG (347km): 18090 / 5857 / 1319 -> 31300/8670/1862
SIN -> KUL (297km): 1532 / 264 / 52 -> 2304/474/97
Short hauls
LHR -> EDI (533km): 3097 ->6136
SGN -> DAD (604km, Vietname domestic): 86 -> 174
ICN -> CJU (440km, Jeju domestic) : 1394 -> 2492
LHR -> FCO (1443km, international strong charm) : 6054 / 1647 / 349 -> 10445/2502/511
HAJ -> GOT (601km international no charm): 176 / 49 / 7 -> 413 / 134 / 25
Long-hauls
JFK -> LAX (strong charm domestic) : 14705 / 6889 / 1649 -> 13597/4821/1101
IND -> SWF (no charm domestic) : 462 / 180 / 40 -> 306/98/20
JFK -> LHR (strong charm intl.): 14462 / 6286 / 1491 -> 11459/4421/1012
JFK -> OPO (Porto no charm) : 819 / 144 / 22 -> 447/77/10
IND -> OPO (no charm both sides): 49 / 4 / 0 -> 16/2/0