ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > Flexsim CT > Container Terminal (CT) Library
Downloads

  #1  
Old 09-09-2009
Jamie Santa Ana Jamie Santa Ana is offline
Flexsim User
 
Join Date: Jul 2009
Location: Southern California
Posts: 44
Downloads: 22
Uploads: 0
Thanks: 25
Thanked 4 Times in 4 Posts
Rep Power: 135
Jamie Santa Ana is on a distinguished road
Default Question on sending to different ports

Right now I have one lane that's dedicated to bobtails. It's input port is a gate process that's sending bobtails to it with "conditional port" content(item)==0. I need help on sending the bobtails to another lane when the bobtail lane is full. Any suggestions?
  #2  
Old 09-09-2009
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

You could use a Pull Requirement on the lane that pulls only bobtails. There isn't a simple pick option there, but you can change the pull requirement code to:

return content(item)==0;

Then you could just return First Available from the Gate Process and connect its first output port to the bobtail lane. This way, it tries to send bobtails to that lane first, but if it is full, it will send them to other lanes.

Is this what you want it to do?
The Following User Says Thank You to Phil BoBo For This Useful Post:
Jamie Santa Ana (09-09-2009)
  #3  
Old 09-09-2009
Jamie Santa Ana Jamie Santa Ana is offline
Flexsim User
 
Join Date: Jul 2009
Location: Southern California
Posts: 44
Downloads: 22
Uploads: 0
Thanks: 25
Thanked 4 Times in 4 Posts
Rep Power: 135
Jamie Santa Ana is on a distinguished road
Default

Yes, that's exactly it. You've been a great help.


Thread Thread Starter Forum Replies Last Post
Send flowitems to different ports by percentage! DilAmaya Container Terminal (CT) Library 7 12-26-2013 05:13 AM
Automated creation of connections between ports Matthias Hofmann Q&A 3 06-25-2008 03:04 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.