question

flexsimuser0801 avatar image
0 Likes"
flexsimuser0801 asked Jeanette F commented

AGV Recharging (automatic vs opportunity)

In my FlexSim model, when a certain lower bound (threshold) is reached, the battery of the AGV needs to recharge until it's upper bound (e.g. if it drops below 20% it needs to charge until 90%).

At the other hand, when it has nothing to do in the buffer, when the battery level is not below the threshold, it should charge for the time it is in the buffer.

How do I model this in FlexSim?

FlexSim 22.2.0
agvagv battery levelenergy consumptionrecharging
· 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 @flexsimuser0801, was Felix Möhlmann'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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

In detail this will depend on how the AGVs are controlled in your model (Process Flow template or custom logic or dispatcher).

In general, I'd implement the threshold based charging as a separate Process Flow block. An Event-Triggered Source waits for the battery level to fall below the treshold. The created token then creates a task sequence for the AGV to move to a charging station and wait there until the battery level passes the target threshold. To manually start the recharge, use "AGV(referenceToAGV).startRecharge()". This also returns the time it will take to reach a battery level of 100%. So you can either calculate based on this time and the current charge level how long it will take to reach 90% or you just use a Wait for Event similar to the Event-Triggered Source.

If you already have logic in place that sends the AGVs to park points when there is nothing do to, then you could simply call "startRecharge()" (as above) in the On Arrival trigger of the those Control Points to always have AGVs charging while parked.

5 |100000

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