Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Query : Shows traffic density but emission is 0

Dear Sir,

calculation :
num = traci.edge.getLastStepVehicleNumber(edgeId)
normalized_count =(num * 100) / traci.lane.getLength(edgeId + "_0")
gives following values :

CO2 CO HCE No2 pm2 noise traffic_density
0 0 0 0 0 0 0.134976447
0 0 0 0 0 0 500
0 0 0 0 0 0 1.941747573
0 0 0 0 0 0 41.84100418


Question : If traffic is present than how the emission values are 0?

I am using function : (traci.edge.getCO2Emission(edgeId)

--
:)
Bijal Varia

Back to the top