question

Ivan KR avatar image
0 Likes"
Ivan KR asked Sebastian Hemmann answered

Set Label by Percentage

Greetings everyone,

First time in this forum, very excited to be able to improve my simulation skills.

I am modelling a clinic (flowchart attached) that receives 6 types of patients (which will need to undergo differentiated process times according to their type).

4 of these types may need to undergo an additional Dilation Procedure (10% chance of this happening) which would extend either the "Screening" or "Exam" Process time.(given that the dilation is considered a subprocess of these).

----/// for this I have thought either to set a conditional processing time with a larger value, dependant on a label previously set. But I can't see how to do this; I could also create a "fake/dummy" processor that would create an additional process which would simulate the "Dilation", but that wouldn't solve my doubt either, because I would need to somehow set the entities to go to this processor probabilistically with a 10% chance, and this would not reflect the system as closely because the first processor would be freed when releasing the entity towards the "dummy", which isn't really the case.

In other words: Is there a way to set labels or outport ports estocastically (probabilistally) with different parameters for each entity going through a processor?

Thanks a zillion,

Ivan K

Choose One
FlexSim 18.2.2
simulation
· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

What version of the software are you using?

0 Likes 0 ·
Jonathan andres PP avatar image Jonathan andres PP Matthew Gillespie ♦♦ commented ·

i use 8.2.2 , and I need to open in a version 8.1.1

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Jonathan andres PP commented ·

If you build a model in 18.2 you shouldn't open it in 18.1. Older versions don't support models built in newer versions.

0 Likes 0 ·
Show more comments

1 Answer

·
Sebastian Hemmann avatar image
0 Likes"
Sebastian Hemmann answered

@Ivan KR, Did you already figure out how to create and set labels? If so, you can use this label values to:

1. increase the processtime

2. send items to different ports based on label values

3. give a Multiprocessor processes that only have Processtimes if labels have specific values.

If you want to set label values with percentage distribution

bernoulli();

would be the right command to search in the command helper.

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.