question

Cody F avatar image
0 Likes"
Cody F asked Jeanette F commented

How to reduce AGV battery with commands?

I have AGVs with companion frames that require power to them for certain operations. The AGVs will power a piece of conveyor and some doors on the companion frames. Is it possible to write a code snippet or add in some logic for specific battery usage per task? For example: Doors opening on companion frame while the AGV is idle = 15 amps.

FlexSim 21.2.4
agvcustom codeagv battery level
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Cody F, was Ryan Clark's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Ryan Clark avatar image
0 Likes"
Ryan Clark answered

Hi @Cody F,

You could probably do something like this using the methods on the AGV class (see FlexScript Class - AGV (flexsim.com)). You might also be able to use the "Load Types" for the AGV Network, though those usually are used only while the AGV is travelling, not while it is idle. But it could be worth looking into: AGV Types (flexsim.com).

I hope this is helpful! Let us know if you have further questions!

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.