The TXT format is the currently most used file format for storing events. It consists of a plain text file with the following header:
T_GBL VEH_ID LEG_NR LINK_ID FROM_NODE_ID EVENT_FLAG DESCRIPTION
T_GBL is the time of the event, in seconds after midnightVEH_ID corresponds to the agent-id (there's no such thing like a vehicle-id yet!)LEG_NR unused, set to 0LINK_ID the link of the id the event took place. If not used, set to 0FROM_NODE_ID unused, to to 0EVENT_FLAG the id of the event-type (see Event Types)DESCRIPTION unused, usually set to the name of the event-type (see Event Types)The fields are separated with tabs. Make sure to also include a tab between EVENT_FLAG and DESCRIPTION, even if the DESCRIPTION is empty!
The following is an example, how an event-file could look like:
T_GBL VEH_ID LEG_NR LINK_ID FROM_NODE_ID EVENT_FLAG DESCRIPTION 21610 1 0 2 0 8 actend h 21620 2 0 3 0 6 departure 21630 3 0 4 0 4 wait2link 21640 4 0 5 0 2 left link 21650 5 0 6 0 5 entered link 21660 6 0 7 0 0 arrival 21670 7 0 8 0 7 actstart w 21680 8 0 9 0 3 stuckAndAbort