Open kledom opened 4 years ago
The current state of the code reflects the bare minimum to get Plexe working with the standard release of SUMO. Our intention is to make the engine models available for other carFollowModels eventually. Right now this isn't possible. Once that is accomplished, traci access via vehicle.getParameter("engine.rmp") or similar would be easy to add.
I've come to see that a RealisticEngineModel (src/microsim/engine/RealisticEngineModel.cpp) was recently integrated into sumo. I think the origin of this was the plexe-veins projected, were the engine was used to simulate platooning behaviors. If I'm not mistaken the model is tightly integrated with the Cruise Control Car Following Model. This feels somehow wrong, because in my opinion the engine model is also useful for many other purposes. For example, I'll like to use reinforcement learning to train an optimal gear switching policy.
Is it possible to use the EngineModel with different CarFollowingModels? Are the plans for exposing the engine state (e.g. current gear) via TraciApi?