Thank you for your reply.
yeah, I tested two sets of code, the main development branch and
release in 7.0.3. the values for the two versions of RTF are very
similar on GCC 5.4.0 and GCC 9.4.0.
I will test different ubuntu versions later.
Thank you very much.
在2022年10月28日星期五 UTC+8 16:15:35<Radu Serban> 写道:
> Ji Li,
>
>
>
> A step size of 20 ms is too large for stable vehicle dynamics simulation.
>
>
>
> I just tried your code with my setup, and I get an RTF of around 0.7. It
> looks like you are using a relative recent version of the code in the main
> development branch, so I can only assume this has something to do with your
> platform. You are using quite old versions of Ubuntu and GCC. Can you
> upgrade and see if that helps?
>
>
>
> --Radu
>
>
>
> *From:* [email protected] <[email protected]> *On
> Behalf Of *ji li
> *Sent:* Friday, 28 October 2022 07:21
> *To:* ProjectChrono <[email protected]>
> *Subject:* Re: [chrono] Speed up simulation update times
>
>
>
> Hello Radu and Dan:
>
> Thank you for your reply。
>
>
>
> The information for these questions is as follows:
>
> my configuration: ubuntu 16.04, CPU i7-9700k, gcc --version: 5.5.0 ,
> vscode 2022, use default solver, I both run the code On Release and Debug.
>
>
>
> The problems I run the demo_VEH_Sedan.cpp( removed visualization code) are
> follows:
>
> 1. the step size I set 2ms, while The my_sedan advance spend 100.29ms on
> Release and Debug.
>
> 2. When I changed the step size to 20ms, the speed increased to nan
> rapidly and the system crashed in a short time.
>
> The modified demo_VEH_Sendan.cpp is shown in the attached file.
>
> 在2022年10月28日星期五 UTC+8 07:52:39<Dan Negrut> 写道:
>
> Do you mean “Sedan”?
>
> Also, for that RTF, can you share the value of the integration time step,
> who built the solver, what hardware it was run on.
>
> If you mean Sedan, Chrono can run that relatively easily in real time, see
> for instance here:
> https://uwmadison.box.com/s/39107d2577slfg2c54j6xeu5z5va0zes.
>
> Dan
>
> -------------------------------------------------
>
> Bernard A. and Frances M. Weideman Professor
>
> NVIDIA CUDA Fellow
>
> Department of Mechanical Engineering
>
> Department of Computer Science
>
> University of Wisconsin - Madison
>
> 4150ME, 1513 University Avenue
>
> Madison, WI 53706-1572
>
> 608 772 0914 <(608)%20772-0914>
>
> http://sbel.wisc.edu/
>
> http://projectchrono.org/
>
> -------------------------------------------------
>
>
>
> *From:* [email protected] <[email protected]> *On
> Behalf Of *ji li
> *Sent:* Thursday, October 27, 2022 11:01 AM
> *To:* [email protected]
> *Subject:* [chrono] Speed up simulation update times
>
>
>
> Hello,
>
> Recently, when I was doing a Dedan simulation, I found that the value
> of RTF was too large, about 50.23 . I want to know that how to speed up the
> time of advance. In addition, I would like to know if this simulation step
> size can be modified? If the step size is 0.02 s, the system will crash.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "ProjectChrono" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/projectchrono/CAGrNw3cdf8siD8b8nf0m%2BEAdhfzwGfWXRfuAytaoV0m8-W813Q%40mail.gmail.com
>
> <https://groups.google.com/d/msgid/projectchrono/CAGrNw3cdf8siD8b8nf0m%2BEAdhfzwGfWXRfuAytaoV0m8-W813Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "ProjectChrono" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
>
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/projectchrono/22bf1182-40cd-4fc8-b591-347e1df36730n%40googlegroups.com
>
> <https://groups.google.com/d/msgid/projectchrono/22bf1182-40cd-4fc8-b591-347e1df36730n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/b1c91eaf-bbf2-4a34-8ee7-4e9b13b0403cn%40googlegroups.com.