Skip to content

Airlines

Airline

Bases: Named

Configuration for passengersim.Airline object.

Source code in passengersim/config/airlines.py
class Airline(Named, extra="forbid"):
    """Configuration for passengersim.Airline object."""

    rm_system: str
    """Name of the revenue management system used by this airline."""

    control: str = ""
    """Deprecated.  No effect"""

    frat5: Optional[str] = ""
    """Named FRAT5 curve.  
    This is the default that will be applied if not found at a more detailed level
    """

    load_factor_curve: Optional[Any] = None
    """Named FRAT5 curve.  
    This is the default that will be applied if not found at a more detailed level
    """

control class-attribute instance-attribute

control: str = ''

Deprecated. No effect

frat5 class-attribute instance-attribute

frat5: Optional[str] = ''

Named FRAT5 curve.
This is the default that will be applied if not found at a more detailed level

load_factor_curve class-attribute instance-attribute

load_factor_curve: Optional[Any] = None

Named FRAT5 curve.
This is the default that will be applied if not found at a more detailed level

rm_system instance-attribute

rm_system: str

Name of the revenue management system used by this airline.