Skip to content

Tag: anylogic

Anylogic – Block and unblock based on condition

Is it possible to use a simple true/false statement in a Hold block’s blocking condition to block an agent if condition is true and unblock if condition is false? If not, is there another way? I need the Hold block to block if the condition resourcePool1.idle()==0 is true, otherwise I need it to unblock…