Educated guess as a dev myself: perhaps the script is grouping the best efforts of a person to the best efforts per day (before starting to average the 3 best efforts), omitting the 2.850 w/kg data for September 6th (due to the other entry for September 6th).
Alright thank you Sticky! And if I’m not mistaken you were the original developer of Zwiftpower, so thank you very much for all your work. Really impressive what you’ve built with Zwiftpower.
Just two questions out of curiosity: was there any rationale as to why you’d first take the best effort per day, before searching for the best 3 values?
Also as I have been testing some calculations in recent days, would it be an idea for future Zwift developments by Zwift HQ to only use race efforts for the average? Intuitively I was calculating the Zwift averages first by only looking to races. By also mixing the group rides etc. it decreases the estimated FTP for people who have raced less than 3 races in the last 90 days. (eg. 1 race at 3.0 w/kg and 2 group rides at 2.0 w/kg would give a much lower estimated FTP on Zwiftpower than just 1 race at 3.0 w/kg)
Zwift’s new CE system uses your best performances for the 2-50min power curve regardless of ride type. IMO, it’s very unlikely Zwift would make any changes to the ZP cat system given CE is replacing it (see this thread for more info - first post is the one to read).
Alright, one final question about the FTP calculation on Zwiftpower @James_Hodges_KRT / @S_ticky_KRT . The complexity comes from: due to people changing weights the best 3 efforts in absolute FTP doesn’t have to be from the same events as the best 3 efforts in W/KG.
So my question is: does Zwiftpower use the same efforts for both the w/kg and absolute watts (watt floors) in its calculation of estimated FTP? Or does it scan previous 90 days and look for the best 3 events with w/kg efforts AND seperately look for the best 3 events based on absolute 20 min power (which means, due to changing weights, the top 3 w/kg events can be different from the top 3 event with highest 20 min power)) ?
Or to put it differently: is A1 & B1 always from the same event? And Event(A2) = Event (B2)? Event (A3) = Event (B3)? Or can the top efforts in watts and w/kg over the last 90 days be a mix of more than 3 events?
Hey @James_Hodges_KRT and @S_ticky_KRT, I have found another interesting case in which Zwiftpower does not seem to calculate the FTP as one would expect. My script which simulates Zwiftpower FTP calculation has been pretty accurate in giving identical results, but today a new situation was found in which Zwiftpower gives a surprising result:
For some reason in this rider profile (ZwiftID=905145) the November 15th, 2022 TeamTimeTrial effort is not used for the FTP estimation. As I mentioned in some posts above, I would have expected Zwiftpower to only use races towards FTP estimation, but Zwiftpower uses group rides etc. as well for FTP estimation.
However, could it be that Zwiftpower is not using plain Team Time Trials for FTP Estimation? To be precise: if events only have TYPE_TEAM_TIME_TRIAL tag in the event settings AND there is no TYPE_RACE tag; are those being overlooked by Zwiftpower? So, when TYPE_RACE is not set, is Zwiftpower including activities which are Group Rides and at the same time excluding Team Time Trials for FTP estimation?
If my above guess is not correct: do you have any idea what other reason could explain why the November 15th activity is not used to calculate the estimated FTP?