Database¶
The default data storage solution for PassengerSim is a SQLite database file.
Database Tables¶
The following tables are created when running a simulation:
Table |
Description |
|---|---|
Aggregate summary information on carrier performance. |
|
Aggregate summary information on legs. |
|
Static data about network legs |
|
Simulation data at the leg level |
|
Simulation data at the leg-bucket level |
|
Simulation data at the path-class level |
|
Simulation data at the demand level |
|
Simulation data at the fare level |
|
Aggregate summary simulation data on bookings by timeframe and bookings class |
Common Queries¶
PassengerSim has a number of pre-packaged functions that query the database of results to provide useful summary tables.
Query |
Description |
|---|---|
Compute average bid price history over all legs for each carrier |
|
Average bookings and revenue by carrier, booking class, and timeframe |
|
Sample-level details of carrier-level measures |
|
Demand by market and timeframe across each sample |
|
Fare class mix by carrier |
|
Average forecasts of demand by leg, bucket, and days to departure |
|
Yields for local (nonstop) and flow (connecting) passengers by leg |
|
Fare class mix by carrier for a particular origin-destination market |
|
Average forecasts of demand by path, class, and days to departure |
|
Average total demand |