Fare Class Mix¶
fare_class_mix¶
This table shows the mix of fares passengers bought, grouped by carrier, fare class, booking class, and brand. It contains total sales and revenue across samples, excluding burned samples.
You can use it to see how much traffic or revenue comes from each part of a carrier’s fare offering. These are itinerary sales, so a passenger on a connecting trip counts once. Fare class and booking class can differ when branded fares are used; both appear in the index to keep that distinction visible.
Access this table as summary.fare_class_mix.
Index¶
Field |
Type |
Meaning |
|---|---|---|
|
string |
Carrier code. |
|
string |
Fare class label, which can differ from booking class for branded fares. |
|
string |
Booking class code. |
|
string |
Fare brand label. |
Columns¶
Field |
Type |
Meaning |
|---|---|---|
|
integer |
Total retained-sample passengers; not an average. |
|
number |
Total retained-sample revenue; not an average. |
To calculate average sales or revenue per sample, divide the totals by summary.n_total_samples.
Some plotting helpers do this for you, so the averages shown in a figure may differ from the totals
you see in this table.
Activation¶
PassengerSim collects this information automatically during a normal simulation run. You do not need
to enable database recording or add the table to
outputs.reports.
There is no separate on/off switch for collecting this table. If you only want to leave it out of the returned summary, you can use selecting extracted tables to choose which tables to include.