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: Fri, 7 Aug 2020 00:54:47 +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=vWmx8r2HmamqOJXfGU9/kQ3pfZZ72EPwWXA5nuP4Ibg=; b=T7PeaNqOElRKq3ndpYzvGYAO+ULF1hC/mkoSxYWpXq7k2fskh74PrYgla1iUmHJQ5+/faGK6UCFsAtQN58P/OHb32qmoFSjm8L+eLMCLJku/kv73ml8pADu4VyB00HchqAS5szTpoLiJwb9EcSErWgJ5hehNDVUx48YT0gHn2unfT2CQLduIfuFYxXqN87s+qOlo0DS+yl+qoWRCMDj8n7KnMcVNdvYYa8IppGLy6i21zpiYm1Ff7v2QpSSDPs/hr4f5XesBBmHpOlv8ZdmGBeEySgNNhr7/LySNk5f+qabnyGm+4Pay+x7jZfY1CNLlzhqlaYXvBq1K0for9X2msQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZVt2q3qvCUenmKKEz+xmSGf6Jmlr9A2b/umApIL9Rjssq+o/TilEbL1/DYYNdkf/YyB0YX0N5A5qxcARdzmJN1kISvdQ99T3Uq0POxapGu/vuxp8+YbDaOXvM01/GHhvmX9iK12leH13+YQbyk0v08pR6pY1z0Zu/Q2S8IZ35j6AQ2EcPD6Qtn+S9Z7ipDS9LA+a7PwFC2MGQj2SY86K/XyTiO7SDlmakPAD9XYBio4sgZiQQTwJylLJijAwkvEO31AicLFadhxLXCj6H68TqxIMzzRwZuTfQjFNw/OZijAEdQRJwgYPkZIgm+J8GZ4DQiqHVbkQuYhUoPM6OACOsw==
  • 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/g==
  • Thread-topic: [sumo-user] Charging data using TraCI subscriptions

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

Back to the top