I am new to SUMO and Python. Currently I am trying to model a bus route that has two buses on a single route. At times these two buses can tend to bunch up during the simulation and I was wondering how exactly can I implement a Python code that prevents bus bunching from happening within my simulation? I do not have an extensive background in transportation engineering and theory so I am not all too familiar with traffic control algorithms and how they are implemented in Python, but I do know the fundamentals of transportation engineering. Is there some code or easily understood body of work that I can be pointed to prevent bus bunching from occurring within my simulation?
Thank you