question

Wang Z2 avatar image
0 Likes"
Wang Z2 asked Steven Hamoen answered

problem of process flow

Hello

I'm learning process flow,i have met some troubles in my module .

I want operator move item to destination,And he 'll drink water when traveling more than 100 meters。

I think maybe the problem happened in the “Get thirsty operator” or the "Save Last Drink travel'

The rules "WHERE totalTravel - lastDrinkTotalTravel> 100" seems not to work。

Look forward to your reply,Thanksprocess-flow3.fsm

FlexSim 18.2.2
processflow
process-flow3.fsm (40.8 KiB)
5 |100000

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

gilbert jerald avatar image
0 Likes"
gilbert jerald answered

@Wang Z2

Hi,

The problem is with the query condition, i have change the query condition as (WHERE totalTravel- puller.lastDrinkTotalTravel > 100 AND OperatorType == puller.Type). Attached the model for your reference.

support-operator-work.fsm

Thanks


5 |100000

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

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered
@Wang Z2

Your lastDrinkTotalTravel is a label field, but you don't have a label with that name on the operator. If you give your operator that particular label your model works.

5 |100000

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

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.