Custom States in MTBF MTBR

Custom States in MTBF MTBR

mcret
Explorer Explorer
16 Views
6 Replies
Message 1 of 7

Custom States in MTBF MTBR

mcret
Explorer
Explorer

[ FlexSim 24.1.0 ]

Hello guys,

How is it possible to exclude custom states from being affected by the MTTR MTBF ?

My custom states don't appear on the left side.

1720470864737.png

Thank you.

0 Likes
Accepted solutions (1)
17 Views
6 Replies
Replies (6)
Message 2 of 7

joerg_vogel_HsH
Mentor
Mentor
States in general are discrete number values. You translate them as string information. States for 50 values are predefined. And if you don’t find your values in a GUI, you still can find them in the tree. Try it.
0 Likes
Message 3 of 7

moehlmann_fe
Observer
Observer

Can you upload your model or an example model with the object with custom states so we can check why they don't appear in the list?

As a workaround you can edit which states the MTBF applies to directly in the tree. (Add a least one state to the right side for this node structure to appear. Then edit it to your liking. As far as I can tell the naming of the nodes does not matter, only the values which represent the state numbers of the affected states)

1720507788136.png

0 Likes
Message 4 of 7

mcret
Explorer
Explorer

Hello guys,

I have uploaded the model. When running with just 1 resource the state pie chart registers only the wanted states but the Gantt registers also travel empty and travel loaded. When running with 2 resources both charts register travel empty and travel loaded.

The important thing is that MTBR/MTTR should take into consideration only travel empty/loaded states and not other states. But somehow it triggers even if I set different states to the task executers other than travel empty/travel loaded.

How can I fix this ?

Thank you so much.


State_test_model.fsm1 task_executer.jpg2 task_executers.jpg

0 Likes
Message 5 of 7

moehlmann_fe
Observer
Observer
Accepted solution

The state pie chart filters out states with a time of 0 automatically.

1720591673600.png

The gantt chart does not have this option. So you will always see all states the object entered appear in the legend. Even if the object never spends any actual time >0 in the state. A possible workaround would be to install the chart components and clone the Statistics Collector with a Calculated Table while filtering out any entries where the start time and end time are equal. Then use the Calculated Table as input for the chart.

In your Process Flow you always set the state of TaskExecuter1, not the currently acquired resource. So any TEs past the first will always be in the default states.

state-test-model_1.fsm

0 Likes
Message 6 of 7

mcret
Explorer
Explorer
Hello @Felix Möhlmann ,

Even so the task executers they still go through travel empty/travel loaded states. Is there a way to fix that ?

0 Likes
Message 7 of 7

moehlmann_fe
Observer
Observer

No, the default state change will always occur. You can force the TE into a different state afterwards, as you currently do, but not prevent the state switch. Though if the state is only assumed for 0s it should not make any difference as far as model functionality is concerned.

If you want full control over the state implement a custom state profile in addition to the default one. There are multiple posts on this forum that demonstrate how this is done.

https://answers.flexsim.com/questions/26312/add-custom-state-to-a-state-gantt-chart.html

0 Likes