How can I use SimEvents to create a network of aircraft and airports where given number of aircraft will rotate between airports.

5 views (last 30 days)
The motive is to simulate a virtual network of flights between given airports. For example, let this be the schedule for a day:
6 airports, 4 aircrafts
Flight 1: From airport 'A' to airport 'B' using aircraft X1 @6 AM
Flight 2: From airport 'C' to airport 'D' using aircraft X2 @8 AM
Flight 3: From airport 'B' to airport 'C' using aircraft X1 @7 AM
.
.
So, points to note here are:
  • Aircraft are the entities not totally consumed at the destination airport. They will be reused for another flight (Flight 1 & 3).
  • Flight 3 schedule is affected by arrival of Flight 1 i.e. any delay in Flight 1 will cause delay in Flight 3 departure. Basically feedback.
  • Service time of an airfact depends on the 'battery level' of the aircraft (a variable which needs to tracked)
I am finding difficulties in: Should flights be entities or aircrafts. Should airports should be different storage in network or individual servers. Is SimEvents alone is suitable for this problem or I need Stateflow too.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!