Skip to content

Daysim Customization

hu dong edited this page Sep 3, 2025 · 8 revisions

Daysim, developed by RSG, Inc, is used in BKRCast as the activity simulator. In this fork, the only things we customized are the BKR.dll module, and individual person day pattern model.

Check Region Specific Code for additional information from the Daysim developer.

The following modules have been customized. Most of the additional utilities were transferred from PSRC's Soundcast model customization. These additional utilities make certain choice models more or less attractive.

  • Other_Home_Based_Tour_Mode_Choice
  • Other_Tour_Destination_Choice
  • School_Tour_Mode_Choice
  • Work_Location_Choice
  • Work_Tour_Mode_Choice

BKRDistrict, a TAZ attribute, divides the modeling area (PSRC region) into multiple districts. The BKRDistrict definition description can be found here. This attribute is defined as a column named External in inputs\model\TAZIndex.txt. BKRDistrict is used in choice model customization to adjust flows between BKRDistricts.

If a variable is missing from F12 file, it means this variable is not in use. It is equivalent to set its coefficient value to zero.

BKR.dll incorporates all customizations developed in PSRC.dll.

Other_Home_Based_Tour_Mode_Choice

School_Tour_Mode_Choice

Work_Tour_Mode_Choice

The customization will add additional utility to bus (light rail, commute rail and ferry not included), if coefficients of the district specific variables are set to non-zero. District specific variables are available for origin and destination. Customization for the three modules are carried over from SoundCast.
Variables are saved in OtherHomeBasedTourModeModel.F12, or SchoolTourModeModel.F12, or WorkTourModeModel.F12. For destination specific variables, x = 3 if they are in school_tour_mode_choice.F12, otherwwise x = 4.

BKRDistrict ID Descritioin Origin Specific Variable Destination Specific Variable
1 Most Snohomish county (excluded 2) 201 x01
2 Everett, Mukilteo, Lynnwood, Edmonds 202 x02
3 North Seattle 203 x03
4 Seattle downtown 204 x04
5 South Seattle 205 x05
7 South King county 207 x07
8 Tacoma 208 x08
9 Kitsap county north 209 x09
10 Pierce county 210 x10
11 West Pierce county 211 x11
60 Other King county 206 x06
61 Bellevue (Downtown excluded) 206 x06
62 Bellevue Downtown 206 x06
63 Kirkland 206 x06
64 Redmond 206 x06
65 Other eastside area 206 x06

In addition, the following variables are added to OtherHomeBasedTourModeModel.F12 and WorkTourModeModel.F12.

Variable ID Variable Label Mode for What District
260 da-dist60con SOV 60
261 da-dist61con SOV 61
262 da-dist62con SOV 62
263 da-dist63con SOV 63
264 da-dist64con SOV 64
265 da-dist65con SOV 65
266 da-BKRcon SOV 61, 62, 63, 64 (BKR)
267 sr2-dist60con HOV2 60
268 sr2-dist61con HOV2 61
269 sr2-dist62con HOV2 62
270 sr2-dist63con HOV2 63
271 sr2-dist64con HOV2 64
272 sr2-dist65con HOV2 65
273 sr2-BKRcon HOV2 61, 62, 63, 64 (BKR)
274 sr3-dist60con HOV3+ 60
275 sr3-dist61con HOV3+ 61
276 sr3-dist62con HOV3+ 62
277 sr3-dist63con HOV3+ 63
278 sr3-dist64con HOV3+ 64
279 sr3-dist65con HOV3+ 65
280 sr3-BKRcon HOV3+ 61, 62, 63, 64 (BKR)
281 tr-dist60con Bus only 60
282 tr-dist61con Bus only 61
283 tr-dist62con Bus only 62
284 tr-dist63con Bus only 63
285 tr-dist64con Bus only 64
286 tr-dist65con Bus only 65
287 tr-BKRcon Bus only 61, 62, 63, 64 (BKR)
288 bi-dist60con Bike 60
289 bi-dist61con Bike 61
290 bi-dist62con Bike 62
291 bi-dist63con Bike 63
292 bi-dist64con Bike 64
293 bi-dist65con Bike 65
294 bi-BKRcon Bike 61, 62, 63, 64 (BKR)
295 wk-dist60con Walk 60
296 wk-dist61con Walk 61
297 wk-dist62con Walk 62
298 wk-dist63con Walk 63
299 wk-dist64con Walk 64
300 wk-dist65con Walk 65
301 wk-BKRcon Walk 61, 62, 63, 64 (BKR)
302 tnc-dist60con TNC 60
303 tnc-dist61con TNC 61
304 tnc-dist62con TNC 62
305 tnc-dist63con TNC 63
306 tnc-dist64con TNC 64
307 tnc-dist65con TNC 65
308 tnc-BKRcon TNC 61, 62, 63, 64 (BKR)
309 dt-BKRcon PnR 61, 62, 63, 64 (BKR)

Other_Tour_Destination_Choice

Modify coefficients below in OtherTourDestinationModel.F12 to add additional utility to the other tour destination choic(Make it more attractive).

Variable Coeff Default Value Description
115 0 From eastside to Seattle CBD
116 0 From Kitsap county to TRPC region
117 0 From Tacoma to Kitsap county
118 0 From Kitsap county to outside
119 0 From Tacoma to Seattle CBD
120 0 Shopping trips with auto mode (SOV/LOV/HOV), from outside of Bellevue downtown to Bellevue downtown
121 0 Meal trips with auto mode (SOV/LOV/HOV), from outside of Bellevue downtown to Bellevue downtown
122 0 Personal business trips with auto mode (SOV/LOV/HOV), from outside of Bellevue downtown to Bellevue downtown
123 0 Social trips with auto mode (SOV/LOV/HOV), from outside of Bellevue downtown to Bellevue downtown
124 0 Escort trips with auto mode (SOV/LOV/HOV), from outside of Bellevue downtown to Bellevue downtown
125 2.0 From outside of Bellevue downtown to Bellevue Square

Work_Location_Choice

Modify the coefficients below in WorkLocationModel.F12 to add additional utility to the work location choice.

Variable Coeff Default Value Description
49 -4.0 Live in Kitsap county, work not in Kitsap county
91 0 Live in eastside, work in eastside
92 0 Live in Tacoma, work in Kitsap county
93 0 Live in Everett/Lynnwood (BKRDistrict 2), work in Everett/Lynnwood (BKRDistrict 2)
94 0 Live in Seattle (BKRDistrict 5), work in eastside (BKRDistrict >= 60)
95 0 Live in west Pierce county, work in TRPC region
96 0 Live in Tacoma and S Seattle, work in Seattle CBD
97 0 Live in Kitsap county, work in TRPC region
99 0 Live in eastside, work in Seattle CBD
100 0 Live in Kitsap county, work in Seattle CBD
201 0 Destined to Bellevue downtown

Clone this wiki locally