Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MetroFiles

CarDriverDistancesFile

Shortest path distance on the road network of each car driver trip.

  • Path: demand/population/car_driver_distances.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
trip_idstring or integerIdentifier of the trip.
distancefloatDistance of the shortest path, in meters.

CarDriverODsFile

Origin / destination on the road network for each trip, when traveling as a car driver.

  • Path: demand/population/car_driver_origins_destinations.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
trip_idstring or integerIdentifier of the trip.
origin_node_idstring or integerIdentifier of the origin node, on the road network.
destination_node_idstring or integerIdentifier of the destination node, on the road network.

CarDriverPreferencesFile

Preferences to travel as a car driver, for each person.

  • Path: demand/population/car_driver_preferences.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
person_idstring or integerIdentifier of the person
car_driver_cstfloatPenalty for each trip as a car driver (€).
car_driver_votfloatValue of time as a car driver (€/h).

LinearScheduleFile

Schedule preferences for each trip, for the linear model.

  • Path: demand/population/linear_schedule_parameters.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
trip_idstring or integerIdentifier of the trip.
betafloatPenalty for starting an activity earlier than the desired time (€/h).
gammafloatPenalty for starting an activity later than the desired time (€/h).
deltadurationLength of the desired time window.

OutsideOptionPreferencesFile

Utility of the outside option alternative, for each tour.

  • Path: demand/population/outside_option_preferences.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
tour_idstring or integerIdentifier of the tour.
outside_option_cstfloatUtility of the outside option (€).

OutsideOptionTravelTimesFile

Travel time of the outside option alternative, for each tour.

  • Path: demand/population/outside_option_travel_times.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
tour_idstring or integerIdentifier of the tour.
outside_option_travel_timedurationDuration of the tour for the outside option.

PublicTransitPreferencesFile

Preferences to travel by public transit, for each person.

  • Path: demand/population/public_transit_preferences.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
person_idstring or integerIdentifier of the person.
public_transit_cstfloatPenalty for each trip in public transit (€).
public_transit_votfloatValue of time in public transit (€/h).

PublicTransitTravelTimesFile

Travel time of each trip, when traveling by public transit.

  • Path: demand/population/public_transit_travel_times.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
trip_idstring or integerIdentifier of the trip.
public_transit_travel_timedurationDuration of the trip by public transit.

TripZonesFile

Origin / destination zones of each trip.

  • Path: demand/population/trip_zones.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
trip_idstring or integerIdentifier of the trip.
origin_zone_idstring or integerIdentifier of the origin zone.
destination_zone_idstring or integerIdentifier of the destination zone.

TstarsFile

Desired start time for the activity following each trip.

  • Path: demand/population/tstars.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
trip_idstring or integerIdentifier of the trip.
tstartimeDesired start time of the following activity.

ZonesFile

Identifiers and characteristics of the zones in the simulated area.

  • Path: demand/zones/zones.geo.parquet
  • Type: GeoDataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
zone_idstring or integerIdentifier of the zone.
namestringName of the zone
original_idstring or integerIdentifier of the zone in the original data.

AllDistancesFile

Shortest path distance for each pair of nodes on the road network.

  • Path: network/road_network/all_distances.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
origin_idstring or integerIdentifier of the origine node.
destination_idstring or integerIdentifier of the destination node.
distancefloatDistance of the shortest path, in meters.

AllFreeFlowTravelTimesFile

Free-flow travel time for each pair of nodes on the road network.

  • Path: network/road_network/all_free_flow_travel_times.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
origin_idstring or integerIdentifier of the origine node.
destination_idstring or integerIdentifier of the destination node.
free_flow_travel_timedurationFree-flow travel time.

EdgesCapacitiesFile

Bottleneck capacity of each road-network edge.

  • Path: network/road_network/edges_capacities.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
edge_idstring or integerIdentifier of the edge.
capacityfloatBottleneck capacity of the edge, in PCE per hour.
capacitieslist of floatsBottleneck capacity of the edge for different time periods, in PCE per hour.
timeslist of timesTime at which the bottleneck capacity changes on the edge.

CleanEdgesFile

Characteristics of the road-network edges, after clean up.

  • Path: network/road_network/edges_clean.geo.parquet
  • Type: GeoDataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
edge_idstring or integerIdentifier of the edge.
sourcestring or integerIdentifier of the edge’s first node.
targetstring or integerIdentifier of the edge’s last node.
road_typestring or integerIdentifier of the edge’s road type.
lengthfloatLength of the edge, in meters.
speed_limitfloatSpeed limit on the edge, in km/h.
default_speed_limitbooleanWhether the edge speed limit is set from the default value.
lanesfloatNumber of lanes on the edge.
default_lanesbooleanWhether the edge lane number is set from the default value.
onewaybooleanWhether the edge is part of a one-way road.
tollbooleanWhether the edge has toll.
roundaboutbooleanWhether the edge is part of a roundabout.
give_waybooleanWhether the edge end intersection has a give-way sign.
stopbooleanWhether the edge end intersection has a stop sign.
traffic_signalsbooleanWhether the edge end intersection has traffic signals.
urbanbooleanWhether the edge is within a urban area.
source_in_degreeunsigned integerNumber of incoming edges for the source node.
source_out_degreeunsigned integerNumber of outgoing edges for the source node.
target_in_degreeunsigned integerNumber of incoming edges for the target node.
target_out_degreeunsigned integerNumber of outgoing edges for the target node.
namestringName of the edge.
original_idstring or integerIdentifier of the edge in the original data.

