Skip to content

Airline

control instance-attribute

control: Literal[
    "leg", "theft", "bp", "bp_loose", "vn", "lft", "none"
]

Control method for this carrier.

frat5 instance-attribute

frat5: Optional[str]

gt_available_seat_miles instance-attribute

gt_available_seat_miles: float

Grand total ASM, gets updated outside the burn period and is not reset by the reset methods

gt_demand instance-attribute

gt_demand: int

Grand total generated demand, gets updated outside the burn period and is not reset by the reset methods

gt_revenue instance-attribute

gt_revenue: float

Grand total revenue, gets updated outside the burn period and is not reset by the reset methods

gt_revenue_passenger_miles instance-attribute

gt_revenue_passenger_miles: float

Grand total RPM, gets updated outside the burn period and is not reset by the reset methods

gt_sold instance-attribute

gt_sold: int

Grand total sold, gets updated outside the burn period and is not reset by the reset methods

load_factor_curve instance-attribute

load_factor_curve: Optional[Any]

An instance of RmSystem, called at each DCP to do detruncation / forecasting / optimization

name instance-attribute

name: str

revenue instance-attribute

revenue: float

rm_system instance-attribute

rm_system: Any

sold instance-attribute

sold: int

__init__

__init__(
    name: str,
    control: Literal[
        "leg", "theft", "bp", "bp_loose", "vn", "none"
    ] = "leg",
)