question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Jeanette F commented

How to handle parallel breakdown using process flow?

Hi Team,

I am working on breakdown logic for the process. I am facing issue when there is parallel breakdown. In this case, token is not restoring in process.

Can you help me to identify the issue?

07.04.2022_ParallelBreakdown.fsm

Thank you!

FlexSim 21.0.10
process flowbreakdownparallel
· 1
5 |100000

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

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Ankur A3, was Jason Lightfoot'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 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

In this case pull the tokens from the list and put them back onto the list when they are restored.

You can't pre-empt tokens twice - the first context is destroyed if you do that.


· 5
5 |100000

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

Ankur A3 avatar image Ankur A3 commented ·

Hi @Jason Lightfoot,

I didn't get you completely. Do you mean to push token onto same list after restore context.

1656954115057.png

Thank you!

0 Likes 0 ·
1656954115057.png (74.5 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Ankur A3 commented ·

Yes - but if you want to stack the time then you'll also need to cater for that too: further delay the active delay token, or queue the breakdown tokens and have a single token created at the start process them one by one.

0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Jason Lightfoot ♦ commented ·

Ok @Jason Lightfoot. But even in this way, flow is not working as per expectation. Here, token is not restoring its context. I can see breakdown loop is repeating multiple times while pushing to list and token is not restored.

My expectation is to apply breakdown in parallel if it it occurring at same time and it should be pulled by breakdown flow where repair time is higher. The same as we apply to 3D object.

Please find model attached here.

07.04.2022_ParallelBreakdown.fsm

Thank you!

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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