[
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,
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.
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
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.
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 ?
please attach the file.
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.
_______________________________________________
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
--
_______________________________________________
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
--
_______________________________________________
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
--
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user