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.

Ssu Ying C2 avatar image Ssu Ying C2 commented ·

Hello,

Sorry, I don't quite understand what you described. Do not know if the following picture is operating in the right direction?

Or maybe I should type others code in condition?

Thank you for your help.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Ssu Ying C2 commented ·

Quite right. please take some time to think about your message parameter "To". And you think to much how to implement your condition, that has been already set by the delay time of the message.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Joerg Vogel commented ·
Please check your “To” edit field values exactly!
1 Like 1 ·
Show more comments
Show more comments
Ssu Ying C2 avatar image Ssu Ying C2 commented ·

Ok, thank you very much.

0 Likes 0 ·

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.