2

I would like to use transporters in my model in various places (tugboats, forklifts, reach stackers, trucks, etc.). However, my model paths and animation can't be drawn to scale, detailed explanation in brackets below. Is there a way I can move the transporter from one node to another based on travel time (similar to what a movable resource can do), rather than speed and distance? The "Move By Transporter" block does not seem to allow this and I have not been able to find a solution online. Thank you for your help.

(Explanation on why I can't draw to scale: firstly, some destination locations (storage areas, etc.) are not known yet and will just be represented by a travel delay to get there, secondly, different areas of the model will be drawn to different scales, i.e. some network paths will represent a multiple kilometers and some network paths will only represent a few hundred meters, etc.)

Jaco-Ben Vosloo
  • 3,770
  • 2
  • 16
  • 33
Christelle
  • 23
  • 3
  • Given you have a path-based network, why do you want to use transporters when normal resources will do what you want anyway? You can mix-and-match Material Handling and Process Modeling Library blocks in a single process. – Stuart Rossiter Jan 30 '22 at 22:57
  • The reason I want to use transporters is because I would like to model the interference between the transporters and record traffic density in certain areas, unless there is a way to do this with movable resources? – Christelle Jan 31 '22 at 02:15

1 Answers1

1

You can draw the paths to suit your animation and then simply set the speed of the transporter that gets seized to a speed so that the duration of the movement matches what you need it to be, and when the transporter gets released set the speed back to normal

enter image description here

Jaco-Ben Vosloo
  • 3,770
  • 2
  • 16
  • 33
  • 1
    setSpeed doesn't work with transporters I think you need to use setMaximumSpeed instead – Felipe Jan 28 '22 at 12:53
  • Correct! Thank you @Felipe, answer updated – Jaco-Ben Vosloo Jan 28 '22 at 13:01
  • 1
    Thank you @Jaco-BenVosloo and Felipe. Please note the unit.setMaximumSpeed(double, unit); didn't work, I had to typecast it to work, i.e. ((Tugboat)unit).setMaximumSpeed(double, unit); – Christelle Jan 31 '22 at 04:25
  • 1
    @Christelle thank you for the update - you are correct! I have fixed it. I have also sent this to support as TypeCasting is not needed with the Process Modelling Library - so this is maybe something they can address – Jaco-Ben Vosloo Jan 31 '22 at 05:25
  • FYI - AnyLogic support responded that because the felt option is dynamic it cant be automatically casted to the selected resource type - the Unit is just of type Transporter and you can cast manually as needed – Jaco-Ben Vosloo Feb 01 '22 at 06:45