<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Comput. Neurosci.</journal-id>
<journal-title>Frontiers in Computational Neuroscience</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Comput. Neurosci.</abbrev-journal-title>
<issn pub-type="epub">1662-5188</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fncom.2017.00023</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neuroscience</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Optimal Control Based Stiffness Identification of an Ankle-Foot Orthosis Using a Predictive Walking Model</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Sreenivasa</surname> <given-names>Manish</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="author-notes" rid="fn001"><sup>&#x0002A;</sup></xref>
<xref ref-type="author-notes" rid="fn002"><sup>&#x02020;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/149890/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Millard</surname> <given-names>Matthew</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="author-notes" rid="fn002"><sup>&#x02020;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/379636/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Felis</surname> <given-names>Martin</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Mombaur</surname> <given-names>Katja</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/401078/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Wolf</surname> <given-names>Sebastian I.</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/387470/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Optimization in Robotics and Biomechanics, Interdisciplinary Center for Scientific Computing, Heidelberg University</institution> <country>Heidelberg, Germany</country></aff>
<aff id="aff2"><sup>2</sup><institution>Clinic for Orthopedics and Trauma Surgery, Heidelberg University Hospital</institution> <country>Heidelberg, Germany</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Florentin W&#x000F6;rg&#x000F6;tter, University of G&#x000F6;ttingen, Germany</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Poramate Manoonpong, University of Southern Denmark Odense, Denmark; Martin Grimmer, ETH Z&#x000FC;rich, Switzerland; Oskar Von Stryk, Technische Universit&#x000E4;t Darmstadt, Germany</p></fn>
<fn fn-type="corresp" id="fn001"><p>&#x0002A;Correspondence: Manish Sreenivasa <email>manish.sreenivasa&#x00040;iwr.uni-heidelberg.de</email></p></fn>
<fn fn-type="other" id="fn002"><p>&#x02020;These authors have contributed equally to this work.</p></fn></author-notes>
<pub-date pub-type="epub">
<day>13</day>
<month>04</month>
<year>2017</year>
</pub-date>
<pub-date pub-type="collection">
<year>2017</year>
</pub-date>
<volume>11</volume>
<elocation-id>23</elocation-id>
<history>
<date date-type="received">
<day>25</day>
<month>10</month>
<year>2016</year>
</date>
<date date-type="accepted">
<day>28</day>
<month>03</month>
<year>2017</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2017 Sreenivasa, Millard, Felis, Mombaur and Wolf.</copyright-statement>
<copyright-year>2017</copyright-year>
<copyright-holder>Sreenivasa, Millard, Felis, Mombaur and Wolf</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract>
<p>Predicting the movements, ground reaction forces and neuromuscular activity during gait can be a valuable asset to the clinical rehabilitation community, both to understand pathology, as well as to plan effective intervention. In this work we use an optimal control method to generate predictive simulations of pathological gait in the sagittal plane. We construct a patient-specific model corresponding to a 7-year old child with gait abnormalities and identify the optimal spring characteristics of an ankle-foot orthosis that minimizes muscle effort. Our simulations include the computation of foot-ground reaction forces, as well as the neuromuscular dynamics using computationally efficient muscle torque generators and excitation-activation equations. The optimal control problem (OCP) is solved with a direct multiple shooting method. The solution of this problem is physically consistent synthetic neural excitation commands, muscle activations and whole body motion. Our simulations produced similar changes to the gait characteristics as those recorded on the patient. The orthosis-equipped model was able to walk faster with more extended knees. Notably, our approach can be easily tuned to simulate weakened muscles, produces physiologically realistic ground reaction forces and smooth muscle activations and torques, and can be implemented on a standard workstation to produce results within a few hours. These results are an important contribution toward bridging the gap between research methods in computational neuromechanics and day-to-day clinical rehabilitation.</p>
</abstract>
<kwd-group>
<kwd>pathological gait</kwd>
<kwd>neuromechanics</kwd>
<kwd>movement prediction</kwd>
<kwd>model-based optimization</kwd>
<kwd>parameter identification</kwd>
</kwd-group>
<counts>
<fig-count count="7"/>
<table-count count="5"/>
<equation-count count="11"/>
<ref-count count="46"/>
<page-count count="13"/>
<word-count count="9397"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>The clinical treatment of neuromuscular gait abnormality is a complex process that demands significant investment of time and effort from the patient (and caregivers), surgeons and orthotists. Often there may be multiple suitable treatment regimes (surgery, orthotics, rehabilitation exercise, etc.) without a clear indication of an optimal choice. The use of computational methods can assist in these decisions in two ways. First, by estimating internal physiological states that cannot be directly measured to help understand the pathology. Second, by predicting the change in such states under manipulation of virtual patient models to help understand the effects of the possible interventions. There is a growing number of studies that apply the former, so called inverse methods, to healthy and pathological movements, e.g., (Nakamura et al., <xref ref-type="bibr" rid="B33">2005</xref>; Damsgaard et al., <xref ref-type="bibr" rid="B11">2006</xref>; Delp et al., <xref ref-type="bibr" rid="B12">2007</xref>; Erdemir et al., <xref ref-type="bibr" rid="B15">2007</xref>; Sreenivasa et al., <xref ref-type="bibr" rid="B39">2015</xref>; Choi et al., <xref ref-type="bibr" rid="B10">2016</xref>). By matching recorded kinematics and ground reaction forces, one may solve for muscle activations under various optimization criteria (Jonkers et al., <xref ref-type="bibr" rid="B26">2003</xref>; Thelen et al., <xref ref-type="bibr" rid="B42">2003</xref>; Erdemir et al., <xref ref-type="bibr" rid="B15">2007</xref>; Groote et al., <xref ref-type="bibr" rid="B23">2016</xref>). Another approach is to use the concept of modularity in neural and muscle recruitment to generate a low dimensional manifold of control signals. Sartori et al. (<xref ref-type="bibr" rid="B36">2013</xref>) used this approach to generate EMG signals and joint moments for a lower body neuromuscular model. There are far fewer examples that explore the possibility of predicting the kinematics and dynamics of the body during gait. Here we distinguish between methods that can predict muscle forces <italic>given</italic> body movements, and those that can predict both muscle forces <italic>and</italic> body movements. This work focuses on the latter by applying optimal control based methods to predict movements, ground reaction forces and neuromuscular dynamics during walking with and without an orthosis. The goal here is to support an important clinical routine&#x02014;fitting of an orthosis to a patient&#x02014;with the use of computational methods and patient-specific models.</p>
<p>The ideal combination of model/method would be one that is computationally efficient, includes neuromuscular dynamics, produces realistic ground reaction forces, can be tuned to an individual (healthy or pathological) quickly and accurately, and can predict movements. Each of these requirements is challenging, however, methodological and technological advances have made some of these possible. Anderson and Pandy (<xref ref-type="bibr" rid="B4">2001</xref>) famously used 10,000 h on a Cray super-computer to solve for a metabolically efficient gait for a lower-body neuromuscular model. More recently Wang et al. (<xref ref-type="bibr" rid="B44">2012</xref>) and Dorn et al. (<xref ref-type="bibr" rid="B14">2015</xref>) predicted gait patterns for their models with around 1,000 CPU-hours of processing. This level of computational infrastructure and the long time to a solution is not feasible for routine clinical work. In contrast, the works of Schultz and Mombaur (<xref ref-type="bibr" rid="B37">2010</xref>), Ren et al. (<xref ref-type="bibr" rid="B35">2007</xref>), Felis et al. (<xref ref-type="bibr" rid="B17">2013</xref>), Felis and Mombaur (<xref ref-type="bibr" rid="B19">2016</xref>), and Srinivasan et al. (<xref ref-type="bibr" rid="B40">2008</xref>, <xref ref-type="bibr" rid="B41">2009</xref>) produce results using desktop computers in less than an hour. While the faster solution time is impressive, these works do not include a representation of the muscles, which is necessary to address most clinical questions.</p>
<p>Ackermann and van den Bogert (<xref ref-type="bibr" rid="B2">2010</xref>) and Dorn et al. (<xref ref-type="bibr" rid="B14">2015</xref>) included muscles and activation dynamics, however, their results were accompanied by ground reaction force peaks that were twice as large as would be expected from healthy human walking. Using an alternative reflex-feedback approach, Geyer and Herr (<xref ref-type="bibr" rid="B22">2010</xref>) produced a muscle and reflex-driven simulation of walking that produced ground reaction force profiles that had a comparable form and magnitude to healthy human walking. While these results are impressive, it would be challenging to estimate individualized reflex parameters, especially in a clinical setting.</p>
<p>An alternative to the model-based approaches presented so far is the use of methods from machine learning to adaptively adjust assitive devices to the user. Autonomous learning methods have found application in clinical rehabilitation related to functional electrical stimulation (see e.g., Abbas and Chizeck, <xref ref-type="bibr" rid="B1">1995</xref>; Chang et al., <xref ref-type="bibr" rid="B8">1997</xref>; Ferrante et al., <xref ref-type="bibr" rid="B21">2004</xref>). However, these methods typically require pre-existing datasets and/or a large number of training trials. This makes their extension to the prediction of whole body neuromechanics challenging, as patient data may be sparse or not available at all.</p>
<p>In addition to these computational aspects, a major challenge that must be addressed is the validation of the models and the simulation results. This is a multi-faceted issue that needs to be dealt with at both the technical and clinical fronts. For example, for neuromuscular models a common hurdle is that internal neurological states cannot be measured <italic>in vivo</italic>, and surface EMG can only roughly approximate muscle function (Farina et al., <xref ref-type="bibr" rid="B16">2014</xref>). In addition, a prospective clinical trial is a major undertaking that needs a close collaboration between research and clinical teams. As an initial step, studies such as the one presented here can at the very least compare their results to those measures that are relatively easy to record (e.g., joint kinematics, ground reaction forces, surface EMG). While this is not a full validation, a model that can match these observations can at least assure the clinician of exhibiting behavior that is physiologically realistic.</p>
<p>In the following we detail a patient-specific model and formulate an optimal control problem (OCP) to identify the optimal individualized stiffness of an ankle foot orthosis that minimizes muscle effort while walking. It is important to note that the identification of the stiffness parameters occurs in advance of the patient walking with the orthosis. We do not identify the stiffness parameters from experimental data, but rather predict what the parameters should be for that patient. In general, an OCP defines a minimization problem where an objective function is minimized while abiding the dynamics describing a physical system (in our case the human body &#x0002B; orthosis dynamics). Such methods have been used successfully for robot and human motion generation in the past (Bobrow et al., <xref ref-type="bibr" rid="B5">1985</xref>; von Stryk and Schlemmer, <xref ref-type="bibr" rid="B43">1994</xref>; Schultz and Mombaur, <xref ref-type="bibr" rid="B37">2010</xref>), and to a limited extent for the design of human-assistive devices (Koch and Mombaur, <xref ref-type="bibr" rid="B27">2015</xref>; Mombaur, <xref ref-type="bibr" rid="B32">2016</xref>). In the current work, we strike a balance between model complexity and computational efficiency by modeling the muscles as lumped torque generators rather than anatomically equivalent line-type actuators. The solutions combine physically consistent neuromuscular dynamics and ground-contact dynamics, and can be achieved in a matter of hours on a standard desktop computer. We implement several OCPs that mimic the patient condition as he walked barefoot as well as with an orthosis. Note that in these OCPs we predict movements, joint torques and ground-reaction forces. For the orthosis OCP, we evaluate two cost functions, one that only minimizes muscle effort, and another that minimizes muscle effort while favoring a higher walking speed. In addition we also present a dynamic fit of the model to the recorded gait kinematics. Our simulation results are compared to experimental recordings from a 7-year old patient with neuromuscular deficits.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>2. Methods</title>
<sec>
<title>2.1. Patient data</title>
<p>Gait data of a 7-year old male (weight 24.7 kg, height 1.25 m) are retrospectively used in this study. The patient presented with multiple bony deformities of neuromuscular origins, which were corrected in a single event multilevel surgery 1.5 years prior to the recording of the gait data. At the time of recordings he presented with a mild crouch, slow walking speed and unstable gait. Recordings were made of the patient walking on level ground with bare feet and with bilateral ankle-foot orthosis. The orthosis stiffness (see Section 2.2.3 for details) was tuned manually by an orthopedic professional overseeing the recordings. Positions of 35 reflective markers attached to the patient&#x00027;s limbs and torso were recorded at 120 Hz during level gait using a 10-camera Vicon system (Vicon, UK). Simultaneous ground reaction forces were recorded at 1080 Hz using Kistler force plates (Kistler GmbH, Germany).</p>
<p>In total 13 barefoot left and right steps and 12 orthosis left and right steps were recorded that contained gait kinematics suitable for further processing. From this set, 3 barefoot left steps and 2 barefoot right steps, as well as 5 orthosis left steps and 4 orthosis right steps, had suitable recorded ground reactions forces. The reduced number of trials with valid ground reaction forces highlight the experimental difficulties associated with getting an under-age patient with neuromuscular deficits to step cleanly on the successive force-plates. The gait recordings were part of a standard clinical routine. Written informed consent was obtained from the parents and the subject. The recordings were conducted according to the guidelines of the Declaration of Helsinki 2013 and approved by the ethics committee of the Medical Faculty Heidelberg of Heidelberg University.</p>
</sec>
<sec>
<title>2.2. Model formulation</title>
<p>We model the human body as an articulated multi-body system with 8 segments, each with one rotational Degree of Freedom (DoF) in the sagittal plane. The pelvis is modeled as a floating base with two additional translational DoFs in the X and Z directions (Figure <xref ref-type="fig" rid="F1">1</xref>). Segment lengths were approximated from motion capture data, and segment mass and inertia were calculated based on anatomical regression equations for children as per (Jensen, <xref ref-type="bibr" rid="B25">1986</xref>).</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p><bold>Torque muscles fitted to the patient were used to actuate a sagittal plane rigid-body model. (A&#x02013;C)</bold> Show the normalized active-torque-angle curve, <bold>f</bold><sup>A</sup>(&#x003B8;), and the torque-angular-velocity curve, <bold>f</bold><sup>V</sup>(&#x003C9;), of the torque muscles. <bold>(D)</bold> Illustrates the degrees of freedom of the rigid-body model along with the modeled ankle-foot orthosis as an adjustable-stiffness torsion spring.</p></caption>
<graphic xlink:href="fncom-11-00023-g0001.tif"/>
</fig>
<sec>
<title>2.2.1. Patient-specific muscle torque generator</title>
<p>The rotational DoFs at the hips, knees, ankles and the torso were each actuated by a pair of agonist-antagonist Muscle Torque Generators (MTG), which represent the combined torques being generated by muscle forces in that direction (Figure <xref ref-type="fig" rid="F1">1</xref>). The active tension developed by a muscle varies non-linearly with the length and contraction velocity of the muscle, while the passive tension varies non-linearly with its length (Zajac, <xref ref-type="bibr" rid="B46">1988</xref>; Millard et al., <xref ref-type="bibr" rid="B31">2013</xref>) (Figure <xref ref-type="fig" rid="F1">1</xref>). In this study we only model the active components of muscle torque generation. The active torque developed by a MTG varies non-linearly with the angle &#x003B8; of the muscle and is represented by the normalized <italic>active-torque-angle</italic> curve <bold>f</bold><sup>A</sup>(&#x003B8;) which peaks at a torque of &#x003C4;<italic>Mo</italic> at an angle of &#x003B8;<italic>o</italic>. During non-isometric contractions the torque developed by the muscle varies non-linearly with the angular velocity &#x003C9; of the muscle, which is represented by the normalized <italic>torque-angular-velocity</italic> curve <italic><bold>f</bold></italic><sup>V</sup>(&#x003C9;). Muscle torque &#x003C4;<sup>M</sup> is computed using these characteristic curves as follows:</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M1"><mml:mrow><mml:msup><mml:mi>&#x003C4;</mml:mi><mml:mrow><mml:mtext>&#x02009;</mml:mtext><mml:mo>&#x0200B;</mml:mo><mml:mtext>M</mml:mtext></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>&#x003C4;</mml:mi><mml:mtext>o</mml:mtext><mml:mrow><mml:mtext>&#x02009;</mml:mtext><mml:mo>&#x0200B;</mml:mo><mml:mtext>M</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>a</mml:mi><mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>f</mml:mi></mml:mstyle><mml:mrow><mml:mtext>&#x02009;</mml:mtext><mml:mo>&#x0200B;</mml:mo><mml:mtext>A</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:mi>&#x003B8;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>f</mml:mi></mml:mstyle><mml:mrow><mml:mo>&#x0205F;&#x0200B;</mml:mo><mml:mtext>V</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:mi>&#x003C9;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></disp-formula>
<p>where <italic>a</italic> is the muscle activation. The active-torque-angle and torque-angular-velocity curves are modeled using <inline-formula><mml:math id="M20"><mml:mrow><mml:mi mathvariant="-tex-caligraphic">C</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:math></inline-formula> continuous B&#x000E9;zier curves (Figure <xref ref-type="fig" rid="F1">1</xref>) fitted to the experimentally derived torque curves of (Anderson et al., <xref ref-type="bibr" rid="B3">2007</xref>). Anderson et al.&#x00027;s parameterized curves are not used directly because they are not all <inline-formula><mml:math id="M39"><mml:mrow><mml:mi mathvariant="-tex-caligraphic">C</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:math></inline-formula> continuous, which is required by the OCP solver.</p>
<p>Patient-specific maximum torques in extension for the hip, knee and ankle are estimated under the assumption that during the recorded trials the patient was walking at 90% of his maximum capability (i.e., maximum muscle activations were 0.9). This assumption is motivated by the clinical assessment of this patient&#x00027;s musculature, the pronounced crouch, and slow walking speed observed in the recorded barefoot gait. First, we use inverse dynamics analysis to compute the maximum extension torques generated during the recorded trials. Using <italic>a</italic> &#x0003D; 0.9 and the &#x003B8;, &#x003C9; where this maximum occurred, the corresponding maximum muscle torque in extension is found by solving Equation (1) for &#x003C4;<italic>Mo</italic>. Maximum flexion torques are then computed based on the extension-flexion torque ratios recorded in the study by Anderson et al. (<xref ref-type="bibr" rid="B3">2007</xref>). Table <xref ref-type="table" rid="T1">1</xref> lists these values for an age-matched and weight-matched healthy child, as well as for the patient considered in this study. Torso strengths are assumed to be the average of the right and left hip strengths. Note that the MTG models developed here do not take into account the active and passive-dynamic coupling effects of muscles that span multiple joints.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p><bold>Maximum isometric joint torques for an age and weight-matched healthy control and the patient considered in this study</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th/>
<th valign="top" align="center" colspan="4" style="border-bottom: thin solid #000000;"><inline-formula><mml:math id="M60"><mml:mrow><mml:msubsup><mml:mi>&#x003C4;</mml:mi><mml:mo>&#x02218;</mml:mo><mml:mtext>M</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> <bold>(Nm)</bold></th>
</tr>
<tr>
<th/>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Healthy</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Pathological</bold></th>
</tr>
<tr>
<th/>
<th valign="top" align="center"><bold>Left</bold></th>
<th valign="top" align="center"><bold>Right</bold></th>
<th valign="top" align="center"><bold>Left</bold></th>
<th valign="top" align="center"><bold>Right</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Hip extension</td>
<td valign="top" align="center">48.82</td>
<td valign="top" align="center">48.82</td>
<td valign="top" align="center">30.35</td>
<td valign="top" align="center">18.64</td>
</tr>
<tr>
<td valign="top" align="left">Hip flexion</td>
<td valign="top" align="center">34.27</td>
<td valign="top" align="center">34.27</td>
<td valign="top" align="center">21.31</td>
<td valign="top" align="center">13.08</td>
</tr>
<tr>
<td valign="top" align="left">Knee extension</td>
<td valign="top" align="center">36.08</td>
<td valign="top" align="center">36.08</td>
<td valign="top" align="center">24.55</td>
<td valign="top" align="center">22.40</td>
</tr>
<tr>
<td valign="top" align="left">Knee flexion</td>
<td valign="top" align="center">19.26</td>
<td valign="top" align="center">19.26</td>
<td valign="top" align="center">13.10</td>
<td valign="top" align="center">11.95</td>
</tr>
<tr>
<td valign="top" align="left">Ankle extension</td>
<td valign="top" align="center">39.46</td>
<td valign="top" align="center">39.46</td>
<td valign="top" align="center">16.84</td>
<td valign="top" align="center">32.32</td>
</tr>
<tr>
<td valign="top" align="left">Ankle flexion</td>
<td valign="top" align="center">13.71</td>
<td valign="top" align="center">13.71</td>
<td valign="top" align="center">5.85</td>
<td valign="top" align="center">11.23</td>
</tr>
<tr>
<td valign="top" align="left">Torso extension</td>
<td valign="top" align="center" colspan="2">48.82</td>
<td valign="top" align="center" colspan="2">24.49</td>
</tr>
<tr>
<td valign="top" align="left">Torso flexion</td>
<td valign="top" align="center" colspan="2">34.27</td>
<td valign="top" align="center" colspan="2">17.19</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec>
<title>2.2.2. Excitation-activation dynamics</title>
<p>The physiological activation of muscle is an electro-chemical process at the motor unit end plates that converts incoming motor unit action potentials to changes in ion-concentration, and subsequent contraction in muscle fibers. Lumped models provide a simplified representation of this process by relating the overall muscle activation <italic>a</italic>, to the rate of change of activation <italic>&#x00227;</italic> and neural excitation <italic>e</italic>. Here, we use the formulation by Thelen et al. (<xref ref-type="bibr" rid="B42">2003</xref>):</p>
<disp-formula id="E2"><label>(2)</label><mml:math id="M2"><mml:mrow><mml:mover accent='true'><mml:mi>a</mml:mi><mml:mo>&#x002D9;</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>e</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>a</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mfrac><mml:mi>e</mml:mi><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>A</mml:mtext></mml:msub></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>D</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>if</mml:mtext><mml:mo>&#x000A0;</mml:mo><mml:mo>&#x000A0;</mml:mo><mml:mi>e</mml:mi><mml:mo>&#x02265;</mml:mo><mml:mi>a</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mfrac><mml:mrow><mml:mi>e</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>D</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>otherwise</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:math></disp-formula>
<p>where, &#x003C4;<sub>A</sub> &#x0003D; 0.011, &#x003C4;<sub>D</sub> &#x0003D; 0.068 denote the activation and deactivation time constants as per (Winters and Stark, <xref ref-type="bibr" rid="B45">1988</xref>).</p>
</sec>
<sec>
<title>2.2.3. Parametrized orthosis model</title>
<p>The orthosis worn by the patient consisted of custom-built carbon fiber shank and foot segments joined together by an adjustable-stiffness spring-loaded rotational joint at the ankle. The adjustable stiffness joint was constructed using the Neuroswing Joint (Fior and Gentz, Germany) which needs to be tuned to each patient. The foot segment consist of foot-plate fitted to the patient&#x00027;s foot size and inserted into a standard shoe. The masses of the shank and foot segments are estimated to be 0.34 and 0.69 kg, respectively. Note that the foot segment mass referred to here includes the mass of the shoe. In the following, we refer to the gait with the orthosis&#x0002B;shoe combination as orthosis gait. These masses are added to the shank and foot segments of the patient model for the simulations of orthotic gait.</p>
<p>The stiffness of the orthosis is modeled as torques generated at the ankle as a function of the ankle angle. The behavior is divided into 5 stages for the extension-flexion range of motion (Figure <xref ref-type="fig" rid="F2">2</xref>). The parameter &#x003B8;<sub>0</sub> defines the offset between the neutral pose of the ankle and the orthosis in a torque-free angular position. In a small angle window &#x003B8;<sub><italic>W</italic></sub> about this neutral pose, a small pre-load defined by &#x003C4;<sub>0</sub> acts on the joint. As the shank rotates with respect to the foot, the torques are produced by the joint springs (spring stiffness <italic>K</italic><sub><italic>D</italic></sub>, and, <italic>K</italic><sub><italic>P</italic></sub>). Upon hitting the adjustable hard stops (&#x003B8;<sub><italic>DH</italic></sub>, and, &#x003B8;<sub><italic>PH</italic></sub>) the shank may rotate further by flexing the carbon fiber material. This relatively stiffer material results in large torques defined by the parameters, <italic>K</italic><sub><italic>DH</italic></sub> and <italic>K</italic><sub><italic>PH</italic></sub>. The positional parameters listed in Table <xref ref-type="table" rid="T2">2</xref> were measured by the medical professionals during the clinical process. The stiffness of the orthosis-shoe combination is estimated using inverse dynamics analysis of recorded orthosis gait (further details in Section 2.4). While the positional parameters and masses can be measured with a high degree of certainty, the stiffness values of the combined orthosis-shoe unit are tougher to measure and is not part of the clinical routine. In the current approach, we place the initial guess for the stiffness values well below the estimate calculated from the torque-angle characteristics.</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p><bold>Orthosis parameters</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Parameter</bold></th>
<th valign="top" align="center"><bold>Value</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left"><italic>K</italic><sub><italic>DH</italic></sub> (Nm/radian)</td>
<td valign="top" align="center">200</td>
</tr>
<tr>
<td valign="top" align="left">&#x003B8;<sub><italic>DH</italic></sub> (radian)</td>
<td valign="top" align="center">&#x02212;0.12 (L)</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">&#x02212;0.13 (R)</td>
</tr>
<tr>
<td valign="top" align="left"><italic>K</italic><sub><italic>D</italic></sub><xref ref-type="table-fn" rid="TN1"><sup>a</sup></xref> (Nm/radian)</td>
<td valign="top" align="center">55</td>
</tr>
<tr>
<td valign="top" align="left">&#x003B8;<sub>0</sub> (radian)</td>
<td valign="top" align="center">&#x02212;0.02</td>
</tr>
<tr>
<td valign="top" align="left">&#x003B8;<sub><italic>W</italic></sub> (radian)</td>
<td valign="top" align="center">0.01</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C4;<sub>0</sub> (Nm)</td>
<td valign="top" align="center">&#x000B1;1</td>
</tr>
<tr>
<td valign="top" align="left"><italic>K</italic><sub><italic>P</italic></sub><xref ref-type="table-fn" rid="TN1"><sup>a</sup></xref> (Nm/radian)</td>
<td valign="top" align="center">5</td>
</tr>
<tr>
<td valign="top" align="left">&#x003B8;<sub><italic>PH</italic></sub> (radian)</td>
<td valign="top" align="center">0.09 (L)</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">0.1 (R)</td>
</tr>
<tr>
<td valign="top" align="left"><italic>K</italic><sub><italic>PH</italic></sub> (Nm/radian)</td>
<td valign="top" align="center">200</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn id="TN1">
<label>a</label>
<p><italic>K<sub>D</sub> and K<sub>P</sub> are free parameters of the optimal control problem (OCP) that are to be determined. Values indicated here are the initial guess provided to the OCP. The other parameter values are fixed in the OCP</italic>.</p></fn>
</table-wrap-foot>
</table-wrap>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p><bold>Parametrized orthosis torque-angle profile: Torques resulting from the stiffness of the orthosis springs and frame are plotted as a function of ankle angle</bold>. The shape of this curve changes as a function of the free parameters <italic>K<sub>D</sub></italic> and <italic>K<sub>P</sub></italic>.</p></caption>
<graphic xlink:href="fncom-11-00023-g0002.tif"/>
</fig>
<p>Note that during the clinical fitting/tuning process, the orthotist would adjust the spring stiffness denoted here by the parameters <italic>K</italic><sub><italic>D</italic></sub>, and, <italic>K</italic><sub><italic>P</italic></sub>. While it is possible to adjust the other orthosis characteristics, these springs are the easiest to access and one can quickly test their effects on gait during a fitting procedure. Consequently, we make these two parameters <italic>K</italic><sub><italic>D</italic></sub>, and, <italic>K</italic><sub><italic>P</italic></sub>, free parameters of the OCP that are to be determined. The other parameters in Table <xref ref-type="table" rid="T2">2</xref> are fixed, however, future extensions of this approach could include a more extensive parameter set to be identified. Finally, the overall orthosis torque-angle profile is approximated using <inline-formula><mml:math id="M67"><mml:mrow><mml:mi mathvariant="-tex-caligraphic">C</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:math></inline-formula> continuous B&#x000E9;zier curves that are generated on-the-fly as a function of the changing parameters while running the OCP.</p>
</sec>
</sec>
<sec>
<title>2.3. Gait as an optimal control problem</title>
<p>Gait is formulated as a multi-phase OCP, with each phase defined by the attachment and breaking off of sets of contact constraints between the feet and the ground. Due to left-right asymmetry in the patient&#x00027;s gait we model a consecutive left and right stride with <italic>n</italic><sub><italic>p</italic></sub> &#x0003D; 8 phases as follows (see insets in Figures <xref ref-type="fig" rid="F4">4A,B</xref>): Right Flat&#x02014;Left Toe Off, Right Toe On&#x02014;Right Heel Off, Right Toe On&#x02014;Left Heel On, Right Toe On&#x02014;Left Flat, Left Flat&#x02014;Right Toe Off, Left Toe On&#x02014;Left Heel Off, Left Toe On&#x02014;Right Heel On, Left Toe Off&#x02014;Right Flat. Here, &#x0201C;Flat" indicates that both heel and toe contacts are active. In addition to the position constraints at foot contacts, contact velocities are also constrained to be zero at the start of phases, to ensure continuity in velocities and ground forces. Forces at the load bearing points of the feet are constrained to ensure strictly positive vertical ground reaction forces during the step. Forces in the anterior-posterior direction are constrained to lie within the limiting friction, assuming a coefficient of friction of 0.8 (Chang and Matz, <xref ref-type="bibr" rid="B9">2001</xref>). Forward dynamics computations for the multi-body system subject to the stepping constraint sets are computed using the method described by Kokkevis (<xref ref-type="bibr" rid="B28">2004</xref>), implemented in the open-source dynamics library RBDL<xref ref-type="fn" rid="fn0001"><sup>1</sup></xref> by Felis (<xref ref-type="bibr" rid="B18">2017</xref>). The OCP then has the general form:</p>
<disp-formula id="E3"><label>(3)</label><mml:math id="M3"><mml:mrow><mml:munder><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mrow><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>p</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>&#x003BD;</mml:mi><mml:mo>_</mml:mo></mml:munder></mml:mrow></mml:munder><mml:mtext>&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02003;</mml:mtext><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mn>0</mml:mn><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:mrow><mml:msubsup><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mtext>&#x02009;</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:mtext>&#x02009;</mml:mtext><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:mrow><mml:msub><mml:mi>&#x003D5;</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mrow></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>p</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>)</mml:mo><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:mrow></mml:math></disp-formula>
<disp-formula id="E4"><label>(4)</label><mml:math id="M4"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mtext>s</mml:mtext><mml:mo>.</mml:mo><mml:mtext>t</mml:mtext><mml:mo>.</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:munder accentunder='true'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x002D9;</mml:mo></mml:mover><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>p</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x02003;for&#x02003;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mtext>&#x02009;</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:mtext>&#x02009;</mml:mtext><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo stretchy='false'>]</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;</mml:mtext><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>...</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi>p</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x02009;</mml:mtext><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>T</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula><disp-formula id="E5"><label>(5)</label><mml:math id="M5"><mml:mrow><mml:mn>0</mml:mn><mml:mo>=</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mn>0</mml:mn><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mo>..</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>T</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>p</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></disp-formula><disp-formula id="E6"><label>(6)</label><mml:math id="M6"><mml:mrow><mml:mn>0</mml:mn><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mn>0</mml:mn><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mo>..</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>T</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>p</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></disp-formula><disp-formula id="E7"><label>(7)</label><mml:math id="M7"><mml:mrow><mml:mn>0</mml:mn><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>p</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x02003;for&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mtext>&#x02009;</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:mtext>&#x02009;</mml:mtext><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo stretchy='false'>]</mml:mo></mml:mrow></mml:math></disp-formula>
<p>where, Equation (3) describes a general objective function to be minimized. Equation (4) is a place-holder that denotes the dynamics of the multi-body system. Note that the actual neuromuscular and multi-body dynamics are described by differential algebraic equations (detailed formulation available in Felis et al., <xref ref-type="bibr" rid="B20">2015</xref>; Felis and Mombaur, <xref ref-type="bibr" rid="B19">2016</xref>; Mombaur, <xref ref-type="bibr" rid="B32">2016</xref>). <underline><italic>x</italic></underline>(<italic>t</italic>) denotes a vector of state variables (generalized coordinates <underline><italic>q</italic></underline>, generalized velocities <inline-formula><mml:math id="M13"><mml:munder accentunder='true'><mml:mover accent='true'><mml:mi>q</mml:mi><mml:mo>&#x002D9;</mml:mo></mml:mover><mml:mo>_</mml:mo></mml:munder></mml:math></inline-formula>, and muscle activations <underline><italic>a</italic></underline>). <underline><italic>u</italic></underline>(<italic>t</italic>) is a vector of control variables (neural excitations <italic>e</italic>). <underline><italic>p</italic></underline> denotes a vector of free model parameters (if any), and, <underline>&#x003BD;</underline> is a vector of variable phase switching times with <italic>T</italic> &#x0003D; <italic>t</italic><sub><italic>n</italic><sub><italic>p</italic></sub></sub> = overall time for the motion. Equation (5) denotes coupled and decoupled equality constraints (e.g., switching foot contacts at phase changes), and Equation (6) the inequality constraints (e.g., maintain positive ground reaction force during stepping). Equation (7) denotes all continuous inequality constraints (e.g., bounds of the state variables). Controls <underline><italic>u</italic></underline>(<italic>t</italic>) are subject to constraints formulated in Equation (5) to ensure continuity at phase changes. This is done to ensure 2<sup><italic>nd</italic></sup> order continuity in muscle activations.</p>
<p>To solve the OCP we use a direct multiple-shooting method (Bock and Pitt, <xref ref-type="bibr" rid="B6">1984</xref>) implemented in the software package MUSCOD-II (Leineweber et al., <xref ref-type="bibr" rid="B29">2003</xref>). The direct multiple-shooting approach transforms the infinite dimensional OCP, Equations (4&#x02013;7), into a finite dimensional non-linear programming problem by first discretizing the continuous controls <underline><italic>u</italic></underline>(<italic>t</italic>) on a grid and then solving the resulting boundary value problem using a multiple-shooting method. Note that with this method the system dynamics are also satisfied between the multiple shooting intervals, leading to physically consistent results throughout the simulated motion. The multi-phase problem described above is discretized into 64 shooting nodes. The controls <underline><italic>u</italic></underline>(<italic>t</italic>) are modeled as piecewise linear functions between discretization points. The works by Felis et al. (<xref ref-type="bibr" rid="B20">2015</xref>); Felis and Mombaur (<xref ref-type="bibr" rid="B19">2016</xref>) and Mombaur (<xref ref-type="bibr" rid="B32">2016</xref>) provide further detail on the constraint formulation, the solution of the multi-body mechanics, and numerical treatment of the OCP. The models and constraints formulation are available as supplementary software code to this article. In our current study we implement four OCPs:
<list list-type="order">
<list-item><p>LS-Barefoot: Dynamic least-squares fit to recorded barefoot gait</p></list-item>
<list-item><p>MAPD-Barefoot: Minimal activation per distance walked for barefoot gait</p></list-item>
<list-item><p>MAPD-Orthosis: Minimal activation per distance walked for orthosis gait</p></list-item>
<list-item><p>MAPD-WS-Orthosis: Variation of MAPD-Orthosis favoring a higher walking speed</p></list-item>
</list></p>
<p>The LS-Barefoot OCP is used to show that our model is capable of tracking the patient&#x00027;s gait in a dynamically consistent manner. Note that we only apply this fitting-type objective function to the recorded barefoot gait, as in a real-world application the gait with orthosis would not be available in advance. The MAPD-Barefoot OCP is used to test how close the chosen cost function can reproduce recorded barefoot gait of the patient. The MAPD-Orthosis OCP is used to predict the patient gait with an orthosis, and simultaneously identify the orthosis spring stiffness parameters. In initial trials we noticed that the predicted walking speed of the MAPD-Orthosis OCP was slower than that of the patient. To further investigate whether our model could be made to walk as fast as the patient, we implemented the OCP MAPD-WS-Orthosis, that contains an additional objective function term favoring a higher walking speed. Note that the OCPs MAPD-Barefoot, MAPD-Orthosis and MAPD-WS-Orthosis are purely synthetic results and no experimental data is used to compute the solutions.</p>
<sec>
<title>2.3.1. Dynamic least-squares fit to recorded gait</title>
<p>We formulate a fitting-type objective function for the LS-Barefoot OCP that provides a dynamically consistent gait as close as possible to the recorded patient joint kinematics. The objective function is formulated as:</p>
<disp-formula id="E8"><label>(8)</label><mml:math id="M8"><mml:mrow><mml:munder><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mrow><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:munder><mml:mtext>&#x02003;</mml:mtext><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mstyle displaystyle='true'><mml:msubsup><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>m</mml:mi><mml:mtext>&#x02009;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x02009;</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:munder accentunder='true'><mml:mi>q</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x02212;</mml:mo><mml:msup><mml:munder accentunder='true'><mml:mi>q</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mi>M</mml:mi></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mi>T</mml:mi></mml:msup><mml:munder accentunder='true'><mml:munder accentunder='true'><mml:mi>W</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:munder accentunder='true'><mml:mi>q</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mstyle></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;&#x02009;</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:mtext>&#x02009;</mml:mtext><mml:msup><mml:munder accentunder='true'><mml:mi>q</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mi>M</mml:mi></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:mi>&#x003B4;</mml:mi><mml:mstyle displaystyle='true'><mml:mrow><mml:msubsup><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder></mml:mrow></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:mrow></mml:math></disp-formula>
<p>Here, the phase times <underline>&#x003BD;</underline> are fixed to those obtained from the recorded gait. Note that the generalized coordinates <underline><italic>q</italic></underline><sup><italic>M</italic></sup> are computed using inverse kinematics at discrete measurement points. <inline-formula><mml:math id="M15"><mml:mrow><mml:munder accentunder='true'><mml:munder accentunder='true'><mml:mi>W</mml:mi><mml:mo stretchy='true'>_</mml:mo></mml:munder><mml:mo stretchy='true'>_</mml:mo></mml:munder></mml:mrow></mml:math></inline-formula> is a diagonal scaling matrix that may be used to give preference to a closer fit to a subset of the generalized coordinates. Here, we use an identity matrix which provides an overall good fit to all the coordinates. The second term, <inline-formula><mml:math id="M80"><mml:mrow><mml:mi>&#x003B4;</mml:mi><mml:mstyle displaystyle='true'><mml:mrow><mml:msubsup><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mi>j</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mtext>v</mml:mtext><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder></mml:mrow></mml:mstyle><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x022C5;</mml:mo><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></inline-formula> introduces a small cost that regularizes the control inputs, i.e., it smoothens the control input (neural excitation) and avoids that the solution follows noise in the experimentally recorded data. &#x003B4; was set to 1<italic>e</italic> &#x02212; 4 for our computations. For this regularization term all controls are weighted equally relative to each other.</p>
</sec>
<sec>
<title>2.3.2. Gait prediction with mapd-type objective functions</title>
<p>We formulate two objective functions for predicting gait: the first minimizes total muscle activations squared per distance walked, and the second contains an additional term that favors a higher walking speed. The first objective function is formulated as:
<disp-formula id="E9"><label>(9)</label><mml:math id="M9"><mml:mrow><mml:munder><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mrow><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>&#x003BD;</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>p</mml:mi><mml:mo>_</mml:mo></mml:munder></mml:mrow></mml:munder><mml:mtext>&#x02003;</mml:mtext><mml:mfrac><mml:mrow><mml:mstyle displaystyle='true'><mml:msubsup><mml:mo>&#x02211;</mml:mo><mml:mn>1</mml:mn><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:mrow><mml:mstyle displaystyle='true'><mml:mrow><mml:msubsup><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:munder accentunder='true'><mml:mi>a</mml:mi><mml:mo>_</mml:mo></mml:munder></mml:mrow></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:munder accentunder='true'><mml:mi>a</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mstyle></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>T</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mfrac></mml:mrow></mml:math></disp-formula>
Note that dividing by the total distance traveled, <italic>r</italic>(<italic>T</italic>), provides the impetus for moving forward, as without this term the model has no reason to move. Objective functions similar to the one above are commonly used in literature (Thelen et al., <xref ref-type="bibr" rid="B42">2003</xref>; Damsgaard et al., <xref ref-type="bibr" rid="B11">2006</xref>; Ackermann and van den Bogert, <xref ref-type="bibr" rid="B2">2010</xref>) and are associated with the minimization of muscle effort (Ackermann and van den Bogert, <xref ref-type="bibr" rid="B2">2010</xref>). We introduce additional periodicity constraints on all the state variables and the controls, such that the initial states at the start of the first phase matched the final states at the end of the last phase.</p>
<p>The second objective function includes a term favoring a higher walking speed and is formulated as:</p>
<disp-formula id="E10"><label>(10)</label><mml:math id="M10"><mml:mrow><mml:munder><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mrow><mml:munder accentunder='true'><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>u</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>&#x003BD;</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo>,</mml:mo><mml:munder accentunder='true'><mml:mi>p</mml:mi><mml:mo>_</mml:mo></mml:munder></mml:mrow></mml:munder><mml:mtext>&#x02003;</mml:mtext><mml:mfrac><mml:mrow><mml:mstyle displaystyle='true'><mml:msubsup><mml:mo>&#x02211;</mml:mo><mml:mn>1</mml:mn><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:mrow><mml:mstyle displaystyle='true'><mml:mrow><mml:msubsup><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:mrow><mml:munder accentunder='true'><mml:mi>a</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:munder accentunder='true'><mml:mi>a</mml:mi><mml:mo>_</mml:mo></mml:munder><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>T</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mfrac><mml:mo>&#x02212;</mml:mo><mml:mi>&#x003BB;</mml:mi><mml:mfrac><mml:mrow><mml:mi>r</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>T</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mi>T</mml:mi></mml:mfrac></mml:mrow></mml:math></disp-formula>
<p>where, &#x003BB; is a scaling term. The objective function (Equation 9) is used in the OCPs MAPD-Barefoot and MAPD-Orthosis. The objective function (Equation 10) is used in the OCP MAPD-WS-Orthosis. For the OCPs MAPD-Orthosis and MAPD-WS-Orthosis, there are 4 free parameters to be determined during the optimization. These corresponded to the left and right pairs of orthosis spring stiffness parameters (<italic>K</italic><sub><italic>D</italic></sub>,<italic>K</italic><sub><italic>P</italic></sub>). The orthosis dynamics in these OCPs are simulated using the values listed in Table <xref ref-type="table" rid="T2">2</xref>.</p>
</sec>
</sec>
<sec>
<title>2.4. Evaluation procedure</title>
<p>We evaluate the model and the predicted results in the following ways:</p>
<list list-type="order">
<list-item><p>We report the residuals from inverse dynamics analysis of the recorded data. Inverse dynamics analysis computes generalized forces that are consistent with the kinematics of the patient and the measured ground forces. Since our kinematic model has a floating pelvis frame the inverse dynamics results will include residual forces: the generalized forces between the ground frame and the pelvis frame. If these residual forces are small in magnitude then we can conclude that the geometry and mass distribution of the model fits the subject well.</p></list-item>
<list-item><p>We use the LS-Barefoot formulation to assess the quality of the foot-ground contact model. This is because, although the objective function is trying to drive the model to walk with the same kinematics as were used in the inverse dynamics analysis, the foot-ground constraints must be satisfied. Any differences that show up between the LS-Barefoot results and the recorded gait can be ascribed to how well the model of foot-ground contact fits the patient.</p></list-item>
<list-item><p>We compare the solution of MAPD-Barefoot to the kinematics and kinetics of patient to assess how well our chosen cost function fits the movement of subject.</p></list-item>
<list-item><p>We evaluate the predicted orthosis parameters and subject gait by comparing the solution of MAPD-Orthosis to the corresponding experimental data. Any new differences that appear between the OCP results and the experimental data are either due to differences between our orthosis model and the real orthosis, or because the patient no longer walks in a manner that is consistent with our chosen cost function.</p>
<p>To separate these differences, we compare the net torque-angle profile of the MAPD-Orthosis results to the corresponding experimental data. If the net ankle torque-angle profiles are similar it is likely that the remaining differences we observe are happening because the patient is no longer walking in a manner that is consistent with our chosen cost function. It is necessary to use the net ankle torque (the sum of the torque contribution of the ankle MTGs and the orthosis) in this comparison because the kinematics and kinetics of the patient&#x00027;s ankle were not recorded separately from the orthosis.</p></list-item>
<list-item><p>We perturb the free orthosis parameters by &#x02212;5% in the vicinity of the identified optimal values to compute how the cost function value, knee flexion angle (and thus severity of crouch), step lengths and walking speed vary with the stiffness of the orthosis.</p></list-item>
</list>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3. Results</title>
<p>The residual forces from the inverse dynamics analysis for barefoot and orthosis gait are under 3.3 N in the anterior-posterior and vertical directions while the sagittal plane moments are under 0.12 Nm (Table <xref ref-type="table" rid="T3">3</xref>). The kinematics of the LS-Barefoot solution closely matches the patient&#x00027;s barefoot gait kinematics (dashed lines in Figures <xref ref-type="fig" rid="F3">3D&#x02013;F</xref>), with RMS differences of 0.83&#x000B0; at the pelvis, 1.52&#x000B0; at the hips, 2.43&#x000B0; at the knees, and 2.64&#x000B0; at the ankles. The ground reaction forces of the LS-Barefoot solution deviate from the patient&#x00027;s recorded ground reaction forces with RMS differences of 68.24 N in the vertical direction. Note that all RMS differences are computed with respect to the average corresponding recorded gait kinematics and ground reaction forces.</p>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p><bold>Residuals from inverse dynamics analysis</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th/>
<th/>
<th valign="top" align="center"><bold>Mean</bold></th>
<th valign="top" align="center"><bold>Min</bold></th>
<th valign="top" align="center"><bold>Max</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Barefoot</td>
<td valign="top" align="left">A-P (N)</td>
<td valign="top" align="center">&#x02212;0.02</td>
<td valign="top" align="center">&#x02212;0.27</td>
<td valign="top" align="center">0.16</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Vert. (N)</td>
<td valign="top" align="center">1.36</td>
<td valign="top" align="center">&#x02212;0.04</td>
<td valign="top" align="center">2.8</td>
</tr>
<tr style="border-bottom: thin solid #000000;">
<td/>
<td valign="top" align="left">Mom. (Nm)</td>
<td valign="top" align="center">&#x02212;0.02</td>
<td valign="top" align="center">&#x02212;0.11</td>
<td valign="top" align="center">0.09</td>
</tr> <tr>
<td valign="top" align="left">Orthosis</td>
<td valign="top" align="left">A-P (N)</td>
<td valign="top" align="center">&#x02212;0.05</td>
<td valign="top" align="center">&#x02212;0.16</td>
<td valign="top" align="center">0.01</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Vert. (N)</td>
<td valign="top" align="center">1.6</td>
<td valign="top" align="center">0.0</td>
<td valign="top" align="center">3.28</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Mom. (Nm)</td>
<td valign="top" align="center">&#x02212;0.05</td>
<td valign="top" align="center">&#x02212;0.15</td>
<td valign="top" align="center">0.11</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>A-P denotes the forces in the anterior-posterior direction, Vert. denotes the forces in the vertical direction, Mom. denotes the moments about the free flier joint</italic>.</p>
</table-wrap-foot>
</table-wrap>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p><bold>Gait kinematics: Top panels plots the joint angles for orthosis gait for the (A)</bold> hip, <bold>(B)</bold> knee, and <bold>(C)</bold> ankle joints. Solid lines plot the solution of the MAPD-Orthosis. Shaded areas indicate the range of the recorded patient joint angles. <bold>(D&#x02013;F)</bold> plot the corresponding results for MAPD-Barefoot (solid lines), and the results from the LS-Barefoot dynamic fit (dashed lines). Note that the LS-Barefoot results have a discontinuity as indicated by asterisks on <bold>(D&#x02013;F)</bold>. This is due to the difference between the setup of the optimal control problem (starting at left toe off), and the plots (starting at left heel strike), as well as an asymmetry in the patient&#x00027;s gait over one complete left-right stride. We denote 100% along x-axis as the full left and right stride. Insets in panels <bold>(A,D)</bold> indicate the starting pose of the right and left foot. Filled circles in panels <bold>(B,E)</bold> indicate the minimum knee angle during stance.</p></caption>
<graphic xlink:href="fncom-11-00023-g0003.tif"/>
</fig>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p><bold>Ground reaction forces (GRF): (A)</bold> Solid lines plot the simulated GRFs for MAPD-Orthosis gait. <bold>(B)</bold> GRFs for MAPD-Barefoot gait. Dashed lines indicate results for the LS-Barefoot gait. Shaded areas indicate the range recorded. Vertical dashed lines indicate the phase changes (foot contact events as shown in the figure insets). We denote 100% along x-axis as the full left and right stride. Note that the LS-Barefoot results have a discontinuity as indicated by the asterisk. This is due to the difference between the setup of the optimal control problem (starting at left toe off), and the plots (starting at left heel strike), as well as an asymmetry in the patient&#x00027;s gait over one complete left-right stride.</p></caption>
<graphic xlink:href="fncom-11-00023-g0004.tif"/>
</fig>
<p>The MAPD-Barefoot gait step lengths and walking speed were within the range recorded on the patient (Table <xref ref-type="table" rid="T4">4</xref>). The kinematic differences were larger when compared to LS-Barefoot, with RMS differences of 7.57&#x000B0;, 12.95&#x000B0;, 13.67&#x000B0;, 12.22&#x000B0;, for the pelvis, hip, knee and ankle angles respectively. To put these kinematic differences in perspective, note that the patient walks with a high degree of variability, exhibiting maximum variances in the barefoot trials of between 5.5&#x000B0; and 13.34&#x000B0;. The RMS values of the MAPD-Barefoot ground forces are 81.1 N. The MAPD-Barefoot problem took 4 h to solve as a single-thread execution on a 3.6 GHz processor.</p>
<table-wrap position="float" id="T4">
<label>Table 4</label>
<caption><p><bold>Comparison of recorded gait characteristics and results from the corresponding optimal control problems</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th/>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Step length (m)</bold></th>
<th valign="top" align="center"><bold>Walking speed (m/s)</bold></th>
</tr>
<tr>
<th/>
<th valign="top" align="center"><bold>Left</bold></th>
<th valign="top" align="center"><bold>Right</bold></th>
<th/>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Recorded range barefoot</td>
<td valign="top" align="center">0.30&#x02013; 0.43</td>
<td valign="top" align="center">0.22&#x02013;0.37</td>
<td valign="top" align="center">0.51&#x02013;0.73</td>
</tr>
<tr>
<td valign="top" align="left">MAPD-Barefoot</td>
<td valign="top" align="center">0.37</td>
<td valign="top" align="center">0.29</td>
<td valign="top" align="center">0.60</td>
</tr>
<tr>
<td valign="top" align="left">Recorded Range</td>
<td valign="top" align="center">0.40&#x02013;0.47</td>
<td valign="top" align="center">0.34&#x02013;0.46</td>
<td valign="top" align="center">0.70&#x02013;0.98</td>
</tr>
<tr>
<td valign="top" align="left">MAPD-orthosis</td>
<td valign="top" align="center">0.32</td>
<td valign="top" align="center">0.41</td>
<td valign="top" align="center">0.62</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The MAPD-Orthosis model walked with a lower cost, less of a crouch, a longer right step, and a higher walking speed than the MAPD-Barefoot trial (Table <xref ref-type="table" rid="T4">4</xref>). Compared to the MAPD-Barefoot gait the MAPD-orthosis gait extends its right and left knees 9.26&#x000B0; and 8.3&#x000B0; more during stance, respectively (indicated as filled circles in Figures <xref ref-type="fig" rid="F3">3B,E</xref>). This improvement in knee extension angles matched the trend seen in the patient recordings. The RMS differences for MAPD-Orthosis gait are 8.48&#x000B0; at the pelvis, 14.48&#x000B0; at the hips, 16.11&#x000B0; at the knees, and 8.28&#x000B0; at the ankles (Figures <xref ref-type="fig" rid="F3">3A&#x02013;C</xref>). The RMS differences for ground-reaction forces are 128.04 N for MAPD-Orthosis, which is higher than that for MAPD-Barefoot gait. Even though the orthosis pushed the model to walk faster, the left step length and the walking speed are below the corresponding recorded ranges (Table <xref ref-type="table" rid="T4">4</xref>). The OCP MAPD-WS-Orthosis with the modified objective function, Equation (10) and a &#x003BB; &#x0003D; 2, results in a walking speed of 0.77 m/s which is within the recorded range. The MAPD-Orthosis problem took 7 h to solve as a single-thread execution on a 3.6 GHz processor.</p>
<p>Ankle muscle extension torques are substantially reduced for the MAPD-Orthosis gait compared to those for MAPD-Barefoot (Figures <xref ref-type="fig" rid="F5">5A,B</xref>). Despite the faster walking speed for orthosis gait, the corresponding activations and excitations are generally smaller or equivalent to those for MAPD-Barefoot (Figure <xref ref-type="fig" rid="F6">6</xref>). Overall the objective function cost for the MAPD-Orthosis is smaller than that for MAPD-Barefoot (0.61 and 2.2, respectively). The computed optimal orthosis spring stiffness are <italic>K</italic><sub><italic>D</italic></sub> &#x0003D; 45.9 Nm/rad and <italic>K</italic><sub><italic>P</italic></sub> &#x0003D; 13.2 Nm/rad for the right ankle orthosis, and <italic>K</italic><sub><italic>D</italic></sub> &#x0003D; 62.8 Nm/rad and <italic>K</italic><sub><italic>P</italic></sub> &#x0003D; 19.7 Nm/rad for the left ankle orthosis.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p><bold>Effect of orthosis on MTG torques (extension &#x0002B; flexion) at the ankle: Vertical dashed lines indicate the phase changes (A)</bold> MAPD-Orthosis gait. Dashed lines indicate torques generated by the orthosis. <bold>(B)</bold> MAPD-Barefoot gait.</p></caption>
<graphic xlink:href="fncom-11-00023-g0005.tif"/>
</fig>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p><bold>Comparison of neural excitations <italic><bold>e</bold></italic> and muscle activations <italic><bold>a</bold></italic> for MAPD-Orthosis and MAPD-Barefoot gait</bold>. Note that the two simulations resulted in different overall durations and are presented here with respect to % left-right stride. <bold>(A&#x02013;F)</bold> Plot the results for the muscles of the left lower limbs, and <bold>(G&#x02013;L)</bold> those for the right lower limbs.</p></caption>
<graphic xlink:href="fncom-11-00023-g0006.tif"/>
</fig>
<p>The net torque-angle profiles of the MAPD-Orthosis gait have a similar angular offset and slope to the mean torque-angle profiles of the patient (Figure <xref ref-type="fig" rid="F7">7</xref>). Though the peak torques of the MAPD-Orthosis gait are larger than those of the patient, the profiles overlap with the &#x000B1; 1 standard deviation regions of the patient data (shaded regions). The average slope of the torque-angle profiles from the patient data range from 95.7 to 135.5 Nm/rad, while the slope of the MAPD-Orthosis torque-angle profiles range from 122.3 to 150.1 Nm/rad.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p><bold>The MAPD-Orthosis net torque-angle profiles (solid red and blue lines) are plotted against the mean torque-angle profile of the patient (solid black line) and the area that encompass &#x000B1; 1 standard deviation (shaded regions)</bold>. Note that the torque that is plotted is the sum of the net MTG torques (extension &#x0002B; flexion) and the orthosis torque. This torque is equivalent to the torque computed by the inverse dynamics analysis of the patient when he is wearing the orthosis.</p></caption>
<graphic xlink:href="fncom-11-00023-g0007.tif"/>
</fig>
<p>The perturbation analysis reveals a maximum difference of 1.75% in cost function value, min. knee angles, step lengths and walking speeds for &#x02212;5% changes in the orthosis stiffness parameters (Table <xref ref-type="table" rid="T5">5</xref>).</p>
<table-wrap position="float" id="T5">
<label>Table 5</label>
<caption><p><bold>Results from the parameter perturbation analysis</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Perturbed parameter</bold></th>
<th valign="top" align="center"><bold>Perturbation size</bold></th>
<th valign="top" align="center"><bold>&#x003A6;</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Min. knee angle</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Step length</bold></th>
<th valign="top" align="center"><bold>Walking speed</bold></th>
</tr>
<tr>
<th/>
<th/>
<th/>
<th valign="top" align="center"><bold>Left</bold></th>
<th valign="top" align="center"><bold>Right</bold></th>
<th valign="top" align="center"><bold>Left</bold></th>
<th valign="top" align="center"><bold>Right</bold></th>
<th/>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Left <italic>K</italic><sub><italic>D</italic></sub></td>
<td valign="top" align="center">&#x02212;5%</td>
<td valign="top" align="center">1.75</td>
<td valign="top" align="center">&#x02212;0.32</td>
<td valign="top" align="center">&#x02212;1.14</td>
<td valign="top" align="center">0.30</td>
<td valign="top" align="center">0.35</td>
<td valign="top" align="center">&#x02212;0.002</td>
</tr>
<tr>
<td valign="top" align="left">Left <italic>K</italic><sub><italic>P</italic></sub></td>
<td valign="top" align="center">&#x02212;5%</td>
<td valign="top" align="center">1.10</td>
<td valign="top" align="center">&#x02212;0.65</td>
<td valign="top" align="center">&#x02212;0.11</td>
<td valign="top" align="center">&#x02212;0.26</td>
<td valign="top" align="center">0.68</td>
<td valign="top" align="center">0.39</td>
</tr>
<tr>
<td valign="top" align="left">Right <italic>K</italic><sub><italic>D</italic></sub></td>
<td valign="top" align="center">&#x02212;5%</td>
<td valign="top" align="center">0.11</td>
<td valign="top" align="center">0.08</td>
<td valign="top" align="center">&#x02212;1.39</td>
<td valign="top" align="center">0.03</td>
<td valign="top" align="center">0.27</td>
<td valign="top" align="center">&#x02212;0.06</td>
</tr>
<tr>
<td valign="top" align="left">Right <italic>K</italic><sub><italic>P</italic></sub></td>
<td valign="top" align="center">&#x02212;5%</td>
<td valign="top" align="center">0.67</td>
<td valign="top" align="center">&#x02212;1.02</td>
<td valign="top" align="center">0.87</td>
<td valign="top" align="center">0.09</td>
<td valign="top" align="center">0.89</td>
<td valign="top" align="center">0.56</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>A &#x02212;5% perturbation was applied to each of the optimal identified spring stiffness values. Rows indicate the % change in MAPD-Orthosis results for a change in the corresponding orthosis spring parameter. &#x003A6; Denotes the cost function value (Equation 9). A negative % change in the min. knee angle indicates a straightening of the knee during stance</italic>.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec sec-type="discussion" id="s4">
<title>4. Discussion</title>
<p>We have presented an optimal control approach to generate novel movements with physically consistent dynamics and applied it to the simulation of patient gait. Our simulations result in smooth ground reaction forces (Figure <xref ref-type="fig" rid="F4">4</xref>) as well as muscle torques (Figure <xref ref-type="fig" rid="F5">5</xref>), and can be computed with modest computational resources. The ground reaction forces are continuous and have similar shape and magnitude as the patient observations. This is an improvement from published literature in this field, where large transients as well as deviations upto 150 to 200% of body weight have been reported (Ackermann and van den Bogert, <xref ref-type="bibr" rid="B2">2010</xref>; Dorn et al., <xref ref-type="bibr" rid="B14">2015</xref>). Physiologically realistic ground reaction forces are important, because a discrepancy here propagates through the model resulting in unrealistic joint torques and muscle forces. These characteristics, along with the possibility of tuning the model parameters to reflect weakened muscles, are important first steps toward applying such methods in clinical settings.</p>
<p>The low residual forces from the inverse dynamics analysis (Table <xref ref-type="table" rid="T3">3</xref>) indicates that the geometry and mass distribution of the model fit the patient well<xref ref-type="fn" rid="fn0002"><sup>2</sup></xref>. For comparison these residual values are 1.0% of the peak ground reaction forces during walking. The LS-Barefoot results reveal that the model is able to follow the recorded patient kinematics with the RMS differences smaller than the stride-to-stride variation in the patient. However, the ground reaction forces are markedly less smooth (dashed lines in Figure <xref ref-type="fig" rid="F4">4B</xref>) when compared to those recorded from the patient. In contrast the model kinematics for MAPD-Barefoot show larger RMS errors than LS-Barefoot, however, the ground reaction forces are smoother. We also note that the duty factor (ratio stance vs. swing time) in our simulated gait is different from that recorded, with shorter double stance durations for MAPD-Orthosis (Figure <xref ref-type="fig" rid="F4">4A</xref>).</p>
<p>Taking these results together, we conclude that the most likely reasons for these differences are the shape of the foot and the enforced sequential nature of the contact phases. Modeling the foot as a flat surface simplifies the resolution of the contact dynamics, however, it overlooks the natural curvature of the foot and the associated influence this can have on the behavior of the rest of the body (Dorn et al., <xref ref-type="bibr" rid="B13">2012</xref>). Foot contact dynamics has been recognized as an issue of significant importance in model based estimation and prediction of gait as the foot forces affect those at the hip, knee and ankle (Dorn et al., <xref ref-type="bibr" rid="B13">2012</xref>; Millard and Kecskem&#x000E9;thy, <xref ref-type="bibr" rid="B30">2015</xref>). The use of a suitable curved foot model would therefore help improve the contact dynamics as well as avoid the strict phases that we have imposed in our current formulation. We expect that a curved foot model would also improve the simulated kinematics of the knee and ankle, which currently show large deviations from recorded behavior.</p>
<p>The orthosis provides additional ankle torque especially during push-off, and the resulting orthosis-equipped model could walk faster, with more extended knees than the barefoot model. The slope of the torque-angle profile of the MAPD-Orthosis is close to that of the patient (Figure <xref ref-type="fig" rid="F7">7</xref>). This indicates that the identified orthosis stiffness values are likely close to those of the patient&#x00027;s orthosis. We recall that the patient&#x00027;s orthosis was manually tuned by the orthopedic professional during the clinical procedure. We remark that while the slopes and angular offsets of the orthosis-equipped model lie within the experimentally recorded variation, the magnitude of the torques were higher in the model. This indicates that either the foot-shape (lever arm during toe-off) or the cost-function need to be updated to better match the patient. Our perturbation analysis reveals a systematic increase in the cost function value (which is consistent as the perturbation was applied about the optimal solution) and relatively small influence of parameter changes on the gait characteristics (Table <xref ref-type="table" rid="T5">5</xref>).</p>
<p>Despite the higher walking speed of the orthosis gait, the overall distance-normalized muscle activations based cost is smaller than that for barefoot gait. We observe a strong reduction in the muscle activations for orthosis walking (Figure <xref ref-type="fig" rid="F6">6</xref>). Although this is a desirable effect as it points toward a less fatiguing gait, it is presently unclear whether these changes actually occurred in the patient&#x00027;s real muscular efforts. As we are missing the experimental EMG recordings for this gait, our simulated reduction in muscle activations must be viewed as plausible but unverified. As noted in our Introduction, this is a general open problem with neuromuscular models, which require further experimental efforts as well as technological advances in EMG technology.</p>
<sec>
<title>4.1. Choosing an optimality criterion for gait</title>
<p>Our simulations are driven by an optimization criteria that minimizes the square of muscle activations per distance walked. Higher powers of activations have been suggested to be associated with muscle effort (Ackermann and van den Bogert, <xref ref-type="bibr" rid="B2">2010</xref>), and our results from MAPD-Barefoot show that this formulation provides a reasonable match to the recorded gait characteristics (Table <xref ref-type="table" rid="T4">4</xref>). For orthosis-equipped gait, we observe that the same formulation (MAPD-Orthosis), resulted in gait that is slower and has smaller steps. With an additional term in MAPD-WS-Orthosis we could drive the simulation toward more desirable characteristics, in this case faster walking. We speculate that there are subtle differences in the patient&#x00027;s walking behavior with orthosis, that are not entirely covered by the MAPD-only formulation.</p>
<p>Note that an alternative explanation for the slow walking speed in MAPD-Orthosis could lie in an underestimation of the maximum isometric torques of the patient&#x00027;s muscles, as well as the missing torques provided by the passive musculotendon components. We explored this avenue by simulating gait of a healthy age-matched, weight-matched child (torque values listed in Table <xref ref-type="table" rid="T4">4</xref>). The detailed plots are provided in the supplementary section to this article. With healthy muscle strengths, we observed that the model was capable of longer steps and faster walking speed, matching the recorded gait of typically developing children (Schwartz et al., <xref ref-type="bibr" rid="B38">2008</xref>). This leads us to believe that the major reason for the slower gait in MAPD-Orthosis lies in the cost function formulation, and that this deserves further investigation. For example with the use of inverse optimal control methods to identify the particular cost function that best describes experimentally recorded behavior (Mombaur, <xref ref-type="bibr" rid="B32">2016</xref>), and especially the specification of cost functions that are better suited for pathological gait.</p>
<p>From our current work, we show that the specification of muscle strength in our models and the MAPD-type objective function is capable of reproducing, at least in our case study, a range of walking behaviors from healthy to pathological. Overall, it is foreseeable that a generic class of such objective function terms may be made available to the medical specialist, that would correspond to the clinical goals for the patient (e.g., faster walking, less crouch, reduced movement of the center of pressure etc.). The ultimate decision on which of these characteristics are suitable for the patient, would be the responsibility of the orthotist and other medical professionals. Our methods could provide a virtual window into the expected behavior under these conditions without inconveniencing the patient.</p>
</sec>
<sec>
<title>4.2. Limitations and perspectives</title>
<p>In addition to the shape of the foot, we believe that another improvement to the model would be to decouple the orthosis and body models. This would allow for a more realistic simulation of the body-orthosis interaction as well take into account the inertial effects of the orthosis independently from the body. Specifically, this decoupled formulation would enable us to calculate a comfort-like cost function term based on the contact forces being generated, and as well simulate the effects of non-aligned rotations between the foot and the orthosis. Together, we believe that these changes will contribute toward more natural looking behaviors in our synthesized gait.</p>
<p>The simulated activations and active muscle forces of our model may be further improved. We estimated the patient muscle strengths based on inverse dynamics analysis and a qualitative clinical assessement of how close the patient was to his maximum strength during the recorded gait. The muscle curves used in our MTG model come from (Anderson et al., <xref ref-type="bibr" rid="B3">2007</xref>), that are based on adult subjects. These curves may look different from children, especially for those with a pathology that affects the muscle and overall strength. To the best of our knowledge, no such quantative muscle studies exist for children, and it would be of interest to bridge this gap in experimental data in the future. In a general context, the accurate specification of the model to a person is still an open problem. There may be various approaches to solve this, for example by using direct dynamometry information when available, and/or by making the maximum isometric torque as parameters of an OCP. Future iterations of this approach would include passive musculotendon forces in the simulations. To this end we are evaluating methods to estimate passive forces and muscle model coefficients from experimental data. Additionally, modeling the effects of muscles that span multiple joints is an important next step. This may be implemented as a combination of the MTGs used in this work, and some of the major anatomical muscles as line-type models. For the study of pathological gait this may be especially important, as it would then allow the freedom to include the more complicated line-type muscle models based on the specific question/pathology at hand. In this initial work we do not model the feedback dynamics of muscle reflexes like for example those in the work by Geyer and Herr (<xref ref-type="bibr" rid="B22">2010</xref>). Including these closed-loop dynamics makes the OCP harder to solve, and we are currently exploring formulations that work well with our framework. While reflexes are typically subdued during normal locomotion (Brooke et al., <xref ref-type="bibr" rid="B7">1991</xref>), they play an important role in making gait robust against perturbation rejection. In addition, neuromuscular pathology can adversely affect the ability to modulate reflexes (Hodapp et al., <xref ref-type="bibr" rid="B24">2007</xref>; Pearson and Gordon, <xref ref-type="bibr" rid="B34">2013</xref>), and any implementation of reflex feedback for pathological gait would necessarily require more detail and study than currently available in the state of the art.</p>
<p>Finally, we have focused so far on movements in the sagittal plane and used a case study to provide an important proof-of-concept of our methods. Our comparison to experimental data provides a first evaluation of our model and technical platform, that needs to be further validated with a prospective clinical trial and extended to include movements in the transverse plane. We acknowledge that for application in a clinical setting our methods would also need to allow an easy setup and tuning to individual patients. Note that although the setup of the OCPs in this work took a significant amount of time, these efforts do not need to be replicated for each patient. In a future clinical application, we envision that a standardized gait simulation may be solved within a few hours with an individualized patient model (which requires relatively little time). This scenario provides a realistic means to apply our methods in a true clinical setting, and would be the ultimate goal of our future efforts related to this work.</p>
</sec>
</sec>
<sec id="s5">
<title>Author contributions</title>
<p>MS, MM, and SW designed the study. MS, MM, MF, and KM performed the computational work related to this study. All authors contributed to the interpretation of the data and in preparing the manuscript.</p>
</sec>
<sec id="s6">
<title>Funding</title>
<p>This study was part of the Frontier-Orthosis project supported by the German Excellence Initiative within the third pillar funding of Ruprecht-Karls-Universit&#x000E4;t Heidelberg. We acknowledge financial support by Deutsche Forschungsgemeinschaft and Ruprecht-Karls-Universit&#x000E4;t Heidelberg within the funding programme Open Access Publishing.</p>
<sec>
<title>Conflict of interest statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</sec>
</body>
<back>
<ack><p>The authors thank Julia Block and Daniel Heitzmann for assistance with processing the clinical data. We also thank the Simulation and Optimization research group of the IWR at Heidelberg University for allowing us to work with the optimal control code MUSCOD-II.</p>
</ack>
<sec sec-type="supplementary-material" id="s7">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="http://journal.frontiersin.org/article/10.3389/fncom.2017.00023/full#supplementary-material">http://journal.frontiersin.org/article/10.3389/fncom.2017.00023/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="DataSheet1.ZIP" id="SM1" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Image1.pdf" id="SM2" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<p>Additional results figures are available as Supplementary Material to this article. The patient data, models, and OCP formulations are available as Supplementary Data. Further developments of this work will be maintained as an open-source public repository.<xref ref-type="fn" rid="fn0003"><sup>3</sup></xref></p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Abbas</surname> <given-names>J. J.</given-names></name> <name><surname>Chizeck</surname> <given-names>H. J.</given-names></name></person-group> (<year>1995</year>). <article-title>Neural network control of functional neuromuscular stimulation systems: computer simulation studies</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>42</volume>, <fpage>1117</fpage>&#x02013;<lpage>1127</lpage>. <pub-id pub-id-type="doi">10.1109/10.469379</pub-id><pub-id pub-id-type="pmid">7498916</pub-id></citation></ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ackermann</surname> <given-names>M.</given-names></name> <name><surname>van den Bogert</surname> <given-names>A.</given-names></name></person-group> (<year>2010</year>). <article-title>Optimality principles for model-based prediction of human gait</article-title>. <source>J. Biomech.</source> <volume>43</volume>, <fpage>1055</fpage>&#x02013;<lpage>1060</lpage>. <pub-id pub-id-type="doi">10.1016/j.jbiomech.2009.12.012</pub-id><pub-id pub-id-type="pmid">20074736</pub-id></citation></ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Anderson</surname> <given-names>D.</given-names></name> <name><surname>Madigan</surname> <given-names>M.</given-names></name> <name><surname>Nussbaum</surname> <given-names>M.</given-names></name></person-group> (<year>2007</year>). <article-title>Maximum voluntary joint torque as a function of joint angle and angular velocity: model development and application to the lower limb</article-title>. <source>J. Biomech.</source> <volume>40</volume>, <fpage>3105</fpage>&#x02013;<lpage>3113</lpage>. <pub-id pub-id-type="doi">10.1016/j.jbiomech.2007.03.022</pub-id><pub-id pub-id-type="pmid">17485097</pub-id></citation></ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Anderson</surname> <given-names>F.</given-names></name> <name><surname>Pandy</surname> <given-names>M.</given-names></name></person-group> (<year>2001</year>). <article-title>Dynamic optimization of human walking</article-title>. <source>ASME J. Biomech. Eng.</source> <volume>123</volume>, <fpage>381</fpage>&#x02013;<lpage>390</lpage>. <pub-id pub-id-type="doi">10.1115/1.1392310</pub-id><pub-id pub-id-type="pmid">11601721</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bobrow</surname> <given-names>J. E.</given-names></name> <name><surname>Dubowsky</surname> <given-names>S.</given-names></name> <name><surname>Gibson</surname> <given-names>J.</given-names></name></person-group> (<year>1985</year>). <article-title>Time-optimal control of robotic manipulators along specified paths</article-title>. <source>Int. J. Robot. Res.</source> <volume>4</volume>, <fpage>3</fpage>&#x02013;<lpage>17</lpage>. <pub-id pub-id-type="doi">10.1177/027836498500400301</pub-id></citation></ref>
<ref id="B6">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Bock</surname> <given-names>H. G.</given-names></name> <name><surname>Pitt</surname> <given-names>K. J.</given-names></name></person-group> (<year>1984</year>). <article-title>A multiple shooting algorithm for direct solution of optimal control problems</article-title>, in <source>9th IFAC World Congress</source> (<publisher-loc>Budapest</publisher-loc>).</citation></ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brooke</surname> <given-names>J.</given-names></name> <name><surname>Collins</surname> <given-names>D.</given-names></name> <name><surname>Boucher</surname> <given-names>S.</given-names></name> <name><surname>McIlroy</surname> <given-names>W.</given-names></name></person-group> (<year>1991</year>). <article-title>Modulation of human short latency reflexes between standing and walking</article-title>. <source>Brain Res.</source> <volume>548</volume>, <fpage>172</fpage>&#x02013;<lpage>178</lpage>. <pub-id pub-id-type="doi">10.1016/0006-8993(91)91119-L</pub-id><pub-id pub-id-type="pmid">1868331</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chang</surname> <given-names>G. C.</given-names></name> <name><surname>Luh</surname> <given-names>J. J.</given-names></name> <name><surname>Liao</surname> <given-names>G. D.</given-names></name> <name><surname>Lai</surname> <given-names>J. S.</given-names></name> <name><surname>Cheng</surname> <given-names>C. K.</given-names></name> <name><surname>Kuo</surname> <given-names>B. L.</given-names></name> <etal/></person-group>. (<year>1997</year>). <article-title>A neuro-control system for the knee joint position control with quadriceps stimulation</article-title>. <source>IEEE Trans. Rehabil. Eng.</source> <volume>5</volume>, <fpage>2</fpage>&#x02013;<lpage>11</lpage>. <pub-id pub-id-type="doi">10.1109/86.559344</pub-id><pub-id pub-id-type="pmid">9086380</pub-id></citation></ref>
<ref id="B9">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chang</surname> <given-names>W.-R.</given-names></name> <name><surname>Matz</surname> <given-names>S.</given-names></name></person-group> (<year>2001</year>). <article-title>The slip resistance of common footwear materials measured with two slipmeters</article-title>. <source>Appl. Ergonom.</source> <volume>32</volume>, <fpage>549</fpage>&#x02013;<lpage>558</lpage>. <pub-id pub-id-type="doi">10.1016/S0003-6870(01)00031-X</pub-id><pub-id pub-id-type="pmid">11703041</pub-id></citation></ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Choi</surname> <given-names>H.</given-names></name> <name><surname>Bjornson</surname> <given-names>K.</given-names></name> <name><surname>Fatone</surname> <given-names>S.</given-names></name> <name><surname>Steele</surname> <given-names>K. M.</given-names></name></person-group> (<year>2016</year>). <article-title>Using musculoskeletal modeling to evaluate the effect of ankle foot orthosis tuning on musculotendon dynamics: a case study</article-title>. <source>Disab. Rehabil. Assist. Technol.</source> <volume>11</volume>, <fpage>613</fpage>&#x02013;<lpage>618</lpage>. <pub-id pub-id-type="doi">10.3109/17483107.2015.1005030</pub-id><pub-id pub-id-type="pmid">25640240</pub-id></citation></ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Damsgaard</surname> <given-names>M.</given-names></name> <name><surname>Rasmussen</surname> <given-names>J.</given-names></name> <name><surname>Christensen</surname> <given-names>S.</given-names></name> <name><surname>Surma</surname> <given-names>E.</given-names></name> <name><surname>de Zee</surname> <given-names>M.</given-names></name></person-group> (<year>2006</year>). <article-title>Analysis of musculoskeletal systems in the AnyBody modeling system</article-title>. <source>Simul. Model. Pract. Theory</source> <volume>14</volume>, <fpage>1100</fpage>&#x02013;<lpage>1111</lpage>. <pub-id pub-id-type="doi">10.1016/j.simpat.2006.09.001</pub-id></citation></ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Delp</surname> <given-names>S. L.</given-names></name> <name><surname>Anderson</surname> <given-names>F.</given-names></name> <name><surname>Arnold</surname> <given-names>A.</given-names></name> <name><surname>Loan</surname> <given-names>P.</given-names></name> <name><surname>Habib</surname> <given-names>A.</given-names></name> <name><surname>John</surname> <given-names>C.</given-names></name> <etal/></person-group>. (<year>2007</year>). <article-title>Opensim: Open-source software to create and analyze dynamic simulations of movement</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>54</volume>, <fpage>1940</fpage>&#x02013;<lpage>1950</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2007.901024</pub-id><pub-id pub-id-type="pmid">18018689</pub-id></citation></ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dorn</surname> <given-names>T. W.</given-names></name> <name><surname>Lina</surname> <given-names>Y.-C.</given-names></name> <name><surname>Pandy</surname> <given-names>M. G.</given-names></name></person-group> (<year>2012</year>). <article-title>Estimates of muscle function in human gait depend on how foot-ground contact is modelled</article-title>. <source>Comput. Methods Biomech. Biomed. Eng.</source> <volume>15</volume>, <fpage>657</fpage>&#x02013;<lpage>668</lpage>. <pub-id pub-id-type="doi">10.1080/10255842.2011.554413</pub-id><pub-id pub-id-type="pmid">21614707</pub-id></citation></ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dorn</surname> <given-names>T. W.</given-names></name> <name><surname>Wang</surname> <given-names>J. M.</given-names></name> <name><surname>Hicks</surname> <given-names>J. L.</given-names></name> <name><surname>Delp</surname> <given-names>S. L.</given-names></name></person-group> (<year>2015</year>). <article-title>Predictive simulation generates human adaptations during loaded and inclined walking</article-title>. <source>PLoS ONE</source> <volume>10</volume>:<fpage>e0121407</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0121407</pub-id><pub-id pub-id-type="pmid">25830913</pub-id></citation></ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Erdemir</surname> <given-names>A.</given-names></name> <name><surname>McLeana</surname> <given-names>S.</given-names></name> <name><surname>Herzog</surname> <given-names>W.</given-names></name> <name><surname>van den Bogert</surname> <given-names>A. J.</given-names></name></person-group> (<year>2007</year>). <article-title>Model-based estimation of muscle forces exerted during movements</article-title>. <source>Clin. Biomech.</source> <volume>22</volume>, <fpage>131</fpage>&#x02013;<lpage>154</lpage>. <pub-id pub-id-type="doi">10.1016/j.clinbiomech.2006.09.005</pub-id><pub-id pub-id-type="pmid">17070969</pub-id></citation></ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Farina</surname> <given-names>D.</given-names></name> <name><surname>Merletti</surname> <given-names>R.</given-names></name> <name><surname>Enoka</surname> <given-names>R. M.</given-names></name></person-group> (<year>2014</year>). <article-title>The extraction of neural strategies from the surface emg: an update</article-title>. <source>J. Appl. Physiol.</source> <volume>117</volume>, <fpage>1215</fpage>&#x02013;<lpage>1230</lpage>. <pub-id pub-id-type="doi">10.1152/japplphysiol.00162.2014</pub-id><pub-id pub-id-type="pmid">25277737</pub-id></citation></ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Felis</surname> <given-names>M.</given-names></name> <name><surname>Mombaur</surname> <given-names>K.</given-names></name> <name><surname>Kadone</surname> <given-names>H.</given-names></name> <name><surname>Berthoz</surname> <given-names>A.</given-names></name></person-group> (<year>2013</year>). <article-title>Modeling and identification of emotional aspects of locomotion</article-title>. <source>J. Comput. Sci.</source> <volume>4</volume>, <fpage>255</fpage>&#x02013;<lpage>261</lpage>. <pub-id pub-id-type="doi">10.1016/j.jocs.2012.10.001</pub-id></citation></ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Felis</surname> <given-names>M. L.</given-names></name></person-group> (<year>2017</year>). <article-title>RBDL: an efficient rigid-body dynamics library using recursive algorithms</article-title>. <source>Auton. Robots</source> <volume>41</volume>, <fpage>495</fpage>&#x02013;<lpage>511</lpage>. <pub-id pub-id-type="doi">10.1007/s10514-016-9574-0</pub-id></citation></ref>
<ref id="B19">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Felis</surname> <given-names>M. L.</given-names></name> <name><surname>Mombaur</surname> <given-names>K.</given-names></name></person-group> (<year>2016</year>). <article-title>Synthesis of full-body 3-d human gait using optimal control methods</article-title>, in <source>IEEE International Conference on Robotics and Automation (ICRA)</source> (<publisher-loc>Stockholm</publisher-loc>), <fpage>1560</fpage>&#x02013;<lpage>1566</lpage>.</citation></ref>
<ref id="B20">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Felis</surname> <given-names>M. L.</given-names></name> <name><surname>Mombaur</surname> <given-names>K.</given-names></name> <name><surname>Berthoz</surname> <given-names>A.</given-names></name></person-group> (<year>2015</year>). <article-title>An optimal control approach to reconstruct human gait dynamics from kinematic data</article-title>, in <source>IEEE-RAS 15th International Conference on Humanoid Robots (Humanoids)</source> (<publisher-loc>Seuol</publisher-loc>), <fpage>1044</fpage>&#x02013;<lpage>1051</lpage>.</citation></ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ferrante</surname> <given-names>S.</given-names></name> <name><surname>Pedrocchi</surname> <given-names>A.</given-names></name> <name><surname>Iann</surname> <given-names>M.</given-names></name> <name><surname>Momi</surname> <given-names>E. D.</given-names></name> <name><surname>Ferrarin</surname> <given-names>M.</given-names></name> <name><surname>Ferrigno</surname> <given-names>G.</given-names></name></person-group> (<year>2004</year>). <article-title>Functional electrical stimulation controlled by artificial neural networks: pilot experiments with simple movements are promising for rehabilitation applications</article-title>. <source>Funct. Neurol.</source> <volume>19</volume>, <fpage>243</fpage>&#x02013;<lpage>252</lpage>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.functionalneurology.com/index.php?PAGE=articolo_dett&#x00026;ID_ISSUE=26&#x00026;id_article=181">http://www.functionalneurology.com/index.php?PAGE=articolo_dett&#x00026;ID_ISSUE=26&#x00026;id_article=181</ext-link><pub-id pub-id-type="pmid">15776793</pub-id></citation></ref>
<ref id="B22">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Geyer</surname> <given-names>H.</given-names></name> <name><surname>Herr</surname> <given-names>H.</given-names></name></person-group> (<year>2010</year>). <article-title>A muscle-reflex model that encodes principles of legged mechanics produces human walking dynamics and muscle activities</article-title>. <source>IEEE Trans. Neural Syst. Rehabil. Eng.</source> <volume>18</volume>, <fpage>263</fpage>&#x02013;<lpage>273</lpage>. <pub-id pub-id-type="doi">10.1109/TNSRE.2010.2047592</pub-id><pub-id pub-id-type="pmid">20378480</pub-id></citation></ref>
<ref id="B23">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Groote</surname> <given-names>F. D.</given-names></name> <name><surname>Kinney</surname> <given-names>A. L.</given-names></name> <name><surname>Rao</surname> <given-names>A. V.</given-names></name> <name><surname>Fregly</surname> <given-names>B. J.</given-names></name></person-group> (<year>2016</year>). <article-title>Evaluation of direct collocation optimal control problem formulations for solving the muscle redundancy problem</article-title>. <source>Ann. Biomed. Eng.</source> <volume>7</volume>, <fpage>1</fpage>&#x02013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.1007/s10439-016-1591-9</pub-id></citation></ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hodapp</surname> <given-names>M.</given-names></name> <name><surname>Klisch</surname> <given-names>C.</given-names></name> <name><surname>Mall</surname> <given-names>V.</given-names></name> <name><surname>Vry</surname> <given-names>J.</given-names></name> <name><surname>Berger</surname> <given-names>W.</given-names></name> <name><surname>Faist</surname> <given-names>M.</given-names></name></person-group> (<year>2007</year>). <article-title>Modulation of soleus h-reflexes during gait in children with cerebral palsy</article-title>. <source>J. Neurophysiol.</source> <volume>98</volume>, <fpage>3263</fpage>&#x02013;<lpage>3268</lpage>. <pub-id pub-id-type="doi">10.1152/jn.00471.2007</pub-id><pub-id pub-id-type="pmid">17913993</pub-id></citation></ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jensen</surname> <given-names>R. K.</given-names></name></person-group> (<year>1986</year>). <article-title>Body segment mass, radius, and radius of gyration proportions of children</article-title>. <source>J. Biomech.</source> <volume>19</volume>, <fpage>359</fpage>&#x02013;<lpage>368</lpage>. <pub-id pub-id-type="doi">10.1016/0021-9290(86)90012-6</pub-id><pub-id pub-id-type="pmid">3733761</pub-id></citation></ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jonkers</surname> <given-names>I.</given-names></name> <name><surname>Stewart</surname> <given-names>C.</given-names></name> <name><surname>Spaepen</surname> <given-names>A.</given-names></name></person-group> (<year>2003</year>). <article-title>The complementary role of the plantarflexors, hamstrings and gluteus maximus in the control of stance limb stability during gait</article-title>. <source>Gait Posture</source> <volume>17</volume>, <fpage>264</fpage>&#x02013;<lpage>272</lpage>. <pub-id pub-id-type="doi">10.1016/S0966-6362(02)00102-9</pub-id><pub-id pub-id-type="pmid">12770640</pub-id></citation></ref>
<ref id="B27">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Koch</surname> <given-names>H.</given-names></name> <name><surname>Mombaur</surname> <given-names>K.</given-names></name></person-group> (<year>2015</year>). <article-title>ExoOpt &#x02013; a framework for patient centered design optimization of lower limb exoskeletons</article-title>, in <source>2015 IEEE International Conference on Rehabilitation Robotics (ICORR)</source> (<publisher-loc>Singapore</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>113</fpage>&#x02013;<lpage>118</lpage>.</citation></ref>
<ref id="B28">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Kokkevis</surname> <given-names>E.</given-names></name></person-group> (<year>2004</year>). <article-title>Practical physics for articulated characters</article-title>, in <source>Game Developers Conference</source> (<publisher-loc>San Jose, CA</publisher-loc>).</citation></ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Leineweber</surname> <given-names>D.</given-names></name> <name><surname>Sch&#x000E4;fer</surname> <given-names>A.</given-names></name> <name><surname>Bock</surname> <given-names>H.</given-names></name> <name><surname>Schl&#x000F6;der</surname> <given-names>J.</given-names></name></person-group> (<year>2003</year>). <article-title>An efficient multiple shooting based reduced SQP strategy for large-scale dynamic process optimization: Part II: software aspects and applications</article-title>. <source>Comput. Chem. Eng.</source> <volume>27</volume>, <fpage>167</fpage>&#x02013;<lpage>174</lpage>. <pub-id pub-id-type="doi">10.1016/S0098-1354(02)00195-3</pub-id></citation></ref>
<ref id="B30">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Millard</surname> <given-names>M.</given-names></name> <name><surname>Kecskem&#x000E9;thy</surname> <given-names>A.</given-names></name></person-group> (<year>2015</year>). <article-title>A 3d foot-ground model using disk contacts</article-title>, in <source>Interdisciplinary Applications of Kinematics: Proceedings of the International Conference, Lima, Peru, September 9-11, 2013</source>, eds <person-group person-group-type="editor"><name><surname>Kecskem&#x000E9;thy</surname> <given-names>A.</given-names></name> <name><surname>Geu Flores</surname> <given-names>F.</given-names></name></person-group> (<publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing</publisher-name>), <fpage>161</fpage>&#x02013;<lpage>169</lpage>.</citation></ref>
<ref id="B31">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Millard</surname> <given-names>M.</given-names></name> <name><surname>Uchida</surname> <given-names>T.</given-names></name> <name><surname>Seth</surname> <given-names>A.</given-names></name> <name><surname>Delp</surname> <given-names>S.</given-names></name></person-group> (<year>2013</year>). <article-title>Flexing computational muscle: modeling and simulation of musculotendon dynamics</article-title>. <source>J. Biomech. Eng.</source> <volume>135</volume>:<fpage>021005</fpage>. <pub-id pub-id-type="doi">10.1115/1.4023390</pub-id><pub-id pub-id-type="pmid">23445050</pub-id></citation></ref>
<ref id="B32">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Mombaur</surname> <given-names>K.</given-names></name></person-group> (<year>2016</year>). <article-title>Optimal control for applications in medical and rehabilitation technology: challenges and solutions</article-title>, in <source>Advances in Mathematical Modeling, Optimization and Optimal Control</source>, eds <person-group person-group-type="editor"><name><surname>Hiriart-Urruty</surname> <given-names>J. B.</given-names></name> <name><surname>Korytowski</surname> <given-names>A.</given-names></name> <name><surname>Maurer</surname> <given-names>H.</given-names></name> <name><surname>Szymkat</surname> <given-names>M.</given-names></name></person-group> (<publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing</publisher-name>), <fpage>103</fpage>&#x02013;<lpage>145</lpage>.</citation></ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nakamura</surname> <given-names>Y.</given-names></name> <name><surname>Yamane</surname> <given-names>K.</given-names></name> <name><surname>Fujita</surname> <given-names>Y.</given-names></name> <name><surname>Suzuki</surname> <given-names>I.</given-names></name></person-group> (<year>2005</year>). <article-title>Somatosensory computation for man-machine interface from motion-capture data and musculoskeletal human model</article-title>. <source>IEEE Trans. Robot.</source> <volume>21</volume>, <fpage>58</fpage>&#x02013;<lpage>66</lpage>. <pub-id pub-id-type="doi">10.1109/TRO.2004.833798</pub-id></citation></ref>
<ref id="B34">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Pearson</surname> <given-names>K. G.</given-names></name> <name><surname>Gordon</surname> <given-names>J. E.</given-names></name></person-group> (<year>2013</year>). <article-title>Spinal reflexes</article-title>, in <source>Principles of Neural Science, 5th Edn.</source>, eds <person-group person-group-type="editor"><name><surname>Kandel</surname> <given-names>E. R.</given-names></name> <name><surname>Schwartz</surname> <given-names>J. H.</given-names></name> <name><surname>Jessell</surname> <given-names>T. M.</given-names></name> <name><surname>Siegelbaum</surname> <given-names>S. A.</given-names></name> <name><surname>Hudspeth</surname> <given-names>A. J.</given-names></name></person-group> (<publisher-loc>New York, NY</publisher-loc>: <publisher-name>McGraw-Hill</publisher-name>), chapter 35, <fpage>790</fpage>&#x02013;<lpage>811</lpage>.</citation></ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ren</surname> <given-names>L.</given-names></name> <name><surname>Jones</surname> <given-names>R.</given-names></name> <name><surname>Howard</surname> <given-names>D.</given-names></name></person-group> (<year>2007</year>). <article-title>Predictive modelling of human walking over a complete gait cycle</article-title>. <source>J. Biomech.</source> <volume>40</volume>, <fpage>1567</fpage>&#x02013;<lpage>1574</lpage>. <pub-id pub-id-type="doi">10.1016/j.jbiomech.2006.07.017</pub-id><pub-id pub-id-type="pmid">17070531</pub-id></citation></ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sartori</surname> <given-names>M.</given-names></name> <name><surname>Gizzi</surname> <given-names>L.</given-names></name> <name><surname>Lloyd</surname> <given-names>D. G.</given-names></name> <name><surname>Farina</surname> <given-names>D.</given-names></name></person-group> (<year>2013</year>). <article-title>A musculoskeletal model of human locomotion driven by a low dimensional set of impulsive excitation primitives</article-title>. <source>Front. Comput. Neurosci.</source> <volume>7</volume>:<fpage>79</fpage>. <pub-id pub-id-type="doi">10.3389/fncom.2013.00079</pub-id><pub-id pub-id-type="pmid">23805099</pub-id></citation></ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schultz</surname> <given-names>G.</given-names></name> <name><surname>Mombaur</surname> <given-names>K.</given-names></name></person-group> (<year>2010</year>). <article-title>Modeling and optimal control of human-like running</article-title>. <source>IEEE/ASME Trans. Mechatron.</source> <volume>15</volume>, <fpage>783</fpage>&#x02013;<lpage>792</lpage>. <pub-id pub-id-type="doi">10.1109/TMECH.2009.2035112</pub-id></citation></ref>
<ref id="B38">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schwartz</surname> <given-names>M. H.</given-names></name> <name><surname>Rozumalski</surname> <given-names>A.</given-names></name> <name><surname>Trost</surname> <given-names>J. P.</given-names></name></person-group> (<year>2008</year>). <article-title>The effect of walking speed on the gait of typically developing children</article-title>. <source>J. Biomech.</source> <volume>41</volume>, <fpage>1639</fpage>&#x02013;<lpage>1650</lpage>. <pub-id pub-id-type="doi">10.1016/j.jbiomech.2008.03.015</pub-id><pub-id pub-id-type="pmid">18466909</pub-id></citation></ref>
<ref id="B39">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sreenivasa</surname> <given-names>M.</given-names></name> <name><surname>Ayusawa</surname> <given-names>K.</given-names></name> <name><surname>Nakamura</surname> <given-names>Y.</given-names></name></person-group> (<year>2015</year>). <article-title>Modeling and identification of a realistic spiking neural network and musculoskeletal model of the human arm, and an application to the stretch reflex</article-title>. <source>IEEE Trans. Neural Syst. Rehabil. Eng.</source> <volume>24</volume>, <fpage>591</fpage>&#x02013;<lpage>602</lpage>. <pub-id pub-id-type="doi">10.1109/TNSRE.2015.2478858</pub-id><pub-id pub-id-type="pmid">26394432</pub-id></citation></ref>
<ref id="B40">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Srinivasan</surname> <given-names>S.</given-names></name> <name><surname>Raptis</surname> <given-names>I.</given-names></name> <name><surname>Westervelt</surname> <given-names>E.</given-names></name></person-group> (<year>2008</year>). <article-title>Low-dimensional sagittal plane model of normal human walking</article-title>. <source>ASME J. Biomech. Eng.</source> <volume>130</volume>:<fpage>051017</fpage>. <pub-id pub-id-type="doi">10.1115/1.2970058</pub-id><pub-id pub-id-type="pmid">19045524</pub-id></citation></ref>
<ref id="B41">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Srinivasan</surname> <given-names>S.</given-names></name> <name><surname>Westervelt</surname> <given-names>E.</given-names></name> <name><surname>Hansen</surname> <given-names>A.</given-names></name></person-group> (<year>2009</year>). <article-title>A low-dimensional sagittal-plane forward-dynamic model for asymmetric gait and its application to study the gait of transtibial prosthesis users</article-title>. <source>ASME J. Biomech. Eng.</source> <volume>131</volume>:<fpage>031003</fpage>. <pub-id pub-id-type="doi">10.1115/1.3002757</pub-id><pub-id pub-id-type="pmid">19154062</pub-id></citation></ref>
<ref id="B42">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Thelen</surname> <given-names>D. G.</given-names></name> <name><surname>Anderson</surname> <given-names>F. C.</given-names></name> <name><surname>Delp</surname> <given-names>S. L.</given-names></name></person-group> (<year>2003</year>). <article-title>Generating dynamic simulations of movement using computed muscle control</article-title>. <source>J. Biomech.</source> <volume>36</volume>, <fpage>321</fpage>&#x02013;<lpage>328</lpage>. <pub-id pub-id-type="doi">10.1016/S0021-9290(02)00432-3</pub-id><pub-id pub-id-type="pmid">12594980</pub-id></citation></ref>
<ref id="B43">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>von Stryk</surname> <given-names>O.</given-names></name> <name><surname>Schlemmer</surname> <given-names>M.</given-names></name></person-group> (<year>1994</year>). <article-title>Optimal control of the industrial robot manutec r3</article-title>, in <source>Computational Optimal Control</source>, eds <person-group person-group-type="editor"><name><surname>Bulirsch</surname> <given-names>R.</given-names></name> <name><surname>Kraft</surname> <given-names>D.</given-names></name></person-group> (<publisher-loc>Basel</publisher-loc>: <publisher-name>Birkh&#x000E4;user Basel</publisher-name>), <fpage>367</fpage>&#x02013;<lpage>382</lpage>.</citation></ref>
<ref id="B44">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>J. M.</given-names></name> <name><surname>Hamner</surname> <given-names>S. R.</given-names></name> <name><surname>Delp</surname> <given-names>S. L.</given-names></name> <name><surname>Koltun</surname> <given-names>V.</given-names></name></person-group> (<year>2012</year>). <article-title>Optimizing locomotion controllers using biologically-based actuators and objectives</article-title>. <source>ACM Trans. Graphics</source> <volume>31</volume>:<fpage>25</fpage>. <pub-id pub-id-type="doi">10.1145/2185520.2185521</pub-id><pub-id pub-id-type="pmid">26251560</pub-id></citation></ref>
<ref id="B45">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Winters</surname> <given-names>J. M.</given-names></name> <name><surname>Stark</surname> <given-names>L.</given-names></name></person-group> (<year>1988</year>). <article-title>Estimated mechanical properties of synergistic muscles involved in movements of a variety of human joints</article-title>. <source>J. Biomech.</source> <volume>21</volume>, <fpage>1027</fpage>&#x02013;<lpage>1041</lpage>. <pub-id pub-id-type="doi">10.1016/0021-9290(88)90249-7</pub-id><pub-id pub-id-type="pmid">2577949</pub-id></citation></ref>
<ref id="B46">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zajac</surname> <given-names>F.</given-names></name></person-group> (<year>1988</year>). <article-title>Muscle and tendon: properties, models, scaling, and application to biomechanics and motor control</article-title>. <source>Crit. Rev. Biomed. Eng.</source> <volume>17</volume>, <fpage>359</fpage>&#x02013;<lpage>411</lpage>. <pub-id pub-id-type="pmid">2676342</pub-id></citation></ref>
</ref-list>
<fn-group>
<fn id="fn0001"><p><sup>1</sup><ext-link ext-link-type="uri" xlink:href="https://rbdl.bitbucket.io">https://rbdl.bitbucket.io</ext-link></p></fn>
<fn id="fn0002"><p><sup>2</sup><ext-link ext-link-type="uri" xlink:href="http://simtk-confluence.stanford.edu:8080/display/OpenSim/Simulation&#x0002B;with&#x0002B;OpenSim&#x0002B;-&#x0002B;Best&#x0002B;Practices">http://simtk-confluence.stanford.edu:8080/display/OpenSim/Simulation&#x0002B;with&#x0002B;OpenSim&#x0002B;-&#x0002B;Best&#x0002B;Practices</ext-link></p></fn>
<fn id="fn0003"><p><sup>3</sup><ext-link ext-link-type="uri" xlink:href="https://github.com/manishsreenivasa/PathWalker">https://github.com/manishsreenivasa/PathWalker</ext-link></p></fn>
</fn-group>
</back>
</article>