Dear Jakob,
I just checked that the SUMO_HOME environment variable was not set up on my system. I went ahead and created that. However, I am still getting the same error message. It would be great if you could give me some resources on updating to the latest build without
uninstalling SUMO from my system. I am using Windows 10 OS.
Thank you,
PSK
From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Wednesday, August 12, 2020 11:25 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] Charging data using TraCI subscriptions
Your traci script is not using the latest development version. Most likely your value of SUMO_HOME points to an older SUMO version.
Dear Jakob,
I have attached the error message that is displayed when I tried to use subscribeParameterWithKey.
Thanks and regards,
PSK
It would be helpful if you could report the symptoms of your problem (i.e error messages).
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
In the latest development version you can call
traci.vehicle.subscribeParameterWithKey(vehID, 'device.battery.actualBatteryCapacity')
regards,
Jakob
*** 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
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
|