|
From: <glo...@al...> - 2009-06-16 10:14:23
|
Hi, I still have problems with the flows... I have 2 routes files: One is the output from DUAROUTER and the other one is an input to DUAROUTER in which I included the following definitions: <routes> <vtypeDistribution id=\"cars_vans_trucks\"> <vtype id=\"car\" accel=\"3.0\" decel=\"6.0\" sigma=\"0.5\" length=\"5\" maxspeed=\"70\" probability=\"0.5\"/> <vtype id=\"truck\" accel=\"0.8\" decel=\"4.5\" sigma=\"0.5\" length=\"15\" maxspeed=\"50\" probability=\"0.1\"/> </vtypeDistribution> <vehicle id=\"0\" type=\"cars_vans_trucks\" route=\"BandonRd\" depart=\"0\" color=\"0,0,1\"> </vehicle> </routes> My first question is: I want a flow of vehicles 0, so in vehicle 0 definition I included route=\"BandonRoad\", which is the id of the flow. And in the flow definition I included type=\"0\". Is that correct? If yes, what can be the problem that causes that I can\'t see the flows in the simulation? I am using the command: DUAROUTER with -n, --sumo-input, --flow-definition and --output-file thanks a million! Gloria Pastor. |