The air drag coefficient applies to the relative velocity of the vehicle to the
air mass - a headwind of 5km/s means the effective speed of the vehicle for
drag calculation is increased by 5km/s
A tailwind of 5km/s means that the effective speed of the vehicle for drag
computation is reduced by 5km/s
You can't model this by varying the speed though - as that would impact the
radial and rolling drag computations.
I guess you'd have to apply an effective velocity just to the air drag
computation - you might be able to adjust for wind direction if you can work
out the compass direction of the vehicle - rather than the angle relative to
the lane!
Sounds fun :)
Cheers
Div
-------- Original Message --------
On 3 Dec 2021, 13:18, Iñaki Cejudo Fresnadillo via sumo-user wrote:
> Sorry, I have realised that I have made a mistake in my aproach. The speed
> facotr doesn't refer to the air but to the object in movement. I guess I'll
> have to check the default wind speeds that are used to get this
> airDragCoefficient value.
>
> El vie, 3 dic 2021 a las 14:08, Iñaki Cejudo Fresnadillo
> (<[email protected]>) escribió:
>
>> Hi,
>>
>> I would like to simulate different wind speeds for an electric vehicle. I
>> was thinking of editing the airDragCoefficient to simulate this.
>> The aproach would be finding in source files where this coefficient is
>> aplied to the drag force formula, checking the wind speed factor that has
>> been set, and changing this wind speed to simulate different situations.
>> Does it sound feassible? Where is this specific code part in source files?
>> Thank you.
>>
>> Regards,
>>
>> Iñaki
>>
>> --
>>
>> https://www.vicomtech.org
>>
>> Iñaki Cejudo Fresnadillo
>> Research Assistant | Ayudante de Investigación
>>
>> [email protected]
>> +[34] 943 30 92 30
>> Intelligent Transport Systems and Engineering | Sistemas de Transporte
>> Inteligentes e Ingeniería
>>
>> https://www.linkedin.com/company/vicomtech
>> https://www.youtube.com/user/VICOMTech https://twitter.com/@Vicomtech
>>
>> member of: https://graphicsvision.ai/
>>
>> La información que contiene este mensaje y sus adjuntos son confidenciales y
>> están dirigidos exclusivamente a sus destinatarios. Si recibe este mensaje
>> por error, se ruega nos lo comunique y proceda a su borrado.
>>
>> The information contained in this electronic message is intended only for
>> the personal and confidential use of the recipients designated in the
>> original message. If you have received this communication in error, please
>> notify us immediately by replying to the message and deleting it from your
>> computer.
>
> --
>
> https://www.vicomtech.org
>
> Iñaki Cejudo Fresnadillo
> Research Assistant | Ayudante de Investigación
>
> [email protected]
> +[34] 943 30 92 30
> Intelligent Transport Systems and Engineering | Sistemas de Transporte
> Inteligentes e Ingeniería
>
> https://www.linkedin.com/company/vicomtech
> https://www.youtube.com/user/VICOMTech https://twitter.com/@Vicomtech
>
> member of: https://graphicsvision.ai/
>
> La información que contiene este mensaje y sus adjuntos son confidenciales y
> están dirigidos exclusivamente a sus destinatarios. Si recibe este mensaje
> por error, se ruega nos lo comunique y proceda a su borrado.
>
> The information contained in this electronic message is intended only for the
> personal and confidential use of the recipients designated in the original
> message. If you have received this communication in error, please notify us
> immediately by replying to the message and deleting it from your computer.
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user