This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at 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.

Go Back   FlexSim Community Forum > FlexSim Software > Q&A

Q&A Using Flexsim and building models

Old 06-02-2016
vivek dubey vivek dubey is offline
Flexsim User
Join Date: Mar 2014
Posts: 4
Downloads: 23
Uploads: 0
Thanks: 14
Thanked 0 Times in 0 Posts
Rep Power: 0
vivek dubey is on a distinguished road
Default Separator flow query. Please help !!

Please find the 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 a codewritten 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 separate the lastflow item whose value is less than 46 from remaining ones using the globaltable Row-1 & Column-4
Attached Files
File Type: fsm separator query.fsm (16.0 KB, 382 views)

Thread Thread Starter Forum Replies Last Post
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
how to get the last item in separator? oliver xie Q&A 6 10-28-2011 08:20 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

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.