Dear Jakob,
Tons of thanks for the clarification. I applied the changes:
<rerouter id="rerout1" edges="15to19 20to19 119to19 120to20 115to15 19to17">
<interval begin="300" end="1500">
<closingReroute id="19to17" disallow="all"/>
</interval>
</rerouter>
The number of using the name of link 19to17 (which is close for a period) at file "od_route_file.odtrips.rou.xml" is the same number as I run the code without closing. So it seems still doesn't work.
I am not sure if it works now, because I do not know where should I use "--ignore-route-errors". I do not know how to start the sumo with "--ignore-route-errors
" While I use sumo-gui with opening "config_file.sumocfg".
I add "--ignore-route-errors" at the beginning of "config_file.sumocfg" (exactly after the line <configuration>), but still I got the error message: "Error: Vehicle '9852' is not allowed to depart on any lane of edge '19to17'.
Quitting (on error)". and the program stops.
It is very kind of you to let me know what to do
Bests,
Reihaneh