question

Vedant G avatar image
2 Likes"
Vedant G asked Matt Long commented

When to use a breathe activity?

How do we know when the logic is too fast and we need to use a breathe activity?

FlexSim 18.1.1
process flowbreathe
· 2
5 |100000

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

tannerp avatar image tannerp commented ·

@Vedant G

This all depends on your individual model and its needs. Delay type activities can be useful for timing your model accurately. If you have a particular example, we'd be happy to help evaluate it with you. Feel free to upload one in the comments.

0 Likes 0 ·
Vedant G avatar image Vedant G tannerp commented ·

Thank you for your response

0 Likes 0 ·

1 Answer

Matt Long avatar image
8 Likes"
Matt Long answered Matt Long commented

It's difficult to list out all of the places a breathe may be required. I can try and give you some general places where you may need one.

Triggers/events of 3D objects:

If you're listening to a trigger or other event from a 3D object and then manipulating something in 3D you may need a breath. For example, if you listen to the On Entry of a Queue and then in your process flow you want to move the entering item from the queue to another object, you'll need a breath. This is because the activities that are being executed in process flow are happening inside of the On Entry on the Queue. The Queue's logic expects that the flowitem will still be there once the entry trigger is fired. If the flowitem has moved on to another object, it may through exceptions. This can be true of processors, racks etc.

If you're listening to one of these triggers/events and you manipulate unrelated 3D objects, then a breathe will not likely be necessary. For example, listening to the On Entry and then creating a flowitem in completely separate queue.

After a Push or Pull From List:

Not always, but there may be times that you need a breathe immediately after pushing or pulling from a list. Say your list is full flowitems that are ready to be processed. If they are being pushed onto the list when they enter a queue, then the Pull From List may fire during the On Entry event, similar to the above case.

You'll find that most often the breathes are needed when working with 3D objects, however, similar issues to those described above can also occur within process flow activities. If you find that your model is not behaving as expected, or exceptions are being thrown after adding in a set of activities, you may try putting a breathe activity in there. If the problem was not resolved, then the issue is likely something else.

If you have questions about a specific set of logic, feel free to post them here and we can try and help walk you through what's going on.

· 2
5 |100000

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

Vedant G avatar image Vedant G commented ·

Thank you for your response, if let's say something works in a weird way even though all the logic looks good, would it be a good idea to stick in some breathes to see if that fixes it?

0 Likes 0 ·
Matt Long avatar image Matt Long Vedant G commented ·

Can't hurt to try.

1 Like 1 ·