passengersim.

core

Low-level interface to the PassengerSim C++ simulation engine.

Re-exports the key classes and objects from the compiled passengersim_core extension module so they are accessible under the passengersim.core namespace.

Classes

Airport

Airport object containing geographic and operational information.

BookingCurve

Booking curve for modeling time-based passenger booking patterns.

Bucket

Booking class or virtual nesting (VN) bucket.

Cabin

Cabin inventory control container.

Carrier

An airline in the simulation, with its RM settings and sales counters.

ChoiceModel

Customer choice model for simulating passenger behavior.

DecisionWindow

Decision Window Model configuration for customer time preferences.

Demand

Demand objects

DynamicProgram

Dynamic program object

Event

A user event to put on the simulation's event queue.

Fare

A fare: a price at which a carrier sells a booking class between two airports.

Forecast

Forecast objects

ForecastAccessor

ForecastAccessor object.

ForecastData(label, mean_to_departure, ...)

ForecastGroup

ForecastGroup object.

Frat5

A Frat5 curve: how willing customers are to buy up to higher fares, by timeframe.

Generator

Generator objects

History

History stores sales data for forecasting

Leg

Leg objects

Market

An origin-destination market: travel from one airport to another.

Path

A path: an itinerary of one or more legs that serves a market.

PathClass

A path class: one booking class on one path.

ProBP

ProBP objects

Profiler

Profiler object

SimulationEngine

The simulation engine: the network, the event queue and the simulation state.

UserAction

UserAction program object

Functions

build_connections

Build connections on this engine.

Exceptions

LicenseError