Modelling a simulation

All topics specific to modeling questions in Enterprise Dynamics
Post Reply
slimmdree
Posts: 13
Joined: Wednesday 29 February, 2012 - 13:55
Contact:

Modelling a simulation

Post 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
marlies
Posts: 301
Joined: Monday 17 January, 2011 - 09:28

Re: Modelling a simulation

Post 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
slimmdree
Posts: 13
Joined: Wednesday 29 February, 2012 - 13:55
Contact:

Re: Modelling a simulation

Post by slimmdree »

Hi Marlies,

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

Thanks
Slimm
slimmdree
Posts: 13
Joined: Wednesday 29 February, 2012 - 13:55
Contact:

Re: Modelling a simulation

Post by slimmdree »

Hi Marlies,

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

Thanks
marlies
Posts: 301
Joined: Monday 17 January, 2011 - 09:28

Re: Modelling a simulation

Post 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.
Attachments
team.mod
(16.39 KiB) Downloaded 316 times
marlies
Posts: 301
Joined: Monday 17 January, 2011 - 09:28

Re: Modelling a simulation

Post by marlies »

Ok. Missed your post. Success with your model.
Post Reply