pass "Attributable" through to events?

Description

I would like to propose to change the current

to

where attribs contains the material that is in the Attributable part of Activity.

One use case would be that carrier agents, which are run as normal person agents through the qsim, would be able to report the ID of the customer they are serving with their delivery activity.

The question is obviously more general: Should we, in the longer run, aim for adding the contents of Attributable to events of the corresponding object type (Activity, Leg, ...)? This is evidently mostly important for such objects that do not have an ID of their own.

The ActivityStartEvent constructor is called at 4 locations: events xml reader, events txt reader, activity start in qsim, activity start in mobsim. So the changes seem to be fairly limited.

Evidently, non-known external mobsims would have problems. We could leave the old constructors as deprecated in place.

One question would be what we pass through; in principle, we would need AttributeConverter to convert non-String objects to strings.

Environment

None

Assignee

Unassigned

Reporter

Kai Nagel

Labels

None

Priority

Major
Configure