Page 1 of 1

Cycletime by condition

Posted: Thursday 28 April, 2016 - 19:35
by GroepT
Hi,

I am building a simulation model where I want an atom to stay in a server until another atom with a specific label (Label name "Type" with value 21) has reached a special queue, then I want the atom to leave the server.

Any ideas how I can model this?

Kind regards,

Re: Cycletime by condition

Posted: Tuesday 03 May, 2016 - 12:20
by HarryBunnik
Hallo,

You can manipulate this using CloseOutput(refAtom), OpenOutput(refAtom). So if you close the output of the server the moment something comes in (OnEntry) and opens it when the queue is reached by the desired atom.

I hope this helps you further,

Cheers,

Harry