Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Calibrating a set number of different vehicle types

Hello!

Good morning!

Wouldn't the model work if a routesampler were used to generate the flow according to the vehicle types?

Regards,

Pedro Oliveira

Em sex, 21 de nov de 2025 05:50, Addina Shafiyya Ediansjah via sumo-user <sumo-user@xxxxxxxxxxx> escreveu:

Dear all,

 

I am now trying to run a scenario with a set number of different vehicle types. I am particularly interested in how the emissions of each vehicle type (and emission class) differ on a simple road stretch. Here an excerpt of my route file:

 

<vType id="PC_P_5" carFollowModel="KraussPS" vClass="passenger" emissionClass="HBEFA4/PC_petrol_Euro-5" />

<vType id="PC_D_5" carFollowModel="KraussPS" vClass="passenger" emissionClass="HBEFA4/PC_diesel_Euro-5_other_SU_before_software_update" />

<vType id="PC_H_5" carFollowModel="KraussPS" vClass="passenger" emissionClass="HBEFA4/PC_PHEV_petrol_Euro-5_(P)" />

<vType id="PC_P_6" carFollowModel="KraussPS" vClass="passenger" emissionClass="HBEFA4/PC_petrol_Euro-6d" />

 

 

<flow id="PC_Petrol_Euro_5" type="PC_P_5" route="uphill" vehsPerHour="144" departSpeed="speedLimit"/>

<flow id="PC_Diesel_Euro_5" type="PC_D_5" route="uphill" vehsPerHour="73" departSpeed="speedLimit"/>

<flow id="PC_Hybrid_Euro_5" type="PC_H_5" route="uphill" vehsPerHour="2" departSpeed="speedLimit"/>

<flow id="PC_Petrol_Euro_6" type="PC_P_6" route="uphill" vehsPerHour="243" departSpeed="speedLimit"/>

 

The vehsPerHour number are derived from an induction loop on said road stretch. However, not all vehicles have completed the trip – in the simulation, 516 have entered and finished the simulation whereas 748 vehicles are counted. I have tried using Calibrator (https://sumo.dlr.de/docs/Simulation/Calibrator.html) to solve the issue and defined multiple calibrators (all at the same location where the induction loop is located in real life) for each vehicle type but they do not seem to „recognize“ the other calibrators, hence only PC_P_5 is calibrated. The Calibrator performs well if I just define a single Calibrator with the total number of vehicles without assigning a vehicle type.

 

Is there a way to do a calibration where each vehicle type is considered without drawing from vTypeDistribution (https://sumo.dlr.de/docs/Simulation/Calibrator.html#mapping_between_vtypedistributions)? Thanks in advance!

 

 

Warmest regards,

 

Addina

_______________________________________________
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