Skip to main content

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

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

Attachment: AM_Base.inpx
Description: Binary data


Back to the top