question

xzlee avatar image
0 Likes"
xzlee asked shaheera-bedir answered

How can I simulate cargo ship unload random amount of cargo?

I am a new learner of flexsim. I have read the official tutorials and tries to create my first project: simulate a dock.

I have made the first step: create a ship as a custom flowitem, make it travel to the dock, delay some time, then leave the dock, and finally destory the object.

Now I am trying to simulate the next step: assume that each ship has some random goods to unload at the port at the beginning, and when it reaches the dock, it will unload the goods one by one (assume the good to be a box item), and after unloading all the goods, the ship will leave.

I tried creating random number of goods when ship docks, and make a loop to simulate the unloading, but I failed. Can anyone please help me with this? Thank you so much for you all.

1695197407514.pngex001.fsm

FlexSim 22.2.0
unloadingport operation
1695197407514.png (138.5 KiB)
ex001.fsm (2.0 MiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Paula LG avatar image
1 Like"
Paula LG answered xzlee commented

Hi,

I have added the creation of a random number of boxes inside the ship (between 5 and 10 items) and a sub flow that loads/unloads them using the crane. However, the crane is defined as an AGV object, so it acts like that. Changing it for a crane object should fix that, without having to modify the activities.

ex001.fsm

I hope it helps!


ex001.fsm (2.0 MiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

xzlee avatar image xzlee commented ·

Thank you very much. It really helps me greatly. Perhaps later I would like to find how to create a quayside crane that can move along the quayside but works as a crane, but your answer has solved my problem. It is very kind of you.

0 Likes 0 ·
shaheera-bedir avatar image
0 Likes"
shaheera-bedir answered

I want to make a simulation as you, could you help me how did you draw this ship or how can i find it?

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.