Skip to content

BAT Lane Coding

HU DONG edited this page Oct 1, 2025 · 4 revisions

BAT lane coding in master network involves two major steps:

  1. GP and BAT lane coding
  2. Transit line coding

When coding a BAT lane, it is important to know:
• the TOD during which the BAT lane will operate
• Whether the BAT lane is created by converting a GP lane or a parking lane/shoulder.

As of 9/26/2025, BAT lanes is only planned inside COB limit. They are planning to operate 24 hours a day in 2030, and will be restricted to transit vehicles (mode = 'bp').

Important Link Attributes

@bat_tod indicates the operation TOD for a BAT lane. This attribute applies to both GP and BAT lanes.

@bat_tod Description
1 AM only
2 PM only
3 MD only
4 AM and PM only
5 AM and MD only
6 MD and PM only
7 NI only
10 Whole day
0 No BAT

type = 70 indicates which links are BAT links. It only applies to BAT lanes.

@tod_bat_conversion specifies how a BAT lane is constructed -- either by converting an existing GP lane or a parking lane/shoulder. This attribute determines how the number of lanes should be adjusted once the BAT lane is open. @tod_bat_conversion only applies to GP lanes.

@tod_bat_conversion Description
0 NA
1 Conversion from a GP lane GP. Number of lanes are reduced by 1
2 Conversion from a parking lane. No change in number of GP lanes

@bat_year indicates the year the BAT lane is scheduled to open. @bat_year applies to both GP lanes and BAT lanes.

@project_year indicates the a project is scheduled to open. If @bat_year is defined, @project_year must also be defined. If no other projects are planned for the link, @project_year should equal @bat_year. @project_year also applies to both GP lanes and BAT lanes.

Example

The easiest way to explain how to code inside the master network is through an example.

Assume:
Base year = 2024, horizon year = 2030
A BAT lane is planned to operate AM only in 2030. It will be constructed by converting a travel lane. The BAT lane is only open to transit vehicles. There are two travel lanes when BAT is close. No other capacity projects are planned except this BAT lane project.

Two transit lines will be running on the BAT lane when it is open. See below for the key assumptions of each line.

Line ID Line Description @tstart @tend AM MD PM NI
6023 M240_test 2024 9999 10 30 15 60
6025 M245_test 2028 9999 10 30 15 60

GP Lane Coding

@project_year = 2030
@bat_year = 2030
@bat_tod = 1
@tod_bat_conversion = 1
@imp_lanes = 2 (when BAT is off)

BAT Lane Coding

Type = 70
@project_year = 2030
@bat_year = 2030
@bat_tod = 1
@exist_vdf = 24
@imp_vdf = 5 (or other reasonable value)
@exist_lanes = 1
@imp_lanes = 1

Other attributes, such as @exist_speed, @imp_speed, @exist_cap, @imp_cap, @bkrlink, and others, should be set appropriately, usually by referencing nearby BAT links or GP links.

Transit Line Coding

Transit line operations occur in three stages:

  1. Between 2024 and 2030, transit lines are running on GP links all day
  2. After 2030, transit lines are running on BAT lanes in AM
  3. After 2030, transit lines are running on GP lanes in MD, PM and NI.

We need to address each stage in transit line coding. Create new lines or modify existing lines per the table below.

Transit Headway Update

Transit headways are not coded in the master network. Instead, they are managed in "I:\Modeling and Analysis Group\07_ModelDevelopment&Upgrade\NextgenerationModel\BasicData\Transit_master_network_headways.xlsx".

  1. Add headways for horizon year = 2030 if it is not included in the file.
  2. After the headway update, save the excel file and then export it to a csv file.
Line ID Line Description Action @tstart @tend AM MD PM NI
6023 M240_test Revise 2024 2030 10 30 15 60
6123 M240_test_BAT_on Copy 6023 to 6123, reroute to the BAT lane 2030 9999 10 999 999 999
6124 M240_test_BAT_off Copy 6023 to 6124. 2030 9999 999 30 15 60
6025 M245_test Revise 2028 2030 10 30 15 60
6125 M245_test_BAT_on Copy 6025 to 6125, reroute to the BAT lane 2030 9999 10 999 999 999
6126 M245_test_BAT_off Copy 6025 to 6126. 2030 9999 999 30 15 60

notes:

  1. @tstart and @tend control when a line is active.
  2. Headways = 999 indicates the line is not in operation in that specific TOD .

Clone this wiki locally