Page 1 of 1

Modelling a simulation

Posted: Wednesday 29 February, 2012 - 14:04
by slimmdree
Hi Everyone,

I am a new learner on ED and am trying to model a simulation where an operator moves around three servers. on the trigger on entry of the three servers am suppose to choose this ->calloperators(atombyname([Team],model),1) and on the trigger on exit of the three servers am suppose to choose this -> freeoperators(atombyname([Team],model),i). i have done this, but whenever i run the simulation i tracer/error page coming up saying......
Server5: incorrect team reference in statement freeoperators.
39477 Server5: incorrect team reference in statement calloperators.
39478 Server12: incorrect team reference in statement freeoperators.
39479 Server12: incorrect team reference in statement calloperators.
39480 Server12: incorrect team reference in statement freeoperators.
39481 Server12: incorrect team reference in statement calloperators.
39482 Server6: incorrect team reference in statement freeoperators.
39483 Server6: incorrect team reference in statement calloperators.

so am really confused on wat to do....i would be glad if am able to get any help.

Thanks
Slimm

Re: Modelling a simulation

Posted: Wednesday 29 February, 2012 - 14:23
by marlies
Hi Slimm,

What is the name of the Team atom that you dragged into your model? The name of this atom should match with the text between the square brackets in your AtomByName function.

Regards,

Marlies

Re: Modelling a simulation

Posted: Wednesday 29 February, 2012 - 14:38
by slimmdree
Hi Marlies,

it is called TEAM, and it does match it...but still gives me those errors.

Thanks
Slimm

Re: Modelling a simulation

Posted: Wednesday 29 February, 2012 - 14:56
by slimmdree
Hi Marlies,

its actually working now...i made the mistake.

Thanks

Re: Modelling a simulation

Posted: Wednesday 29 February, 2012 - 15:00
by marlies
Strange... could there be a space behind the name of your atom? I attached a small example, maybe you can find a difference.

Re: Modelling a simulation

Posted: Wednesday 29 February, 2012 - 15:01
by marlies
Ok. Missed your post. Success with your model.