question

立洲 avatar image
0 Likes"
立洲 asked Andrew O commented

Can the AGV have a battery level without using the Path of the AGV Network?

在不使用AGV網絡的Path的情況下使用A*,是否可以讓AGV具備顯示電量的行為或方法?

FlexSim 20.0.10
astaragvnetworkagv 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.

Andrew O avatar image Andrew O commented ·

Hi @立洲 , 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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

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

You can emulate the battery system of the AGV network with a kinetic tracked variable label. The label will start at a set value and change continuously according to the set rate.

In the attached model the rates are changed in the 'On Start Task' and 'On Finish Task' triggers. When starting a travel task, the variable is set to use the 'travelDischarge' label as the rate. When a task is finished it is reset to the 'idleDischarge' value.

The value can be read through the normal label syntax.

kinetic_TV_battery_fm.fsm


· 5
5 |100000

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

立洲 avatar image 立洲 commented ·

The maximum value of AGV power is 100% and the minimum value is 0%. What should I do in this interval?

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann 立洲 commented ·

You can set the start value and rates of the tracked variable however you like. Because the rate is always measured per second, you might end up with very small numbers as rates though. You could also choose a higher value as capacity and just divide the value accordingly when measuring the charge percentage (which is what the AGV system does).

1658738459454.png

Tracked Variables have events, so you can react to the value reaching a certain threshold and then start a recharging task for example.

1658739414058.png

kinetic_TV_battery_fm2.fsm

0 Likes 0 ·
立洲 avatar image 立洲 Felix Möhlmann commented ·

感謝您的出色回答


我想確認 Idle Discharge、Travel Discharge 和 Charge Rate 使用的單位。是每秒計算嗎?

0 Likes 0 ·
Show more comments