Hi Jakob,
we tried the nightly snapshot with the hope that your fix is working.
Unfortunately we receive segmentation fault error, if we consider any subset of vehicles to count/remove from the simulation.
As mentioned in the documentation, the calibrators will only count/remove the vehicles which we define in this list:
calibrator.set("vTypes", " passenger2 passenger3 ")
This is an example how our additional file vtypes.add.xml looks like:
<vTypeDistribution id="private">
<vType vClass="passenger" id="passenger1" color="red" accel="2.6" decel="4.5" sigma="0.5" length="5" minGap="1.5" maxSpeed="70"
probability=".4" guiShape="passenger/sedan" emissionClass="P_7_7" speedFactor="normc(1,0.2,0.1,2)"/><param key="has.rerouting.device" value="true"/>
<vType vClass="passenger" id="passenger2" color="green" accel="2.8" decel="4.5" sigma="0.5" length="4.5" minGap="1" maxSpeed="70"
probability=".2" guiShape="passenger/hatchback" emissionClass="P_7_7" speedFactor="normc(1,0.4,0.6,2)"/><param key="has.rerouting.device" value="true"/>`
<vType vClass="passenger" id="passenger3" color="blue" accel="2.8" decel="4.5" sigma="0.5" length="4.5" minGap="1" maxSpeed="70" probability=".4"
guiShape="passenger/hatchback" emissionClass="P_7_7" speedFactor="normc(1,0.4,0.6,2)"/><param key="has.rerouting.device" value="true"/>
</vTypeDistribution>
So in our example all cars with the id passenger1 should not be removed. Is this correct?
Thanks again for your help,
Florian
--
Dr. Florian Berkes
umlaut solutions GmbH
|
legal disclaimer, mandatory information and the umlaut office addresses can be found at
|
imprint.umlaut.com/SOL
|
Information about the processing of your personal data can be found
here.
|
Von:
sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>
Im Auftrag von Jakob Erdmann
Gesendet: Mittwoch, 26. Februar 2020 11:26
An: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Betreff: Re: [sumo-user] Calibrator error - remove subset of vehicles
Hi all,
I am running mesoscopic simulations with SUMO, and I am using calibrators on some streets to specify the traffic volume the corresponding street.
Previously, I did not define the parameter vTypes in the calibrator and hence, all vehicle types were considered in the calibrators (for counting/removal).
Now, I wanted to change the definition of the calibrators to only count/remove a subset of vehicles, and I defined vTypes as a space-separated list of vehicle
types to be considered as descripted in the docu:
https://sumo.dlr.de/docs/Simulation/Calibrator.html.
Unfortunately, it seems that still all vehicle types are considered in the calibrators.
Do you have any idea how to fix this issue? Did I miss something? If needed, I can provide the simulation.
Best,
Florian
--
Dr. Florian Berkes
umlaut solutions GmbH
|
legal disclaimer, mandatory information and the umlaut office addresses can be found at
|
imprint.umlaut.com/SOL
|
Information about the processing of your personal data can be found
here.
|
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user