Hey everyone, So last night, I finished coding my first airline for AI, Aerolineas Argentinas '75. Only then did my headaches begin. The compiler found some errors due to typos. I got it all squared away as was ready to have complete airline... only to have my hopes dashed!
I'm stuck because it says there is 1 too many flights into SAME (Mendoza) and 1 too few flights into SABE. Has this happened to anyone before? I tried to look for where the problem was, but couldn't find anything. Any suggestions as to how I can try to look for the problem? Thanks!
Post by Christian Page, RAI on Jun 23, 2006 18:10:27 GMT -6
Yeah, it needs an equal number of flights to and from every airport - it's a limitation of the FS architecture. the solution is to create "ghost" or "ferry" flights - flights that didn't actually exist and operated late at night - so that the total numer of operations equal out. For example, if you have 2 flights more into SAME than you do SABE, simply make up two late night flights from SAME to SABE so you have an equal number. yes, it's not 100% accurate, but it's a sacrifice we all make to get the rest of the schedule to work
I think I figured it out now. I believe the AA schedules are incorrect since every flight to Mendoza has an equal flight back... except this one. It would fly into Mendoza every Tue and Thurs, but only fly back on Sat according to the printed schedules. Based on the logic of the rest of the schedules, I have to assume that the flight is the same aircraft. Now, the question is whether it is suposed to be Tues and Thurs, or Sat? I tried both ways and they appear better if on Sat. It's hard to tell where aircraft go just looking at the schedules.
Found another problem too that is confounding. Take a look at this:
To clarify, MRAI compiler is leaving out SAEZ-SPIM-SKBO-MMMX for the first aircraft and sticking it afterward. It has no logic, however, because there is no direct flight SAEZ-KLAX as the FP appears. The problem is that the SAEZ-SPIM leg leaves at 12:00 and the KMIA-SAEZ leg leaves at 12:35, so you can't just tag the SAEZ-SPIM-SKBO-MMMX bit at the end onto the front of the first. I just don't get why it doesn't take the LAX leg and tag it on to the other LAX flights on other days of the week, and take the JFK leg onto the other JFK flights for the week... Perhaps some manual editing is needed...
When I have an odd ball flight like that Saturday flight with no return, I usually just drop it. Although, you could add a ferry flight to get the plane back.
The second problem is slightly more complicated. The MMMX-SAEZ notiation is telling you that the aircraft needs to somehow get from SAEZ to MMMX for the following segment to work. You need to make a ferry flight. Usually this happens in pairs so that you have a corresponding need, in this case a SAEZ-MMMX ferry as well. This will even out your arrivals and departures. You need to create a flight that gets your aircraft to MMMX in time for the first leg of this trip: i.e. by 01:10 on Monday (GMT). Create a ferry flight that gets a plane of this aircraft type form SAEZ to MMMX by 01:10 GMT on Monday. Then create another ferry flight from MMMX to SAEZ to meet the other need. This one needs to get to SAEZ by 12:00 on Sunday.
Actually, I'm a little uncomfortable with these long range ferry flights. The ones I end up with are usually shorter.