PDA

View Full Version : How to set the flow of a Truck if it has a container


candido lctpc
09-13-2011, 08:57 AM
Hi!, i need some help, i have finished the model of our CT but i have been required to include in the model a new process that is already under implementation.

The fact is that when a truck arrives at a point (Gateroad or Networknode) it can flow in two directions, depending if it carries a container or if its doesnt.

In what i need some help is how to indicate the truck which flow to take. I have already seen some options like in the properties of the gateroad, in flow section in the "send to port" option, but i have no idea of how to make it work.

I hope some one can help me! :)

Phil BoBo
09-13-2011, 10:11 AM
You can use content(item) to see whether the truck has a container.

The content() of an empty truck is 1 (just the chassis). The content of a truck with container(s) is greater than 1.

candido lctpc
09-13-2011, 03:20 PM
Thank you, i have been able to make it work in Gate Roads, but all my other connections are made with network nodes, so my question is if i can do the same operation using them or i have to change that part of my connection with Gate Roads?

Phil BoBo
09-13-2011, 04:34 PM
Objects travel along the network in the shortest path to their destination. Control the destination by using the condition and the network path choices will be done automatically.

candido lctpc
09-14-2011, 09:31 AM
Thank you, in that case i think thatīs not the solution for what iīm trying to do, so, is there a way to make trucks go in a different flow depending on a case? I already try to do it with gateroads but it seems not to work if i put it between NetworkNodes or between YardtoGate and GateSink.

Phil BoBo
09-15-2011, 10:24 AM
It would be a lot easier to help you if you would attach your model so we can see what you are doing and why it isn't working for you.