Improve process flow

Improve process flow

kevin_s7
Not applicable
161 Views
9 Replies
Message 1 of 10

Improve process flow

kevin_s7
Not applicable

[ FlexSim 21.2.4 ]

Buenos días, ¿cómo puedo corregir este error? Quiero darle prioridad al hecho de que cuando el operador ha terminado de traer la cola 5,6,7 al combinador, los operadores se quedan ahí en el tiempo de proceso que está en el combinador una vez finalizada esa opción el operador puede empezar de nuevo a cargar los productos y así sucesivamente


CARGAR 1.fsm


0 Likes
Accepted solutions (1)
162 Views
9 Replies
Replies (9)
Message 2 of 10

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

To have the operators stay at the combiner activate the "Use Operator" option on them. To make sure that the operators are not currently busy with the process flow transport task I placed a "Wait for Event" activity in front of the release activity that frees up the queue. This activity is waiting for the combiner to finish the process, so no new transport tasks will be given before the process is complete. Finally, I also added the "On Exit" trigger of the combiners to the "Wait for Item Exit" acitivity further up, to have the token reevaluate the acquire queue activity once the combining process has finished.

A quick tip/note:
It's much easier to properly plan how to approach building a model, if the entire process you want to represent is known from the start. Building one part and then expanding it often leads to unnecessary rebuilding/remodeling, because some requirement was not taken into account previously.

load-prue-tasksequence_1.fsm

0 Likes
Message 3 of 10

kevin_s7
Not applicable

@Felix Möhlmann

Good evening, how can I do to keep track of each product that enters and leaves to know the time it takes for that product from entry to exit

0 Likes
Message 4 of 10

moehlmann_fe
Enthusiast
Enthusiast
Use a trigger on the source to store the creation time in a label on the item (Model.time returns the current run time of the model). Then use another trigger at the exit to write the difference between the current time and that label to a global table.

Since the items don't leave individually but packed on a pallet, you will have to loop over all subnodes of the pallet in a custom code. That would look something like this (in this example the label the creation time is stored on is called "EntryTime"):

// Loop over all items inside the "mainitem" (pallet)
for(int index = 1; index <= item.subnodes.length; index++)
{
    // Add a new row to the global table with name "tableName"
    Table("tableName").addRow();
    // Write the staytime into the first column of the new row
    Table("tableName")[1] = Model.time - item.subnodes[index].EntryTime;
}
0 Likes
Message 5 of 10

kevin_s7
Not applicable

Good morning friend, I am wrong when I apply that, can you help me with an example please? It is for this same model that I want to apply

0 Likes
Message 6 of 10

moehlmann_fe
Enthusiast
Enthusiast

Here's an example model.

StaytimeInGlobalTable.fsm

0 Likes
Message 7 of 10

ryan_c10
Not applicable

Hi @Kevin S7, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes
Message 8 of 10

kevin_s7
Not applicable

@Felix Möhlmann

Greetings Good afternoon friend can you help me correct this model is another with other configurations what happened is that on the date 4/5/2021 it throws an error and the model freezes and I would like the time that is grouped in the table to be Take only the working time, that is, if those hours have already passed another day, do not count only count the hours from when the order was made until it reached the sink, counting with the travel time of the truck but when a product still does not leave and another passes days those non-working hours that you tell us

2 CONFI.fsm



0 Likes
Message 9 of 10

kevin_s7
Not applicable

@Felix Möhlmann

For example, you cannot count the time of non-working hours from 5:00 p.m. to 7:00 a.m. 7:00 a.m. to 5:00 p.m. which are working hours, the same as the hours of 12:00 to 2:00 p.m. that time if you must take into account


0 Likes
Message 10 of 10

ryan_c10
Not applicable

Hi @Kevin S7,

Please post this follow-up question as a new question. It is difficult to help you effectively if all of your questions are jumbled together in a single post. Please see Best practices for using this Answers site - FlexSim Community for more details.

Also, please refrain from deleting comments and answers unless it was a genuine mistake. That also makes it extremely confusing for anyone trying to learn from this post in the future (and confusing for those trying to answer your questions). Thanks!

0 Likes