Outputs
HtmlOutputConfig
Bases: PrettyModel
Configuration for HTML outputs.
Source code in passengersim/config/outputs.py
bid_price_history
class-attribute
instance-attribute
Include bid price history in the HTML report.
bookings_by_timeframe
class-attribute
instance-attribute
Include bookings by timeframe in the HTML report.
If this is a list of strings, include only the specified carriers.
carrier_load_factors
class-attribute
instance-attribute
Include carrier load factors in the HTML report.
carrier_local_share
class-attribute
instance-attribute
Include carrier local share in the HTML report.
carrier_rasm
class-attribute
instance-attribute
Include carrier RASM in the HTML report.
carrier_revenue_distribution
class-attribute
instance-attribute
Include carrier revenue distribution in the HTML report.
carrier_revenues
class-attribute
instance-attribute
Include carrier revenues in the HTML report.
carrier_table
class-attribute
instance-attribute
Include carrier table in the HTML report.
carrier_total_bookings
class-attribute
instance-attribute
Include carrier total bookings in the HTML report.
carrier_yields
class-attribute
instance-attribute
Include carrier yields in the HTML report.
configs
class-attribute
instance-attribute
Include these configuration items in the HTML report.
displacement_history
class-attribute
instance-attribute
Include displacement history in the HTML report.
fare_class_mix
class-attribute
instance-attribute
Include fare class mix in the HTML report.
This figure is always by carrier.
filename
class-attribute
instance-attribute
Write HTML outputs to this file after a run.
If this is None, no HTML outputs will be written.
leg_load_factor_distribution
class-attribute
instance-attribute
Include leg load factor distribution in the HTML report.
metadata
class-attribute
instance-attribute
Include simulation run metadata in the HTML report.
segmentation_by_timeframe_table
class-attribute
instance-attribute
Include segmentation by timeframe table in the HTML report.
title
class-attribute
instance-attribute
Title of the HTML report.
If this is None, the title will be the scenario name.
OutputConfig
Bases: PrettyModel
Source code in passengersim/config/outputs.py
disk
class-attribute
instance-attribute
Write the SimulationTables output to this file after a run.
This will use pxsim format, an efficient binary file that allows "lazy" file
loading. If set to True
, the file will be named with the same name as
the HTML output file, except with the extension .pxsim
, unless there is no
HTML output file, in which case no file will written.
excel
class-attribute
instance-attribute
Write excel outputs to this file after a run.
html
class-attribute
instance-attribute
html: HtmlOutputConfig = HtmlOutputConfig()
Configuration for HTML outputs.
log_reports
class-attribute
instance-attribute
Write basic reports directly to the run log.
pickle
class-attribute
instance-attribute
Write a pickle of the SimulationTables output to this file after a run.
reports
class-attribute
instance-attribute
Reports to include.
Database queries reports can be included here. This is important for multiprocessing runs with in-memory databases, as database results will not be available after the database connection is closed in each subprocess.
If this is a set containing only "*", all reports will be included; this may be computationally expensive.