Page 1 of 1

external actuator for muscle weakness

Posted: Wed Sep 18, 2024 10:52 pm
by p96147
Hi
I want to use muscle weakness model to know how much force should be supplemented by external actuator to assist weakened muscle.
However, I don't know how to implement external actuator in opensim.
As far as I know, in opensim, you can't control the torque value of motor with respect to time, so I'm thinking of using passive actuator.
My idea is as follows,
1. Implement actuator CAD
2. Manually adjust actuator passive stiffness
3. Select optimal stiffness value
Is there a problem with my idea?
Please answer!

Re: external actuator for muscle weakness

Posted: Mon Oct 07, 2024 11:54 am
by ongcf
You can use a PrescribedController to control an Actuator over time. One example of its use is here: https://github.com/opensim-org/opensim- ... del.py#L99

The other idea of using a passive device would also work. Depending on your needs, you could add a passive component to model the forces it applies to the system without creating a CAD model.