question

wonjo P avatar image
1 Like"
wonjo P asked Jeff Nordgren converted comment to answer

Can I use the battery change with A* algorithm?

Hello, dear.

I try to move the AGV using A* algorithm. But, I don't know AGV's battery charge with A* together.

Could I have a solution on this problem?

Thank you.

FlexSim 19.0.0
agv
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

I expect without testing, that the AStar navigator won’t control a taskexecuter on an AGV module network. The AStar evaluates the offset travel tasktypes and the AGV Network evaluates the standard travel task type. Maybe you can get the AStar taskexecuter like an offset traveling operator to avoid a collision with a vehicle connected to a AGV network path system. But two vehicles on an AGV path system collision is controlled by the allocation of path sections.

0 Likes 0 ·
wonjo P avatar image wonjo P Joerg Vogel commented ·

Thank you @Jörg Vogel.

I'm trying to operate AGV on AGV network and Astar Navigator together, but I can't connect both network to AGV.

So, I considered the another way on using Astar Navigator. I'll make a similar battery logic through using the operation time of AGV or moving distance.

So.... Can I have a solution on calculating that time or distance?

0 Likes 0 ·

1 Answer

·
Joshua S avatar image
1 Like"
Joshua S answered

@wonjo P

to get the travel distance, you can use the script below

getvarnum(Model.find("YourAGV"), "totaltraveldist");
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.