Missions
Missions, i.e., flights to be simulated by AEIC, are currently represented by
the simple Mission class. The
Mission class represents only flights
following a great circle route between origin and destination airports. It
cannot represent “as-flown” trajectories from ADS-B data or other sources.
- class AEIC.missions.Mission(origin: str, destination: str, departure: pandas.Timestamp, arrival: pandas.Timestamp, load_factor: float, aircraft_type: str, flight_id: int | None = None)
- Parameters:
origin (str)
destination (str)
departure (Timestamp)
arrival (Timestamp)
load_factor (float)
aircraft_type (str)
flight_id (int | None)
- aircraft_type: str
Aircraft type (ICAO code).
- arrival: Timestamp
Arrival time (UTC).
- departure: Timestamp
Departure time (UTC).
- destination: str
IATA code of destination airport.
- flight_id: int | None = None
Unique flight identifier from mission database (if available).
- classmethod from_query_result(qr, load_factor=1.0)
Create a Mission instance from a QueryResult instance.
This is used for generating missions from mission database queries.
- Parameters:
qr (QueryResult)
load_factor (float)
- Return type:
- classmethod from_toml(data)
Create a list of Mission instances from a TOML-like dictionary.
This is used for parsing sample mission data.
- Parameters:
data (dict)
- Return type:
list[Mission]
- property gc_distance: float
Great circle distance between departure and arrival positions (m).
- load_factor: float
Load factor (between 0 and 1).
- origin: str
IATA code of origin airport.