[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Battery and Power-train integration into SUMO
|
Hi,
from python the calls look like
tests/complex/traci/vehicle/vehicle/runner.py:
traci.vehicle.getParameter(electricVeh,
"device.battery.energyConsumed"),
tests/complex/traci/vehicle/vehicle/runner.py:
traci.vehicle.getParameter(electricVeh,
"device.battery.energyCharged"),
tests/complex/traci/vehicle/vehicle/runner.py:
traci.vehicle.getParameter(electricVeh,
"device.battery.actualBatteryCapacity"),
tests/complex/traci/vehicle/vehicle/runner.py:
traci.vehicle.getParameter(electricVeh,
"device.battery.maximumBatteryCapacity"),
tests/complex/traci/vehicle/vehicle/runner.py:
traci.vehicle.getParameter(electricVeh,
"device.battery.chargingStationId"),
tests/complex/traci/vehicle/vehicle/runner.py:
traci.vehicle.getParameter(electricVeh,
"device.battery.vehicleMass"),
Greetings, Harald
Hi,
I do not know exactly what you want, but maybe
you find the information here:
https://sumo.dlr.de/docs/TraCI/Vehicle_Value_Retrieval.html#device_and_lanechangemodel_parameter_retrieval_0x7e
Here are the TraCi devices for battery
· device.battery.energyConsumed
· device.battery.energyCharged
· device.battery.actualBatteryCapacity
· device.battery.maximumBatteryCapacity
·
device.battery.chargingStationId
·
device.battery.vehicleMass
Kind Regards,
Melanie
Thank you for the resources. Looks
like these have to be defined directly in the routes file.
But is there any way to define these using TraCI commands,
given a route file that does not contain these
definitions?
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user