Skip to main content

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

Hi,

Thanks for your response and help. The conversion process is done without errors after using the updated script. However, I noticed some problems in the generated route file:
- a lot of flows are ignored/skipped during the conversion process. 
- the probability values are inconsistent. Is it from 0 to 1 or from 0 to 100%?
- in flow definitions, the value of the volumes doesn't match the expected value. for example in the generated route file:
    <flow id="fl33_st0.0" color="1,1,0" begin="0.0" end="900.0" vehsPerHour="1.0" type="4" route="33_0.0"/>
the vehicle per hour equals 1, however in the inpx file it should be 5 (for vehicle composition no.4)

Unfortunately I don't have access to vissim and I didn't create that file. It was an old file created by another colleague that we want to use in sumo and we don't have a smaller one.
But let me investigate and figure out what are the expected routes

Thanks So much for your help,
Rehab

Rehab Shahin
Research Engineer ‑ Transport Modelling and Simulation
rehab.shahin@xxxxxxxxxx
+44(0) 20 3514 1170
 | 
+1 (929) 265‑5193
LinkedIn
Twitter
YouTube
On Thu, 24 Apr 2025 at 14:12, Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:
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.
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
_______________________________________________
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