NREL / routee-compass

An energy-aware routing engine
https://nrel.github.io/routee-compass/
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

CSV encoding of CsvMapping::Optional appears as "null" #177

Open robfitzgerald opened 6 months ago

robfitzgerald commented 6 months ago

a run of a battery electric vehicle has no liquid energy cost, but the columns related to liquid energy have entries that are null, which should instead be an empty space:

distance,distance_cost,distance_unit,distance_weight,dlat,dlon,energy_electic_unit,energy_electric,energy_electric_cost,energy_electric_weight,energy_liquid,energy_liquid_cost,energy_liquid_unit,energy_liquid_weight,model_name,name,olat,olon,time,time_cost,time_unit,time_weight,total_cost
1921.6967371771968,1258.711362851064,"miles",1,42.2803461,-71.4133386,"kilowatt_hours",581.1255633234994,290.5627816617497,0,null,null,null,null,"2017_CHEVROLET_Bolt","distance",39.7402804,-105.1710052,75.53249631363126,25.17770019120059,"hours",0,1574.4518447040143
1921.6967371771968,1258.711362851064,"miles",1,42.2803461,-71.4133386,"kilowatt_hours",581.4349647422129,290.7174823711064,0,null,null,null,null,"2017_CHEVROLET_Bolt","distance",39.7402804,-105.1710052,75.51900481291527,25.173202988317925,"hours",0,1574.6020482104882