apopt.com

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

FileSizeRowsWhat it is
expected/printed-output.txt777 BEverything the tutorial prints, cell by cell
raw/treadmill-runner_20261202_221900.csv1.1 MB1,472 rowsSIMULATED: 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)modescenariorunningarcharenaincline_modelimit_reasoncourse_knowledgehr_sp_bpmhr_bpmhr_meas_bpmhr_band_lowhr_band_highhr_ceiling_bpmhr_max_bpmhr_pct_maxspeed_mpsspeed_cmd_mpsspeed_req_hr_mpsspeed_req_lac_mpsspeed_req_gap_mpsspeed_sus_mpsspeed_cap_mpsspeed_saturatedleg_speed_mpsspeed_mphspeed_kmhpace_min_per_milepace_min_per_kmgap_pace_min_per_milegap_pace_min_per_kmlac_sp_mmollac_mmollac_meas_mmollac_limit_mmolvo2_ml_kg_minvo2_demand_ml_kg_minpower_demand_Wpower_sustain_Wpower_peak_Wrr_per_mintc_cbg_mmol_per_lbg_mg_dlgm_ggl_ggut_gfuel_miwp_Jwp_miwp_fracfatiguecho_power_Wfat_power_Wcho_fraccadence_spmstride_mrpeincline_deggrade_pctmargin_mzombie_mpsdist_mdist_kmdist_miavg_speed_mpsmetric_lac_excessmetric_lac_over_smetric_hr_excessmetric_hr_over_smetric_in_band_smetric_in_band_pctmetric_peak_lacmetric_peak_hrmetric_peak_tcmetric_min_bgmetric_min_marginmetric_mv_travelmetric_iaemetric_compliantmpc_feasiblempc_evalsmpc_solve_usmpc_fallbackscourse_seeddist_incline_degdist_hr_noisedist_lac_noisedist_hr_availableparam_age_yparam_mass_kgparam_vo2maxparam_econparam_fthreshparam_cp_factorparam_dprime_mparam_hrmax_bpmparam_tair_cparam_rhparam_fanparam_gm0_gparam_gl0_gparam_vmax_mpsparam_run_sctrl_Kc_hrctrl_tauI_hrctrl_tauD_hrctrl_Kc_lacctrl_tauI_lacctrl_Kc_gapctrl_tauI_gapctrl_ffctrl_vffspeed_ff_mpsctrl_hr_fracctrl_gap_sp_mctrl_mpc_horizon_sctrl_mpc_lambdactrl_lac_marginctrl_hr_marginctrl_Pctrl_Ictrl_D
0manualstep0manualtreadmillfixedManualhidden606060.1003977153.55170.2170.218532.4324324000002.786666674.7025000000003.711.0001644943.53.591.4375958.78751555.090631237590.082956601859137.50.1180605271018.287573.150.2006000.75000000000001603750.7500110002.026092e+700.80.0613575454.150.80.8190185200.450.6295666.705636000.01115000.24200.00890offnominal00.91203000.350.252-0.003077525030.003077525030
0.0166666667manualstep1manualtreadmillfixedManualhidden606060.1003977153.55170.2170.218532.4324324000002.786666674.7025000000003.711.0001644943.53.591.4375958.78751555.090631237590.08294.99914366017.999957359137.50.1180605271018.287573.150.2006000.75000000000001603750.7500110002.026092e+700.80.0613575454.150.80.8190185200.450.6295666.705636000.01115000.24200.00890offnominal00.91203000.350.252-0.003077525030.003077525030
0.0333333333manualstep1manualtreadmillfixedManualhidden60.3556060.2340844153.55170.2170.218532.4324324000002.786666674.7025000000003.711.0000992343.53.591.4375958.78751555.090631237590.08294.99828666017.999914559137.50.1180605271018.287573.150.2006000.75000000000001603750.7500.355110002.026092e+700.80.0613575454.150.80.8190185200.450.6295666.705636000.01115000.24200.00890offnominal0.01857777780.91203000.350.2520.00370646683-0.02228424460
0.05manualstep1manualtreadmillfixedManualhidden60.716060.400896153.55170.2170.218532.4324324000002.786666674.7025000000003.711.0012272543.53.591.4375958.78751555.090631237590.08294.99742966017.999871859137.50.1180605271018.287573.150.2006000.75000000000001603750.7501.065110002.026092e+700.80.0613575454.150.80.8190185200.450.6295666.705636000.01115000.24200.00890offnominal0.03715555560.91203000.350.2520.00947506812-0.04663062370
0.0666666667manualstep1manualtreadmillfixedManualhidden61.0656060.5793512153.55170.2170.218532.4324324000002.786666674.7025000000003.711.0012046143.53.591.4375958.78751555.090631237590.08294.99657266017.999829159137.50.1180605271018.287573.150.2006000.75000000000001603750.7502.13110002.026092e+700.80.0613575454.150.80.8190185200.450.6295666.705636000.01115000.24200.00890offnominal0.05573333330.91203000.350.2520.0148867533-0.07062008660
0.0833333333manualstep1manualtreadmillfixedManualhidden61.426060.583528153.55170.2170.218532.4324324000002.786666674.7025000000003.710.99999507643.53.591.4375958.78751555.090631237590.08294.99571666017.999786459137.50.1180605271018.287573.150.2006000.75000000000001603750.7503.55110002.026092e+700.80.0613575454.150.80.8190185200.450.6295666.705636000.01115000.24200.00890offnominal0.07431111110.91203000.350.2520.0256406546-0.09995176570

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/