You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are playing with some approaches for intermodal travel and would like to have a more consistent way of defining where vehicles are located in the beginning of the simulation. This would allow us to know, for instance, if the vehicle is parked at the agent's home location to be used to get to a P&R station or if it is the other way round: the vehicle is parked at the P&R station so the agent needs to take public transport to pick it up.
Two options come to my mind:
Use an attribute in the Attributes of each Vehicle and test for the existence of this attribute in PopulationAgentSource.findVehicleLink. If the attribute is set, skip the current auto-magic.
Make the start link an optional (nullable) first-order attribute of a Vehicle (plus with a direct attribute in the vehicles XML). Otherwise the same logic applies.
What do you think?
The text was updated successfully, but these errors were encountered:
We are playing with some approaches for intermodal travel and would like to have a more consistent way of defining where vehicles are located in the beginning of the simulation. This would allow us to know, for instance, if the vehicle is parked at the agent's home location to be used to get to a P&R station or if it is the other way round: the vehicle is parked at the P&R station so the agent needs to take public transport to pick it up.
Two options come to my mind:
Attributes
of eachVehicle
and test for the existence of this attribute inPopulationAgentSource.findVehicleLink
. If the attribute is set, skip the current auto-magic.Vehicle
(plus with a direct attribute in the vehicles XML). Otherwise the same logic applies.What do you think?
The text was updated successfully, but these errors were encountered: