question

CPL avatar image
0 Likes"
CPL asked Sabrina S commented

How to display the process Flow status as text display in 3D??

We are using an process flow model for operator decision and screening time. We have a pool of operators in resource block in process flow. Now, we need to show the resource content(no. of operators) in process flow as dynamic text in 3D. This will help to display the number of operators are active in 3D model

For Example: Number of Operators active : 2

Also, is there a way to link a visual display to operator in 3D. Changing the person visuals like to green..

Process Flow:

1692089896257.png

3D :

1692090175385.png

FlexSim 23.2.0
processtimetext
1692089896257.png (32.2 KiB)
1692090175385.png (178.5 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.

1 Answer

Ralf Gruber avatar image
1 Like"
Ralf Gruber answered Sabrina S commented

Hi CPL,

Attached is a sample model showing the num of used Processors as a text in 3D. The modified code is in the text´s "Text Display" code field. The script shows the command getting you that statistic.

I hope this is what you asked for?

Good luck

20230815_UsedRessource3D.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.

CPL avatar image CPL commented ·

Thanks for your support. Also, Is there a way to visually display number of resource in 3D by changing the color of the their shirt one/two operators??

0 Likes 0 ·
Ralf Gruber avatar image Ralf Gruber ♦ CPL commented ·

Look at the two extra change visuals activities in PF.

20230815_UsedRessource3Dcolor.fsm

0 Likes 0 ·
Sabrina S avatar image Sabrina S commented ·

@Ralf Gruber Is it also possible to get this value of active Processors directly from e.g. the Group "Processors"?
(As we can't use the Resource in the process flow to reference. Actually we also look for the number of active Operators which we could put into a group and want to show in the Dashboard)

0 Likes 0 ·
Ralf Gruber avatar image Ralf Gruber ♦ Sabrina S commented ·
Hi Sabrina S,

Please do not comment on an already answered question. If you need to expand, aks a new question and reference the one it is relating to.

I do not think you can get statistics from the Group class other than with the methods specified in its class reference. What you could do is using a global variable, lable, or just a tree node. Set it to zero on Reset, count it up after every acquire activity in PF and count it down after every release activity.

That way you could point any result display to that GV or label.


1 Like 1 ·
Felix Möhlmann avatar image Felix Möhlmann Sabrina S commented ·

You could count the number of 'active' objects in the group by checking the "Analysis" column of a State Table for their respective states.

I applied this to Ralf's example model. Both for a text object (which only updates whenever it is drawn) and in a Statistics Collector.

20240925-active-by-group-and-state.fsm

1 Like 1 ·