Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Charging data using TraCI subscriptions
  • From: "Padisala, Shanthan Kumar" <padisala.1@xxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 12 Aug 2020 14:48:26 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=buckeyemail.osu.edu; dmarc=pass action=none header.from=buckeyemail.osu.edu; dkim=pass header.d=buckeyemail.osu.edu; 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-SenderADCheck; bh=hr6eAJIhyCD10q/+ntlVNbNaaGdLQUjg6qyc0KlDcf8=; b=gdsMDHS3TcP0kATmPr0w20ASiRQlc5YbE712GAPEfNqZXWKZorTIXvsNglmPfJG28Aqf5UW07kGwZ4wKk2+UIXsRJWQS3778aVpdbpJj1fHssw/Q8Qx06e9SUyuqA4UeUuV/puW8GNwptaqVL4iZ/0N6/UVjFLHhkuj9kfd+ijvd7Fz+htzhc7EYat/rKyknaS25hg1klZyzqN89+y8lcJKUVHYh6RZA5KERqvps5yBE7VeKSyXaSXx3mn99/kreNJ2SBDf1YlmZpdgZbSj2d+hmi4ShoKPcLY8DAv33Kcdl+x975nHnjRTyN8EM8Lftah22S1aXCqQ90jC8/KACxQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HLM0CB3xHElLYqQKG3+Q6F8DC2k4EtSy/NIjcLUUcsWgExawjs3yzXqhBQJb7drfUfFKEnjsB6AZJtZ4TMQ1RCwb1ZSQVKNH5jiwr5oC+1wuFg1uCqnoy82n9zhCYQKxS1VJZrH29355pHG1EA7VM+WAte/c76Xyd0YWDOHMLCk/2r/XVoWLJdpRNzNANyI/1j51hPoHdDVm0vnPYtrJAYO6FZwe7yzXsXhjzhfuQb8zPCCBosCqiPQpHEmWiy66R5o+XVcS/obNRFp+GoFi89rXX5PvFi1oEPxk0iQ5UelkEkkZd8ELUWf9wEeUbUQQuxE/A2LcAQmGaNAgteBBWQ==
  • 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: AQHWa3q9Bkbltq2t2UqELQfzwzeGhKkqcXyvgACk9gCAALtt/oAFeNMAgANNDUk=
  • Thread-topic: [sumo-user] Charging data using TraCI subscriptions

Dear Jakob,

I have attached the error message that is displayed when I tried to use subscribeParameterWithKey.

Thanks and regards,
PSK

From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Monday, August 10, 2020 8:21 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] Charging data using TraCI subscriptions
 
It would be helpful if you could report the symptoms of your problem (i.e error messages).

Am Fr., 7. Aug. 2020 um 02:55 Uhr schrieb Padisala, Shanthan Kumar <padisala.1@xxxxxxxxxxxxxxxxxxx>:
Dear Jackob,

I am using the latest build. However, I am unable to use this command. May I know where I might be going wrong?

PSK

From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Thursday, August 6, 2020 9:37 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] Charging data using TraCI subscriptions
 
In the latest development version you can call

traci.vehicle.subscribeParameterWithKey(vehID, 'device.battery.actualBatteryCapacity')

regards,
Jakob

Am Do., 6. Aug. 2020 um 05:57 Uhr schrieb Padisala, Shanthan Kumar <padisala.1@xxxxxxxxxxxxxxxxxxx>:
*** Clarification to my previous question ***

I am currently using the command - traci.vehicle.getParameter('Vehicle', 'device.battery.actualBatteryCapacity')  to get the information on the battery capacity at the current time step. However, I would like to use TraCI subscriptions for the same task. 

I understand that using TraCI subscriptions I can get data of the vehicle like  speed using the commands - traci.vehicle.subscribe('Vehicle', (tc.VAR_ROAD_ID)) and traci.vehicle.getSubscriptionResults('Vehicle'). So now basically I would like to use the same logic to get data from a device- battery.

Thank you,
PSK

From: Padisala, Shanthan Kumar
Sent: Wednesday, August 5, 2020 6:53 PM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Charging data using TraCI subscriptions
 
Dear Jakob,

Greetings!

I am trying to use subscriptions to get the charging data (energy input or any other relevant data) of an electric vehicle when it is being charged at the charging station. But I am unable to figure out the TraCI subscription commands that are used to do this. Could you kindly help me out with this?

Thank you,
PSK
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Attachment: error.PNG
Description: error.PNG


Back to the top