question

Tzu Hsuan C avatar image
0 Likes"
Tzu Hsuan C asked Joerg Vogel answered

Fire OnResourceAvailable at Simulation Start

In TaskExecuter and Operator, "Fire OnResourceAvailable at Simulation Start" is checked.

My questions are:

1. Does it simply mean that the Resource is available when simulation start?(This is defaulted)

And if it's not checked, the resource is unavailable until which moment? How to set up here?

2. Refer to FlexSim Basic Tutorials, it goes the object's OnResourceAvailable trigger will be fired when the simulation starts.

What is Fire mean here?

FlexSim 21.1.2
flexsim 21.1.2fire onresourceavailable
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

“Fire“ is setting a signal to initiate a response.
If a taskexecuter (operator, crane, vehicle) isn’t doing anything, he is available, but nobody knows it. If he gets a tasksequence, then he does the tasks of the tasksequence. If a tasksequence has been done, then he fires “I am available” event.
Then any listener can get into action On this event.

If you never set an event Resource is Available and you don’t dispatch any task-sequence to the Taskexecuter, he won’t notify any listener, that he is available.

Events are the fuel of a simulation run. If there aren’t any nothing will happen.

There are some event driven activities in process flow, that needs the event “resource is available”. Sometimes you simply need this event to occur on model run start to create a token.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.