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
|
|||
|
|||
Problem with Processor Output
We are trying to simulate 5 different parts being processed within a plant. So we have created all the processors corresponding to the machines at this plant. We have also set different Itemtypes for each part entering from the source node like We also used 5 queues for each of the parts leaving or entering a particular machine. We also set each part as a different colour so that it would be easier to see the flow of the different parts in the system. The problem we are having is that the output queues for each of our machines are having different parts entering them even though we specified that we wanted a specific itemtype to only enter that queue.
Thank you. |
#3
|
||||
|
||||
There are two areas where your problem may exist, either in the send to port field of the processors or in the pull requirement of the exit queues.
The easiest and most fool proof way of doing what you are trying to do is to use the send to port field on the processors. Depending on how you ditinguish your parts from one another (Hopefully your are doing something more than the color) will determine how you fill out the send to port field. If you have the parts distinguished by a number that is equal to the port you want to send the part to, then you can use the By Expression drop down option. You would use getitemtype(item) or getlabelnum(item, "labelname") depending on if you are using the itemtype or a label. If you are using a number that is not equal to the port you want to send to, then you will need to use the Cases by Value option. The value will be getitemtype(item) or getlabelnum(item, "labelname") depending on if you are storing the number as the itemtype or in a label. The cases will be equal to the values you are using and will return the port number you want to send the item to. Good Luck, Brandon
__________________
thats not normal. |
Thread | Thread Starter | Forum | Replies | Last Post |
Print information into output console (Debugging) | Tom David | Q&A | 11 | 09-04-2008 03:46 AM |
Multi-Processor Help | Davie Stomp | Q&A | 3 | 01-27-2008 02:23 PM |