Data / tutorials / q41-cycling-sim-export
Tutorial Q-41: Drag and rolling resistance from a cycling-simulator export
Tutorial
Ride an exertion-step scenario in the cycling simulator, export the CSV, and fit the rider's drag area and rolling resistance from power and speed by least squares, then check them against the values the simulator used.
Files for the tutorial Drag and rolling resistance from a cycling-simulator export (https://apopt.com/course/tutorials/q41-cycling-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 | 646 B | Everything the tutorial prints, cell by cell | |
| raw/cycling-rider_20261202_221900.csv | 1.2 MB | 1,503 rows | SIMULATED: the cycling simulator's CSV export of scenario 2 (Exertion steps, and the step that fades), one row a second for 25 minutes, 134 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/cycling-rider_20261202_221900.csv
| # app: cycling-rider | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| # time_unit: min | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Time (min) | mode | scenario | running | arch | profile | course_mode | course_knowledge | gear_mode | measurement_mode | limit_reason | selected | limit_code | model_version | exertion_pct | exertion_cmd_pct | exertion_saturated | req_power_pct | req_hr_pct | req_lac_pct | power_sp_W | power_W | power_meas_W | power_asked_W | power_shortfall_W | cp_W | power_top_W | wheel_power_W | w_per_kg | watts_per_pct | avg_power_W | work_kJ | cadence_rpm | torque_Nm | drive_force_N | gear_ratio | gear_index | speed_mps | speed_kmh | speed_mph | dist_m | dist_km | alt_m | climb_m | grade_pct | headwind_mps | aero_N | roll_N | gravity_N | brake_N | brake_W | brake_kJ | hr_sp_bpm | hr_bpm | hr_meas_bpm | hr_limit_bpm | hr_signal | lac_sp_mmol | lac_mmol | lac_meas_mmol | lac_limit_mmol | vo2_ml_kg_min | vo2_demand_ml_kg_min | metabolic_W | efficiency | rr_per_min | core_c | airflow | heat_made_W | heat_evap_W | heat_dry_W | wp_J | wp_kJ | wp_frac | fatigue | gm_g | gl_g | gut_g | bg_mmol_l | bg_mg_dl | bg_sensor_mmol_l | cho_power_W | fat_power_W | cho_frac | metric_lac_excess | metric_hr_excess | metric_peak_lac | metric_peak_hr | metric_peak_tc | metric_min_bg | metric_min_wp_J | metric_torque_s | metric_empty_s | metric_mv_travel | metric_compliant | mpc_feasible | mpc_evals | mpc_solve_us | mpc_fallbacks | dist_hr_noise | dist_power_noise | param_mass_kg | param_bike_mass_kg | param_vo2max | param_hrmax | param_cp_W | param_lactate_power_W | param_wprime_J | param_peak_W | param_exert_cp | param_eta | param_cda_m2 | param_crr | param_gear_low | param_gear_high | param_tair_c | param_rh | param_fan | param_gm0_g | param_gl0_g | param_ride_s | param_route_m | ctrl_Kc_P | ctrl_tauI_P | ctrl_Kc_hr | ctrl_tauI_hr | ctrl_Kc_lac | ctrl_tauI_lac | ctrl_hr_ramp_s | ctrl_u_rate | ctrl_mpc_horizon_s | ctrl_mpc_lambda | ctrl_lac_margin | ctrl_hr_margin |
| 0 | manual | steps | 0 | manual | recreational | fixed | hidden | auto | ideal | Manual exertion | manual | stopped | cycling-2026-09-24 | 0 | 0 | 0 | 0 | 0 | 0 | 200 | 0 | 1.79488829 | 0 | 0 | 220 | 950 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.68484874 | 0 | 0 | 0 | 0 | 168 | 60 | 60.0375735 | 170.2 | 1 | 3.7 | 1 | 1 | 4 | 3.5 | 3.5 | 91.4375 | 0.230905778 | 12 | 37 | 0 | 91.4375 | 0 | 0 | 16000 | 16 | 1 | 0 | 350 | 75 | 0 | 5 | 90.08 | 5 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 1 | 60 | 37 | 5 | 16000 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0.8 | 4 | 75 | 8.5 | 48 | 185 | 220 | 210 | 16000 | 950 | 0.75 | 0.235 | 0.32 | 0.0045 | 1.21 | 4.55 | 20 | 0.45 | 0 | 350 | 75 | 3600 | 0 | 0.5 | 12 | 0.004 | 150 | 0.03 | 420 | 0 | 0.04 | 300 | 0.35 | 0.25 | 2 |
| 0.0166666667 | manual | steps | 1 | manual | recreational | fixed | hidden | auto | ideal | Manual exertion | manual | stopped | cycling-2026-09-24 | 0 | 0 | 0 | 0 | 0 | 0 | 200 | 0 | 1.79488829 | 0 | 0 | 220 | 950 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.68484874 | 0 | 0 | 0 | 0 | 168 | 60 | 60.0375735 | 170.2 | 1 | 3.7 | 1 | 1 | 4 | 3.5 | 3.5 | 91.4375 | 0.230905778 | 12 | 37 | 0 | 91.4375 | 0 | 0 | 16000 | 16 | 1 | 0 | 349.999143 | 75 | 0 | 5 | 90.08 | 5 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 1 | 60 | 37 | 5 | 16000 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0.8 | 4 | 75 | 8.5 | 48 | 185 | 220 | 210 | 16000 | 950 | 0.75 | 0.235 | 0.32 | 0.0045 | 1.21 | 4.55 | 20 | 0.45 | 0 | 350 | 75 | 3600 | 0 | 0.5 | 12 | 0.004 | 150 | 0.03 | 420 | 0 | 0.04 | 300 | 0.35 | 0.25 | 2 |
| 0.0333333333 | manual | steps | 1 | manual | recreational | fixed | hidden | auto | ideal | Manual exertion | manual | stopped | cycling-2026-09-24 | 0 | 0 | 0 | 0 | 0 | 0 | 200 | 0 | 1.86834608 | 0 | 0 | 220 | 950 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.68484874 | 0 | 0 | 0 | 0 | 168 | 60 | 60.1368537 | 170.2 | 1 | 3.7 | 1 | 1 | 4 | 3.5 | 3.5 | 91.4375 | 0.230905778 | 12 | 37 | 0 | 91.4375 | 0 | 0 | 16000 | 16 | 1 | 0 | 349.998286 | 75 | 0 | 5 | 90.08 | 5 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 1 | 60 | 37 | 5 | 16000 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0.8 | 4 | 75 | 8.5 | 48 | 185 | 220 | 210 | 16000 | 950 | 0.75 | 0.235 | 0.32 | 0.0045 | 1.21 | 4.55 | 20 | 0.45 | 0 | 350 | 75 | 3600 | 0 | 0.5 | 12 | 0.004 | 150 | 0.03 | 420 | 0 | 0.04 | 300 | 0.35 | 0.25 | 2 |
| 0.05 | manual | steps | 1 | manual | recreational | fixed | hidden | auto | ideal | Manual exertion | manual | stopped | cycling-2026-09-24 | 0 | 0 | 0 | 0 | 0 | 0 | 200 | 0 | 0.998494358 | 0 | 0 | 220 | 950 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.68484874 | 0 | 0 | 0 | 0 | 168 | 60 | 60.1221596 | 170.2 | 1 | 3.7 | 1 | 1 | 4 | 3.5 | 3.5 | 91.4375 | 0.230905778 | 12 | 37 | 0 | 91.4375 | 0 | 0 | 16000 | 16 | 1 | 0 | 349.997429 | 75 | 0 | 5 | 90.08 | 5 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 1 | 60 | 37 | 5 | 16000 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0.8 | 4 | 75 | 8.5 | 48 | 185 | 220 | 210 | 16000 | 950 | 0.75 | 0.235 | 0.32 | 0.0045 | 1.21 | 4.55 | 20 | 0.45 | 0 | 350 | 75 | 3600 | 0 | 0.5 | 12 | 0.004 | 150 | 0.03 | 420 | 0 | 0.04 | 300 | 0.35 | 0.25 | 2 |
| 0.0666666667 | manual | steps | 1 | manual | recreational | fixed | hidden | auto | ideal | Manual exertion | manual | stopped | cycling-2026-09-24 | 0 | 0 | 0 | 0 | 0 | 0 | 200 | 0 | 0.280581573 | 0 | 0 | 220 | 950 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.68484874 | 0 | 0 | 0 | 0 | 168 | 60 | 60.0022333 | 170.2 | 1 | 3.7 | 1 | 1 | 4 | 3.5 | 3.5 | 91.4375 | 0.230905778 | 12 | 37 | 0 | 91.4375 | 0 | 0 | 16000 | 16 | 1 | 0 | 349.996572 | 75 | 0 | 5 | 90.08 | 5 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 1 | 60 | 37 | 5 | 16000 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0.8 | 4 | 75 | 8.5 | 48 | 185 | 220 | 210 | 16000 | 950 | 0.75 | 0.235 | 0.32 | 0.0045 | 1.21 | 4.55 | 20 | 0.45 | 0 | 350 | 75 | 3600 | 0 | 0.5 | 12 | 0.004 | 150 | 0.03 | 420 | 0 | 0.04 | 300 | 0.35 | 0.25 | 2 |
| 0.0833333333 | manual | steps | 1 | manual | recreational | fixed | hidden | auto | ideal | Manual exertion | manual | stopped | cycling-2026-09-24 | 0 | 0 | 0 | 0 | 0 | 0 | 200 | 0 | 0.390572249 | 0 | 0 | 220 | 950 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.68484874 | 0 | 0 | 0 | 0 | 168 | 60 | 59.8940491 | 170.2 | 1 | 3.7 | 1 | 1 | 4 | 3.5 | 3.5 | 91.4375 | 0.230905778 | 12 | 37 | 0 | 91.4375 | 0 | 0 | 16000 | 16 | 1 | 0 | 349.995716 | 75 | 0 | 5 | 90.08 | 5 | 18.2875 | 73.15 | 0.2 | 0 | 0 | 1 | 60 | 37 | 5 | 16000 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0.8 | 4 | 75 | 8.5 | 48 | 185 | 220 | 210 | 16000 | 950 | 0.75 | 0.235 | 0.32 | 0.0045 | 1.21 | 4.55 | 20 | 0.45 | 0 | 350 | 75 | 3600 | 0 | 0.5 | 12 | 0.004 | 150 | 0.03 | 420 | 0 | 0.04 | 300 | 0.35 | 0.25 | 2 |
First 8 of 1,503 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/q41-cycling-sim-export/raw/cycling-rider_20261202_221900.csv")const text = await (await fetch("https://apopt.com/data/tutorials/q41-cycling-sim-export/raw/cycling-rider_20261202_221900.csv")).text();Or download load.py / load.js.
How to cite
Tutorial Q-41: Drag and rolling resistance from a cycling-simulator export. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q41-cycling-sim-export/