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

1. In your case, calibrators are not a good solution for the mismatch in simulated and counted vehicles. Calibrators should only be used if you cannot define the correct amount of traffic in your flows/vehicles.
Instead, 
- you need to determine whether your input correctly defines the desired amount (your flow definitions do not show begin/end times so from this information alone it's impossible to tell whether they are defining the correct amount with respect to the counting time interval).
- you need to check whether some kind of model error prevents the correct amount of traffic from being inserted on the road at the expected times. See https://sumo.dlr.de/docs/Simulation/VehicleInsertion.html#insertion_departure
- check whether congestion effects prevent vehicle insertion (i.e. due to traffic light plans that differ from reality).


2. Possibly, some calibrators fail to insert vehicles because the road is already full. 

regards,
Jakob

Am Fr., 21. Nov. 2025 um 09:50 Uhr schrieb Addina Shafiyya Ediansjah via sumo-user <sumo-user@xxxxxxxxxxx>:

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