joris997 / OpenSim_RA

OpenSim model repository as research assistent
0 stars 0 forks source link

Improved previous issue, muscle properties, and advanced wrapping #5

Closed joris997 closed 4 years ago

joris997 commented 4 years ago

Added more advanced wrapping such as over two cylinders (both +y quadrant): two_cylinders

three cylinders (+y -y +y): three_cylinders

and some wrapping just because: six_cylinders

Performance seems to degrade with more cylinders (as expected) but with six cylinders, running the simulation is still a realistic task. Quite surprised that the wrapping worked perfectly without any issues first try!

joris997 commented 4 years ago

For a range of optimal fiber lengths, the simulation time can alter significantly: optFiberLength

Also for a range of tendon slack lengths: tendonSlackLength

joris997 commented 4 years ago

No muscle activation, two masses + muscle are released at equal height of the cylinder!

For a range of optimal fiber lengths, the simulation time can alter significantly: optFiberLength

Also for a range of tendon slack lengths: tendonSlackLength

joris997 commented 4 years ago

Work in progress: Creating a wrapping case with variable number of cylinders like in the second figure in order to test influence of number of wrapping surfaces on performance. Need to create a situation where the muscle length to muscle property ratio is constant while adding more and more cylinders.

Q: Is adding more cylinders in the test case in the second figure representative of performance degradation due to more and more cylinders? Or if the wrapping part is constant (as is with all the cylinders except the most outer ones) performance should not decrease?

3_cylinders_mult_test 5_cylinders_mult_test 7_cylinders_mult_test

used for example in: https://github.com/opensim-org/opensim-models/tree/master/Models/RajagopalModel

joris997 commented 4 years ago

Q: can I compare simulation time to real time during the simulation itself? This would be interesting to see how performance degrades as a function of normalized fiber length. I can plot the normalized fiber length but I cannot compare it to simulation time