You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Thresholds based on Daniels, J. (2014). Daniels' Running Formula (3rd ed.), consistent with ACSM guidelines and McArdle, Katch & Katch (2015) Exercise Physiology.*
225
+
224
226
**Formula:**
225
227
```
226
228
velocity (m/min) = distance_m / time_min
@@ -231,6 +233,47 @@ VO2max = VO2 / %VO2max
231
233
232
234
Accuracy: ±3–5 ml/kg/min vs. laboratory testing. Best with efforts between **5 and 60 minutes** at near-maximal pace.
233
235
236
+
#### Contextualized estimation
237
+
238
+
`estimate_detailed_vo2max` returns a richer result that accounts for elevation, heart rate, and formula reliability:
239
+
240
+
```ruby
241
+
# Mountain 10K: 200 m elevation gain, avg HR 172, max HR 190
242
+
result = calc.estimate_detailed_vo2max(
243
+
10.0, '00:48:30',
244
+
elevation_gain_m:200,
245
+
hr_avg:172,
246
+
hr_max:190
247
+
)
248
+
249
+
result.value # => 47.7 (corrected for 1.2 km of equivalent flat distance)
250
+
result.adjusted_distance_km # => 11.2 (10 km + 200 m × 6 flat-equivalent)
251
+
result.confidence # => :high (48 min is inside the 5–60 min optimal window)
0 commit comments