question

David Seo avatar image
0 Likes"
David Seo asked Felix Möhlmann commented

Is it impoosible to make make a Combiner instance PF?

Can not be 'event triggered source' used when making a combiner PF instance?

Object field is fixed to "current (No Instance)" not changable. Why not?

2021-10-29-142332.jpg

I also can't set 'current' to Assign Event Object To.

What's the problem in my model?

What I try to do in this model is for AGV robots to transport the CartRack after combiners' combining.

AGV_NewGrid_4Q.fsm

FlexSim 21.2.4
agvkiva robotcombiner pf instance
5 |100000

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

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

The instanced process flow works seems to work fine with a combiner. "current (No Instance)" is in fact the normal display text for a reference to the instance object. (Not sure if this is a bug that no one ever bothered to report/fix).

"current" is a set reference to the instance object of the process flow. Setting it to a different value is not intended and results in an error.

The event-triggered source will not create any tokens in your model, because the "On Exit" event of the combiner doens't fire, since there is no output connection to send the rack to. If you choose "On Process Finish" instead, a token will be created when the process time elapses as expected.

1635488046698.png

1635488016839.png


1635488016839.png (11.5 KiB)
1635488046698.png (12.9 KiB)
· 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.

David Seo avatar image David Seo commented ·

@Felix Möhlmann

But in the Process Flow Instances panel, the attached Objects (instances) entry is only ONE the template object like belowed.

2021-10-29-154721.jpg

The instances of KitComb are all 13 combiners. So "current (No Instance)" is aome strange issue.

If all instances will be included in that, the tokens will be generated though only the template object processFinishing.

It looks like a bug? Or What I don't understand yet?

Displaying "current (No instance)" in Event Triggered Source has something looks like some any reason.

I have spent 2~3 days for this issue.

Please check it again.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel David Seo commented ·
A general remark on instances of groups. An instance is a copy. If you start to evaluate states of your copies to make decisions on their progressions, you have to keep track of the mutual dependencies. This ends in an exponential increasing number of dependencies. One way would be to assign priorities to your instances to know which is currently in an active role and all other are in a supporting role.
0 Likes 0 ·
David Seo avatar image David Seo Joerg Vogel commented ·
@Joerg Vogel Thank you for your general concept. But I understand their relationships and concepts including you words. And then in my question issue, I want to know what's the problem in my model.

Thanks anyway for your interests in my question.

0 Likes 0 ·
David Seo avatar image David Seo commented ·
I found the instance objects not to be included automatically in the template when I made the instance PF. Why did it happen? Anyway thanks.
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann David Seo commented ·

I see, that's weird. When I add more instances of the template they are added to the process flow automatically.

You might have found a bug. In what way/order did you create/connect the instances? And at what point did you attach the template to the process flow?

0 Likes 0 ·

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.