The role of ConditionalEvent

54 views
Skip to first unread message

zhan yeye

unread,
Nov 17, 2020, 1:37:09 AM11/17/20
to Jaamsim Users Discussion Group
Hello, I would like to use JaamSim to learn the implementation of DES software.
But I don’t understand the function of the ConditionalEvent class. Could you tell me main functions of ConditionalEvent class?

Thanks for your help,  
Best wishes,
yeye

Harry King

unread,
Nov 21, 2020, 7:50:48 PM11/21/20
to Jaamsim Users Discussion Group
Yeye,

A conditional event (ConditionalEvent.class) is an event that is performed when a specified condition is satisfied. A normal event (Event.class) is scheduled at a specified future simulation time.

Most simulation software packages provide a way to specify conditional events. The standard algorithm is to execute all the normal events for the next simulation time until none are left and then check the conditions for the conditional events. If any of the conditional events are executed, the conditions are re-tested. Once none of the conditional events are executed, the simulation advances to the event time for the next normal event.

Harry

zhan yeye

unread,
Nov 25, 2020, 12:35:47 AM11/25/20
to Jaamsim Users Discussion Group
Dear Harry,

Thank you very much indeed for your help. (≧∇≦)ノ
Best wishes,

Yeye
Reply all
Reply to author
Forward
0 new messages