flow icon indicating copy to clipboard operation
flow copied to clipboard

Sumo emissions are missing

Open temetski opened this issue 3 years ago • 1 comments

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 for emission_to_csv, the test currently passes.

Screenshots

Screenshots: old emissions have these headers image

new emissions have different headers image

Versions

  • Flow version: 0.5.0.dev
  • Flow commit number: 8a935a8e306ea0be2d07f8c2891b489bc93bc83c

temetski avatar Jul 18 '20 11:07 temetski

Alternatively, solving #945 also resolves this issue.

temetski avatar Jul 18 '20 12:07 temetski