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
|
||||
|
||||
Coding problem
Hai, I have faced with some problem in my model. I have write the coding in send to port tab of the source queue but it seems like doesn't work well. For the first 3 ranking of itemtype2, the items will send to the processor based on the ranking, but after that, it will stuck at the source queue. It also happend to the itemtypes 1.
Can you please help me out? Is it there have problem with my coding? If I'm not clear in explanation, please let me know. Thank you. URGENT... Best Regards; Liang Wen Yin |
#2
|
|||
|
|||
Try having your logic in one place rather than the sendto, pull strategy and pull requirement.
|
The Following 2 Users Say Thank You to Jason Lightfoot For This Useful Post: | ||
Liang Wen Yin (08-13-2012) |
#3
|
||||
|
||||
Dear Jason Lightfoot,
Thanks for your advice. I have clear up the unnecessary code in my model. My model are run well initially, but after the itemtypes2 attain ranking no.281 , the items would not send out again & stuck on the source queue. This also happened to the itemtypes3 as shown in the figure that I attached. For itemtypes1, it can run well. Can you please assist me? Thanks. Best Regards, Liang Wen Yin |
#5
|
||||
|
||||
Hello, everyone.
What are the code that should I write so that the operator will not carry one item only to the processor queue if there have consecutive ranking of items. Example, at the source queue there already have items with ranking no2, no3 and no4, the operator should carry theses three items all at once. Thanks. Liang Wen Yin |
Thread | Thread Starter | Forum | Replies | Last Post |
Questions on coding | Jack Lai | Q&A | 6 | 02-07-2012 12:04 AM |
Need help for coding on lifts. | chrisquek | Q&A | 5 | 11-25-2008 03:00 AM |
A pitfall in Flexsim coding | AlanZhang | Gripes and Goodies | 7 | 05-16-2008 03:37 PM |