Jump to content

Recommended Posts

Posted

Hello! So I am using a source that is sending out 9 different entities, each with a priority 1-9. 

They are listed in a Data table called 'Part Data'

 

This is the 'Table Row Referencing' call I am using in 'Before Creating Entities' in the 'Row Number' section:

PartData.Priority.RandomRow

 

I want to switch this to use a Random.Normal(mean, sd) - is that possible with discrete values in the table? Thank you for any help you can provide!

Posted

Hi,

What you could do is set up another column with the weights (likelihood) of creating each entity type... so you can set up probabilities any way you want it.

Look SelectEntityTypeFromTable - SimBit to learn how to do it.

  • Like 1
×
×
  • Create New...