The Neuromusculoskeletal Modeling Pipeline: MATLAB-based model personalization and treatment optimization functionality for OpenSim

Abstract Neuromusculoskeletal injuries including osteoarthritis, stroke, spinal cord injury, and traumatic brain injury affect roughly 19% of the U.S. adult population. Standardized interventions have produced suboptimal functional outcomes due to the unique treatment needs of each patient. Strides...

Full description

Saved in:
Bibliographic Details
Main Authors: Claire V. Hammond, Spencer T. Williams, Marleny M. Vega, Di Ao, Geng Li, Robert M. Salati, Kayla M. Pariser, Mohammad S. Shourijeh, Ayman W. Habib, Carolynn Patten, Benjamin J. Fregly
Format: Article
Language:English
Published: BMC 2025-05-01
Series:Journal of NeuroEngineering and Rehabilitation
Online Access:https://doi.org/10.1186/s12984-025-01629-5
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849325943590486016
author Claire V. Hammond
Spencer T. Williams
Marleny M. Vega
Di Ao
Geng Li
Robert M. Salati
Kayla M. Pariser
Mohammad S. Shourijeh
Ayman W. Habib
Carolynn Patten
Benjamin J. Fregly
author_facet Claire V. Hammond
Spencer T. Williams
Marleny M. Vega
Di Ao
Geng Li
Robert M. Salati
Kayla M. Pariser
Mohammad S. Shourijeh
Ayman W. Habib
Carolynn Patten
Benjamin J. Fregly
author_sort Claire V. Hammond
collection DOAJ
description Abstract Neuromusculoskeletal injuries including osteoarthritis, stroke, spinal cord injury, and traumatic brain injury affect roughly 19% of the U.S. adult population. Standardized interventions have produced suboptimal functional outcomes due to the unique treatment needs of each patient. Strides have been made to utilize computational models to develop personalized treatments, but researchers and clinicians have yet to cross the “valley of death” between fundamental research and clinical usefulness. This article introduces the Neuromusculoskeletal Modeling (NMSM) Pipeline, two MATLAB-based toolsets that add Model Personalization and Treatment Optimization functionality to OpenSim. The two toolsets facilitate computational design of individualized treatments for neuromusculoskeletal impairments through the use of personalized neuromusculoskeletal models and predictive simulation. The Model Personalization toolset contains four tools for personalizing 1) joint structure models, 2) muscle–tendon models, 3) neural control models, and 4) foot–ground contact models. The Treatment Optimization toolset contains three tools for predicting and optimizing a patient’s functional outcome for different treatment options using a patient’s personalized neuromusculoskeletal model and direct collocation optimal control methods. Support for user-defined cost, constraint, and model modification functions facilitate simulation of a vast number of possible treatments. An NMSM Pipeline use case is presented for an individual post-stroke with impaired walking function, where the goal was to predict how the subject’s neural control could be changed to improve walking speed without increasing metabolic cost. First the Model Personalization toolset was used to develop a personalized neuromusculoskeletal model of the subject starting from a generic OpenSim full-body model and experimental walking data (video motion capture, ground reaction, and electromyography) collected from the subject at his self-selected speed. Next the Treatment Optimization toolset was used with the personalized model to predict how the subject could recruit existing muscle synergies more effectively to reduce muscle activation disparities between the paretic and non-paretic legs. The software predicted that the subject could increase his walking speed by 60% without increasing his metabolic cost per unit time by modifying existing muscle synergy recruitment. This hypothetical treatment demonstrates how NMSM Pipeline tools could allow researchers working collaboratively with clinicians to develop personalized neuromusculoskeletal models of individual patients and to perform predictive simulations for designing personalized treatments that maximize a patient’s post-treatment functional outcome.
format Article
id doaj-art-3f4fc08d86cb4f6883f686e87f8dbca7
institution Kabale University
issn 1743-0003
language English
publishDate 2025-05-01
publisher BMC
record_format Article
series Journal of NeuroEngineering and Rehabilitation
spelling doaj-art-3f4fc08d86cb4f6883f686e87f8dbca72025-08-20T03:48:15ZengBMCJournal of NeuroEngineering and Rehabilitation1743-00032025-05-0122112810.1186/s12984-025-01629-5The Neuromusculoskeletal Modeling Pipeline: MATLAB-based model personalization and treatment optimization functionality for OpenSimClaire V. Hammond0Spencer T. Williams1Marleny M. Vega2Di Ao3Geng Li4Robert M. Salati5Kayla M. Pariser6Mohammad S. Shourijeh7Ayman W. Habib8Carolynn Patten9Benjamin J. Fregly10Department of Mechanical Engineering, Rice UniversityDepartment of Mechanical Engineering, Rice UniversityDepartment of Mechanical Engineering, Rice UniversityDepartment of Mechanical Engineering, Rice UniversityDepartment of Mechanical Engineering, Rice UniversityDepartment of Mechanical Engineering, Rice UniversityDepartment of Mechanical Engineering, Rice UniversityDepartment of Mechanical Engineering, Rice UniversityDepartment of Bioengineering, Stanford UniversityDepartment of Physical Medicine and Rehabilitation, UC Davis School of MedicineDepartment of Mechanical Engineering, Rice UniversityAbstract Neuromusculoskeletal injuries including osteoarthritis, stroke, spinal cord injury, and traumatic brain injury affect roughly 19% of the U.S. adult population. Standardized interventions have produced suboptimal functional outcomes due to the unique treatment needs of each patient. Strides have been made to utilize computational models to develop personalized treatments, but researchers and clinicians have yet to cross the “valley of death” between fundamental research and clinical usefulness. This article introduces the Neuromusculoskeletal Modeling (NMSM) Pipeline, two MATLAB-based toolsets that add Model Personalization and Treatment Optimization functionality to OpenSim. The two toolsets facilitate computational design of individualized treatments for neuromusculoskeletal impairments through the use of personalized neuromusculoskeletal models and predictive simulation. The Model Personalization toolset contains four tools for personalizing 1) joint structure models, 2) muscle–tendon models, 3) neural control models, and 4) foot–ground contact models. The Treatment Optimization toolset contains three tools for predicting and optimizing a patient’s functional outcome for different treatment options using a patient’s personalized neuromusculoskeletal model and direct collocation optimal control methods. Support for user-defined cost, constraint, and model modification functions facilitate simulation of a vast number of possible treatments. An NMSM Pipeline use case is presented for an individual post-stroke with impaired walking function, where the goal was to predict how the subject’s neural control could be changed to improve walking speed without increasing metabolic cost. First the Model Personalization toolset was used to develop a personalized neuromusculoskeletal model of the subject starting from a generic OpenSim full-body model and experimental walking data (video motion capture, ground reaction, and electromyography) collected from the subject at his self-selected speed. Next the Treatment Optimization toolset was used with the personalized model to predict how the subject could recruit existing muscle synergies more effectively to reduce muscle activation disparities between the paretic and non-paretic legs. The software predicted that the subject could increase his walking speed by 60% without increasing his metabolic cost per unit time by modifying existing muscle synergy recruitment. This hypothetical treatment demonstrates how NMSM Pipeline tools could allow researchers working collaboratively with clinicians to develop personalized neuromusculoskeletal models of individual patients and to perform predictive simulations for designing personalized treatments that maximize a patient’s post-treatment functional outcome.https://doi.org/10.1186/s12984-025-01629-5
spellingShingle Claire V. Hammond
Spencer T. Williams
Marleny M. Vega
Di Ao
Geng Li
Robert M. Salati
Kayla M. Pariser
Mohammad S. Shourijeh
Ayman W. Habib
Carolynn Patten
Benjamin J. Fregly
The Neuromusculoskeletal Modeling Pipeline: MATLAB-based model personalization and treatment optimization functionality for OpenSim
Journal of NeuroEngineering and Rehabilitation
title The Neuromusculoskeletal Modeling Pipeline: MATLAB-based model personalization and treatment optimization functionality for OpenSim
title_full The Neuromusculoskeletal Modeling Pipeline: MATLAB-based model personalization and treatment optimization functionality for OpenSim
title_fullStr The Neuromusculoskeletal Modeling Pipeline: MATLAB-based model personalization and treatment optimization functionality for OpenSim
title_full_unstemmed The Neuromusculoskeletal Modeling Pipeline: MATLAB-based model personalization and treatment optimization functionality for OpenSim
title_short The Neuromusculoskeletal Modeling Pipeline: MATLAB-based model personalization and treatment optimization functionality for OpenSim
title_sort neuromusculoskeletal modeling pipeline matlab based model personalization and treatment optimization functionality for opensim
url https://doi.org/10.1186/s12984-025-01629-5
work_keys_str_mv AT clairevhammond theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT spencertwilliams theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT marlenymvega theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT diao theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT gengli theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT robertmsalati theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT kaylampariser theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT mohammadsshourijeh theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT aymanwhabib theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT carolynnpatten theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT benjaminjfregly theneuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT clairevhammond neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT spencertwilliams neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT marlenymvega neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT diao neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT gengli neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT robertmsalati neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT kaylampariser neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT mohammadsshourijeh neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT aymanwhabib neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT carolynnpatten neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim
AT benjaminjfregly neuromusculoskeletalmodelingpipelinematlabbasedmodelpersonalizationandtreatmentoptimizationfunctionalityforopensim