(based on a C-program by Ken Roberts which I found here)

Legend: | |
---|---|

kph | = velocity [kilometers per hour] |

F_kg | = total force resisting forward motion [kilograms] |

P_a | = power output to overcome air resistance [Watts] |

P_r | = power output to overcome rolling friction [Watts] |

P_g | = power output to climb grade [Watts] |

P_t | = power loss due to drivetrain inefficiency [Watts] |

P | = P_a + P_r + P_g = total power output [Watts] |

hp | = total power output [horsepower] |

heat | = C - (P + BM) = power wasted due to human inefficiency [Watts] |

BM | = basal metabolism [Watts] |

C | = total power consumption [Watts := Joules per second] |

Cal/hr | = total power consumption [dietary Calories per hour] |

Cal/km | = total power consumption [dietary Calories per kilometer] |