Data / tutorials / q40-running-sim-export
Tutorial Q-40: Export a run from the running simulator and read it
Tutorial
Run a two-stage treadmill test in the running simulator, export the CSV, and read the heart-rate time constant, the lactate trend and a critical-speed forecast from it, each checked against values the model knows.
Files for the tutorial Export a run from the running simulator and read it (https://apopt.com/course/tutorials/q40-running-sim-export/). raw/ holds the inputs as the device or app wrote them; clean/ holds the cleaned copies the tutorial writes; expected/ holds what a correct run prints and saves, so you can check your own run.
Files
| File | Size | Rows | What it is |
|---|---|---|---|
| expected/printed-output.txt | 777 B | Everything the tutorial prints, cell by cell | |
| raw/treadmill-runner_20261202_221900.csv | 1.1 MB | 1,472 rows | SIMULATED: the running simulator's CSV export of scenario 2 (A speed step by hand), one row a second for 24.5 minutes, 124 columns, exactly as the Export CSV button writes it |
Every file has its own fixed address: copy a link and load it directly. preview.md shows the first rows of each table as text; datapackage.json lists columns, sizes and checksums.
Preview of raw/treadmill-runner_20261202_221900.csv
| # app: treadmill-runner | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| # time_unit: min | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Time (min) | mode | scenario | running | arch | arena | incline_mode | limit_reason | course_knowledge | hr_sp_bpm | hr_bpm | hr_meas_bpm | hr_band_low | hr_band_high | hr_ceiling_bpm | hr_max_bpm | hr_pct_max | speed_mps | speed_cmd_mps | speed_req_hr_mps | speed_req_lac_mps | speed_req_gap_mps | speed_sus_mps | speed_cap_mps | speed_saturated | leg_speed_mps | speed_mph | speed_kmh | pace_min_per_mile | pace_min_per_km | gap_pace_min_per_mile | gap_pace_min_per_km | lac_sp_mmol | lac_mmol | lac_meas_mmol | lac_limit_mmol | vo2_ml_kg_min | vo2_demand_ml_kg_min | power_demand_W | power_sustain_W | power_peak_W | rr_per_min | tc_c | bg_mmol_per_l | bg_mg_dl | gm_g | gl_g | gut_g | fuel_mi | wp_J | wp_mi | wp_frac | fatigue | cho_power_W | fat_power_W | cho_frac | cadence_spm | stride_m | rpe | incline_deg | grade_pct | margin_m | zombie_mps | dist_m | dist_km | dist_mi | avg_speed_mps | metric_lac_excess | metric_lac_over_s | metric_hr_excess | metric_hr_over_s | metric_in_band_s | metric_in_band_pct | metric_peak_lac | metric_peak_hr | metric_peak_tc | metric_min_bg | metric_min_margin | metric_mv_travel | metric_iae | metric_compliant | mpc_feasible | mpc_evals | mpc_solve_us | mpc_fallbacks | course_seed | dist_incline_deg | dist_hr_noise | dist_lac_noise | dist_hr_available | param_age_y | param_mass_kg | param_vo2max | param_econ | param_fthresh | param_cp_factor | param_dprime_m | param_hrmax_bpm | param_tair_c | param_rh | param_fan | param_gm0_g | param_gl0_g | param_vmax_mps | param_run_s | ctrl_Kc_hr | ctrl_tauI_hr | ctrl_tauD_hr | ctrl_Kc_lac | ctrl_tauI_lac | ctrl_Kc_gap | ctrl_tauI_gap | ctrl_ff | ctrl_vff | speed_ff_mps | ctrl_hr_frac | ctrl_gap_sp_m | ctrl_mpc_horizon_s | ctrl_mpc_lambda | ctrl_lac_margin | ctrl_hr_margin | ctrl_P | ctrl_I | ctrl_D |
| 0 | manual | step | 0 | manual | treadmill | fixed | Manual | hidden | 60 | 60 | 60.1003977 | 153.55 | 170.2 | 170.2 | 185 | 32.4324324 | 0 | 0 | 0 | 0 | 0 | 2.78666667 | 4.7025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.7 | 1 | 1.00016449 | 4 | 3.5 | 3.5 | 91.4375 | 958.7875 | 1555.09063 | 12 | 37 | 5 | 90.08 | 295 | 66 | 0 | 18 | 59137.5 | 0.118060527 | 1 | 0 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 6 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 60 | 37 | 5 | 0.75 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 2.026092e+7 | 0 | 0.8 | 0.06 | 1 | 35 | 75 | 45 | 4.15 | 0.8 | 0.8 | 190 | 185 | 20 | 0.45 | 0.6 | 295 | 66 | 6.7056 | 3600 | 0.011 | 150 | 0 | 0.2 | 420 | 0.008 | 90 | off | nominal | 0 | 0.9 | 120 | 300 | 0.35 | 0.25 | 2 | -0.00307752503 | 0.00307752503 | 0 |
| 0.0166666667 | manual | step | 1 | manual | treadmill | fixed | Manual | hidden | 60 | 60 | 60.1003977 | 153.55 | 170.2 | 170.2 | 185 | 32.4324324 | 0 | 0 | 0 | 0 | 0 | 2.78666667 | 4.7025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.7 | 1 | 1.00016449 | 4 | 3.5 | 3.5 | 91.4375 | 958.7875 | 1555.09063 | 12 | 37 | 5 | 90.08 | 294.999143 | 66 | 0 | 17.9999573 | 59137.5 | 0.118060527 | 1 | 0 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 6 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 60 | 37 | 5 | 0.75 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 2.026092e+7 | 0 | 0.8 | 0.06 | 1 | 35 | 75 | 45 | 4.15 | 0.8 | 0.8 | 190 | 185 | 20 | 0.45 | 0.6 | 295 | 66 | 6.7056 | 3600 | 0.011 | 150 | 0 | 0.2 | 420 | 0.008 | 90 | off | nominal | 0 | 0.9 | 120 | 300 | 0.35 | 0.25 | 2 | -0.00307752503 | 0.00307752503 | 0 |
| 0.0333333333 | manual | step | 1 | manual | treadmill | fixed | Manual | hidden | 60.355 | 60 | 60.2340844 | 153.55 | 170.2 | 170.2 | 185 | 32.4324324 | 0 | 0 | 0 | 0 | 0 | 2.78666667 | 4.7025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.7 | 1 | 1.00009923 | 4 | 3.5 | 3.5 | 91.4375 | 958.7875 | 1555.09063 | 12 | 37 | 5 | 90.08 | 294.998286 | 66 | 0 | 17.9999145 | 59137.5 | 0.118060527 | 1 | 0 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 6 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 60 | 37 | 5 | 0.75 | 0 | 0.355 | 1 | 1 | 0 | 0 | 0 | 2.026092e+7 | 0 | 0.8 | 0.06 | 1 | 35 | 75 | 45 | 4.15 | 0.8 | 0.8 | 190 | 185 | 20 | 0.45 | 0.6 | 295 | 66 | 6.7056 | 3600 | 0.011 | 150 | 0 | 0.2 | 420 | 0.008 | 90 | off | nominal | 0.0185777778 | 0.9 | 120 | 300 | 0.35 | 0.25 | 2 | 0.00370646683 | -0.0222842446 | 0 |
| 0.05 | manual | step | 1 | manual | treadmill | fixed | Manual | hidden | 60.71 | 60 | 60.400896 | 153.55 | 170.2 | 170.2 | 185 | 32.4324324 | 0 | 0 | 0 | 0 | 0 | 2.78666667 | 4.7025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.7 | 1 | 1.00122725 | 4 | 3.5 | 3.5 | 91.4375 | 958.7875 | 1555.09063 | 12 | 37 | 5 | 90.08 | 294.997429 | 66 | 0 | 17.9998718 | 59137.5 | 0.118060527 | 1 | 0 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 6 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 60 | 37 | 5 | 0.75 | 0 | 1.065 | 1 | 1 | 0 | 0 | 0 | 2.026092e+7 | 0 | 0.8 | 0.06 | 1 | 35 | 75 | 45 | 4.15 | 0.8 | 0.8 | 190 | 185 | 20 | 0.45 | 0.6 | 295 | 66 | 6.7056 | 3600 | 0.011 | 150 | 0 | 0.2 | 420 | 0.008 | 90 | off | nominal | 0.0371555556 | 0.9 | 120 | 300 | 0.35 | 0.25 | 2 | 0.00947506812 | -0.0466306237 | 0 |
| 0.0666666667 | manual | step | 1 | manual | treadmill | fixed | Manual | hidden | 61.065 | 60 | 60.5793512 | 153.55 | 170.2 | 170.2 | 185 | 32.4324324 | 0 | 0 | 0 | 0 | 0 | 2.78666667 | 4.7025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.7 | 1 | 1.00120461 | 4 | 3.5 | 3.5 | 91.4375 | 958.7875 | 1555.09063 | 12 | 37 | 5 | 90.08 | 294.996572 | 66 | 0 | 17.9998291 | 59137.5 | 0.118060527 | 1 | 0 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 6 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 60 | 37 | 5 | 0.75 | 0 | 2.13 | 1 | 1 | 0 | 0 | 0 | 2.026092e+7 | 0 | 0.8 | 0.06 | 1 | 35 | 75 | 45 | 4.15 | 0.8 | 0.8 | 190 | 185 | 20 | 0.45 | 0.6 | 295 | 66 | 6.7056 | 3600 | 0.011 | 150 | 0 | 0.2 | 420 | 0.008 | 90 | off | nominal | 0.0557333333 | 0.9 | 120 | 300 | 0.35 | 0.25 | 2 | 0.0148867533 | -0.0706200866 | 0 |
| 0.0833333333 | manual | step | 1 | manual | treadmill | fixed | Manual | hidden | 61.42 | 60 | 60.583528 | 153.55 | 170.2 | 170.2 | 185 | 32.4324324 | 0 | 0 | 0 | 0 | 0 | 2.78666667 | 4.7025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.7 | 1 | 0.999995076 | 4 | 3.5 | 3.5 | 91.4375 | 958.7875 | 1555.09063 | 12 | 37 | 5 | 90.08 | 294.995716 | 66 | 0 | 17.9997864 | 59137.5 | 0.118060527 | 1 | 0 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 6 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 60 | 37 | 5 | 0.75 | 0 | 3.55 | 1 | 1 | 0 | 0 | 0 | 2.026092e+7 | 0 | 0.8 | 0.06 | 1 | 35 | 75 | 45 | 4.15 | 0.8 | 0.8 | 190 | 185 | 20 | 0.45 | 0.6 | 295 | 66 | 6.7056 | 3600 | 0.011 | 150 | 0 | 0.2 | 420 | 0.008 | 90 | off | nominal | 0.0743111111 | 0.9 | 120 | 300 | 0.35 | 0.25 | 2 | 0.0256406546 | -0.0999517657 | 0 |
First 8 of 1,472 rows.
Where it came from
- Source: Data-Driven Athletics tutorials (IRSRI, 2027)
- Removed: nothing; inputs are synthetic, published course data, or the instructor's own
- Permission: Published with the course under CC BY 4.0
- Prepared with:
dda/tutorials/build.py
Load it
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q40-running-sim-export/raw/treadmill-runner_20261202_221900.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q40-running-sim-export/raw/treadmill-runner_20261202_221900.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-40: Export a run from the running simulator and read it. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q40-running-sim-export/