Caching the result of muscle calibration - AnyBody/support GitHub Wiki
The three element muscle model is sensitive to tendon slack length variable (Lt0). Therefore, tendon slack length must be calibrated to ensure that the optimal muscle fiber length occurs at the desired/specified joint angle.
The problem, however, is that the calibration procedure can take a while to run. This presents an overhead when running many multiple models with the same scaling. The solution is to save the result of the calibration procedure and just load those results for later.
This small example model:
https://github.com/AnyBody/cache-result-of-muscle-calibration
shows how to save the result of a calibration procedure so it can be reused in other models.