ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
FAQ Downloads Calendar Search Mark Forums Read

Q&A Using Flexsim and building models

Reply
 
Thread Tools Display Modes
  #1  
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, 371 views)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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. The time now is 01:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.