question

Francesco S avatar image
0 Likes"
Francesco S asked Ryan Clark commented

how can i show the state of charge of my task executer?

Hi everyone, I'm collecting data in my model and I need to show the behaviour of the battery of my task executer. I use a statistic collector (battery level MIR) to collect data and sent all to time plot in dash board. The problem is that he collects the state of charge only during the process of unloading while I would like to collect always the percentage of battery.

May anybody help to fix this problem?

Automatic warehouse1.1.fsm

FlexSim 20.0.0
agvcollecting datastate of charge
5 |100000

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

tannerp avatar image
1 Like"
tannerp answered Ryan Clark commented

@francesco.s,

You can set up a Statistics Collector to listen to "On AGV Battery Level Change" or you can set up a Timer Event for every couple seconds if you'd like more frequent checking of the battery level. I set up a Stats Collector to listen to the AGV battery level change and it seems to work pretty well.

Let me know if you have any questions.

automatic-warehouse11 (1)_2.fsm


· 4
5 |100000

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

Francesco S avatar image Francesco S commented ·

@tanner.p,

Thank you for your help, but in my model I have created the same stistic collector that send information to Time plot in dashboard. But my idea is to create a graph in time plot that shows the battery decreasing in function of the time, and I think that static collector doesn't send information about battery if a event doesn't happen ( of task executer).

0 Likes 0 ·
tannerp avatar image tannerp Francesco S commented ·

@francesco.s,

If that's the case, then I suggest setting up a Timer Event, like I mentioned. You can measure the battery level every couple of seconds, or at whatever time interval you'd like. I updated your model to show this.

automatic-warehouse11-1-2_1.fsm

0 Likes 0 ·
Osama A6 avatar image Osama A6 tannerp commented ·
Can we make the battery level based on an event not step time? I'm curious about the AGV re-charge logic. How it is working?
0 Likes 0 ·
Show more comments
Francesco S avatar image
0 Likes"
Francesco S answered

yes it is exactly what i have in my mind. thank you

5 |100000

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