Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Dynamically controlling edge access
  • From: Devon Fazekas <thomas-d@xxxxxxxxxx>
  • Date: Sat, 13 Aug 2022 20:53:17 +0000
  • Accept-language: en-CA, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GDWTiWuXCgF6dKZlJoxCaaGKmkxJ7N1Lk16zbbcmp9s=; b=dDZwdlr3/8m7SEToDdcYfJQaEXz0oZtGChTlTU7rKuEt0U0n9MwYfDuSb30qVOzwEEoyzGMv9s+F4lCYJMxQvY2Qg3T7Q7/+o2fSbjzdIsxqUvQ0QpLwtUeUhYtoPPUcvtD8m8ayplGsmnycfc8frDbOqBxKEy0XCzqNqXlcOTdsUElyh09ULQAK9iVYJWXpE4mkHhbTHNczjyuw0XW2fNG/J1U4bbmzXvyUOIKrdYPqm5ytp9TLB/fKrcm+rFvlJPJisf4Bm8MmPIJBsuIf+S4YQvOMVlQ78oRThW4PE0IUVbwj0QBdcocnx2HGxxH8D/fyE6YPvBAr8j59uFOMTw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QdDqvRyU7MTlYlLvcBk4Dg2NnmSuz+Vm6SET5DZPi+kjpmpM4BhYdST+T+/LMdYA4q5qxgBVMmQgFPLcbGkcJDXhTQbeBY7TX6RnxsUR9HWKAJWuVauvWsxhB71O0EwqxpfEVmvfBvSo63sMMkeslt54dGqa42CEtZq+15q5UGgcUt9KUbUp3HRlNrpIA0BMyHg23iJOFHNBZmyN394TdKQincocUMy2x6AhsUd8oF4nx2EKeWF/OwxhKmc0EgLe3dNLf6J5+/PYTMHrtfxPoTf7jfYBXWVjfE9gSSTgGW01boM0GE0DrVtAqRVPgPxkvvtux+XlWwNOM3LgMLQq5w==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHYr07s7l1UQ7ApAkyxF/4h8/Qhbw==
  • Thread-topic: Dynamically controlling edge access

I'm trying to create the following scenario:

Two types of vehicles make up a flow of traffic: normal pedestrians (NP) and connected pedestrians (CP). By default, they follow the fastest route from origin to destination. However, once an emergency vehicle (CV) enters the network, its optimal route is computed. The only vehicles that must be rerouted so that they won't obstruct the CV during its commute are CP vehicles.

 

I would be very grateful for any advice. I've been having trouble for a while.

 

The two technical problems are:

(1) How can one (roughly) predict when an EV will share an edge with a CP?

(2) What is the best approach for dynamically rerouting the CP vehicles such that they never share the same edge as an EV (if rerouting is possible)? TraCI appears to be the preferred tool, but its drawbacks are difficult to work around.

 

My current approach to question 1 involves a lengthy Python script:

Utilize TraCI to retrieve all CP routes, and then filter out those that have an edge in common with the EV. Then, estimate the arrival time to the shared edge (addressing the question "Will they be on the same edge at the same time?") using the current positions and speeds of these vehicles and the maximum speed of each edge along their routes. Then, block that edge (somehow) for any vehicles that are anticipated to be close to the EV and initiate a reroute. It would unblock all previously blocked edges.

 

For question 2, I don't have a working approach, but these were my first thoughts:

  • Set the `allow` edge attribute, but this isn't supported by TraCI.
  • Set the `maxSpeed` edge attribute, but this would affect all vehicles, not just the CP.
  • Set a `closingReroute` element to an edge, but this isn't supported by TraCI.

 

 

 


Back to the top