demand_to_come_summary¶
-
passengersim.database.common_queries.demand_to_come_summary(cnx: Database, scenario: str, burn_samples: int =
100) DataFrame[source]¶ Demand by market and timeframe across each sample.
This query delivers sample-by-sample timeframe demand results for the various markets (origin, destination, passenger type) in the simulation. It requires that the simulation was run while recording demand details (i.e. with the demand flag set on Config.db.write_items).
- Parameters:
- Returns:
pandas.DataFrame – The resulting dataframe is indexed by iteration, trial, sample, segment, orig, and dest; and has columns defined by the DCPs. The values stored are the total remaining demand to come at each DCP.