The entry point to creating the xml files SUMO uses is located in the file /path/to/flow/core/kernel/scenario/traci.py
. The easiest way to include a bus stop is to take a look at the generate_cfg
function, wherein you can add a line such as # add.append(E('busStop', id='testtest', lane='bottom_0'))
, which will append the instruction to include a bus stop to the .add.xml file. Note that this does require editing a base class, meaning that if you want to switch between multiple scenarios, it will attempt to add a bus stop in each of those scenarios -- there isn't currently a way to include special fixtures from specialized scenarios.