Extension for MATSim to allow for the inclusion of aerial passenger-carrying vehicles, i.e. a station- and network-bound transport mode that requires station access and egress trips with conventional ground-based modes.
This is only happening when the agent is a vehicle. For example: <event time="22408.0" type="arrival" person="uam_vh_00-01" link="uam_sl-uam_st_00_ga-uam_st_00_fa" legMode="car" />.
For passengers it is correctly labelled as "uam" in the events file.
I believe this is because we create the passengers' legs in the OptimizedUAMIntermodalRoutingModule, and there, every leg has its own label depending on the mode. For the vehicles, the DVRP framework is used, and the leg created in the UAMActionCreator is a VrpLeg. The VrpLeg has only one mode, which is car. From the VrpLeg: private final String mode = TransportMode.car;.
What would be the best way to label these legs as "uam" without modifying DVRP code or rewriting the whole vrpagent package?
This is only happening when the agent is a vehicle. For example:
<event time="22408.0" type="arrival" person="uam_vh_00-01" link="uam_sl-uam_st_00_ga-uam_st_00_fa" legMode="car" />
. For passengers it is correctly labelled as "uam" in the events file. I believe this is because we create the passengers' legs in theOptimizedUAMIntermodalRoutingModule
, and there, every leg has its own label depending on the mode. For the vehicles, the DVRP framework is used, and the leg created in theUAMActionCreator
is a VrpLeg. The VrpLeg has only one mode, which is car. From the VrpLeg:private final String mode = TransportMode.car;
.What would be the best way to label these legs as "uam" without modifying DVRP code or rewriting the whole vrpagent package?