Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vissim route conversion

Thank you for the example input.
The latest repository version is able to import this file without errors. However, I cannot vouch the correctness of the results.
See https://github.com/eclipse-sumo/sumo/issues/16594
If you could provide additional (small) cases and describe the expected routes/flows this would help in validating the correct working of the tool.

regards,
Jakob

Am Do., 24. Apr. 2025 um 12:34 Uhr schrieb Rehab Abdellatif via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello,

I have a vissim .inpx file that I want to convert to sumo. I already converted the network using netconvert and it was successful.
Now I want to convert the routes and flows, from the sumo manual here, I used convert_vissimXML_flows_statRoutes.py but it returns an error:

Traceback (most recent call last):
  File "C:\Program Files (x86)\Eclipse\Sumo\tools\import\vissim\convert_vissimXML_flows_statRoutes.py", line 547, in <module>
    validate_rel_flow(routes_by_start_d, flow_d)
  File "C:\Program Files (x86)\Eclipse\Sumo\tools\import\vissim\convert_vissimXML_flows_statRoutes.py", line 356, in validate_rel_flow
    assert np.array_equal(ref_time_shape[:, 0], route["rel_flow"][:, 0]), \
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError:
PROBLEM: flow count and relative flow time frames are not aligned
        for VISSIM start link id: 33


I guess that's because the time intervals defined for the vehicle inputs are not the same as those defined for static routes. Is it required that they are identical? I've attached the inpx file.

Thanks,
Rehab
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top