Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
instead of measuring the difference between speed and desired speed, the delay at stops should be measured
when reaching the stop, compare time to intended arrival (until-duration), accumulate these values