question

Asante Adwoa Asantewaa avatar image
0 Likes"
Asante Adwoa Asantewaa asked Jeff Nordgren edited

how to create a process flow and task sequence

Hello,please this was the initial problem we were facing together with our model.

Operator10 is suppose to pick 20 totes at a time from Queue10 to Queue6,it then has to pick the the tote one after the other onto combiner11 and fill it with 8 flowitems and then carry the tote to Conveyor13.But with what we have currently,by the time Operator10 picks the 20 totes onto Queue6,Conveyor4 has already been accumulated with many flowitems.Some of the flowitems also move onto Conveyor13 by itself without being arranged in the tote.I also want the flowitems being packed into the tote fit inside and not be arrange vertically in it.

simple-2.fsm

I was helped initially with the model below.

5619-totehelp.fsm

Now the problem we are facing is that,since we are using Flexsim 7.3.6 in building of our model which does not have the feature of "ProcessFlow: Use Task Sequence Sub Flow" ,we would like to know a different method and the steps to follow in achieving this same objectives using Flexsim 7.3.6.Thank you and counting on your usual assistance.

--- ---
process flowtask sequence
mmqnw.png (159.2 KiB)
simple-2.fsm (26.8 KiB)
5619-totehelp.fsm (44.3 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered Jeff Nordgren edited

@Asante Adwoa Asantewaa,

Attached is your model with the changes that I've made. I made a new box flowitem so that it would be smaller so that it would be able to stack inside the tote. And I made a new tote so that flowitems would stack properly into the tote. Other than that, I didn't change anything. Will this work for you?

Because you are using a license that has expired nearly 2 years ago, along with technical support, this is the help that I can give you. You may have to download the Free version of the latest version of FlexSim to be able to open the model to see that simple changes that were made.

simple-2-jn1.fsm


simple-2-jn1.fsm (29.6 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered

Since you do not have access to Process Flow, you will have to create the task sequences via code. I would first recommend going through the Task Sequence tutorials (there should be 3) found in the User Manual, it will help you understand the basics of creating/executing task sequences. (User Manual > Tutorials > Task Sequences)

Additionally, whenever you select an object to use a transport or operator for something, one of the dropdown menu options includes Task Sequence Example 1. This will give you a basic starting point to code your own tasks for your operators.

Here is the basic example for transporting:

treenode item = parnode(1);
treenode current = ownerobject(c);
int port = parval(2);
/**Task Sequence Example 1*/
/**Creates a standard task sequence manually.*/
/**If this "Request Transport From" field returns a 0 rather than a valid pointer 
to either a dispatcher or taskexecuter, then no call is made, and it is assumed 
that the user will dispatch their own tasksequence.


This example shows the code that is required to create the exact same tasksequence 
that is normally created automatically and dispatched to the object referenced by this field.*/


treenode dispatcher = centerobject(current,1); // the dispatcher or task executer
double priority = getvarnum(current,"transportpriority"); // read the Priority value on the GUI
int preempting = getvarnum(current,"preempttransport"); // read the Preemption mode on the GUI


treenode ts = createemptytasksequence(dispatcher,priority,preempting);


inserttask(ts,TASKTYPE_TRAVEL,current,NULL);
inserttask(ts,TASKTYPE_FRLOAD,item,current,port);
inserttask(ts,TASKTYPE_BREAK,NULL,NULL);
inserttask(ts,TASKTYPE_TRAVEL,outobject(current,port),NULL);
inserttask(ts,TASKTYPE_FRUNLOAD,item,outobject(current,port),opipno(current,port));


dispatchtasksequence(ts);
// return a 0 so this object will know that you made your own tasksequence and it doesn't need 
//to make the standard tasksequence automatically
return 0;  
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.