- #1
martonhorvath
- 18
- 0
- Homework Statement
- I created an algorithm for calculating the time gain resulting from "extra" power output over headwind or tailwind sections to model different pacing strategies in cycling and cross-country skiing. A course is modelled as an uphill and downhill consisting of the same distance with the same incline (##\alpha##).
As a next step, I want to assume a "pool" of W as a capacity for the given course (same distance against headwind and tailwind(s)) and calculate the optimal distribution of work and power output over the section for maximising average speed over the course (2s).
- Relevant Equations
- ##W_{total} = W_{1} + W{2} = W_{total}×k + W_{total}*(1-k)##, an optimal ##k## is needed to be found for maximal average speed over the course (headwind and tailwind together).
$$W = W_{gravity} + W_{friction} + W_{air}$$
Dividing by s:
$$F_{total} = mg(sin(\alpha)+\mu cos(\alpha))+0.5×C_{d}A\rho×(v+v_{wind}×sin(\beta))^2$$
Then expressing v for both sections separately:
headwind:
$$0.5×C_{d}A\rho×v^2+v_{wind}×sin(\beta)×C_{d}A\rho×v+mg(sin(\alpha)+\mu cos(\alpha))+0.5×C_{d}A\rho×(v_{wind}×sin(\beta))^2-F_{1}=0$$
tailwind:
$$0.5×C_{d}A\rho×v^2-v_{wind}×sin(\beta)×C_{d}A\rho×v+mg(sin(\alpha)+\mu cos(\alpha))+0.5×C_{d}A\rho×(v_{wind}×sin(\beta))^2-F_{2}=0$$
where ##F_{1}=F_{total}×k## and ##F_{2}=F_{total}×(1-k)##
Then I used the quadratic formula but got clearly wrong results for ##v##. If ##v## would be correct then I would continue with calculating the times spent in each section, then average speed.
I would like to ask for some help because I don't know where I mistake.
Dividing by s:
$$F_{total} = mg(sin(\alpha)+\mu cos(\alpha))+0.5×C_{d}A\rho×(v+v_{wind}×sin(\beta))^2$$
Then expressing v for both sections separately:
headwind:
$$0.5×C_{d}A\rho×v^2+v_{wind}×sin(\beta)×C_{d}A\rho×v+mg(sin(\alpha)+\mu cos(\alpha))+0.5×C_{d}A\rho×(v_{wind}×sin(\beta))^2-F_{1}=0$$
tailwind:
$$0.5×C_{d}A\rho×v^2-v_{wind}×sin(\beta)×C_{d}A\rho×v+mg(sin(\alpha)+\mu cos(\alpha))+0.5×C_{d}A\rho×(v_{wind}×sin(\beta))^2-F_{2}=0$$
where ##F_{1}=F_{total}×k## and ##F_{2}=F_{total}×(1-k)##
Then I used the quadratic formula but got clearly wrong results for ##v##. If ##v## would be correct then I would continue with calculating the times spent in each section, then average speed.
I would like to ask for some help because I don't know where I mistake.
Last edited: