Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative probability from od2trips #4600

Closed
yannolecool opened this issue Sep 14, 2018 · 0 comments
Closed

Negative probability from od2trips #4600

yannolecool opened this issue Sep 14, 2018 · 0 comments

Comments

@yannolecool
Copy link

yannolecool commented Sep 14, 2018

OD2TRIPS generate negative probability making Sumo impossible to run when those conditions are met:

  • Small amount of vehicles (under 10) between 2 locations in the origin-destination input matrix
  • flow-output and flow-output.probability parameters are used
  • timeline and timeline.days-in-hours parameter are used (small probability around midnight 0.5%)

Output examples:
<flow id="10" begin="7200.00" end="10800.00" probability="-0.000255" fromTaz="a" toTaz="b" departLane="free" departSpeed="max"/>
<flow id="12" begin="7200.00" end="10800.00" probability="-0.000264" fromTaz="a" toTaz="c" departLane="free" departSpeed="max"/>

Probability should be limited between 0.00 and 1.00.

@namdre namdre self-assigned this Sep 14, 2018
namdre added a commit that referenced this issue Sep 14, 2018
@namdre namdre closed this as completed in 7b50868 Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants