RM Systems
RmSystem
Bases: Named
Source code in passengersim/config/rm_systems.py
availability_control
class-attribute
instance-attribute
availability_control: Literal[
"infer",
"leg",
"cabin",
"theft",
"bp",
"bp_loose",
"vn",
"none",
] = "infer"
Fare class availability algorithm for carriers using this RmSystem.
The default value will infer the appropriate control based on the steps in the DCP process (This is pending implementation).
Allowed values include: - "leg" (default): Uses leg-based controls. - "bp": Bid price controls with strict resolution (fare must be strictly greater than bid price). - "bp_loose": Bid price controls with non-strict resolution (fare must be greater than or equal to bid price). - "vn": Virtual nesting. - "none": No controls.
description
class-attribute
instance-attribute
Description of the RM system.
The description is optional and can be used to summarize the RM system. It has no effect on the actual operation of the RM system.
frat5
class-attribute
instance-attribute
Name of the FRAT5 curve to use.
This is the default that will be applied if not found at a more detailed level (e.g. carrier level).