You are viewing the documentation for OpenSim 2.4. Are you looking for the latest OpenSim 4.0 Documentation?

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

In this section, we will create a muscle model that characterizes fatigue. We will then adapt the example from Chapter 2 to use this new type of muscle model. The resulting source code and associated files for this example come with the OpenSim 2.0 distribution under the directory:

C:\Program Files\OpenSim 2.0\sdk\APIExamples\MuscleExample

When creating a new muscle model, you can start from scratch by deriving from the base class, Muscle, or you can derive alter an existing muscle model. In this example, we will add the effects of muscle fiber fatigue to Thelen2003Muscle, but we could just as easily do this to Schutte1993Muscle or Delp1990Muscle.

Muscle modeling overview

A muscle is defined by a path and a set of force-generating parameters. The path of a muscle is stored in a GeometryPath object owned by the base class, Muscle. The force-generating parameters are usually different for each type of muscle, so they are stored in the derived muscle classes. A muscle also typically has one or more states (though it can have zero) whose differential equations describe the force, length, and activation behavior of the muscle. Thelen2003Muscle has 2 states.

Next: Custom Muscle Model Part One

 

  • No labels