Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] an error regarding The DRT service
  • From: Seyed Mehdi Meshkani <seyedmehdi.meshkani@xxxxxxxxxxxx>
  • Date: Thu, 14 Mar 2024 15:05:36 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=concordia.ca; dmarc=pass action=none header.from=concordia.ca; dkim=pass header.d=concordia.ca; 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=nO1O9FAbZ2FsK/SALAp0pf9YYKtonblOwTIgUEAmULo=; b=hazIFjzgNcimEnmjf63+VvyltYmoyRPcvUzz9JwXuMtlTUV+keHY/4qb2oUYqn/C5jJrrRrsjqaMjqnWEL8w8b/fJp8lm5XwUbNqG3PADZ7Pz/NUFPyaWHx1CWz3MLCio1Iu9+RkXQRJg194HWHLoydJhZy7DqxgSTdJFMF4sLOTmzJDQi5ycnccTKYnfNXeNoewT8O/lJ7cQijAJZzW43InvXEJH+XLL+BOwfWjbD/0b6yYh9kWKUVy68HELWpIv2HZaWsABdCiLzqv82ZoSOe7vxXqRT0jZj7PIhGTDVNvogkOoICt7zDn/7x5FMEbs07D4hE2di08SSuRH/LLcw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GJyjc6ylxcBTqNUrLW8VgLx7Ace54rOpEzXLXL3TI6PhEXvsDdbgQgs2aTZohtbVN1a5VerXdMdVNIEeyil9+aO7s37i9le80d1bzDNRN4IHOxFhz8LWtFac6wwYL+ZCPpJWBRDPJKLwv5/wpKDpYdg/IqanKlSRe+vGqIYeREbmNe68JnHUAmf5UPy69MLmT80q+u61iPRA7j7wlpNSfPENsBcNevOSgIFjy+OCIYd1fD3xJaSFoc4Ra27FFqJd3dYkv2HeM0O6hZ3DJUBxZQtz56Wsy/9+t+UUXLh9m17rDgLRyllHb8UOvzw+KAWD1IJOBVrdCeZQeLBWtb/8rQ==
  • 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>
  • Msip_labels:
  • Thread-index: AQHadh/NZYKPWcJkTU6MfO3XcW299g==
  • Thread-topic: an error regarding The DRT service

Hello, 

I have an issue with running DRT. When I run it, I get this error, and I cannot resolve it. 

"Error: Answered with error to command 0xc4: Could not interpret reservations for vehicle '9' (Reservation id '9' is not known).
Traceback (most recent call last):
  File "C:\Users\MehdiMeshkani\Desktop\SUMO_Simulations\Opus_Data\drt\drtOnline.py", line 549, in <module>
    main()
  File "C:\Users\MehdiMeshkani\Desktop\SUMO_Simulations\Opus_Data\drt\drtOnline.py", line 526, in main
    traci.vehicle.dispatchTaxi(veh_id, stops[1:])
  File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\_vehicle.py", line 1469, in dispatchTaxi
    self._setCmd(tc.CMD_TAXI_DISPATCH, vehID, "l", reservations)
  File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\domain.py", line 164, in _setCmd
    self._connection._sendCmd(self._cmdSetID, varID, objectID, format, *values)
  File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py", line 231, in _sendCmd
    return self._sendExact()"

When the number of passengers and cars are small such as 5 passengers and 2 cars, it works properly but when I increase the number of passengers and cars, it keeps giving me the error. 

This is the way I defined cars: 

<trip id="8" type="taxi_5"  depart="0.00"  >
<stop lane="951210468#11_0" triggered="person"/>
</trip>
<trip id="9" type="taxi_5"  depart="0.00"  >
<stop lane="951210468#11_0" triggered="person"/>
</trip>


This is the way I defined passengers: 

<person id="2" depart="129.0" departPos="319.14"><ride from="951210468#11" to="475848926#0" lines="taxi" /></person>
<person id="3" depart="491.0" departPos="7.5"><ride from="1093958533#0" to="475848926#0" lines="taxi" /></person>

I was wondering if you could assist me with this problem. 




Kind Regards, 
Mehdi



------------------------------------------------------------------------------
Seyed Mehdi Meshkani, Ph.D. 
Postdoctoral Fellow in Sustainable Mobility Management
BusPas Inc. & Concordia Institute for Information Systems Engineering (CIISE)
seyedmehdi.meshkani@xxxxxxxxxxxx
mehdi@xxxxxxxxxx

Back to the top