[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] vTypes attributes distribution
|
Thank you for your effort Jakob.Regards
Problems:
- your route-file redefines hdv_dist
- your flows do not make use of the routeDistribution
This is what your routes should look like:
<routes>
<routeDistribution id="lefttoright">
<route id="through" edges="E1 E2 E3" probability="0.9"/>
<route id="off-ramp" edges="E1 E2 E4" probability="0.1"/>
</routeDistribution>
<flow id="hdv" begin="0" end="3600" vehsPerHour="200" departLane="random" departSpeed="random" route="lefttoright"/>
<flow id="av_agg" begin="0" end="3600" vehsPerHour="200" departLane="random" departSpeed="random" route="lefttoright"/>
<flow id="av_cons" begin="0" end="3600" vehsPerHour="200" departLane="random" departSpeed="random" route="lefttoright"/>
<flow id="av_mod" begin="0" end="3600" vehsPerHour="200" departLane="random" departSpeed="random" route="lefttoright"/>
</routes>
Sorry for taking more of your time on this issue,I solved the first problem.But I do not understand exactly where the problem is in the second issue. I set <flow/> under the <vTypeDistribution/> in the route xml file.Is this root of error? I am adding screenshots of route xml and a part of "hdv_dist.add.xml". Thank you for helping,regards.
2. Your .rou.xml file contains the element <vTypeDistribution id="hdv_dist"/> - this is an empty distribution.
Hello again Jakob,
I have more questions about this issue.I have four vtypes and I used
‘createVehTypeDistribution.py’ file to obtain normal distribution for vehicle parameters.My vehicle distribution ids:"AV_agg_dist","AV_cons_dist","AV_mod_dist","hdv_dist". In order to pick up from this distribution, I set these ids in the route.xml. When I run the simulation,one warning and one error show up:
1.Warning: Cannot read local schema 'C:\Program Files\sumo-1.14.1/data/xsd/additional_file.xsd', will try website lookup.
2.Error: Vehicle type distribution 'hdv_dist' is empty.
But "hdv_dist" is not empty. I added simulation files and a screenshot of the error. Thank you for helping. Regards.
At the moment, only createVehTypeDistribution.py can be used to model distributions of the other attributes.
Hello Sumo users,
Is it possible to define vtypes attributes such as "accel" or "decel" with normal distribution in route files like speedfactor? I tried but it gives an error "Invalid parsing embedded VType".I am not sure that only way is to use ‘createVehTypeDistribution.py’ file.Can you explain this issue?Thank you for help. Regards.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user