Skip to content

Commit

Permalink
NEMA split fix
Browse files Browse the repository at this point in the history
Signed-off-by: Max <mcschrader@crimson.ua.edu>
  • Loading branch information
mschrader15 committed May 5, 2024
1 parent 58cc79a commit 1b2e5df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sumo_pipelines/blocks/simulation_complex/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def update(self, e3_subs, veh_subs, sim_time):
)

wt = sim_time - self.accumulated_wtime_holder[(_id, truck)]
if wt > 150:
wt = 1e6
# if wt > 150:
# wt = 1e6

self.accumulated_wtime += max(
(wt) * (self.truck_waiting_time_factor * truck + 1),
Expand Down

0 comments on commit 1b2e5df

Please sign in to comment.