question

Maru L avatar image
0 Likes"
Maru L asked Joseph Gillespie commented

process time according to a linear function

hello, I have a model where there are 3 processes. At the 3rd process, the processing time increased according to a linear function of y = 145.2x + 154. How do I set the process time according to said linear function?

process timeprocessing time
· 2
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

Joshua S avatar image
0 Likes"
Joshua S answered

Here is an example. Create a label that increments for each item that is created, then throw that label into the x value of your function and you can just put that equation directly into the edit field of the process time for the processor.

linear-function.fsm


linear-function.fsm (282.4 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.