New Software Release
Our latest release, Simio 11, is here!
Hi, I have a quick question. I have done this before, but it has been a few years and I cannot find my previous models for reference. I am trying to write an expression to decide the entity type. My question is about the and/or conditional statements. I know I can use && and both arguments will have to be true. However, what is the operator for if either argument 1 or argument 2 is true. Relating this to the Simio Expression. I currently am deciding if (is.ModelEntity && Is.TypeA) I want the expression (Is.ModelEntity & (Is.TypeA OR Is.TypeB) Thanks in advance!
I have created a simple model that I believe may have solved this problem. I used a dynamic selection rule of largest value first. I then multiplied the entity priority by the time in system. This expression can be extended to include other factors like the equation in the OP. Visually watching the model, it does as expected. If anyone has any suggestions or a better way to model this, feel free to share! I attached the example model. Example Model.spfx
Hi, I am trying to create a simple model containing a source server and sink, where two parts travel throughout the system. However, I am trying to create by own dispatch logic to determine which part in the Server's input queue is chosen next. I am hoping to create a function f(x) = C1X1 + C2X2 where C1 and C2 are constants, X1 is the time the part has been in the queue, and X2 is the part type. The part which returns the highest value then proceeds to processing next. Is this possible to model, or can anyone point me in the right direction? Thanks in advance!