Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
The trouble with "digging into" complex code that one developed years before, is that you sometimes forget the assumptions on which the code is based and you start finding problems that aren't there. In this instance, it turns out the missing legs are easily explained.
When operating in Fewest FPs mode, AIFP repeatedly cycles though the timetable data looking for the longest sequence of legs it can find, saves that sequence as a flight plan, excludes those legs from further searches and repeats the process until no further flight plans can be created. An underlying problem with this approach is that there may be a few legs left over that can't be connected in the usual manner. (This is very unlikely to happen with Balanced mode.) When I initially developed this feature, those leftover legs were of no concern to the users I was working with, so they were left unhandled.
The last data you sent me contains 1126 legs. The Fewest FPs mode connects 1107 of those legs, leaving 19 unaccounted for. The next version of AIFP you see will list those 19 legs individually. Of course, if you check "Deadhead Closure'' the number of legs generated will be increased by the number of deadhead legs - buit it will have no effect on those 19. Those unassigned legs could, of course, be linked with deadhead legs. But, this could result in several aircraft wandering around the world in an illogical fashion. So, since that particular issue can be avoided by using Balanced Mode, I chose to do nothing (other than, now, to document them.)
At the risk of repeating an earlier caution, if you do not enable deadheads, the timetable will display what appear to be erroneous legs and an equal number of legs will be missing. This is because every flight plan commences at the destination of its final leg. If a deadhead leg to bring the aircraft back to the originating airport is not added when needed, then the final destination of the flightplan will not be the intended start point and neither the timetable nor the flight plans will fully reflect the original timetable data.
While investigating this issue, I noticed a few "rough edges" in the user interface that I have smoothed out. Other than that and highlighting the unassigned legs, the next release will be virtually identical to what previously existed. Please monitor the sticky at the top of this forum for notice of the release.
I suspect you will not be particularly satisfied with this response. But, I would point out airlines spend millions of dollars for their aircraft scheduling software. You spent considerably less for AIFP.
Don
The trouble with "digging into" complex code that one developed years before, is that you sometimes forget the assumptions on which the code is based and you start finding problems that aren't there. In this instance, it turns out the missing legs are easily explained.
When operating in Fewest FPs mode, AIFP repeatedly cycles though the timetable data looking for the longest sequence of legs it can find, saves that sequence as a flight plan, excludes those legs from further searches and repeats the process until no further flight plans can be created. An underlying problem with this approach is that there may be a few legs left over that can't be connected in the usual manner. (This is very unlikely to happen with Balanced mode.) When I initially developed this feature, those leftover legs were of no concern to the users I was working with, so they were left unhandled.
The last data you sent me contains 1126 legs. The Fewest FPs mode connects 1107 of those legs, leaving 19 unaccounted for. The next version of AIFP you see will list those 19 legs individually. Of course, if you check "Deadhead Closure'' the number of legs generated will be increased by the number of deadhead legs - buit it will have no effect on those 19. Those unassigned legs could, of course, be linked with deadhead legs. But, this could result in several aircraft wandering around the world in an illogical fashion. So, since that particular issue can be avoided by using Balanced Mode, I chose to do nothing (other than, now, to document them.)
At the risk of repeating an earlier caution, if you do not enable deadheads, the timetable will display what appear to be erroneous legs and an equal number of legs will be missing. This is because every flight plan commences at the destination of its final leg. If a deadhead leg to bring the aircraft back to the originating airport is not added when needed, then the final destination of the flightplan will not be the intended start point and neither the timetable nor the flight plans will fully reflect the original timetable data.
While investigating this issue, I noticed a few "rough edges" in the user interface that I have smoothed out. Other than that and highlighting the unassigned legs, the next release will be virtually identical to what previously existed. Please monitor the sticky at the top of this forum for notice of the release.
I suspect you will not be particularly satisfied with this response. But, I would point out airlines spend millions of dollars for their aircraft scheduling software. You spent considerably less for AIFP.
Don
In Development Release 3.1.12(b), the confirmation report includes both arrival time and aircraft type - as you requested.For now if you could at least implement the Arrival time in "The following legs could not be assigned" section
Even adding a deadhead leg between two unassigned legs on the basis simply that the second departs after the deadhead leg arrives is relatively complex and does not guarantee that all legs can be assigned. If done, the most likely result is a bunch of 2- or 3-legs (+deadheads) fps that bear little relationship to the original data. The creation of flight plans from those legs is best left to humans. You can dump the report to Notepad, which should facilitate entry of your solution. Note that the Balanced mode avoids unassigned legs and Return Priority seems to offer a reasonable compromise between the other two modes.However I think you should also add a "Optional" feature to have it go through the skipped FPs and assign them
You should probably discuss that with MS or LM.If Flight Sim was design with a 2 (14 day) week FP window it would be less of an issue as it would be an even number of days. It a huge limitation in Flight Sim for creating AI traffic
Don't know what you mean by "2ng go around". But, as I explained, Fewest FP's is likely to have a few missing legs.I have to go to balanced mode to fill the missing FPs on the 2nd go around.
Not a bug. It's intentional - to help identify deadhead legs. I changed it from 0 - which displays in the timetable as a blank - to make it stand out from legs in which the flight number simply was not assigned. ATC is directed to use the registration number on default legs, so it should not encounter those -1s. In any case, I'm not aware that it causes any difficultyHowever I think I spotted a bug in the Deadhead Leg FN which now shows as -1. Is that a legal FN for Flight Sim? I know the deadheads had shown as 0 as before
Actually, you're not. If you check the Flight Plan List or Timetable, you'll see all the legs have, in fact, been generated. But, the error report - erroneously - tells you they are missing.I am missing a bunch of FPs when I run time tables with multiple aircraft types