bcgov / smk-clean-bc

Apache License 2.0
0 stars 0 forks source link

Scenario 2: Urban Service Delivery (Social workers, B.C. Mail , Public safety) #88

Open NicoledeGreef opened 1 year ago

NicoledeGreef commented 1 year ago

Urban Service Delivery (Social workers, B.C. Mail , Public safety): Test the application's ability to plan a route with multiple stops in an urban environment, taking into account traffic congestion, one-way streets, and parking availability which may impact route time and charger availability. Verify that the application accurately calculates the range of the EV based on expected driving conditions and traffic, and that it provides clear instructions for maneuvering in the city and accessing chargers.

NicoledeGreef commented 1 year ago

please supply the start and end and any waypoints in between so they can be used for testing

please note: one way streets are taken into consideration by the route planner web services however traffic congestion and parking availability are not; can be confirmed by @alixcote

alixcote commented 1 year ago

@NicoledeGreef Correct we do take one way streets into consideration and we do have a "correct side" parameter which will ensure you arrive on the correct side of the road (would need to test with charging station locations).

As for traffic, we do have some historic traffic congestion which only works if you enable td during rush hour times. Right now it is based off of historic data and mostly only suitable for demos since we don't have a more representative dataset.

Example:

With Traffic Enabled: https://router.api.gov.bc.ca/directions.json?apikey=&points=-122.9032402,49.2084033,-123.0840557,49.3564557&criteria=shortest&enable=tf,gdf,ldf,tr,xc,tc,td&departure=2023-02-16T16:30:00-08:00&correctSide=true&roundTrip=false

distance: 25.29, time: 2735.216513811271, timeText: "45 minutes 35 seconds",

Without Traffic Enabled https://router.api.gov.bc.ca/directions.json?apikey=&points=-122.9032402,49.2084033,-123.0840557,49.3564557&criteria=shortest&enable=tf,gdf,ldf,tr,xc,tc&departure=2023-02-16T16:30:00-08:00&correctSide=true&roundTrip=false

distance: 25.29, time: 2246.216093616545, timeText: "37 minutes 26 seconds",