At the second step of the simulation workflow, the incompatibility between the experimentally collected data (ground reaction forces and motion capture data) and the musculoskeletal model are minimized by slightly adjusting the inertial properties and kinematics of the scaled model of the simulated subject. OpenSim residual reduction algorithm (RRA) is utilized for this purpose [1]}.
