The purpose of --max-num-vehicles
is to limit the number of cars not to increase it. The easiest way to get more cars is usually to define more traffic input either by using randomTrips.py with a higher period parameter (e.g. -p 1000
) or by introducing flows with high counts into your route file, see also http://sumo.dlr.de/wiki/FAQ#How_do_I_get_high_flows.2Fvehicle_densities.3F.
Concerning the traffic light, you probably created a traffic light on a junction with just two streets. It is a known issue that sumo's netconvert does not add red phases here, because there are no conflicting flows demanding green time for them. If you are using the nightly svn version, you can use the --tls.red.time
option to force a red time, if not you can edit them manually in netedit.