question

Ryosuke S avatar image
0 Likes"
Ryosuke S asked Ryosuke S edited

How to get a time while AGV is blocked

Hello,

I want to get the blocked time of AGV while blocked by another AGV. I've been referring to this past question https://answers.flexsim.com/questions/59206/how-to-get-a-time-from-source-blocking-operation.html. But I can't seem to get it right. Could some one help me out what is wrong?

trainsequence.fsm

FlexSim 20.0.8
agvprocessflowflexsim 20.0.8
capture001.jpg (168.5 KiB)
trainsequence.fsm (80.2 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.

1 Answer

Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered Ryosuke S edited

Hi @ryosuke.s,

The problem is that the "Event Object" for your event-triggered source is the AGV Network, not the car. When you are trying to match the blocked state, you are referring to the state of the AGV network, which is invalid.

I modified your process flow slightly to get token.car assigned to the AGVs instead of the Network and it seems to work pretty well.

See the attached model for details.

trainsequence.fsm


1600095603323.png (82.2 KiB)
trainsequence.fsm (79.7 KiB)
· 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.

Ryosuke S avatar image Ryosuke S commented ·

hello @benjamin.w2, thank you for your support. I think I got it correct. I'll attach what I have achieved. It's been created with 20.1.3

agv_test.fsm


0 Likes 0 ·
agv-test.fsm (57.3 KiB)