cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

ODE solver steps

AD_10780197
10-Marble

ODE solver steps

Dear Members

 

Can I ask if there are variations in the ODE solver regarding time steps when comparing Python, Matlab, and Mathcad results side by side? I added the Matlab, Python results to the Mathcad sheet.

The outcomes for position and rotation, it seems that the steady-state results are consistent, but the response in the Mathcad file is less.

In terms of speed and rotation speed, it appears there is a disparity, suggesting that the solver may struggle to track these increments. In the attached spreadsheet, I have juxtaposed the results of Python, Mathcad, and Matlab.

Is there a way to calibrate the solver to align these graphs?

 

Thanking you in advance

 

ACCEPTED SOLUTION

Accepted Solutions
ttokoro
20-Turquoise
(To:AD_10780197)

Your Prime plots are almost as same as other results.

 

image.pngimage.pngimage.png

View solution in original post

3 REPLIES 3
ttokoro
20-Turquoise
(To:AD_10780197)

Your Prime plots are almost as same as other results.

 

image.pngimage.pngimage.png

Dear ttokoro

 

Thank you for your help. Defining your domain in the ode function is important.

Everything matches

 

Werner_E
25-Diamond I
(To:AD_10780197)

Werner_E_1-1700174310686.png

 

Announcements

Top Tags