question

Ssu Ying C2 avatar image
0 Likes"
Ssu Ying C2 asked Caraiman C commented

Processor start time

Hello,

My Flexsim version is 7.1.4.

I'm trying to let the processor's start time = 10. That means item in the queue must wait until time equals 10 to enter the processor.

I'v tried to use the trigger in processor. I set close and open ports in OnEntry like

and add some code in the process time.

But these two methods are not feasible. Is there any other way to solve the problem?

FlexSim (other)
FlexSim (other - please specify)
processorprocess time
openinput.png (11.2 KiB)
從10開始.png (14.2 KiB)
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 Caraiman C commented

FlexSim is an discrete event driven simulation. If you set a condition in a trigger there isn’t an event that would trigger the condition. You can close the input of the processor in the OnReset trigger. Then you send a delayed message to the processor in the OnReset trigger with a delay of 10 seconds. This is going to be your event. When the processor receives the message, the OnMessage event trigger of the processor fires and executes the trigger code. You open the input of the processor in this trigger.

· 6
5 |100000

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