Compatibilities

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
puissancei
Posts: 46
Joined: Wed Jul 05, 2017 10:27 am

Compatibilities

Post by puissancei »

Hello,

I already use the TransportOrder.vehicleRequirements with Vehicle.transportEquipments.

Now I have to add the notion of compatibility between
- Vehicles and Goods (a vehicle can not load certain goods)
- Places and vehicles (a place can not receive certain vehicles)

What is the best way to do this ?
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Compatibilities

Post by Bernd Welter »

Hello Michel,

there are various approaches available to specifiy "VEHICLE xy can or can not take care of ORDER 123...":
Some are based on individuals such as a TransportOrders.vehicleID while others deal with categories (equipment: all vehicles who have the skill BLABLA can handle the order..).

Have a look at all the available mechanisms - depending on the details of your usecase we offer several options, sometimes there's just one perfect mechanism.

Let's get back to your rough examples:
  • Vehicles and Goods (a vehicle can not load certain goods): you might use the skills here, e.g. the critical goods require the skill "8 = radioactive waste" and only some vehicles have the equipment "8 = can handle radioactive waste". The problem here is that - depending on the number of individual potential goods the skills can run out of numbers (limited to 512 skills)
  • places and vehicles (a place can not receive certain vehicles): this sounds more like a "category" topic. Some users have a scenario based on "this site cannot be visited by trucks with trailers" and so they slice the fleet into category 1="truck without trailer" versus category 2="truck with trailer". Then the orders linked to critical locations get the category
    []={1}.
Does this answer your question? Maybe we can have a 1:1 session together with Clement to get more details about the usecase.

Best regards,
Bernd

Attention:
sometimes the separation of the "who can take care" is also linked to distance calculation. Those vehicles who have the skillset to take care of HAZARDOUS goods also require a different routing DIMA (with proper truck attributes).
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply