averbraeck / opentrafficsim

Open Source Multi-Level Traffic Simulator
BSD 3-Clause "New" or "Revised" License
28 stars 8 forks source link

Synchronize interval based sampling #102

Closed WJSchakel closed 5 months ago

WJSchakel commented 5 months ago

Currently the sampler will schedule the next sampling of a GTU at a fixed time after the first moment it enters a GTU (when interval based). For external purposes it makes more sense to have sampling synchronized, with possible additional sampling at times when GTUs enter/leave a lane.