Muscle modeling

Muscles in human body can be of the following types: skeletal, smooth, and cardiac.  We are only dealing with the skeletal muscles.
The goal is to represent the geometry of a skeletal muscle attached to the appropriate bones and to develop and implement a mathematical model of this muscle which would produce realistic behavior in both active and passive modes.