question

Cat avatar image
0 Likes"
Cat asked Cat edited

How to change the process time when get a delay message?

Hi,

I want to setup when I send a message from processor_1 to processor_3, processor_3 will change the process time.

I try to close/open port of processor_3 to appear this, but the result isn't match.

I think maybe I need to code in processor_3 to change process time, but I don't know which command can use.

Can you tell me the coding command? Thanks.

FlexSim 7.7.4
processorprocess timedelaytime
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 Cat edited

A process time is an evaluated function of source code. You can not change a source code in running model. BUT you can tell in a process time function to evaluate a label value. Then you can change while a model runs this label value. Each time process time gets evaluated, it reads the label value as a process time.

· 1
5 |100000

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

Cat avatar image Cat commented ·

Hi Joerg,

Thanks for you usually give me some recommendations to clarify my confusion.

I think maybe I can use a label of processor_3 and crate another processor_3-1 to process form processor_2's message.
Thanks.



点击投票支持 0 喜欢"

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.