In the book on page 291 I lay out an idealized plan for a 100km race and the training distance is specified in that graphic. You can use the same percentages of the events total to versus the weekly distance to determine the weekly vertical gain and loss. See week one if 48% of the event’s distance (100km) Do the same with the vertical.
Of course this plan is an EXAMPLE. Depending on your fitness you may need more or less training than those totals shown.