You should break up the race into a segment for each major climb.
For example a 13 mile course that has 3500 feet of climbing can be broken down to 6 sections.
1. Mile 0-2: 1000 feet
2. Mile 2-4: -1000 feet
3. Mile 4-6: 1500 feet
4. Mile 6-8: -1000 feet
5. Mile 8-10: +1000 feet
6. Mile 10-13: -1500 feet
Uphills are going to be a measure of your cardiovascular fitness and downhills will be a measure of your focus, stability muscles, and agility.
For this made up race you should plan for 3 major efforts. Section 1, 3, and 5. You should not finish each section completely gassed but you can expect that your HR will go back down during the downhill and it will feel like a little break.
Section 3 is going to be an absolute ball-buster anything above +500 feet/mile is intense and in extra steep spots (1000 ft/mile) power walking can actually be faster and more efficient than running.
Additionally it might be a good idea to finish section 5 at max heart rate since the final downhill will carry you home.
Another thing to think about is sometimes downhills have a maximum speed they can be run due to switchbacks, rocks, roots, and downed trees.
Mountain races are essentially multiple mini races with downhill rests in between. Attack on the uphill and lock in on the downhill.