PassengerSim¶
Below are a handful of top-level functions from the PassengerSim API. For most operations, please refer to the API reference for the individual sub-modules.
Modules¶
Callback hooks triggered at key points during a simulation. |
|
|
Configuration classes for PassengerSim simulations. |
Tools for building itinerary connections between flight legs. |
|
Compare results across multiple PassengerSim simulations. |
|
Low-level interface to the PassengerSim C++ simulation engine. |
|
Database interface for persisting and querying simulation results. |
|
Main simulation driver for PassengerSim. |
|
Run structured sets of PassengerSim simulations as experiments. |
|
|
Revenue management systems and algorithms for PassengerSim. |
This subpackage is for defining the SimulationTables class and its items. |
|
Tracers for recording detailed simulation data. |
|
This module provides various transformations for PassengerSim configurations. |
Functions¶
- passengersim.from_file(path: str | Path | PathLike[str]) Config[source]¶
Load a PassengerSim file.
The type of file is determined by the extension. The following file types are supported:
.pxsim: SimulationTables
.yaml, .yml, or either also with .gz or .lz4: Config
- Parameters:
- path : str¶
Path to the file to load. The file type is determined by the extension.