Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

Click_Here_button.png

New Software Release

Our latest release, Simio 11, is here!

Regitze

Path: Selection Weight according to entity type

Recommended Posts

Hi

I want the selection weight of the paths to change by the entity type. Ideally if it can be chosen from a data-table.

Example: From server1 to server2, server3 and server4

PartA - server 3 Weight 2
              server4 weight 8

PartB - Server2 weight 3
             Server3 weight 4
             Server4 weight 3

Can someone help me to find a solution for it? 

Thank you!

Share this post


Link to post
Share on other sites

There's the expression Is.Entity that return 1 (in case it is the right entity) or 0 (if it is not).

About your example, assign these expressions in the Selection Weight properties of the paths:

To Server2: 3 * Is.PartB

To Server3: 2 * Is.PartA + 4 * Is.PartB

To Server4: 8 * Is.PartA + 3 * Is.PartB

Check the attached model to see how it works.

Selection Weight.spfx

Share this post


Link to post
Share on other sites

Thank's for the example. I would like to add more parts (entities) in the simulation in my next step, and there this solution would not fit.

Do you have any other ideas? 

Share this post


Link to post
Share on other sites

×
×
  • Create New...