Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] XML files and syntax errors with SAGA

Hi,

I'm running SUMO projects  on two machines
Centos 8, SUMO 1.10.0 &
Windows 10, SUMO 1.11.0

Best regards.




Le lun. 7 févr. 2022 à 16:37, Harald Schaefer <fechsaer@xxxxxxxxx> a écrit :

Hi,

just one idea:

What about the SUMO versions? Which SUMO version are you using? Which operating system?

Best regards, Harald

Am 07.02.22 um 16:03 schrieb Arbi Alaouy:
To give feedback, as you suggested Jacob, I debugged one parameter after one (zone, age, etc). These generic params seem to be innocent. For debugging I used a few person numbers.

When I used a great number of population, using the same map, I get the error :

Error: The edge '1793694#1' within the route  is not known.

 The route can not be build.


Here are some 2 kinds of warnings I get massively because of the big population number sharing the space:

Warning: Collision of person '-99757_-99755_686' and person '-99757_-99755_378', lane='281163254#1_0', time=27149.00.

Warning: Person '-99755_-99757_1005' is jammed on edge ':21074960_w0', time=27146.00.


I guess these warnings don't affect simulation?

Best regards.

Le lun. 7 févr. 2022 à 12:10, Jakob Erdmann <namdre.sumo@xxxxxxxxx> a écrit :
please refer to the updated documentation at https://sumo.dlr.de/docs/Simulation/GenericParameters.html

Am Mo., 7. Feb. 2022 um 11:34 Uhr schrieb Arbi Alaouy <estdoctor@xxxxxxxxx>:
Thank you Jacob for the response.
I'll try this track. 
I have seen that generic parameters affect simulation,
can I get some recommendations on key names and maybe 
value content?*

Thank you.
Best regards

Le mer. 2 févr. 2022 à 13:05, Jakob Erdmann <namdre.sumo@xxxxxxxxx> a écrit :
Indeed, no obvious problem is apparent with the file though sometimes these error messages point to the wrong line. I recommend that you identify the problematic content by successively removing lines and attributes within lines until the parsing error goes away. If the triggering content looks innocent, please report back.

Am Mi., 2. Feb. 2022 um 10:22 Uhr schrieb Arbi Alaouy <estdoctor@xxxxxxxxx>:
The file " activity_generation.merged.rou.xml" is attached now.

In the meantime, I started sumo-gui with --xml-validation equal never as below:
sumoCmd = ["--xml-validation", "never", 
           "-c", Files.DEFAULT_SUMO_CONFIG.split(os.sep)[1],
           "--ignore-route-errors", "--tripinfo-output", Files.DEFAULT_TRIP_INFO, "--start"]

Hope this is a nice track ?

Le mer. 2 févr. 2022 à 08:56, Jakob Erdmann <namdre.sumo@xxxxxxxxx> a écrit :
please attach the file.

Am Di., 1. Feb. 2022 um 10:15 Uhr schrieb Arbi Alaouy <estdoctor@xxxxxxxxx>:
Hi everyone,

I'm using sumo simulation and particularly SAGA to generate population activities that are 
represented by the activity_generation.merged.rou.xml XML file.  To this file I added params via py scripts
such as this one which indicates the zone of the person to which belongs :
<param key="zone" value="-99757" />

Simulation runs about 3000 seconds and I get errors such as :

Error: equal sign expected   ||||||OR|||||| Error: whitespace expected

 In file 'activity/activity_generation.merged.rou.xml'

 At line/column 24762/29.


By verifying the file the syntax is Ok. 

As a solution, I unified all XML manipulation using lxml.etree instead of mixing both lxml and standard ElementTree. But I still get the same errors. 


Thank you very much for your solutions suggestions.

Best regards.

--
El-arbi El-alaouy


_______________________________________________
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


--
El-arbi El-alaouy


_______________________________________________
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


--
El-arbi El-alaouy


_______________________________________________
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


--
El-arbi El-alaouy



_______________________________________________
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


--
El-arbi El-alaouy



Back to the top