Modelling a simulation
Modelling a simulation
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
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
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
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
Hi Marlies,
it is called TEAM, and it does match it...but still gives me those errors.
Thanks
Slimm
it is called TEAM, and it does match it...but still gives me those errors.
Thanks
Slimm
Re: Modelling a simulation
Hi Marlies,
its actually working now...i made the mistake.
Thanks
its actually working now...i made the mistake.
Thanks
Re: Modelling a simulation
Strange... could there be a space behind the name of your atom? I attached a small example, maybe you can find a difference.
- Attachments
-
- team.mod
- (16.39 KiB) Downloaded 318 times
Re: Modelling a simulation
Ok. Missed your post. Success with your model.