Places
MinConnectTime
Bases: BaseModel
Source code in passengersim/config/places.py
domestic_domestic
instance-attribute
Minimum connect time for domestic to domestic connections in minutes.
domestic_international
instance-attribute
Minimum connect time for domestic to international connections in minutes.
international_domestic
instance-attribute
Minimum connect time for international to domestic connections in minutes.
Place
Bases: BaseModel
Source code in passengersim/config/places.py
country
class-attribute
instance-attribute
Country code.
Recommended to use ISO 3166-1 alpha-2 codes, ie. US / GB / AU / MX / etc.
mct
class-attribute
instance-attribute
mct: Annotated[
MinConnectTime | int | None,
AfterValidator(_inflate_simple_mct),
BeforeValidator(_reformat_mct),
] = None
Default Minimum Connect Time (MCT) in minutes for this location (Airport).
This can be given as a single integer, which will be applied to all connections, or differentiated by connection type (domestic-domestic, domestic-international, etc.). Connection types can be given using their full name (with underscore) or using shorthand codes (DD, DI, ID, II), or as a list of 4 integers in the order DD, DI, ID, II.
Future version of PassengerSim will also allow specific exceptions by airline / route / etc.
name
instance-attribute
Identifying code for this place.
For airports, typically the three letter code.
time_zone
class-attribute
instance-attribute
The time zone for this location.
great_circle
Using Haversine formula, to get distance between points in miles.