CP estimate for different sports in Perspectives

276 views
Skip to first unread message

Joss Winn

unread,
Jan 4, 2023, 6:12:12 AM1/4/23
to golden-cheetah-users
I have different Perspectives set up for Running and Rowing and the Power Duration charts correctly model different curves for the two sports. However, when I add 'CP Estimate' and 'W' Estimate' KPI tiles to each Perspective, the Running CP estimate is shown for both Running and Rowing, instead of showing different CP numbers for each sport. 

My Rowing CP estimate on the Power Duration chart is 227W and my Running CP estimate on the Power Duration chart is 278W, but the CP Estimate tile shows 278W on both Perspectives. 

The Perspective should filter out the different sports and if I add a Sport = "Rowing" filter to the Rowing tile, it makes no difference. 

Thanks for any advice.

Ale Martinez

unread,
Jan 4, 2023, 6:24:06 AM1/4/23
to golden-cheetah-users
Pre-computed estimates are available only for Bike and Run.

Ale Martinez

unread,
Jan 13, 2023, 2:57:27 PM1/13/23
to golden-cheetah-users
El miércoles, 4 de enero de 2023 a la(s) 08:24:06 UTC-3, Ale Martinez escribió:
Pre-computed estimates are available only for Bike and Run.

Fixed in https://github.com/GoldenCheetah/GoldenCheetah/pull/4307, it will be available for testing in next snapshot builds.

Joss Winn

unread,
Jan 18, 2023, 4:48:21 AM1/18/23
to golden-cheetah-users
This doesn’t work for me on the latest build. The KPI tile with CP Estimate still gives the Run CP estimate on a Rowing Trends Perspective. Also, when I add Peak CP Estimate and Peak W’ Estimate, it shows zero.

Ale Martinez

unread,
Jan 18, 2023, 10:14:59 AM1/18/23
to golden-cheetah-users
Just saying "this doesn't work" is not very helpful... Can you export and attach the perspective you are talking about, or at least the formula you are using in the KPI tiles? 

Joss Winn

unread,
Jan 18, 2023, 10:21:21 AM1/18/23
to golden-cheetah-users
Yes, sorry. Here’s the Perspective. I have the activities filter set as 

Sport = “Rowing"

I copied the formulas from my Running Perspective, which includes them by default. 

Other metrics and charts work fine. 

Joss
Trends Rowing.gchartset

Ale Martinez

unread,
Jan 18, 2023, 3:11:44 PM1/18/23
to golden-cheetah-users
I think I understand what's happening, for estimates to work you should list Rowing as Row in Sport values: https://github.com/GoldenCheetah/GoldenCheetah/wiki/UG_Preferences_Data-Fields
I know FIT files are imported as Rowing but internally the normalized name is Row even if Sport="Rowing", except for the list above. I will fix this discrepancy in next builds.

Joss Winn

unread,
Jan 29, 2023, 4:29:15 AM1/29/23
to golden-cheetah-users
I’ve downloaded the new snapshot and also changed ‘Rowing’ to ‘Row’ in the Sport Data Fields under Options. 

The Peak CP Estimate tile is giving different numbers for Rowing and Running but the CP estimate tile shows running CP for both sports. It has this code: 

{ round(estimate(ext,cp)); }

Peak tile has this in it:

{

round(max(estimates(ext,cp)));

}



W’ Estimate is the same for both Sports, but Peak W’ Estimate is different. 

Thanks for your help

--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "golden-cheetah-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golden-cheetah-users/pRihKt8uabA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golden-cheetah-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/491eca3d-e838-47a1-93f0-ffc1019233a6n%40googlegroups.com.

Ale Martinez

unread,
Jan 29, 2023, 10:15:15 AM1/29/23
to golden-cheetah-users
El domingo, 29 de enero de 2023 a la(s) 06:29:15 UTC-3, jo...@josswinn.org escribió:
I’ve downloaded the new snapshot and also changed ‘Rowing’ to ‘Row’ in the Sport Data Fields under Options. 

The latest change makes this unnecessary, you can continue to use Rowing if you prefer to.

The Peak CP Estimate tile is giving different numbers for Rowing and Running but the CP estimate tile shows running CP for both sports. It has this code: 

{ round(estimate(ext,cp)); }

Peak tile has this in it:

{

round(max(estimates(ext,cp)));

}



W’ Estimate is the same for both Sports, but Peak W’ Estimate is different. 

The question is: should they be different? (A rethorical question, no need to answer)

As explained in the wiki the current logic is (should be?): for Activities view the selected activity sport is used, for Trends the sport Bike unless all activities involved are from the same sport, in which case that is the sport used.
You can use a Metrics Trends or User chart to plot all the weekly estimates from the period.
Finally, starting GC with —debug-rules GC.estimator.debug=true sends more information to goldencheetah.log when estimates are computed at startup.
Reply all
Reply to author
Forward
0 new messages