Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
960 views
in Technique[技术] by (71.8m points)

simulation - How to create multiple unloading dock using the selectOutput block?

I am working on a warehouse simulation model and I cannot figure out how to increase the number of unloading docks while limiting the docks to one supplier truck. I got it working with 2 unloading docks using the select out with the condition is true when Unload_dock_1.isBlocked(). Anyone has tips on how to increase the number of unloading dock while keeping the restriction of 1 truck per unloading dock until released later.

Current model with two unloading docks

Kind regards, Stefan

question from:https://stackoverflow.com/questions/65888699/how-to-create-multiple-unloading-dock-using-the-selectoutput-block

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You can duplicate several blocks into 1 agent and re-use it as many times as you want. Select the blocks, right-click and select "turn into agent" (or similar). Then, you can parameterize that and re-use 2 times, 5 times or 99 times.

Check the Youtube tutorial on the concept: https://youtu.be/0Nu1a9Te6ac


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...