An agent-based pedestrian and group dynamics model applied to experimental and real-world scenarios