ATTENTIONThis 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 |
#1
|
|||
|
|||
Question about item (truck) size/spacing?
In CT, it seems as though trucks register with the same length. So the spacing between 2 bobtails would be the same as the spacing between two trucks with containers if I used a spacing value of 1 and "item size" as my spacing rule. Is there a way to somehow change the spacing on a conveyor based on the itemtype? Or give an item type a unique length when it enters the conveyor?
|
#2
|
||||
|
||||
The size of an item (the truck in this case) is shown as a yellow box when you click on it. The 3d shape of the truck only takes up part of the entire size of the truck. I assume this is for better visualization with chassis and containers, turning on network nodes, and various other reasons in the yard.
As you noticed, this presents a problem on roads in the gate. You can use triggers to change the size of the truck before it enters a road. You have to also change the offsets so that the 3d shape is the correct size as well. Attached is a model that shows how to do this. The code is OnExit of GateQueue9. There is also code OnExit of GateRoad9 that sets the size back to what it originally was. You should do this before sending the truck to the yard. |
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
Jamie Santa Ana (09-25-2009) |
Thread | Thread Starter | Forum | Replies | Last Post |
How control truck rout in the yard zone? | zhang xin | Container Terminal (CT) Library | 2 | 08-31-2009 07:19 PM |
Truck Replacement Time | Jamie Santa Ana | Container Terminal (CT) Library | 1 | 08-20-2009 05:02 PM |
Set Window position and size | Nico Zahn | Q&A | 5 | 09-03-2008 02:09 PM |
size of arrays in Flexscript | Steven Hamoen | Q&A | 13 | 06-23-2008 01:04 PM |
MergeSort Spacing Rule For Recirculation | Sung Kim | Q&A | 2 | 01-21-2008 09:26 AM |