Cabins¶
cabins¶
This table records the departure results for each cabin on each flight, separately for every sample and trial. It lets you compare cabin-level sales and revenue, including the portions sold through continuous pricing.
Unlike an overall average, this history keeps individual sample results. You can use it to see how much cabin performance varies from one simulated departure to the next. Burned samples are excluded.
Access this table as summary.cabins.
Index¶
Field |
Type |
Meaning |
|---|---|---|
|
integer |
Trial identifier (zero-based). |
|
integer |
Sample identifier within the trial (zero-based). |
|
string |
Carrier code. |
|
integer |
Flight number (not necessarily a unique leg identifier). |
|
string |
Cabin code. |
Columns¶
Field |
Type |
Meaning |
|---|---|---|
|
number |
Seat capacity. |
|
integer |
Recorded leg distance in miles. |
|
number |
Seats sold. |
|
number |
Sales classified as priceable. |
|
number |
Ticket revenue in the simulation currency. |
|
integer |
Continuously priced seats in this cabin and sample. |
|
number |
Continuously priced revenue in this cabin and sample. |
The table identifies flights by flight number rather than leg_id. If your network uses the same
flight number for multiple legs, those rows may share the same index values.
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.