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 > Flexsim Student Forum
Downloads

Flexsim Student Forum Forum for discussion for Flexsim Students using the Flexsim Textbook.

  #1  
Old 10-09-2013
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default connection of multiple queues to single processor and prioritizing queues

Hi i am sagar i am new to flexsim
I find difficulty in doing this model
The problem is there are four different types of products coming from different upstreams stack at queues q1(in),q2(in),q3(in),q4(in) in hierarchial manner .There are different batch limits to each of these queues gets processed in a single work station and after completing operation the operator of machine should unload at their respective queues q1(out),q2(out),q3(out),q4(out).There should be a priority in terms of long waiting queues and batch size
My question is
1)How i should connect queues to processor for example linking q3(in) and q3(out)
2)The operator should load and unload flow items in batches of specific item type?
Thanks in advance

Last edited by sagar bolisetti; 10-09-2013 at 07:06 AM. Reason: slight mistake in the question
  #2  
Old 10-09-2013
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

Can you please share an example model with us and explain what you are trying to do?

As far as I understood your task, you only have to connect all Queues (in) with the Processor Input, and all Queues (out) with processors Output.
Your Operator need to be able to take more than one Item, so make sure you increased the maximum capacity.
__________________
Hemmi
The Following 2 Users Say Thank You to Sebastian Hemmann For This Useful Post:
sagar bolisetti (10-09-2013)
  #3  
Old 10-09-2013
Jörg Vogel's Avatar
Jörg Vogel Jörg Vogel is offline
Flexsim User
 
Join Date: Sep 2007
Location: Hannover, Germany
Posts: 643
Downloads: 35
Uploads: 0
Thanks: 802
Thanked 665 Times in 410 Posts
Rep Power: 642
Jörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond repute
Default

Hello sagar,

you want to process different batchsizes in a single processtime. Then you can change the variable "maxcontent" of the processor depending on the itemtype of one or all items of the batch in the OnEntry Trigger of the processor:
Code:
setvarnum(current,"maxcontent", number batchsize );
You specify the output ports by the function cases by value in the Flow tab section Send to.
Test this functionality without any operators. If that is working, you can extend the model to the priority of longest waiting time by closing the output of the sending queue, which should wait to release items.
If this is working, too, you can insert operators. Then you can set the priority of the Tasksequences to organize the order of the item delivery. And you can set the Break To function in the operator to "same load station".

Jörg
The Following 2 Users Say Thank You to Jörg Vogel For This Useful Post:
Sebastian Hemmann (10-10-2013)
  #4  
Old 10-09-2013
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default

Here i posted the model that I am trying to do.If we run the model q4(in) is occupied by yellow boxes and q4(out) occupied by red boxes by default.But I want to get q4(out) filled with yellow boxes and for some reasons processor of item type 1 is blocked and I want the itemtype 2 to occupy q1(in) get processed and obviously occupy q1(out) and I want to prioritize queues based on long waiting time & batch size.My question 2 is straight forward.
Attached Files
File Type: fsm model.fsm (25.7 KB, 127 views)
The Following User Says Thank You to sagar bolisetti For This Useful Post:
Jörg Vogel (10-09-2013)
  #5  
Old 10-09-2013
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default

sorry the model is in version flexsim 7 beta2 .Could any one solve the problem and post the model
  #6  
Old 10-10-2013
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

Your first step, I only changed the rank of your Output connections.
Until now everything works by using Itemtype.
For the other idea there would be used more logic.
You could write a Label instead of using Itemtypes and set from where the Item came and where it has to go.
But what would happen, if itemtypes get mixed up?
Attached Files
File Type: fsm model_SH.fsm (25.8 KB, 119 views)
__________________
Hemmi
The Following User Says Thank You to Sebastian Hemmann For This Useful Post:
sagar bolisetti (10-10-2013)
  #7  
Old 10-10-2013
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

Now I found the reason for the exception caughts in your System Console.
Further the solution with Labels.
What I´ve done is, I created a label on every Queue(in) and gave it a number (this way of the inputport of Processor). This number is stored on EntryTrigger on every Item and the flow out of processor is to the port where it came from by label.

The question for batches you should explain more detailed.

You can make the Queues release items only if batchsize is reached.
You can also make Operator Transport more than one Item.

But if you want to transport more than one Item, they have to exist in start postition and also there has to be enough space on target position.

For this you have to understand how Tasksequenzes work!
As long as your capacity of processor is 1, Operator will never transport more than one Item because of the missing space in target position.
Attached Files
File Type: fsm model1_SH.fsm (25.9 KB, 133 views)
__________________
Hemmi

Last edited by Sebastian Hemmann; 10-10-2013 at 03:05 AM.
The Following 2 Users Say Thank You to Sebastian Hemmann For This Useful Post:
sagar bolisetti (10-10-2013)
  #8  
Old 10-10-2013
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default

Thank you hemmann I just forgot the simple logic that I should change the rank of queues at output port.Thank for the solution
  #9  
Old 10-10-2013
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default

Jörg Vogel Can you post the model in my case.I don't know how to reference them as I am poor in coding


Thread Thread Starter Forum Replies Last Post
Two camera on Single screen together shashanktrivedi Q&A 7 02-05-2013 01:34 PM
One driver, two forklifts, multiple queues - is coordinated ts the only solution? Vadim Fooks Q&A 6 10-16-2012 05:18 AM
single source logic naveenkumar Tips and Tricks 1 01-23-2012 07:28 AM
THIS IS A CHALLENGE! tasksequence question regarding one forklift and 20 queues DilAmaya Q&A 1 09-13-2009 09:44 PM
Multiple operators at different locations performing a single processor Paul Dowling Q&A 4 06-04-2008 03:08 AM


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.