Simio
  • Decide step which discriminate vehicle

  • General Simio discussions. THIS IS *NOT* A GOOD PLACE FOR SUPPORT QUESTIONS.
    To limit spam this and all Public Forums have very limited ability to attach files. We recommend that support issues and more technical topics be initiated inside one of the Simio Insider (SI) forums below where you can attach your model and see example solutions. See above Welcome forum to join Simio Insiders.
General Simio discussions. THIS IS *NOT* A GOOD PLACE FOR SUPPORT QUESTIONS.
To limit spam this and all Public Forums have very limited ability to attach files. We recommend that support issues and more technical topics be initiated inside one of the Simio Insider (SI) forums below where you can attach your model and see example solutions. See above Welcome forum to join Simio Insiders.
 #8061  by vavei5
 Mon Dec 12, 2016 12:37 pm
Hello ,

I want to create a process who will record different informations depend on the vehicle that is on it.

For example, I have one type of vehicle with 2 population members, so let say Vehicle[1] and Vehicle[2].

In my process I want to have a decide step to know if it is the Vehicle[1] or Vehicle[2] that is on my node

This is want I tried;

Decide : Entity.Population.Name==Vehicle[1]

But when I run my model Simio tell me : unable to get value of the property Decide.ConditionOrProbability
Invalid operation because types of operands must match. Both must be numeric or string

Can you help me figure how to solve my problem ?

Thank you :?
 #8063  by CWatson
 Mon Dec 12, 2016 4:21 pm
If you have both entities and vehicle objects entering the process at a node, you could do the following:

Decide step - Condition or Probability: Object == VehicleName[1]

(or alternatively: Object == VehicleName[2])