PR #981 made changes to how flow generates emissions. This looks to me like emissions (in the flow sense) is essentially a datalogger of vehicle states (such as positions, headways, leader_ids, etc). SUMO, on the other hand, uses the emissions output to also dump information about vehicle emissions: NOx, PM, HC, fuel, etc.
I want to ask if SUMO's emissions are still relevant to flow in general. One particular use case I'm looking at is in the context of the impact of different vehicle types (and different emissionClasses) on vehicle emissions. If so, should 2 approaches be maintained: 1) let Sumo generate the emission files, and 2) let flow generate a custom emission file?
If 2) is the preferred direction, perhaps there should be a method that lets users pick what data to store.
The changes in #981 should have failed TestEmissionToCSV, but as this test uses a static XML as the basis for emission_to_csv, the test currently passes.
Bug Description
PR #981 made changes to how flow generates emissions. This looks to me like emissions (in the flow sense) is essentially a datalogger of vehicle states (such as positions, headways, leader_ids, etc). SUMO, on the other hand, uses the emissions output to also dump information about vehicle emissions: NOx, PM, HC, fuel, etc.
I want to ask if SUMO's emissions are still relevant to flow in general. One particular use case I'm looking at is in the context of the impact of different vehicle types (and different emissionClasses) on vehicle emissions. If so, should 2 approaches be maintained: 1) let Sumo generate the emission files, and 2) let flow generate a custom emission file? If 2) is the preferred direction, perhaps there should be a method that lets users pick what data to store.
The changes in #981 should have failed
TestEmissionToCSV
, but as this test uses a static XML as the basis foremission_to_csv
, the test currently passes.Screenshots
Screenshots: old emissions have these headers![image](https://user-images.githubusercontent.com/6328105/87851696-ea4f5380-c92d-11ea-8eb7-2d37f046f8f9.png)
new emissions have different headers![image](https://user-images.githubusercontent.com/6328105/87851713-0652f500-c92e-11ea-9a00-b2da00edd3d8.png)
Versions