question

Fred E avatar image
0 Likes"
Fred E asked Fred E commented

AGV battery charging task.

Hello!

I want to add battery logic for AGVs to my model and I don't have any idea how to do that.

In real systems, AGVs work all the time until the battery is below 85%. At 85% AGV asks itself if there is a task to do, if yes then do the task, if not then goes to the charging station. Before AGV goes to the charging station AGV also checks if the charging station is free, if not then goes to parking. There is just one charging point for all 4 AGVs.

My model looks like this:1657908163648.png

There are four parking spaces and one charging point. I also have a question about parking in my model. Is the logic for parking done correctly or not? It works perfectly but there are a lot of tokens in the sink.

My model: test140.fsm

Thank you in advance for your answers.

Best regards

FlexSim 21.2.4
agvprocess flowbattery chargeparking
1657908163648.png (872.8 KiB)
test140.fsm (85.7 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

Andrew O avatar image
0 Likes"
Andrew O answered Fred E commented

You may be able to use a Decide activity in Process Flow for this. https://answers.flexsim.com/questions/88579/view.html?overrideforward=1

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Fred E avatar image Fred E commented ·

It doesn't work as I was expecting. I don't know how to add one more decision to check if a charging station is available. There are two AGVs who want to allocate charging points.


1658146504442.png

test150.fsm


0 Likes 0 ·
1658146504442.png (235.5 KiB)
test150.fsm (155.9 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Fred E commented ·
You could acquire parking positions and timeout if none is available, or you could only create the charging job when when one becomes available. Check the advanced process flow template for AGVs to see how that works.


Note that acquiring the AGV is needed for individual tasks like those you have in the model, but if you create task sequences you may find that you can use the task sequence priority to ensure the sequence is done when it's needed.

1 Like 1 ·
Fred E avatar image Fred E Jason Lightfoot ♦♦ commented ·

Thank you for your answer. I think I solved it with acquire charging point function.

Can you check my time plots? Is this the right way to track battery level? How can I show all four AGVs battery levels in one time plot?

0 Likes 0 ·