This runs the trip generation step of the model.
trip_generation.RdTrip production is based on the marginal distributions for vehicles, workers, household size, and income. Trip attraction is based on job counts. Attractions are balanced to match productions before being returned.
Arguments
- model
the model object, loaded via
load_model()- scenario
the scenario to use, often
model$scenarios$baselineor a scenario created withadd_households()