Very fast!
Thanks Jakob.
I let you know if it works.

Best
Florian

--

Dr. Florian Berkes
umlaut
cell +49 151 27654 587
[email protected]

www.umlaut.com<http://www.umlaut.com>

umlaut solutions GmbH
legal disclaimer, mandatory information and the umlaut office addresses can be 
found at
imprint.umlaut.com/SOL<https://imprint.umlaut.com/SOL>
Information about the processing of your personal data can be found 
here.<https://imprint.umlaut.com/gdpr-SOL>

Von: Jakob Erdmann <[email protected]>
Gesendet: Mittwoch, 18. März 2020 11:33
An: Sumo project User discussions <[email protected]>; Berkes, Florian 
<[email protected]>
Betreff: Re: [sumo-user] Calibrator error - remove subset of vehicles

Thanks for the example. The crash is fixed in 
[fb638dbcbf122d14114563b35d557180c37ac8b1]

regards,
Jakob

Am Mi., 11. März 2020 um 13:38 Uhr schrieb 
[email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>:
Thanks Jakob.
I send the link with the example files to your dlr e-mail.

Best
Florian

--

Dr. Florian Berkes
umlaut
cell +49 151 27654 587
[email protected]<mailto:[email protected]>

www.umlaut.com<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.umlaut.com%2F&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986605469&sdata=kxOI4YcAHb9bjkqKWidUb8bJWZqXaSlRQ2MAlwfJ8T0%3D&reserved=0>

umlaut solutions GmbH
legal disclaimer, mandatory information and the umlaut office addresses can be 
found at
imprint.umlaut.com/SOL<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fimprint.umlaut.com%2FSOL&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986605469&sdata=hN9s1GD0C4Ov%2BQqnJ%2BK8ibswg%2FtBsyAaIZVntuMJtlM%3D&reserved=0>
Information about the processing of your personal data can be found 
here.<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fimprint.umlaut.com%2Fgdpr-SOL&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986615465&sdata=kyRSlRJhWfYdO7DU64tJZwe80argmrYRCG3KeprdNas%3D&reserved=0>

Von: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> Im 
Auftrag von Jakob Erdmann
Gesendet: Mittwoch, 11. März 2020 11:00
An: Sumo project User discussions 
<[email protected]<mailto:[email protected]>>
Betreff: Re: [sumo-user] Calibrator error - remove subset of vehicles

Yes, with your definition, vehicles of type passenger1 should not be removed.
Please provide a (small) failing example. My tests are obviously not 
comprehensive enough.

regards,
Jakob

Am Mi., 11. März 2020 um 10:50 Uhr schrieb 
[email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>:
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
cell +49 151 27654 587
[email protected]<mailto:[email protected]>

www.umlaut.com<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.umlaut.com%2F&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986615465&sdata=fIzubDJLDyYdXxnIRDtqZVxmEJLbG%2BS%2FO0NhCwPMfRo%3D&reserved=0>

umlaut solutions GmbH
legal disclaimer, mandatory information and the umlaut office addresses can be 
found at
imprint.umlaut.com/SOL<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fimprint.umlaut.com%2FSOL&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986615465&sdata=g8yDnXOguGgazox974P95HGFTU%2FulDB8x49ds7PWhGI%3D&reserved=0>
Information about the processing of your personal data can be found 
here.<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fimprint.umlaut.com%2Fgdpr-SOL&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986625460&sdata=A49duW3ibbuAFEW2WpfXu1GGLpkiVCKbBypz2NfIenw%3D&reserved=0>

Von: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> Im 
Auftrag von Jakob Erdmann
Gesendet: Mittwoch, 26. Februar 2020 11:26
An: Sumo project User discussions 
<[email protected]<mailto:[email protected]>>
Betreff: Re: [sumo-user] Calibrator error - remove subset of vehicles

Thanks for pointing this out. Fixed in 
https://github.com/eclipse/sumo/commit/fdf9a026748519e397f469659084ab22b711e996<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feclipse%2Fsumo%2Fcommit%2Ffdf9a026748519e397f469659084ab22b711e996&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986625460&sdata=x5IYnp5oYcy1du%2BOqyW7Fm8v5iPT5Kp96eM%2F%2BOuDcPk%3D&reserved=0>


Am Mi., 26. Feb. 2020 um 10:25 Uhr schrieb 
[email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>:

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<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FSimulation%2FCalibrator.html&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986635457&sdata=JsrwDfB6DOCH6%2BS9IeVY6fp30mVaTtGJkbDUwBkWZsQ%3D&reserved=0>.
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
cell +49 151 27654 587
[email protected]<mailto:[email protected]>

www.umlaut.com<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.umlaut.com%2F&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986635457&sdata=jBql%2BLcA9zWnCYckcKSWTO2cuWzptBsAbPTEZo1ZlWo%3D&reserved=0>

umlaut solutions GmbH
legal disclaimer, mandatory information and the umlaut office addresses can be 
found at
imprint.umlaut.com/SOL<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fimprint.umlaut.com%2FSOL&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986645448&sdata=n33So7IgqQEI0SJbJ3jtT88U6VnbowgxMl26pychk3c%3D&reserved=0>
Information about the processing of your personal data can be found 
here.<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fimprint.umlaut.com%2Fgdpr-SOL&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986645448&sdata=Cds%2BBJWhv0RCDiVMN0Lvbge%2FWqDLWBeDZQA7zsjP1WM%3D&reserved=0>

_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986655442&sdata=gI1kGioZ32l6YDk3gNDDMUzqgW8ym0bj1Ij9rhUhOBQ%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986655442&sdata=gI1kGioZ32l6YDk3gNDDMUzqgW8ym0bj1Ij9rhUhOBQ%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=02%7C01%7CFlorian.Berkes%40umlaut.com%7Cb0c45cd79f89401bd69d08d7cb27c476%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637201243986665445&sdata=VEqK%2BiTD5hWSvrL20qc2kQL%2FslFgl1WLB1XaqvzmYsc%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to