question

ernesto daniel AG2 avatar image
0 Likes"
ernesto daniel AG2 asked Matthew Gillespie commented

how to set a "setup time" only for first item

Hello everyone, I already made a model with a "setup time" only for the first piece with process flow and I think I did it in a complicated way.

Is there a simpler way to do it? maybe with 3D or process flow

I attach the model

setup-time-first-piece.fsm

FlexSim 18.2.0
process flowsetup time
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

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered tannerp commented

Since the Processor already has a Setup Time function, I would just use the built-in feature, but change the time to 0 after the first time. I did this by putting a piece of conditional code in the Setup Time field:

  1. getoutput(current) ? 0 : 15

That code returns 15 when the output of the processor is 0 (i.e the first time) and then returns a 0 whenever the output is not 0 (every time after).

setup-firsttime.fsm


setup-firsttime.fsm (31.7 KiB)
· 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.