Residual Demand Simulation Hour List #344
-
|
Dear team, I tried to run the residual demand tool over an interval of 24 hours by entering 0, 1, 2, 3, ...., 23 in the Simulation Hour List; however, an error occurred. I think whenever I'm using an hour of 2 digits (i.e: 10 and above) an error is occurring. So, I would like to make sure whether the system is designed to perform as such, and if there is a way to overcome this error. Looking forward to hearing from you. "04:20:51 - Traceback (most recent call last): 04:20:52 - There was an error in the python process python module, the exit code is 1" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
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). Regards, Jinyan |
Beta Was this translation helpful? Give feedback.
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).
Regards,
Jinyan