BikeModel3D

Hi, AnyBody Supports,
I’m now studying an example “BikeModel3D”, and there’s some questions.

  //This is the definiton of the crank moment
  AnyForce CrankMoment ={
    AnyJoint &Jnt=.CrankJoint;
    F={...BikeParameters.CrankMomentOffset-...BikeParameters.CrankMomentAmp*cos(4*pi*t/...BikeParameters.T+ ...BikeParameters.CrankMomentPhase)};
  };

In the following code, is this means giving an obstruction to the bicycle rider?
If this is right, can you tell me how the formula produced?
And what is the parameters mean, like CrankMomentTopDeadCenter,
CrankMomentOffset, CrankMomentAmp, CrankMomentPhase.

Thanks for helping,
Best regards,
Yeh

Dear Tsung-Yu Yeh,

this CrankMoment is the moment in the crank (between both pedals); you can see it maybe also as the resistance to the pedaling. It will go to the feet of the subject.
As you can see in the formula, it uses an offset-moment and then a full moment:

CrankMomentOffset - CrankMomentAmp * cos(4pit/Time + CrankMomentPhase