question

weiiiii avatar image
0 Likes"
weiiiii asked Julie Weller commented

state table

aa.fsm4.26(n).zi

I want to know the status of my agv throughout the process

like this, but I don't know how to open this table

1689572546694.png



I know there are Gantt charts that can present the status, but I want to be able to present the status in a form

1689572720429.png

FlexSim 21.0.10
states
1689572546694.png (59.4 KiB)
1689572720429.png (89.4 KiB)
aa.fsm (74.5 KiB)
· 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.

Julie Weller avatar image Julie Weller commented ·

Hi @weiiiii, 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

Your first screenshot shows a state table from the People/Healthcare module. It won't work for task executers or other objects from the default environment out of the box, since the healthcare environment uses different state profiles.

The necessary adjustments to get it to work are relatively minor though. First, click on the marked button to create a copy of the Statistics Collector that stores the data for this table.

capture1.png


In the Statistics Collector you have to change two things. On the Events Tab, the state profiles that the collector should use are determined in the member_profiles label. Open the code and adjust it, so it returns an array of the state profile nodes of the objects you want to track. I used a group to store which objects those are. (You can of course also the variable names to something more fitting. I just left the default names.)

capture2.png


The second adjustment must be made in the Set Values field of the States column on the Columns tab. Instead of reading the states from the People Settings, I manually create an array that contains the states that should be tracked and use a State Table to determine their display names and whether they are counted as active or inactive in the utilization calculation or whether they are excluded.

capture3.png


And that's all. The Statistics Collector will now create and update a table that shows the times spend in the specified states and the resulting utilization. (You can view the table from the General tab of the collector.)

capture4.png

people_state_table_in_default_env_fm.fsm


capture2.png (69.9 KiB)
capture1.png (34.1 KiB)
capture3.png (58.6 KiB)
capture4.png (9.1 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.

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.