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
|
|||
|
|||
Separator flow query. Need help !
Please find model attached. The separator in themodel refers the table created - "split_table" &splits the flow item of 146 into 3 parts in batches of 46, 46 & 34
Now my requirement is after dividinginto 3 parts the 1st two batches should go to port 1 ( i.eQ1- queue as their value is 46) & the 3rd part ( 34 value) should go to Q2 because its valueis less than 46. I tried by two ways – one by writing a code in the flow tab of separator but the value of “x” variable is notincrementing don’t know why ? 2nd way– If I can give itemtype values to thedivided 3 parts as per the same table (2nd row values), then I can use “Byexpression” in theflow tab of separator to send it to 4 queues & later take my 34 valuebox out from 4th queue. Or any other alternative kindlysuggest. All I am trying to do is after dividing I want to separate the lastflow item whose value is less than 46 from remaining ones using the globaltable Row-1 & Column-4 Regards, Vivek |
#3
|
||||
|
||||
A separator has its own flow method. Maybe you transfer the sorting to a simpler object like a queue. If the model work, you can hide the sorting queue later.
Jörg |
The Following User Says Thank You to Jörg Vogel For This Useful Post: | ||
vivek dubey (06-24-2016) |
Thread | Thread Starter | Forum | Replies | Last Post |
Separator flow query. Please help !! | vivek dubey | Q&A | 0 | 06-02-2016 01:20 AM |
Is it possible to do an SQL query with WHERE X > Y where the referenced table contains string data? | Axel Kohonen | Q&A | 7 | 02-22-2016 12:06 AM |
model related query | mohanboyapati | Q&A | 0 | 10-11-2009 07:32 PM |
Query regarding operator | shivrash | Q&A | 1 | 07-21-2009 04:53 AM |
Error: Cannot find the input table or query 'Objects'. | AlanZhang | Q&A | 8 | 05-04-2008 07:06 PM |