Jump to content

Assign Aircraft leaving the gate according to our set date and time in table


Recommended Posts

Posted

We are simulating the aircraft will leaving the gate according to our real data history.

How can i import the table in simio and let the aircraft leave the gate accouring to the time and date?

Also some gate will have more than one different time and date that aircraft will departure the gate. How can i do it as well?

 

image.thumb.png.58813068391a59de60aa2445ec6d9d08.png

image.thumb.png.79fba86bafc61ca487f672882ecb7b51.png

Posted

One way to do it is to have two tables. One with the gates (object property) to be a column key, and another with foreign key property and the departure times. 

Below follows an example.

Hope it helps.

Arrival_Gates.spfx

Posted

Thank you

We follow your method by importing the about 1000 data from excel using Key and Foreign Key. But the simulation is wrong that the all aircraft depart their gate once in different time but not individually according to date and time that we import. 

Maybe it is a large file to you that over 200 item for u to run, but can you help me find what's wrong with it?

image.thumb.png.7eb09708b2a3a50ab460268a1fa27353.pngimage.thumb.png.9a5f2ad13576e63c147e2048c8289dca.png

20230315 FullGate version 4.spfx

Posted

First of all, your column of gates should be of the type Object Property, not String.

image.thumb.png.5659e3ba15cadb621b493134abe87438.png

After you change its type, you need to set Auto-Set Table Row Reference to True. 

image.png.b2291ae1cc498a597bfa8cf4310a0af8.png

It should work now.

  • 3 weeks later...
Posted

Well, there are two problems in your model:

First, there are many gates that are not following the data table.

image.thumb.png.edf23f26698af3ea90195e911dfe16f5.png

Second: every gate should be on the Gate table, regardless if they will have flights or not. If not, they will create entities on every single arrival of the departure table. You have many gates that are not included on Gate table.

Posted

Many thanks! I just imported less data from the gate table, but we have a lot of gates that did not have flight, how can we stop the creation and generation on the gate that it don't have flight?

Posted

Import ALL gates to the gate data table, regardless if they have flights or not. Make sure all Gate objects are following the departure arrivals. Done.

If you have any questions, pm me.

×
×
  • Create New...