Skip to content

Adding Logsums

Ben Stabler edited this page Mar 24, 2017 · 18 revisions

Getting Started

  • Scope of Work
  • Will start by implementing just the work location choice model logsum needs in order to draft a vectorized approach
  • Will create two new model steps and revise the existing step:
    • workplace_location_sample - will use a similar expression file as today (but without the logsum expression), but will build a table of workers * all zones in order to select a sample of alternative work locations for the next model.
    • workplace_location_logsums - will start with the workers * sampled alt zones table output above and will add home taz, alt taz, depart period (which is set to 8 am), end period (which is set to 5 pm), and will add a logsum column (see below)
    • workplace_location (existing) - will start with the table output above and the existing expression file in order to choose a work location
  • the mode choice model will be revised to add new capabilities to get logsums in addition to making choices. For example, mode.tour_mode_choice_simulate adds a choice mode column to the choosers table (tour). We need a method to add a logsum column to the choosers table (tour) as well. #164
Clone this wiki locally