For electric/combustion hybrids there is currently no model. You could build your own via traci.vehicle.setType by switching the vehicle type between a combustion type and an electric type as desired.
However, apart from traci.vehicle.getParameter('V_main','device.battery.energyConsumed')
I also found another command - traci.vehicle.getElectricityConsumption('V_main') which gave me a close result to the first one, but not exactly the same. So, I am wondering why this difference is seen.
I have another query. So, when I noticed that the fuel consumed when the battery 'device' is used. Similarly when it is not used the electricity consumed is zero. This means adding battery is making the vehicle a Battery Electric Vehicle. I am just wondering
if there is any way to make the vehicle a Hybrid Electric Vehicle, which uses both battery and fuel?
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?