EdgesPenaltiesFile

Free-flow time penalties of each road-network edge.

  • Path: network/road_network/edges_penalties.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
edge_idstring or integerIdentifier of the edge.
constantfloatConstant time penalty of the edge, in seconds.

RawEdgesFile

Characteristics of the road-network edges, before clean up.

  • Path: network/road_network/edges_raw.geo.parquet
  • Type: GeoDataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
edge_idstring or integerIdentifier of the edge.
sourcestring or integerIdentifier of the edge’s first node.
targetstring or integerIdentifier of the edge’s last node.
road_typestring or integerIdentifier of the edge’s road type.
lengthfloatLength of the edge, in meters.
speed_limitfloatSpeed limit on the edge, in km/h.
lanesfloatNumber of lanes on the edge.
onewaybooleanWhether the edge is part of a one-way road.
tollbooleanWhether the edge has toll.
roundaboutbooleanWhether the edge is part of a roundabout.
give_waybooleanWhether the edge end intersection has a give-way sign.
stopbooleanWhether the edge end intersection has a stop sign.
traffic_signalsbooleanWhether the edge end intersection has traffic signals.
urbanbooleanWhether the edge is within a urban area.
namestringName of the edge.
original_idstring or integerIdentifier of the edge in the original data.

TripDepartureTimeDistributionPlotFile

Histogram of departure time distribution, over trips.

  • Path: results/graphs/trip_departure_time_distribution.pdf
  • Type: Plot

TripResultsFile

Clean results for each trip.

  • Path: results/trip_results.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
trip_idstring or integerIdentifier of the trip.
modestringMode used for the trip.
is_roadbooleanWhether the trip is done on the road network.
departure_timetimeDeparture time of the trip.
arrival_timetimeArrival time of the trip.
travel_timedurationTravel time of the trip.
route_free_flow_travel_timedurationFree flow travel time of the trip, on the same route.
global_free_flow_travel_timedurationFree flow travel time of the trip, over any route.
utilityfloatUtility of the trip.
travel_utilityfloatTravel utility of the trip.
schedule_utilityfloatSchedule utility of the trip.
lengthfloatLength of the route taken, in meters.
nb_edgesunsigned integerNumber of road edges taken.

MetroAgentsFile

Simulated agents, as input to Metropolis-Core.

  • Path: run/input/agents.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
agent_idstring or integerIdentifier of the agent.
alt_choice.typestringType of choice model for the alternative choice.
alt_choice.ufloatUniform draw to simulate the chosen alternative.
alt_choice.mufloatVariance of the stochastic terms in the utility function.

MetroAlternativesFile

Simulated alternatives, as input to Metropolis-Core

  • Path: run/input/alts.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
agent_idstring or integerIdentifier of the agent.
alt_idstring or integerIdentifier of the alternative.
origin_delayfloatExtra delay between the chosen departure time and the actual first trip start, in seconds.
dt_choice.typestringWhether departure time is exogenous, random discrete, or random continuous.
dt_choice.departure_timefloatDeparture time, when exogenous, in seconds after midnight.
dt_choice.periodlist of floatsTime window in which the departure time is chosen.
dt_choice.intervalfloatTime between two intervals of departure time, in seconds.
dt_choice.offsetfloatOffset time added to the selected departure time, in seconds.
dt_choice.model.typestringType of choice model when departure time is randomly chosen.
dt_choice.model.ufloatUniform draw to simulate the chosen departure time.
dt_choice.model.mufloatVariance of the stochastic terms in the utility function.
dt_choice.model.constantslist of floatsConstant value added to the utility of each departure-time interval.
constant_utilityfloatConstant utility added to the alternative.

MetroEdgesFile

Road-network edges, as input to Metropolis-Core.

  • Path: run/input/edges.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
edge_idstring or integerIdentifier of the edge.
sourcestring or integerIdentifier of the edge’s first node.
targetstring or integerIdentifier of the edge’s last node.
lengthfloatLength of the edge, in meters.
speedfloatBase speed on the edge (m/s).
lanesfloatNumber of lanes on the edge.
bottleneck_flowfloatMaximum incoming and outgoing flow of vehicles at the edge’s entry and exit bottlenecks (PCE/s).
bottleneck_flowslist of floatsTime-dependent bottleneck flows.
bottleneck_timeslist of floatsTiming of the time-dependent bottleneck flows.
constant_travel_timefloatConstant travel-time penalty (seconds).
overtakingbooleanWhether vehicles can overtake each other to exit the edge.

