Multiple Vehicles with different operation times based on route


I have a problem and not sure how to model this.

Let’s say we have 2 different vehicle types each with different operation time, e.g., vehicle A has max operation 10 hrs, while vehicle B has max operation 20 hrs. I want to my program to select the vehicle type based on a condition, i.e., if the route has a break then, vehicle B should be used otherwise vehicle A should be used. The idea is to make sure that no route will operate no more than 10 hrs and less than 15 hrs. Either 10 hrs or less OR 15 hrs to 20 hrs.

Thank you for your support and ideas…