question

Lorenz N avatar image
0 Likes"
Lorenz N asked Joerg Vogel commented

Using Distributions in Patient Labels for Process Times

Is there a way to use distributions in patient labels for processing times?

I know that you can use patient labels to determine the process times of tasks. The problem seems to be that the patient labels are only limited to number, string, and point. Back in Flexsim HC, I could easily just put in the distribution by changing the variable type to Code I believe. Is there anyway to do this in Flexsim 20? If I set it the patient label to a number variable it does not accept any text. When I set the patient label variable to string and run the simulation, the patient seems to just have a process time of 0.

Image provided is what I am trying to use.

edit: I just confirmed this did use to be the case in the HC 5.3.10

FlexSim 20.0.7
flexsim healthcareprocess timeflexsim 20.0.7patient labelsflexsim 2020
1592944827361.png (9.4 KiB)
1592949308462.png (3.6 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

·
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel commented

You put the distribution as a string and you evaluate the string to be executed.

Command executestring

· 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.

Lorenz N avatar image Lorenz N commented ·

So leave the patient label as is. But in the process time input for example executestring(patient.KioskTime)?

0 Likes 0 ·
1592947073198.png (7.2 KiB)
Joerg Vogel avatar image Joerg Vogel Lorenz N commented ·

Give it a try. I am not familiar with HC just standard FlexSim. You can check, if the command exists in HC command manual.

0 Likes 0 ·
Lorenz N avatar image Lorenz N Joerg Vogel commented ·

Ok, I think while playing around and reading the errors, I had to remove the 4th parameter from the triangular distribution to make it work properly. It looks like it is properly working now. Thanks for the help.

1 Like 1 ·
1592950104102.png (8.7 KiB)
Show more comments
Show more comments

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.