Skip to main content

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

Usually, this should not happen unless you are using a non-polluting vehicle class or there are very special traffic conditions.
What is the vType definition you are using?

-

Am Do., 2. Apr. 2020 um 13:45 Uhr schrieb Bijal <bijal.varia88@xxxxxxxxx>:
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
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top