[b5db22]: / Application / Examples / BikeModel / Model / Parameters.any

Download this file

20 lines (16 with data), 990 Bytes

  AnyFolder BikeParameters = {

    // Geometry parameters
    AnyVar PedalArmLength =0.17;  //Length of pedal arm
    AnyVar PedalArmWidth = 0.107; //Horizontal distance between left and right connecting point between foot and pedal
    AnyVar SaddleHeight = 0.73 ;  //Height of hip joint measured vertically from the crank
    AnyVar SaddlePos = -0.17;     //Horizontal pos of hipjoint measured from the crank
    
    // Performance parameters
    AnyVar Cadence = 80.0;   //Cadence in RPM 
    AnyVar MechOutput = 170; //Average Mechanical output over a cycle in Watt
    
    // The function for the crank moment is defined as Moment=Offset-Amp*cos(4*pi*t/T+Phase)
    AnyVar T = 60/Cadence; //Cycle time
    
    AnyVar CrankMomentTopDeadCenter = 3.0; // Crank moment at the top dead center.
    AnyVar CrankMomentOffset = (MechOutput*T)/(2*pi); 
    AnyVar CrankMomentAmp = CrankMomentOffset-CrankMomentTopDeadCenter;
    AnyVar CrankMomentPhase = -15*pi/180;
  };