Private
Public Access
1
0

using rpe to calculate trimp/tss

This commit is contained in:
Sander Roosendaal
2020-12-02 15:38:50 +01:00
parent c909c401dc
commit b6785c9376
4 changed files with 33 additions and 4 deletions

View File

@@ -13,6 +13,20 @@ from rowers.mytypes import otwtypes,otetypes,rowtypes
#p0 = [500,350,10,8000]
p0 = [190,200,33,16000]
# RPE to TSS
rpetotss = {
1:20,
2:30,
3:40,
4:50,
5:60,
6:70,
7:80,
8:100,
9:120,
10:140,
}
def updatecp(delta,cpvalues,r,workouttype='water'):
if workouttype in otwtypes:
p0 = r.p0