OpenSim: Simulating musculoskeletal dynamics and neuromuscular control to study human and animal movement
Ajay Seth, Jennifer L Hicks, Thomas K Uchida, Ayman Habib, Christopher L Dembia, James J Dunne, Carmichael F Ong, Matthew S DeMers, Apoorva Rajagopal, Matthew Millard, Samuel R Hamner, Edith M Arnold, Jennifer R Yong, Shrinidhi K Lakshmikanth, Michael A Sherman, Joy P Ku, Scott L Delp, Ajay Seth, Jennifer L Hicks, Thomas K Uchida, Ayman Habib, Christopher L Dembia, James J Dunne, Carmichael F Ong, Matthew S DeMers, Apoorva Rajagopal, Matthew Millard, Samuel R Hamner, Edith M Arnold, Jennifer R Yong, Shrinidhi K Lakshmikanth, Michael A Sherman, Joy P Ku, Scott L Delp
Abstract
Movement is fundamental to human and animal life, emerging through interaction of complex neural, muscular, and skeletal systems. Study of movement draws from and contributes to diverse fields, including biology, neuroscience, mechanics, and robotics. OpenSim unites methods from these fields to create fast and accurate simulations of movement, enabling two fundamental tasks. First, the software can calculate variables that are difficult to measure experimentally, such as the forces generated by muscles and the stretch and recoil of tendons during movement. Second, OpenSim can predict novel movements from models of motor control, such as kinematic adaptations of human gait during loaded or inclined walking. Changes in musculoskeletal dynamics following surgery or due to human-device interaction can also be simulated; these simulations have played a vital role in several applications, including the design of implantable mechanical devices to improve human grasping in individuals with paralysis. OpenSim is an extensible and user-friendly software package built on decades of knowledge about computational modeling and simulation of biomechanical systems. OpenSim's design enables computational scientists to create new state-of-the-art software tools and empowers others to use these tools in research and clinical applications. OpenSim supports a large and growing community of biomechanics and rehabilitation researchers, facilitating exchange of models and simulations for reproducing and extending discoveries. Examples, tutorials, documentation, and an active user forum support this community. The OpenSim software is covered by the Apache License 2.0, which permits its use for any purpose including both nonprofit and commercial applications. The source code is freely and anonymously accessible on GitHub, where the community is welcomed to make contributions. Platform-specific installers of OpenSim include a GUI and are available on simtk.org.
Conflict of interest statement
The authors have declared that no competing interests exist.
Figures
References
- Krakauer JW. Motor learning: its relevance to stroke recovery and neurorehabilitation. Curr Opin Neurol. 2006;19(1):84–90. 10.1097/
- Arnold AS, Liu MQ, Schwartz MH, Õunpuu S, Delp SL. The role of estimating muscle-tendon lengths and velocities of the hamstrings in the evaluation and treatment of crouch gait. Gait Posture. 2006;23(3):273–281. 10.1016/j.gaitpost.2005.03.003
- Bregman DJJ, van der Krogt MM, de Groot V, Harlaar J, Wisse M, Collins SH. The effect of ankle foot orthosis stiffness on the energy cost of walking: a simulation study. Clin Biomech. 2011;26(9):955–961. 10.1016/j.clinbiomech.2011.05.007
- Lowe BD, Weir PL, Andrews DM. Observation-based posture assessment: review of current practice and recommendations for improvement. Cincinnati, Ohio, U.S.A.: National Institute for Occupational Safety and Health, Department of Health and Human Services, Centers for Disease Control and Prevention; 2014. NIOSH Publication No. 2014-131.
- Novicki E. Musculoskeletal disorders prevention program. Cincinnati, Ohio, U.S.A.: National Institute for Occupational Safety and Health, Department of Health and Human Services, Centers for Disease Control and Prevention; 2016. NIOSH Publication No. 2016-127.
- Brown RM, Counsilman JE. The role of lift in propelling the swimmer. In: Cooper JM, editor. Selected Topics on Biomechanics: Proceedings of the C.I.C. Symposium on Biomechanics. Chicago, Illinois, U.S.A.; 1971. p. 179–188.
- McGinnis PM. Biomechanics of Sport and Exercise. 3rd ed Champaign, Illinois, U.S.A: Human Kinetics; 2013.
- Barre A, Armand S. Biomechanical ToolKit: open-source framework to visualize and process biomechanical data. Comput Methods Programs Biomed. 2014;114(1):80–87. 10.1016/j.cmpb.2014.01.012
- Leboeuf F, Armand S, Arnaud B. OpenMA: a new open source library for working and altering the Conventional Gait Model. Gait Posture. 2016;49(Supplement 2):260 10.1016/j.gaitpost.2016.07.314
- Domalain M, Bertin A, Daver G. Was Australopithecus afarensis able to make the Lomekwian stone tools? Towards a realistic biomechanical simulation of hand force capability in fossil hominins and new insights on the role of the fifth digit. C R Palevol. 2017;16(5–6):572–584. 10.1016/j.crpv.2016.09.003
- Arnold EM, Hamner SR, Seth A, Millard M, Delp SL. How muscle fiber lengths and velocities affect muscle force generation as humans walk and run at different speeds. J Exp Biol. 2013;216(11):2150–2160. 10.1242/jeb.075697
- Rankin JW, Rubenson J, Hutchinson JR. Inferring muscle functional roles of the ostrich pelvic limb during walking and running using computer optimization. J R Soc Interface. 2016;13(118):20160035 10.1098/rsif.2016.0035
- Uchida TK, Hicks JL, Dembia CL, Delp SL. Stretching your energetic budget: how tendon compliance affects the metabolic cost of running. PLoS ONE. 2016;11(3):e0150378 10.1371/journal.pone.0150378
- Homayouni T, Underwood KN, Beyer KC, Martin ER, Allan CH, Balasubramanian R. Modeling implantable passive mechanisms for modifying the transmission of forces and movements between muscle and tendons. IEEE Trans Biomed Eng. 2015;62(9):2208–2214. 10.1109/TBME.2015.2419223
- Farris DJ, Hicks JL, Delp SL, Sawicki GS. Musculoskeletal modelling deconstructs the paradoxical effects of elastic ankle exoskeletons on plantar-flexor mechanics and energetics during hopping. J Exp Biol. 2014;217(22):4018–4028. 10.1242/jeb.107656
- Uchida TK, Seth A, Pouya S, Dembia CL, Hicks JL, Delp SL. Simulating ideal assistive devices to reduce the metabolic cost of running. PLoS ONE. 2016;11(9):e0163417 10.1371/journal.pone.0163417
- Jackson RW, Dembia CL, Delp SL, Collins SH. Muscle–tendon mechanics explain unexpected effects of exoskeleton assistance on metabolic rate during walking. J Exp Biol. 2017;220(11):2082–2095. 10.1242/jeb.150011
- Dembia CL, Silder A, Uchida TK, Hicks JL, Delp SL. Simulating ideal assistive devices to reduce the metabolic cost of walking with heavy loads. PLoS ONE. 2017;12(7):e0180320 10.1371/journal.pone.0180320
- Dorn TW, Wang JM, Hicks JL, Delp SL. Predictive simulation generates human adaptations during loaded and inclined walking. PLoS ONE. 2015;10(4):e0121407 10.1371/journal.pone.0121407
- DeMers MS, Hicks JL, Delp SL. Preparatory co-activation of the ankle muscles may prevent ankle inversion injuries. J Biomech. 2017;52(Supplement C):17–23. 10.1016/j.jbiomech.2016.11.002
- Ong CF, Hicks JL, Delp SL. Simulation-based design for wearable robotic systems: an optimization framework for enhancing a standing long jump. IEEE Trans Biomed Eng. 2016;63(5):894–903. 10.1109/TBME.2015.2463077
- Seth A, Matias R. Model of the scapulothoracic joint; 2017. .
- DeMers M. Evertor and invertor muscle co-activation prevents ankle inversion injury; 2016. .
- Modenese L, Philips A, van Arkel R. OpenSim plugin to extract the muscle lines of action; 2015. .
- Myers C. Probabilistic tool for considering patient populations & model uncertainty; 2014. .
- Steele K. Synergy Optimization: a plug-in to couple muscle activity in OpenSim; 2016. .
- Delp SL, Anderson FC, Arnold AS, Loan P, Habib A, John CT, et al. OpenSim: open-source software to create and analyze dynamic simulations of movement. IEEE Trans Biomed Eng. 2007;54(11):1940–1950. 10.1109/TBME.2007.901024
- Hamner S, Delp S. Muscle contributions to mass center accelerations over a range of running speeds; 2018. .
- Fregly BJ, D’Lima D, Besier T. Grand challenge competition to predict in vivo knee loads; 2015. .
- National Center for Simulation in Rehabilitation Research. OpenSim Documentation; 2018. .
- Delp S, Habib A, Seth A, Hicks J, Dunne J. OpenSim; 2018. .
- Seth A, Sherman M, Reinbolt JA, Delp SL. OpenSim: a musculoskeletal modeling and simulation framework for in silico investigations and exchange. Procedia IUTAM. 2011;2:212–232. 10.1016/j.piutam.2011.04.021
- Sherman MA, Seth A, Delp SL. What is a moment arm? Calculating muscle effectiveness in biomechanical models using generalized coordinates. In: Proceedings of the ASME 2013 International Design Engineering Technical Conferences & Computers and Information in Engineering Conference. Portland, Oregon, U.S.A.; August 4–7, 2013. p. DETC2013–13633.
- Rajagopal A, Dembia CL, DeMers MS, Delp DD, Hicks JL, Delp SL. Full-body musculoskeletal model for muscle-driven simulation of human gait. IEEE Trans Biomed Eng. 2016;63(10):2068–2079. 10.1109/TBME.2016.2586891
- O’Neill MC, Lee LF, Larson SG, Demes B, Stern JT Jr, Umberger BR. A three-dimensional musculoskeletal model of the chimpanzee (Pan troglodytes) pelvis and hind limb. J Exp Biol. 2013;216(19):3709–3723. 10.1242/jeb.079665
- Featherstone R. The calculation of robot dynamics using articulated-body inertias. Int J Rob Res. 1983;2(1):13–30. 10.1177/027836498300200102
- Sherman MA, Seth A, Delp SL. Simbody: multibody dynamics for biomedical research. Procedia IUTAM. 2011;2:241–261. 10.1016/j.piutam.2011.04.023
- Seth A, Sherman M, Eastman P, Delp S. Minimal formulation of joint motion for biomechanisms. Nonlinear Dyn. 2010;62(1–2):291–303. 10.1007/s11071-010-9717-3
- Jain A. Unified formulation of dynamics for serial rigid multibody systems. J Guid Control Dyn. 1991;14(3):531–542. 10.2514/3.20672
- van der Krogt MM, Bar-On L, Kindt T, Desloovere K, Harlaar J. Neuro-musculoskeletal simulation of instrumented contracture and spasticity assessment in children with cerebral palsy. J Neuroeng Rehabil. 2016;13(1):64 10.1186/s12984-016-0170-5
- Delp SL, Loan JP, Hoy MG, Zajac FE, Topp EL, Rosen JM. An interactive graphics-based model of the lower extremity to study orthopaedic surgical procedures. IEEE Trans Biomed Eng. 1990;37(8):757–767. 10.1109/10.102791
- Lerner ZF, DeMers MS, Delp SL, Browning RC. How tibiofemoral alignment and contact locations affect predictions of medial and lateral tibiofemoral contact forces. J Biomech. 2015;48(4):644–650. 10.1016/j.jbiomech.2014.12.049
- Vasavada AN, Li S, Delp SL. Influence of muscle morphometry and moment arms on the moment-generating capacity of human neck muscles. Spine. 1998;23(4):412–422. 10.1097/00007632-199802150-00002
- Seth A, Matias R, Veloso AP, Delp SL. A biomechanical model of the scapulothoracic joint to accurately capture scapular kinematics during shoulder movements. PLoS ONE. 2016;11(1):e0141028 10.1371/journal.pone.0141028
- Zajac FE. Muscle and tendon: properties, models, scaling, and application to biomechanics and motor control. Crit Rev Biomed Eng. 1989;17(4):359–411.
- Millard M, Uchida T, Seth A, Delp SL. Flexing computational muscle: modeling and simulation of musculotendon dynamics. J Biomech Eng. 2013;135(2):021005 10.1115/1.4023390
- Umberger BR, Gerritsen KGM, Martin PE. A model of human muscle energy expenditure. Comput Methods Biomech Biomed Engin. 2003;6(2):99–111. 10.1080/1025584031000091678
- Umberger BR. Stance and swing phase costs in human walking. J R Soc Interface. 2010;7(50):1329–1340. 10.1098/rsif.2010.0084
- Bhargava LJ, Pandy MG, Anderson FC. A phenomenological model for estimating metabolic energy consumption in muscle contraction. J Biomech. 2004;37(1):81–88. 10.1016/S0021-9290(03)00239-2
- Thelen DG, Anderson FC, Delp SL. Generating dynamic simulations of movement using computed muscle control. J Biomech. 2003;36(3):321–328. 10.1016/S0021-9290(02)00432-3
- Krylow AM, Sandercock TG. Dynamic force responses of muscle involving eccentric contraction. J Biomech. 1997;30(1):27–33. 10.1016/S0021-9290(96)00097-8
- Valente G, Pitto L, Testi D, Seth A, Delp SL, Stagni R, et al. Are subject-specific musculoskeletal models robust to the uncertainties in parameter identification? PLoS ONE. 2014;9(11):e112625 10.1371/journal.pone.0112625
- Tagliapietra L, Vivian M, Caracciolo R, Reggiani M. Evaluation of the biomechanical simulator OpenSim on a multi-body system benchmark. In: Proceedings of the ECCOMAS Thematic Conference on Multibody Dynamics. Barcelona, Catalonia, Spain; June 29–July 2, 2015.
- Myers CA, Laz PJ, Shelburne KB, Davidson BS. A probabilistic approach to quantify the impact of uncertainty propagation in musculoskeletal simulations. Ann Biomed Eng. 2015;43(5):1098–1111. 10.1007/s10439-014-1181-7
- Gamma E, Helm R, Johnson R, Vlissides J. Design Patterns: Elements of Reusable Object-Oriented Software. Upper Saddle River, New Jersey, U.S.A: Addison-Wesley; 1995.
- Meyer AJ, Eskinazi I, Jackson JN, Rao AV, Patten C, Fregly BJ. Muscle synergies facilitate computational prediction of subject-specific walking motions. Front Bioeng Biotechnol. 2016;4(77):1–26. 10.3389/fbioe.2016.00077
- Lee LF, Umberger BR. Generating optimal control simulations of musculoskeletal movement using OpenSim and MATLAB. PeerJ. 2016;4:e1638 10.7717/peerj.1638
- Falisse A, Van Rossom S, Jonkers I, De Groote F. EMG-driven optimal estimation of subject-specific Hill model muscle–tendon parameters of the knee joint actuators. IEEE Trans Biomed Eng. 2017;64(9):2253–2262. 10.1109/TBME.2016.2630009
- Lin YC, Pandy MG. Three-dimensional data-tracking dynamic optimization simulations of human locomotion generated by direct collocation. J Biomech. 2017;59:1–8. 10.1016/j.jbiomech.2017.04.038
- De Groote F, Kinney AL, Rao AV, Fregly BJ. Evaluation of direct collocation optimal control problem formulations for solving the muscle redundancy problem. Ann Biomed Eng. 2016;44(10):2922–2936. 10.1007/s10439-016-1591-9
- Arnold AS, Liu MQ, Schwartz MH, Õunpuu S, Dias LS, Delp SL. Do the hamstrings operate at increased muscle–tendon lengths and velocities after surgical lengthening? J Biomech. 2006;39(8):1498–1506. 10.1016/j.jbiomech.2005.03.026
- Hicks JL, Schwartz MH, Arnold AS, Delp SL. Crouched postures reduce the capacity of muscles to extend the hip and knee during the single-limb stance phase of gait. J Biomech. 2008;41(5):960–967. 10.1016/j.jbiomech.2008.01.002
- Reinbolt JA, Fox MD, Arnold AS, Õunpuu S, Delp SL. Importance of preswing rectus femoris activity in stiff-knee gait. J Biomech. 2008;41(11):2362–2369. 10.1016/j.jbiomech.2008.05.030
- Reinbolt JA, Fox MD, Schwartz MH, Delp SL. Predicting outcomes of rectus femoris transfer surgery. Gait Posture. 2009;30(1):100–105. 10.1016/j.gaitpost.2009.03.008
- Fox MD, Reinbolt JA, Õunpuu S, Delp SL. Mechanisms of improved knee flexion after rectus femoris transfer surgery. J Biomech. 2009;42(5):614–619. 10.1016/j.jbiomech.2008.12.007
- Hicks J, Arnold A, Anderson F, Schwartz M, Delp S. The effect of excessive tibial torsion on the capacity of muscles to extend the hip and knee during single-limb stance. Gait Posture. 2007;26(4):546–552. 10.1016/j.gaitpost.2006.12.003
- Liu MQ, Anderson FC, Schwartz MH, Delp SL. Muscle contributions to support and progression over a range of walking speeds. J Biomech. 2008;41(15):3243–3252. 10.1016/j.jbiomech.2008.07.031
- Steele KM, Seth A, Hicks JL, Schwartz MS, Delp SL. Muscle contributions to support and progression during single-limb stance in crouch gait. J Biomech. 2010;43(11):2099–2105. 10.1016/j.jbiomech.2010.04.003
- Hamner SR, Seth A, Delp SL. Muscle contributions to propulsion and support during running. J Biomech. 2010;43(14):2709–2716. 10.1016/j.jbiomech.2010.06.025
- Hamner SR, Delp SL. Muscle contributions to fore-aft and vertical body mass center accelerations over a range of running speeds. J Biomech. 2013;46(4):780–787. 10.1016/j.jbiomech.2012.11.024
- John CT, Seth A, Schwartz MH, Delp SL. Contributions of muscles to mediolateral ground reaction force over a range of walking speeds. J Biomech. 2012;45(14):2438–2443. 10.1016/j.jbiomech.2012.06.037
- Nagano A, Umberger BR, Marzke MW, Gerritsen KGM. Neuromusculoskeletal computer modeling and simulation of upright, straight-legged, bipedal locomotion of Australopithecus afarensis (A.L. 288-1). Am J Phys Anthropol. 2005;126(1):2–13. 10.1002/ajpa.10408
- Lerner ZF, Gadomski BC, Ipson AK, Haussler KK, Puttlitz CM, Browning RC. Modulating tibiofemoral contact force in the sheep hind limb via treadmill walking: predictions from an OpenSim musculoskeletal model. J Orthop Res. 2015;33(8):1128–1133. 10.1002/jor.22829
- Harrison SM, Whitton RC, Kawcak CE, Stover SM, Pandy MG. Relationship between muscle forces, joint loading and utilization of elastic strain energy in equine locomotion. J Exp Biol. 2010;213(23):3998–4009. 10.1242/jeb.044545
- Harrison SM, Whitton RC, Kawcak CE, Stover SM, Pandy MG. Evaluation of a subject-specific finite-element model of the equine metacarpophalangeal joint under physiological load. J Biomech. 2014;47(1):65–73. 10.1016/j.jbiomech.2013.10.001
- Schaffelhofer S, Sartori M, Scherberger H, Farina D. Musculoskeletal representation of a large repertoire of hand grasping actions in primates. IEEE Trans Neural Syst Rehabil Eng. 2015;23(2):210–220. 10.1109/TNSRE.2014.2364776
- Mansouri M, Clark AE, Seth A, Reinbolt JA. Rectus femoris transfer surgery affects balance recovery in children with cerebral palsy: a computer simulation study. Gait Posture. 2016;43(Supplement C):24–30. 10.1016/j.gaitpost.2015.08.016
- Moraud EM, Capogrosso M, Formento E, Wenger N, DiGiovanna J, Courtine G, et al. Mechanisms underlying the neuromodulation of spinal circuits for correcting gait and balance deficits after spinal cord injury. Neuron. 2016;89(4):814–828. 10.1016/j.neuron.2016.01.009
- De Sapio V, Earl D, Green R, Saul K. Human factors simulation using demographically tuned biomechanical models. Proc Hum Factors Ergon Soc Annu Meet. 2014;58(1):944–948. 10.1177/1541931214581198
- Farina D, Vujaklija I, Sartori M, Kapelner T, Negro F, Jiang N, et al. Man/machine interface based on the discharge timings of spinal motor neurons after targeted muscle reinnervation. Nat Biomed Eng. 2017;1:0025 10.1038/s41551-016-0025
- Durandau G, Suleiman W. User-safe orthosis based on compliant actuators: mechanical design and control framework. In: Proceedings of the 55th Annual Conference of the Society of Instrument and Control Engineers of Japan. Tsukuba, Japan; September 20–23, 2016. p. 1508–1513.
- Moraud EM, von Zitzewitz J, Miehlbradt J, Wurth S, Formento E, DiGiovanna J, et al. Closed-loop control of trunk posture improves locomotion through the regulation of leg proprioceptive feedback after spinal cord injury. Sci Rep. 2018;8(1):76 10.1038/s41598-017-18293-y
- Rankin JW, Rubenson J, Hutchinson JR. Data from: inferring muscle functional roles of the ostrich pelvic limb during walking and running using computer optimization. Dryad Digital Repository. 2016. 10.5061/dryad.fh3h6
- Johnson WL, Jindrich DL, Roy RR, Edgerton VR. Quantitative metrics of spinal cord injury recovery in the rat using motion capture, electromyography and ground reaction force measurement. J Neurosci Methods. 2012;206(1):65–72. 10.1016/j.jneumeth.2012.02.008
- LaPrè AK, Umberger BR, Sup FC IV. A robotic ankle–foot prosthesis with active alignment. J Med Device. 2016;10(2):025001 10.1115/1.4032866
- Fong DTP, Chan YY, Mok KM, Yung PSH, Chan KM. Understanding acute ankle ligamentous sprain injury in sports. BMC Sports Sci Med Rehabil. 2009;1(1):1–14. 10.1186/1758-2555-1-14
- Anandacoomarasamy A, Barnsley L. Long term outcomes of inversion ankle injuries. Br J Sports Med. 2005;39(3):e14 10.1136/bjsm.2004.011676
- Braun BL. Effects of ankle sprain in a general clinic population 6 to 18 months after medical evaluation. Arch Fam Med. 1999;8(2):143–148. 10.1001/archfami.8.2.143
- Priamikov A, Fronius M, Shi B, Triesch J. OpenEyeSim: a biomechanical model for simulation of closed-loop visual perception. J Vis. 2016;16(15):25 10.1167/16.15.25
- Johnson W. Musculoskeletal model of the rat hindlimb; 2008. .
- Pierce SE, Clack JA, Hutchinson JR. Three-dimensional limb joint mobility in the early tetrapod Ichthyostega. Nature. 2012;486:523–526. 10.1038/nature11124
- Bates KT, Manning PL, Margetts L, Sellers WI. Sensitivity analysis in evolutionary robotic simulations of bipedal dinosaur running. J Vertebr Paleontol. 2010;30(2):458–466. 10.1080/02724630903409329
- Porsa S, Lin YC, Pandy MG. Direct methods for predicting movement biomechanics based upon optimal control theory with implementation in OpenSim. Ann Biomed Eng. 2016;44(8):2542–2557. 10.1007/s10439-015-1538-6
- Uchida TK, Sherman MA, Delp SL. Making a meaningful impact: modelling simultaneous frictional collisions in spatial multibody systems. Proc R Soc Lond A Math Phys Sci. 2015;471(2177):20140859 10.1098/rspa.2014.0859
Source: PubMed