forked from LBNL-UCB-STI/beam-data-sfbay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsfbay-base-temp.conf
More file actions
647 lines (593 loc) · 25.8 KB
/
sfbay-base-temp.conf
File metadata and controls
647 lines (593 loc) · 25.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
include "../common/akka.conf"
include "../common/metrics.conf"
include "../common/matsim.conf"
##################################################################
# Forcing all paths to be relative only to production/sfbay folder
beam.inputDirectory = "production/sfbay"
##################################################################
##################################################################
# Agentsim
##################################################################
beam.agentsim.simulationName = "sfbay-base"
# Sampling 10% of SFBay Population
beam.agentsim.agentSampleSizeAsFractionOfPopulation = 0.1
beam.agentsim.firstIteration = 0
beam.agentsim.lastIteration = 0
beam.outputs.defaultWriteInterval = 3
beam.input.lastBaseOutputDir = ${beam.outputs.baseOutputDirectory}
beam.agentsim.thresholdForWalkingInMeters = 100
beam.agentsim.timeBinSize = 3600
beam.agentsim.startTime = "00:00:00"
beam.agentsim.endTime = "60:00:00"
beam.agentsim.schedulerParallelismWindow = 150
# MODE CHOICE OPTIONS:
# ModeChoiceMultinomialLogit ModeChoiceTransitIfAvailable ModeChoiceDriveIfAvailable ModeChoiceRideHailIfAvailable
# ModeChoiceUniformRandom
beam.agentsim.agents.modalBehaviors.modeChoiceClass = "ModeChoiceMultinomialLogit"
beam.agentsim.agents.modalBehaviors.defaultValueOfTime = 8.0
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.transfer = -3.5
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.car_intercept = 2.0
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.cav_intercept = 0.0
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.walk_transit_intercept = -0.8
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.drive_transit_intercept = 0.0
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.ride_hail_transit_intercept = 1.0
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.ride_hail_intercept = 2.0
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.ride_hail_pooled_intercept = -5.5
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.walk_intercept = -4.6
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.bike_intercept = -5.22
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.bike_transit_intercept = 0.0
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.transit_crowding = 0.0
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.transit_crowding_VOT_multiplier = 0.0
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.transit_crowding_VOT_threshold = 0.5
beam.agentsim.agents.modalBehaviors.multinomialLogit.params.transit_crowding_percentile = 90.0
beam.agentsim.agents.modalBehaviors.modeVotMultiplier.rideHailPooled = 14.0
beam.agentsim.agents.modalBehaviors.modeVotMultiplier.waiting = 3.0
beam.agentsim.agents.modalBehaviors.lccm.filePath = ${beam.inputDirectory}"/lccm-long.csv"
beam.agentsim.agents.modeIncentive.filePath = ${beam.inputDirectory}"/incentives.csv"
beam.agentsim.agents.parking.multinomialLogit.params.distanceMultiplier = -0.086
beam.agentsim.agents.parking.multinomialLogit.params.enrouteDetourMultiplier=1.0
beam.agentsim.agents.parking.multinomialLogit.params.homeActivityPrefersResidentialParkingMultiplier=1.0
beam.agentsim.agents.parking.multinomialLogit.params.parkingPriceMultiplier=-0.005
beam.agentsim.agents.parking.multinomialLogit.params.rangeAnxietyMultiplier=-0.5
beam.agentsim.agents.ptFare.filePath = ${beam.inputDirectory}"/ptFares.csv"
beam.agentsim.agents.plans {
inputPlansFilePath = ${beam.inputDirectory}"/samples/population.xml.gz"
inputPersonAttributesFilePath = ${beam.inputDirectory}"/samples/populationAttributes.xml.gz"
merge {
fraction=0.3
}
}
beam.agentsim.agents.households {
inputFilePath = ${beam.inputDirectory}"/samples/households.xml.gz"
inputHouseholdAttributesFilePath = ${beam.inputDirectory}"/samples/householdAttributes.xml.gz"
}
beam.agentsim.agents.modalBehaviors.transitVehicleTypeVOTMultipliers = [
"BUS-AC:2.0",
"BUS-SF:2.0",
"BUS-ST:2.0",
"BUS-VTA:2.0",
"BUS-DEFAULT:2.0",
"CABLE_CAR-SF:3.0",
"BUS-VN:2.0",
"SUBWAY-DEFAULT:0.75"]
#BeamVehicles Params
beam.agentsim.agents.population.useVehicleSampling = true
beam.agentsim.agents.vehicles.vehicleAdjustmentMethod = "INCOME_BASED"
beam.agentsim.agents.vehicles.fuelTypesFilePath = ${beam.inputDirectory}"/samples/fuelTypes.csv"
beam.agentsim.agents.vehicles.vehicleTypesFilePath = ${beam.inputDirectory}"/vehicle-tech/vehicletypes--baseline.csv"
beam.agentsim.agents.vehicles.vehiclesFilePath = ""
beam.agentsim.agents.vehicles.sharedFleets = []
beam.agentsim.agents.vehicles.fractionOfInitialVehicleFleet = 1.0
beam.agentsim.agents.vehicles.meanPrivateVehicleStartingSOC = 0.6
beam.agentsim.agents.vehicles.meanRidehailVehicleStartingSOC = 0.6
beam.agentsim.agents.vehicles.dummySharedCar.vehicleTypeId = "cv-L1-61000-2019"
beam.agentsim.agents.vehicles.generateEmergencyHouseholdVehicleWhenPlansRequireIt = true
beam.agentsim.agents.vehicles.roadRestrictionWeightMultiplier = 2.0
### enroute
beam.agentsim.agents.vehicles.enroute.estimateOfMeanChargingDurationInSecond = 1800
beam.agentsim.agents.vehicles.enroute.refuelRequiredThresholdOffsetInMeters = 32186.9 # 20 miles
beam.agentsim.agents.vehicles.enroute.noRefuelThresholdOffsetInMeters = 128748 # 80 miles
beam.agentsim.agents.vehicles.enroute.noRefuelAtRemainingDistanceThresholdInMeters = 500
beam.agentsim.agents.vehicles.enroute.remainingDistanceWrtBatteryCapacityThreshold = 2
# SurgePricing parameters
beam.agentsim.agents.rideHail.surgePricing.surgeLevelAdaptionStep=0.1
beam.agentsim.agents.rideHail.surgePricing.minimumSurgeLevel=0.1
beam.agentsim.agents.rideHail.surgePricing.priceAdjustmentStrategy="KEEP_PRICE_LEVEL_FIXED_AT_ONE"
# Charging Network Manager
beam.agentsim.chargingNetworkManager {
timeStepInSeconds = 300
chargingPointCountScalingFactor = 0.1
chargingPointCostScalingFactor = 0.1
chargingPointFilePath = ${beam.inputDirectory}"/parking/sfbay_taz_unlimited_charging_point.csv"
scaleUp {
enabled = false
}
helics {
connectionEnabled = false
}
}
beam.agentsim.snapLocationAndRemoveInvalidInputs = true
#TAZ params
#beam.agentsim.taz.filePath=${beam.inputDirectory}"/taz-centers.csv"
beam.agentsim.taz.filePath=${beam.inputDirectory}"/shape/sfbay-tazs-epsg-26910.shp"
beam.agentsim.taz.tazIdFieldName = "taz1454"
beam.agentsim.taz.parkingFilePath = ${beam.inputDirectory}"/parking/sfbay-parking-stalls.csv"
beam.agentsim.taz.parkingStallCountScalingFactor = 0.1
beam.agentsim.taz.parkingCostScalingFactor = 0.1
#Toll params
#not found
beam.agentsim.toll.filePath=${beam.inputDirectory}"/toll-prices.csv"
# Scaling and Tuning Params
beam.agentsim.tuning.transitCapacity = 0.2
beam.agentsim.tuning.transitPrice = 1.0
beam.agentsim.tuning.tollPrice = 1.0
beam.agentsim.tuning.rideHailPrice = 1.0
###########################
# DEMAND
###########################
beam.exchange.scenario {
# source for now can be "MATSim" or "UrbanSim"
source = "urbansim_v2"
# Input file format for scenario loader can be "csv" or "parquet"
fileFormat = "csv"
folder = ${beam.inputDirectory}"/urbansim/2018"
convertWgs2Utm = true
modeMap = [
"BIKE -> bike",
"DRIVEALONEFREE -> car",
"DRIVEALONEPAY -> car",
"DRIVE_COM -> drive_transit",
"DRIVE_EXP -> drive_transit",
"DRIVE_HVY -> drive_transit",
"DRIVE_LOC -> drive_transit",
"DRIVE_LRF -> drive_transit",
"SHARED2FREE -> hov2",
"SHARED2PAY -> hov2",
"SHARED3FREE -> hov3",
"SHARED3PAY -> hov3",
"TAXI -> ride_hail",
"TNC_SHARED -> ride_hail_pooled",
"TNC_SINGLE -> ride_hail",
"WALK -> walk",
"WALK_COM -> walk_transit",
"WALK_EXP -> walk_transit",
"WALK_HVY -> walk_transit",
"WALK_LOC -> walk_transit",
"WALK_LRF -> walk_transit",
]
urbansim {
activitySimEnabled=false
}
}
###########################
# Replanning
###########################
beam.replanning{
maxAgentPlanMemorySize = 4
Module_1 = "SelectExpBeta"
ModuleProbability_1 = 0.8
Module_2 = "ClearRoutes"
ModuleProbability_2 = 0.2
Module_3 = "ClearModes"
ModuleProbability_3 = 0.0
Module_4 = "TimeMutator"
ModuleProbability_4 = 0.0
}
##################################################################
# Warm Mode
##################################################################
#PATH TYPE OPTIONS: PARENT_RUN, ABSOLUTE_PATH
#PARENT_RUN: can be a director or zip archive of the output directory (e.g. like what get's stored on S3). We should also be able to specify a URL to an S3 output.
#ABSOLUTE_PATH: a directory that contains required warm stats files (e.g. linkstats and eventually a plans).
beam.warmStart {
prepareData = false
path = ${beam.inputDirectory}"/urbansim/2018/warmstart_baseline.zip"
samplePopulationIntegerFlag=0
type = "linkStatsOnly"
}
##################################################################
# RideHail
##################################################################
beam.agentsim.agents.rideHail.managers = [
{
name = "Uber"
iterationStats.timeBinSizeInSec = 3600
##################################################################
# RideHail
##################################################################
# Initialization Type(PROCEDURAL | FILE)
initialization.initType = "PROCEDURAL"
# If PROCEDURAL, use these params
# initialization.procedural.initialLocation.name(INITIAL_RIDE_HAIL_LOCATION_HOME | INITIAL_RIDE_HAIL_LOCATION_UNIFORM_RANDOM | INITIAL_RIDE_HAIL_LOCATION_ALL_AT_CENTER | INITIAL_RIDE_HAIL_LOCATION_ALL_IN_CORNER)
initialization.procedural.initialLocation.name = "RANDOM_ACTIVITY"
initialization.procedural.initialLocation.home.radiusInMeters = 500
initialization.procedural.vehicleTypeId="cv-L1-61000-2019"
# If FILE, use this param
initialization.filePath=${beam.inputDirectory}"/rideHailFleet.csv.gz"
# Ride Hailing General Params
defaultBaseCost=5.1
defaultCostPerMile=1.12
defaultCostPerMinute=0.32
pooledBaseCost=4.47
pooledCostPerMile=0.84
pooledCostPerMinute=0.00
refuelThresholdInMeters=1000.0
rideHailManager.radiusInMeters=5000
iterationStats.timeBinSizeInSec=3600
# priceAdjustmentStrategy(KEEP_PRICE_LEVEL_FIXED_AT_ONE | CONTINUES_DEMAND_SUPPLY_MATCHING)
surgePricing.priceAdjustmentStrategy="KEEP_PRICE_LEVEL_FIXED_AT_ONE"
# allocationManager(DEFAULT_MANAGER | STANFORD_V1 | BUFFERED_IMPL_TEMPLATE | RANDOM_REPOSITIONING | REPOSITIONING_LOW_WAITING_TIMES | DUMMY_DISPATCH_WITH_BUFFERING | POOLING_ALONSO_MORA)
allocationManager.name="POOLING_ALONSO_MORA"
allocationManager.requestBufferTimeoutInSeconds = 300
# ******************************************
# ************** VARIABLES *****************
# ******************************************
# fleet size
initialization.procedural.fractionOfInitialVehicleFleet = 0.00287777
# Waiting Time
allocationManager.maxWaitingTimeInSec = 1200
# Detour Time
allocationManager.maxExcessRideTime = 0.5 # up to +50%
# ASYNC_GREEDY_VEHICLE_CENTRIC_MATCHING, ALONSO_MORA_MATCHING_WITH_ASYNC_GREEDY_ASSIGNMENT, ALONSO_MORA_MATCHING_WITH_MIP_ASSIGNMENT
allocationManager.matchingAlgorithm = "ALONSO_MORA_MATCHING_WITH_ASYNC_GREEDY_ASSIGNMENT"
allocationManager.alonsoMora.maxRequestsPerVehicle = 5
# DEFAULT_REPOSITIONING_MANAGER, DEMAND_FOLLOWING_REPOSITIONING_MANAGER, INVERSE_SQUARE_DISTANCE_REPOSITIONING_FACTOR, REPOSITIONING_LOW_WAITING_TIMES, THE_SAME_LOCATION_REPOSITIONING_MANAGER, ALWAYS_BE_REPOSITIONING_MANAGER
repositioningManager.name="INVERSE_SQUARE_DISTANCE_REPOSITIONING_FACTOR"
repositioningManager.timeout=300
repositioningManager.inverseSquareDistanceRepositioningFactor.sensitivityOfRepositioningToDemand = 0.2
repositioningManager.inverseSquareDistanceRepositioningFactor.sensitivityOfRepositioningToDistance = 0.88668
repositioningManager.inverseSquareDistanceRepositioningFactor.predictionHorizon = 3600
# ******************************************
# ******************************************
# ******************************************
},
{
name = "Lyft"
iterationStats.timeBinSizeInSec = 3600
##################################################################
# RideHail
##################################################################
# Initialization Type(PROCEDURAL | FILE)
initialization.initType = "PROCEDURAL"
# If PROCEDURAL, use these params
# initialization.procedural.initialLocation.name(INITIAL_RIDE_HAIL_LOCATION_HOME | INITIAL_RIDE_HAIL_LOCATION_UNIFORM_RANDOM | INITIAL_RIDE_HAIL_LOCATION_ALL_AT_CENTER | INITIAL_RIDE_HAIL_LOCATION_ALL_IN_CORNER)
initialization.procedural.initialLocation.name = "RANDOM_ACTIVITY"
initialization.procedural.initialLocation.home.radiusInMeters = 500
initialization.procedural.vehicleTypeId="cv-L1-61000-2019"
# If FILE, use this param
initialization.filePath=${beam.inputDirectory}"/rideHailFleet.csv.gz"
# Ride Hailing General Params
defaultBaseCost=5.1
defaultCostPerMile=1.12
defaultCostPerMinute=0.32
pooledBaseCost=4.47
pooledCostPerMile=0.84
pooledCostPerMinute=0.00
refuelThresholdInMeters=1000.0
rideHailManager.radiusInMeters=5000
iterationStats.timeBinSizeInSec=3600
# priceAdjustmentStrategy(KEEP_PRICE_LEVEL_FIXED_AT_ONE | CONTINUES_DEMAND_SUPPLY_MATCHING)
surgePricing.priceAdjustmentStrategy="KEEP_PRICE_LEVEL_FIXED_AT_ONE"
# allocationManager(DEFAULT_MANAGER | STANFORD_V1 | BUFFERED_IMPL_TEMPLATE | RANDOM_REPOSITIONING | REPOSITIONING_LOW_WAITING_TIMES | DUMMY_DISPATCH_WITH_BUFFERING | POOLING_ALONSO_MORA)
allocationManager.name="POOLING_ALONSO_MORA"
allocationManager.requestBufferTimeoutInSeconds = 300
# ******************************************
# ************** VARIABLES *****************
# ******************************************
# fleet size
initialization.procedural.fractionOfInitialVehicleFleet = 0.00184043
# Waiting Time
allocationManager.maxWaitingTimeInSec = 1200
# Detour Time
allocationManager.maxExcessRideTime = 0.5 # up to +50%
# ASYNC_GREEDY_VEHICLE_CENTRIC_MATCHING, ALONSO_MORA_MATCHING_WITH_ASYNC_GREEDY_ASSIGNMENT, ALONSO_MORA_MATCHING_WITH_MIP_ASSIGNMENT
allocationManager.matchingAlgorithm = "ALONSO_MORA_MATCHING_WITH_ASYNC_GREEDY_ASSIGNMENT"
allocationManager.alonsoMora.maxRequestsPerVehicle = 5
# DEFAULT_REPOSITIONING_MANAGER, DEMAND_FOLLOWING_REPOSITIONING_MANAGER, INVERSE_SQUARE_DISTANCE_REPOSITIONING_FACTOR, REPOSITIONING_LOW_WAITING_TIMES, THE_SAME_LOCATION_REPOSITIONING_MANAGER, ALWAYS_BE_REPOSITIONING_MANAGER
repositioningManager.name="INVERSE_SQUARE_DISTANCE_REPOSITIONING_FACTOR"
repositioningManager.timeout=300
repositioningManager.inverseSquareDistanceRepositioningFactor.sensitivityOfRepositioningToDemand = 0.2
repositioningManager.inverseSquareDistanceRepositioningFactor.sensitivityOfRepositioningToDistance = 0.88668
repositioningManager.inverseSquareDistanceRepositioningFactor.predictionHorizon = 3600
# ******************************************
# ******************************************
# ******************************************
}
]
# Freight
beam.agentsim.agents.freight {
enabled = true
plansFilePath = ${beam.inputDirectory}"/freight/23Jan2024/Base/freight-merged-payload-plans.csv"
toursFilePath = ${beam.inputDirectory}"/freight/23Jan2024/Base/freight-merged-tours.csv"
carriersFilePath = ${beam.inputDirectory}"/freight/23Jan2024/Base/freight-merged-carriers.csv"
vehicleTypesFilePath = ${beam.inputDirectory}"/vehicle-tech/freight-only-vehicletypes--tda-baseline.csv"
carrierParkingFilePath = ""
isWgs = true
generateFixedActivitiesDurations = true
tourSampleSizeAsFractionOfTotal = 1.0 # FRISM is providing 10% of total population of tours
}
##################################################################
# OUTPUTS
##################################################################
# The baseOutputDirectory is the base directory where outputs will be written. The beam.agentsim.simulationName param will
# be used as the name of a sub-directory beneath the baseOutputDirectory for simulation results.
# If addTimestampToOutputDirectory == true, a timestamp will be added, e.g. "beamville_2017-12-18_16-48-57"
beam.outputs.baseOutputDirectory = ${PWD}"/output/sfbay"
beam.outputs.baseOutputDirectory = ${?BEAM_OUTPUT}
beam.outputs.addTimestampToOutputDirectory = true
# The remaining params customize how events are written to output files
beam.outputs.events.fileOutputFormats = "csv.gz" # valid options: xml(.gz) , csv(.gz), none - DEFAULT: csv.gz
# Events Writing Logging Levels:
beam.outputs.events.eventsToWrite = "PersonArrivalEvent,PersonDepartureEvent,ActivityEndEvent,ActivityStartEvent,PersonEntersVehicleEvent,PersonLeavesVehicleEvent,ModeChoiceEvent,PathTraversalEvent,ReserveRideHailEvent,ReplanningEvent,RefuelSessionEvent,ChargingPlugInEvent,ChargingPlugOutEvent,ParkingEvent,LeavingParkingEvent,PersonCostEvent,TeleportationEvent"
beam.outputs.stats.binSize = 3600
# To keep all logging params in one place, BEAM overrides MATSim params normally in the controller config module
beam.beamskimmer.writeObservedSkimsInterval = ${beam.outputs.defaultWriteInterval}
beam.beamskimmer.writeAllModeSkimsForPeakNonPeakPeriodsInterval = 0
beam.beamskimmer.writeObservedSkimsPlusInterval = ${beam.outputs.defaultWriteInterval}
beam.beamskimmer.writeFullSkimsInterval = 0
beam.outputs.writePlansInterval = ${beam.outputs.defaultWriteInterval}
beam.outputs.writeEventsInterval = ${beam.outputs.defaultWriteInterval}
beam.physsim.writeEventsInterval = 10
beam.physsim.writePlansInterval = 10
beam.physsim.writeRouteHistoryInterval = 0
beam.physsim.linkStatsWriteInterval = ${beam.outputs.defaultWriteInterval}
beam.outputs.generalizedLinkStatsInterval = 0
beam.outputs.generalizedLinkStats.startTime = 0
beam.outputs.generalizedLinkStats.endTime = 108000
beam.outputs.stats.binSize = 3600
beam.outputs.writeAnalysis = false
##################################################################
# Debugging
##################################################################
beam.debug.debugEnabled = false
beam.debug.actor.logDepth = 2
beam.debug.vmInformation.createGCClassHistogram = true
beam.debug.stuckAgentDetection {
checkIntervalMs = 200
checkMaxNumberOfMessagesEnabled = true
defaultTimeoutMs = 60000
enabled = false
overallSimulationTimeoutMs = 100000
thresholds = [
{
actorTypeToMaxNumberOfMessages {
population = 1
rideHailAgent = 1
transitDriverAgent = 1
}
markAsStuckAfterMs = 20000
triggerType = "beam.agentsim.agents.InitializeTrigger"
},
{
actorTypeToMaxNumberOfMessages {
population = 11
}
markAsStuckAfterMs = 20000
triggerType = "beam.agentsim.agents.PersonAgent$ActivityEndTrigger"
},
{
actorTypeToMaxNumberOfMessages {
population = 1
}
markAsStuckAfterMs = 20000
triggerType = "beam.agentsim.agents.PersonAgent$ActivityStartTrigger"
},
{
actorTypeToMaxNumberOfMessages {
population = 20
}
markAsStuckAfterMs = 20000
triggerType = "beam.agentsim.agents.PersonAgent$PersonDepartureTrigger"
},
{
actorTypeToMaxNumberOfMessages {
population = 20
}
markAsStuckAfterMs = 20000
triggerType = "beam.agentsim.agents.modalbehaviors.DrivesVehicle$AlightVehicleTrigger"
},
{
actorTypeToMaxNumberOfMessages {
population = 20
}
markAsStuckAfterMs = 20000
triggerType = "beam.agentsim.agents.modalbehaviors.DrivesVehicle$BoardVehicleTrigger"
},
{
actorTypeToMaxNumberOfMessages {
population = 80,
rideHailAgent = 104,
transitDriverAgent = 114
}
markAsStuckAfterMs = 20000
triggerType = "beam.agentsim.agents.modalbehaviors.DrivesVehicle$EndLegTrigger"
},
{
actorTypeToMaxNumberOfMessages {
population = 80,
rideHailAgent = 104,
transitDriverAgent = 114
}
markAsStuckAfterMs = 20000
triggerType = "beam.agentsim.agents.modalbehaviors.DrivesVehicle$StartLegTrigger"
},
{
actorTypeToMaxNumberOfMessages {
transitDriverAgent = 1
}
markAsStuckAfterMs = 20000
triggerType = "beam.agentsim.scheduler.BeamAgentScheduler$KillTrigger"
}
]
}
##################################################################
# SPATIAL
##################################################################
beam.spatial = {
localCRS = "epsg:26910" # what crs to use for distance calculations, must be in units of meters
boundingBoxBuffer = 10000 # meters of buffer around network for defining extend of spatial indices
}
##################################################################
# BEAM ROUTING SERVICE
##################################################################
#not found
beam.physsim.inputNetworkFilePath = ${beam.inputDirectory}"/r5/r5-simple-no-local/physsim-network.xml"
beam.routing = {
#Base local date in ISO 8061 YYYY-MM-DDTHH:MM:SS+HH:MM
transitOnStreetNetwork = true
baseDate = "2017-09-22T00:00:00-07:00"
r5 {
directory = ${beam.inputDirectory}"/r5/r5-simple-no-local"
# Departure window in min
departureWindow = 1.0167
osmFile = ${beam.inputDirectory}"/r5/r5-simple-no-local/bay_area_simplified_tertiary_strongly_2_way_network.osm.pbf"
#not found
osmMapdbFile = ${beam.inputDirectory}"/r5/r5-simple-no-local/osm.mapdb"
mNetBuilder.fromCRS = "epsg:4326" # WGS84
mNetBuilder.toCRS = ${beam.spatial.localCRS}
transitAlternativeList = "NONOPTIMAL"
suboptimalMinutes = 10
travelTimeNoiseFraction = 0.15
}
startingIterationForTravelTimesMSA = 2
}
##################################################################
# Calibration
##################################################################
beam.calibration.objectiveFunction = "CountsObjectiveFunction"
beam.calibration.mode.benchmarkFilePath=${beam.inputDirectory}"/calibration/benchmark.csv"
beam.calibration.counts {
countsScaleFactor = 10.355
writeCountsInterval = 1
averageCountsOverIterations = 1
}
beam.calibration.studyArea {
enabled = true
lat = 30.259504
lon = -97.7431187
radius = 20000
}
beam.urbansim.fractionOfModesToClear {
allModes = 0.0
car = 0.0
bike = 0.0
walk = 0.0
walk_transit = 0.0
drive_transit = 0.0
}
beam.calibration.google.travelTimes {
enable=false
iterationInterval=10
minDistanceInMeters=5000.0
numDataPointsOver24Hours=1000
offPeakEnabled=false
queryDate="2020-10-14"
tolls=true
}
beam.router.skim = {
keepKLatestSkims = 1
writeSkimsInterval = ${beam.outputs.defaultWriteInterval}
writeAggregatedSkimsInterval = ${beam.outputs.defaultWriteInterval}
travel-time-skimmer {
name = "travel-time-skimmer"
fileBaseName = "skimsTravelTimeObservedVsSimulated"
}
origin-destination-skimmer {
name = "od-skimmer"
fileBaseName = "skimsOD"
writeAllModeSkimsForPeakNonPeakPeriodsInterval = 0
writeFullSkimsInterval = 0
poolingTravelTimeOveheadFactor = 1.21
}
taz-skimmer {
name = "taz-skimmer"
fileBaseName = "skimsTAZ"
}
transit-crowding-skimmer {
name = "transit-crowding-skimmer"
fileBaseName = "skimsTransitCrowding"
}
}
###########################
# Physsim
###########################
## JDEQSIM
# population
# There are 6 015 030 persons with plans
# 0.001 -> 6k
# 0.005 -> 30k
# 0.01 -> 60k
# 0.0117 -> 70k
# 0.02 -> 120k flow cap -> 0.04
# 0.04 -> 240k flow cap -> 0.05
# 0.1 -> 601k flow cap ~ 0.12
# 0.15 -> 902k flow cap ~ 0.16
## PARBPRSim
# 0.1 , flow cap -> 0.035
beam.physsim.flowCapacityFactor = 0.035
beam.physsim.speedScalingFactor = 1.0
beam.physsim.storageCapacityFactor = 1.0
beam.physsim.writeEventsInterval = 0
beam.physsim.writePlansInterval = 0
beam.physsim.writeMATSimNetwork = true
beam.physsim.linkStatsWriteInterval = 1
beam.physsim.linkStatsBinSize = 3600
beam.physsim.ptSampleSize = 0.125
beam.physsim.jdeqsim.agentSimPhysSimInterfaceDebugger.enabled = false
beam.physsim.skipPhysSim = false
beam.physsim.jdeqsim.cacc.enabled = true
beam.physsim.minCarSpeedInMetersPerSecond = 1.0
beam.physsim.events.fileOutputFormats = "csv.gz"
beam.physsim.eventsForFullVersionOfVia = false
beam.physsim.name = "PARBPRSim"
beam.physsim.overwriteLinkParamPath = ""
beam.physsim.network.overwriteRoadTypeProperties {
enabled = true
motorway.speed = 31.2928
motorway.alpha = 0.83 #Freeway
motorway.beta = 5.5 #Freeway
motorwayLink.capacity = 4000
motorwayLink.speed = 30.3
motorwayLink.alpha = 0.83 #Freeway-to-Freeway Connector
motorwayLink.beta = 5.5 #Freeway-to-Freeway Connector
trunk.speed = 25.8224
trunk.alpha = 0.71 #Expressway
trunk.beta = 2.1 #Expressway
trunkLink.capacity = 3000
trunkLink.speed = 25.5
trunkLink.alpha = 0.83 #Ramp
trunkLink.beta = 5.5 #Ramp
primary.speed = 27.7
primary.alpha = 0.6 #Super Arterial
primary.beta = 3.5 #Super Arterial
primaryLink.capacity = 4000
primaryLink.speed = 23.7
primaryLink.alpha = 0.83 #Ramp
primaryLink.beta = 5.5 #Ramp
secondary.speed = 27.0
secondary.alpha = 0.6 #Major Arterial
secondary.beta = 3.5 #Major Arterial
secondaryLink.capacity = 3000
secondaryLink.speed = 25.8
secondaryLink.alpha = 0.83 #Ramp
secondaryLink.beta = 5.5 #Ramp
tertiary.speed = 12.0112
tertiary.alpha = 0.6 #Minor Arterial
tertiary.beta = 3.5 #Minor Arterial
tertiaryLink.speed = 7.4408
tertiaryLink.alpha = 0.83 #Ramp
tertiaryLink.beta = 5.5 #Ramp
minor.alpha = 0.6 #Collector
minor.beta = 8.5 #Collector
unclassified.capacity = 3000
unclassified.speed = 15.6464
unclassified.alpha = 0.6 #Collector
unclassified.beta = 8.5 #Collector
residential.speed = 13.4112
residential.alpha = 0.6 #Local Street
residential.beta = 8.5 #Local Street
livingStreet.speed = 13.4112
livingStreet.alpha = 0.6 #Alley
livingStreet.beta = 8.5 #Alley
road.capacity = 3000
}