question

Steven Chen avatar image
1 Like"
Steven Chen asked Phil BoBo edited

Kinematics Process Flow for BasicTE

Hello,

I tried to use kinematics process flow to customize offset of BasicTE.

I choose OnBeginOffset as trigger to apply kinematics, endtime is required to override return value to prevent item delivered before kinematics ends. So "Wait for Finish" of apply kinematics must be unchecked. But if it's unchecked, the kinematics seems like not updating.

FlexSim 20.2.2
flexsim 20.2.2kinematics with process flowbasicte
· 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 ·

Hi @steven.chen,

This is a good question. Kinematics can be challenging. Would you be willing to post the model to which you're referring? It will make it easier to debug.

0 Likes 0 ·
Steven Chen avatar image Steven Chen tannerp commented ·
0 Likes 0 ·

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Phil BoBo edited

In your example, you put the kinematics node on the token. Once the token goes into the Finish, then your kinematics node is destroyed. Since the kinematics node is destroyed, it can't be used to update the kinematics.

Your approach 2 kind of works if you put the kinematics node on the object instead of the token.

basicte-kinematics-pf-v202_1.fsm

Using this approach, you are missing the updates that should happen On Update Offset and On Finish Offset though, so your model won't run predictably.

If you implement those functions, it will though:

basicte-kinematics-pf-v202_3.fsm


5 |100000

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