Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] [sumo-user] SUMO - Emission Output

Plots as above could also be created from xml outputs directly if the output files contain aggregated data.
see https://sumo.dlr.de/docs/Tools/Visualization.html#plotxmlattributespy
For aggregation, you could use edgeData-emssions with attribute aggregated="true" instead of emission-output: https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Emissions_Measures.html



Am Mi., 20. Juli 2022 um 08:12 Uhr schrieb Fabio Lamanna <fblamanna@xxxxxxxxx>:
What I usually do is to convert the .xml file to .csv with xml2csv.py python script (https://sumo.dlr.de/docs/Tools/Xml.html#xml2csvpy). 

If you are familiar with Python you can use Pandas to read and plot csv files (in alternative R has the same functions in its own packages).

Hope that helps.

Fabio

--
“Our sweetest songs are those that tell of saddest thought“ (Shelley)
Il 19 lug 2022, 21:31 +0200, Erol Evrim <mehmetgokdelen@xxxxxxxxxxx>, ha scritto:

Hello,


I created emmision file by using “--emission-output” but how can I create plots from the generated xml file as seen in the photos below


Is there a tool available to plot the CO2, Noise emissions?



<IMG_9752.PNG>


Best Regards,

Mehmet



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

Back to the top