Assign the same TSS score to FreeRide as Zwift does
This commit is contained in:
parent
9a2e3dafc9
commit
6200dc75c1
|
|
@ -116,7 +116,6 @@ console.log(stats(workout));
|
|||
- Unsupported params: message duration & y-position
|
||||
- More restricted syntax for text (with quotes)
|
||||
- Concatenate similar intervals
|
||||
- Sync TSS prediction of free-ride with Zwift (64 TSS for 1h freeride)
|
||||
- Distinguish between terrain-sensitive and insensitive free-ride.
|
||||
- Syntax for comments placed relative to previous ones, e.g. `@ +00:10`
|
||||
- Detect overlaps of comments.
|
||||
|
|
|
|||
|
|
@ -49,15 +49,16 @@ export class RangeIntensity implements Intensity {
|
|||
|
||||
export class FreeIntensity implements Intensity {
|
||||
get value() {
|
||||
return 0;
|
||||
// To match Zwift, which gives 64 TSS for 1h of freeride.
|
||||
return 0.8;
|
||||
}
|
||||
|
||||
get start() {
|
||||
return 0;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
get end() {
|
||||
return 0;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
get zone() {
|
||||
|
|
|
|||
|
|
@ -300,10 +300,10 @@ exports[`Generate stats examples/ftp-test.txt 1`] = `
|
|||
"
|
||||
Total duration: 45 minutes
|
||||
|
||||
Average intensity: 36%
|
||||
Normalized intensity: 71%
|
||||
Average intensity: 72%
|
||||
Normalized intensity: 81%
|
||||
|
||||
TSS: 37
|
||||
TSS: 49
|
||||
XP: 336
|
||||
|
||||
Zone Distribution:
|
||||
|
|
|
|||
Loading…
Reference in New Issue