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: Thu, 6 Aug 2020 03:56:53 +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=SAdtbJA+SIf4D0mDvS/kA0wyZYAyH6r9dapZWD6VRlM=; b=LR4z2JoqHK6effWSXKx0pwB7axaQliS0BQ/lIoSQ9WEgVWW5OcvCRTwFsOXfCjmB2/EzubeoKBAweR2zC0iErB3ygrFqJmuoLZb5s0Err3etS2NgLcqL408I68dD3lrza4tghe4CBFMxoYjPigd/LmYXfSLTbetIKd5AQ7pr31tCV3W8ofwgOQvoAQdZ+Ox47AZ/thqdz0Gfu8U25L7Fw3ygSZzJC6/30KaUV0GNJzwFu5l4FAGlpxGDv6tQqT5Jvs8fpDvw38IlIiynxFcchKLaprFOHDdIjlCHnU3th/Wio8CZoeQJepEoNgitsgihbPXm2/MTjVvVjxw8NJ8vLQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eNCjqwEhbR3O1TtXaYTph+23vBWkLwm0uHTr4QdhWAGvTfZ3c7YbAABWjPLGb/62FpBOW5A6vY7BTsA+cX7sq5TQM8oIUnTfS5ELHjOclWUuCjqPpQwojzz6FpXzXo78mIkDlyK6jra9CCJ0Y5fSQiXpLYDp276xuUdTPIV0c7PjVeI1+Lvo/Hu0Wbwl8C9J5ayKLhOmgCRJz3aT15U6NrwbJ44rppXd7UOO8TOusp0c8sk6X1djvGwPfGoZ/foZeN+iNxF5Y+oknKY+8PstS6qioScDpfJxrYBJvI1U5YLdzHbvnBLL0EpQ4nzNKLH+UUeWa8qprbGqvRTT2IMvUQ==
  • 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: AQHWa3q9Bkbltq2t2UqELQfzwzeGhKkqcXyv
  • Thread-topic: Charging data using TraCI subscriptions

*** 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

Back to the top