Meaning of VIOLATIONS in xRoute1
Posted: Tue Jun 14, 2022 4:30 pm
Here's a little description of the violations handling in xRoute 1.
Let's start with a simple route through Karlsruhe. Important to know: the original track uses a few (10) segments with a height restriction of 2.60m (PTV_TruckAttributes) - a tunnel under the Südtangente. The used car in the initial scenario has a height of 2.50m and is therefore allowed to use these segments.
Now in the next loop I increased the vehicle's height to 2.70m which exceeds the height restriction of the tunnel. Violations are still forbidden: the vehicle has to take a detour.
From now on I enable violations and I play with the costs of violated segments:
Now I simulated this based on compareably small values for "costs per violated segment". Usually this value is set to somewhere around "50'000". This is recommended to see violated segments as a last ressort if you can't reach waypoints without them.
Bernd
Let's start with a simple route through Karlsruhe. Important to know: the original track uses a few (10) segments with a height restriction of 2.60m (PTV_TruckAttributes) - a tunnel under the Südtangente. The used car in the initial scenario has a height of 2.50m and is therefore allowed to use these segments.
Now in the next loop I increased the vehicle's height to 2.70m which exceeds the height restriction of the tunnel. Violations are still forbidden: the vehicle has to take a detour.
From now on I enable violations and I play with the costs of violated segments:
Now I simulated this based on compareably small values for "costs per violated segment". Usually this value is set to somewhere around "50'000". This is recommended to see violated segments as a last ressort if you can't reach waypoints without them.
Bernd