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.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Cody F,

A graphic is nice to see but it really doesn't tell us what is going on in the model and how to best answer your question(s). Can you send us your model or a sample model of the problem area? That was we would be better able to answer your questions specific to your needs.

Thanks.

0 Likes 0 ·
Cody F avatar image Cody F Jeff Nordgren commented ·
0 Likes 0 ·
model.fsm (1.8 MiB)
model.fsm (1.8 MiB)

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:

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.

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.