MetroTripsFile

Simulated trips, as input to Metropolis-Core.

  • Path: run/input/trips.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
agent_idstring or integerIdentifier of the agent.
alt_idstring or integerIdentifier of the alternative.
trip_idstring or integerIdentifier of the trip.
class.typestringType of trip.
class.originstring or integerIdentifier of the origin node of the trip.
class.destinationstring or integerIdentifier of the destination node of the trip.
class.vehiclestring or integerIdentifier of the vehicle type of the trip.
class.routelist of strings or integersList of edge identifiers representing the route itinerary to be followed.
class.travel_timefloatExogenous travel time of the trip, in seconds.
stopping_timefloatTime spent at the end of the trip, before the next trip starts, in seconds.
constant_utilityfloatConstant utility added to the trip utility.
alphafloatValue of time (€/s).
schedule_utility.typestringType of function used for the schedule delay at trip’s destination.
schedule_utility.tstarfloatDesired arrival time at destination, in seconds after midnight.
schedule_utility.betafloatPenalty for arriving earlier than the desired arrival time (€/s).
schedule_utility.gammafloatPenalty for arriving later than the desired arrival time (€/s).
schedule_utility.deltafloatLength of the desired arrival-time window, in seconds.

MetroVehicleTypesFile

Simulated vehicle types, as input to Metropolis-Core.

  • Path: run/input/vehicle_types.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
vehicle_idstring or integerIdentifier of the vehicle type.
headwayfloatTypical length between two vehicles from head to head, in meters.
pcefloatPassenger car equivalent of this vehicle type.
speed_function.typestringType of function used to convert from the base edge speed to the vehicle-specific edge speed.
speed_function.upper_boundfloatMaximum speed allowed for this vehicle type (m/s).
allowed_edgeslist of strings or integersIdentifiers of the edges that this vehicle type is allowed to take.
restricted_edgeslist of strings or integersIdentifiers of the edges that this vehicle type cannot take.

MetroAgentResultsFile

Agent-level results from the Metropolis-Core Simulation.

  • Path: run/output/agent_results.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
agent_idstring or integerIdentifier of the agent.
selected_alt_idstring or integerIdentifier of the alternative chosen.
expected_utilityfloatExpected utility of the agent.
shifted_altbooleanWhether the agent shifted chosen alternative compared to the previous iteration.
departure_timefloatDeparture time of the trip, in seconds after midnight.
arrival_timefloatArrival time of the trip, in seconds after midnight.
total_travel_timefloatTotal travel time spent over all the trips of the agent, in seconds.
utilityfloatRealized utility of the agent.
alt_expected_utilityfloatExpected utility of the agent for the chosen alternative.
departure_time_shiftfloatBy how much departure time changed compared to the previous iteration, in seconds.
nb_road_tripsunsigned integerNumber of road trips taken.
nb_virtual_tripsunsigned integerNumber of virtual trips taken.

MetroTripResultsFile

Trip-level results from the Metropolis-Core simulation.

  • Path: run/output/trip_results.parquet
  • Type: DataFrame
Show columns
ColumnData typeOptional?Nullable?Unique?Description
agent_idstring or integerIdentifier of the agent performing the trip.
trip_idstring or integerIdentifier of the trip.
trip_indexunsigned integerIndex of the trip in the agent’s trip chain.
departure_timefloatDeparture time of the trip, in seconds after midnight.
arrival_timefloatArrival time of the trip, in seconds after midnight.
travel_utilityfloatTravel utility of the trip.
schedule_utilityfloatSchedule utility of the trip.
departure_time_shiftfloatBy how much departure time changed compared to the previous iteration, in seconds.
road_timefloatTime spent traveling on the road segments, in seconds.
in_bottleneck_timefloatTime spent waiting at an entry bottleneck, in seconds.
out_bottleneck_timefloatTime spent waiting at an exit bottleneck, in seconds.
route_free_flow_travel_timefloatFree flow travel time of the trip, on the same route, in seconds.
global_free_flow_travel_timefloatFree flow travel time of the trip, over any route, in seconds.
lengthfloatLength of the route taken, in meters.
length_difffloatLength of the route taken that was not taken during the previous iteration, in meters.
pre_exp_departure_timefloatExpected departure time of the trip before the iteration started, in seconds after midnight.
pre_exp_arrival_timefloatExpected arrival time of the trip before the iteration started, in seconds after midnight.
exp_arrival_timefloatExpected arrival time of the trip at trip start, in seconds after midnight.
nb_edgesunsigned integerNumber of road edges taken.

MetroParametersFile

JSON file with the parameters for the Metropolis-Core simulation.

  • Path: run/parameters.json
  • Type: Text

SimulationAreaFile

Single-feature file with the geometry of the simulation area.

  • Path: simulation_area.geo.parquet
  • Type: GeoDataFrame
  • Max rows: 1