|
a |
|
b/Application/Examples/BikeModel/Model/Parameters.any |
|
|
1 |
AnyFolder BikeParameters = { |
|
|
2 |
|
|
|
3 |
// Geometry parameters |
|
|
4 |
AnyVar PedalArmLength =0.17; //Length of pedal arm |
|
|
5 |
AnyVar PedalArmWidth = 0.107; //Horizontal distance between left and right connecting point between foot and pedal |
|
|
6 |
AnyVar SaddleHeight = 0.73 ; //Height of hip joint measured vertically from the crank |
|
|
7 |
AnyVar SaddlePos = -0.17; //Horizontal pos of hipjoint measured from the crank |
|
|
8 |
|
|
|
9 |
// Performance parameters |
|
|
10 |
AnyVar Cadence = 80.0; //Cadence in RPM |
|
|
11 |
AnyVar MechOutput = 170; //Average Mechanical output over a cycle in Watt |
|
|
12 |
|
|
|
13 |
// The function for the crank moment is defined as Moment=Offset-Amp*cos(4*pi*t/T+Phase) |
|
|
14 |
AnyVar T = 60/Cadence; //Cycle time |
|
|
15 |
|
|
|
16 |
AnyVar CrankMomentTopDeadCenter = 3.0; // Crank moment at the top dead center. |
|
|
17 |
AnyVar CrankMomentOffset = (MechOutput*T)/(2*pi); |
|
|
18 |
AnyVar CrankMomentAmp = CrankMomentOffset-CrankMomentTopDeadCenter; |
|
|
19 |
AnyVar CrankMomentPhase = -15*pi/180; |
|
|
20 |
}; |