Hey @alice, I can't really run your model because I get a bunch of errors; however, I hear what you're trying to do. Here's a sample model you can look at with a Statistics Collector that keeps track of a person's arrival, exit, and total staytime at a set of chairs.
Chairs Staytime Statistics Collector.fsm
I'll break it down. Start by adding two events to listen to: Chairs1 - On Entry and Chairs1 - On Exit. When a person enters the Chairs1 waiting area, it will record the Model.time. Then, when that same person exits the Chairs1 waiting area, it will record the Model.time. After that, I do a simple subtraction between the exit time and the entry time to get the total staytime of a person in those Chairs.




Note: for the Staytime Column Value, I opened the Custom Code to define "table" as Table("StatisticsCollector1") to make things prettier.
Also, make sure to directly link those events and columns:
