Skip to content
Discussion options

You must be logged in to vote

Hi Mohamed,

Thanks for pointing this out, and this is a bug in handling the format of the hours. The ResidualDemand model should be able to simulate transportation longer than 10 hours. We have fixed this bug and the update will be available in the next R2D release.

Meanwhile, if you would like a quick fix on your local R2D, you can open the file "C:\Users\USER\Downloads\R2D_V5.3\R2D_Windows_Download\applications\systemPerformance\ResidualDemand\run_residual_demand.py" and replace line 139 and 140 with the lines below (see example here).

hour = all_frames[0].split('_')[2][2:]
minute = int(all_frames[0].split('_')[3][2:]) * 10

Regards,

Jinyan

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jinyan1214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
R2D
Labels
None yet
2 participants