You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently developing a routing service for electric vehicles. The primary objective of this service is to leverage the regenerative charging capabilities of electric vehicles during downhill travel. Consequently, the service aims to prioritize downhill routes and avoid uphill ones.
I have successfully imported external elevation raster data (from here) and computed the slope for each segment, along with the corresponding new segment.weight, as depicted in this profile:
For reference, i am adding this functionality to the car.lua profile.
Despite modifying the segment.weight within the process_segment function to improve or degrade it, the final route remains unaffected. Could this be an issue with the weight? For instance, should I augment the multiplier value 5.0 to observe significant changes, or should I adjust the segment.weight in other areas or take a complete different approach? Any guidance would be greatly appreciated.
Thank you.
Update
Upon increasing the multiplier value to 200.0 from 5.0, I have observed a noticeable change in the final route. I remain open to suggestions for further improvements or alternative approaches.
This discussion was converted from issue #6833 on March 23, 2024 18:42.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am currently developing a routing service for electric vehicles. The primary objective of this service is to leverage the regenerative charging capabilities of electric vehicles during downhill travel. Consequently, the service aims to prioritize downhill routes and avoid uphill ones.
I have successfully imported external elevation raster data (from here) and computed the slope for each segment, along with the corresponding new
segment.weight
, as depicted in this profile:For reference, i am adding this functionality to the car.lua profile.
Despite modifying the
segment.weight
within theprocess_segment
function to improve or degrade it, the final route remains unaffected. Could this be an issue with the weight? For instance, should I augment the multiplier value5.0
to observe significant changes, or should I adjust thesegment.weight
in other areas or take a complete different approach? Any guidance would be greatly appreciated.Thank you.
Update
Upon increasing the multiplier value to
200.0
from5.0
, I have observed a noticeable change in the final route. I remain open to suggestions for further improvements or alternative approaches.Beta Was this translation helpful? Give feedback.
All reactions