Three quick answers for race planning. The OffTrail app does the same work from your own runs and your real course.
Average pace over the whole distance, stops included. On a hilly course your running pace on the flat will be faster than this.
Uses the energy cost of running on a slope measured by Minetti and colleagues (2002). Uphill it holds up well. On steep descents real pace is slower than the model says, because braking and footing limit you before energy does.
Starting ranges from general sports-nutrition guidance, not medical advice. Sweat and stomach vary a lot between runners: practise in training, and adjust for your own sweat rate.
OffTrail reads your race's GPX, prices every climb and descent with your own uphill and downhill cost, and builds the fuelling into your plan and long runs.