question

Cody F avatar image
1 Like"
Cody F asked anthony.johnson edited

How to make an AGV delay at charger until fully recharged?

I am using a custom process flow without the AGV logic for charging built in. I want to delay the AGV at the charger locations circled in the image until the AGV reaches 100%, and then immediately go onto the next step to free up a charger. Is this possible? I have a simple delay now to force the AGV to charge a specified amount of time but it may sit there after its fully charged when it should be leaving to get a task.

FlexSim 20.0.0
agvprocess flowcharging
snapshot.jpg (111.4 KiB)
· 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.

1 Answer

Jacob Gillespie avatar image
5 Likes"
Jacob Gillespie answered anthony.johnson edited

I removed the charging waypoint logic and put the following in the Delay Time fields:

  1. AGV(token.resource).startRecharge()

This works because the startRecharge() method returns the time it will take to charge.

model-edit.fsm


model-edit.fsm (66.3 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.