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] <
[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]
>
>
>
> *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:* [email protected] <[email protected]> *Im
> Auftrag von *Jakob Erdmann
> *Gesendet:* Mittwoch, 26. Februar 2020 11:26
> *An:* Sumo project User discussions <[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%7C83163c2ef99c4a7efbb808d7baa64a83%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637183095688248315&sdata=6i4%2FsTlmEjkaUgDQUruuMZTALi1WxU3rQzYteHzAcvg%3D&reserved=0>
>
>
>
>
>
> Am Mi., 26. Feb. 2020 um 10:25 Uhr schrieb [email protected] <
> [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%7C83163c2ef99c4a7efbb808d7baa64a83%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637183095688258310&sdata=3V5m6SympCLwV1ipjXi2PCvTkimXL22unLWz4mIQyFo%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]
>
>
>
> *www.umlaut.com
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.umlaut.com%2F&data=02%7C01%7Cflorian.berkes%40umlaut.com%7C83163c2ef99c4a7efbb808d7baa64a83%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637183095688258310&sdata=F0%2BUzy1bESR5YrU3eVQJHt2iwCDp97hQLcyEHR5y11o%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%7C83163c2ef99c4a7efbb808d7baa64a83%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637183095688258310&sdata=gRY%2FO3J421RQFW7IL8Gd%2FwLP9bc99t69z18pC4VrXJY%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%7C83163c2ef99c4a7efbb808d7baa64a83%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637183095688268301&sdata=ynYm6lenvOdqbkwKDyNeSrFLQwArUvf4cnJ9OpXw4tQ%3D&reserved=0>*
>
>
>
> _______________________________________________
> sumo-user mailing list
> [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%7C83163c2ef99c4a7efbb808d7baa64a83%7C58d65043cd9d409f828b59b40ef5f919%7C0%7C0%7C637183095688268301&sdata=a%2BsXsR9cTJ%2BTAGYWRVve1xUQEJnz4ian0Np4b9dI8%2BQ%3D&reserved=0>
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to