Jump to content

fshawly

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by fshawly

  1. I'm not sure what you mean, but I've created an object and named it "Counter". If that's what you mean. I didn't think of that, I'll try it. I'm sure that the assignments are right, I've checked it through tracing the model and the assignment are correct. If I remember correctly, I believe the passengers stop at the node, or they go to wrong counters. Either way it's not what I want. I've tried, doesn't work .. No, I'm using single quotes. All I need is the right expression to use when comparing strings other than the String.Compare function. Thanks
  2. Hello, I'm working on a project where I'm modeling an airport. I have assigned passengers with their flight number as an integer and flight destination as a string. I've also done that to check-in counters. the problem I'm facing is when directing passengers to their counters according to the flight number and destination, I can't find the right expression to compare between the destinations on the passengers and counters on the node that leads the passengers to their counters. Also, I'm facing the same problem in other processes I'm using in the model. the current expression I'm using is: Candidate.counter.FN == Pass.FN && Candidate.counter.FD == "Pass.D", but this expression doesn't seem to work because passengers are still going to wrong counters. I've tried 'Candidate.counter.FD =="Pass.D"' which returns the following error: unable to resolve identifier ''Candidate' as member of element definition 'model' I've tried many other expressions but they either lead passengers to wrong counters or they evaluate the entire expression as false and passengers stop at the node. Can you please help by giving me the right expression? Thanks, Fouad
×
×
  • Create New...