Page 1 of 1

Original Script for Millard Muscle Implementation

Posted: Mon Mar 13, 2023 1:31 pm
by mariakru
Hello,

does someone know where the original script of how Millard Muscles (e.g. Millard2012EquilibriumMuscle) are implemented can be found? Especially how the muscles are described and where the equations for calculating Activation Dynamics/ Contraction Dynamics are located.

I thought maybe it could be found somewhere in the folders of the OpenSim installation, on Github or the OpenSim Website, but wasn't successful in my search.

Every suggestion helps.

Best Regards,
Maria

Re: Original Script for Millard Muscle Implementation

Posted: Mon Mar 13, 2023 3:37 pm
by ongcf
Here are some links:

Millard2012EquilibriumMuscle header: https://github.com/opensim-org/opensim- ... umMuscle.h
Millard2012EquilibriumMuscle implementation: https://github.com/opensim-org/opensim- ... Muscle.cpp

In the header file around line 38, you can see some includes for other models it uses, such as "MuscleFirstOrderActivationDynamicModel.h" that may also be helpful for you.

Re: Original Script for Millard Muscle Implementation

Posted: Tue Mar 14, 2023 12:40 am
by mariakru
Thank you very much, that's what I was looking for!

Re: Original Script for Millard Muscle Implementation

Posted: Tue Mar 14, 2023 9:15 am
by kernalnet
Hi, this is also the Matlab implementation:
https://github.com/mjhmilla/Millard2012 ... MatlabPort

Re: Original Script for Millard Muscle Implementation

Posted: Tue Mar 14, 2023 11:02 am
by mariakru
Hi, that's perfect, because I'm working with Matlab. Thank you very much!