How to set a chemical change downtime for a processor after it produced 200 runs

boey_ts
Not applicable
0 Views
5 Replies
Message 1 of 6

How to set a chemical change downtime for a processor after it produced 200 runs

boey_ts
Not applicable

[ FlexSim 17.0.13 ]

Hi, my processor will need to change chemical 1 hour after it produce 200 runs (every run take 30 minutes), how to setup a downtime for chemical change by runs not by a fix time table?

@Boey TS

0 Likes
Accepted solutions (1)
1 View
5 Replies
Replies (5)
Message 2 of 6

joerg_vogel
Not applicable
Accepted solution

You can use a setup time that is different for each 201th item. All other items have a setup time of 0, the 201th item has a time of an hour.

Alternatively you count or use a modulus division in the On Exit trigger that will close the input after 200th leaving item, set the State of the processor and sends a delayed message to himself by an hour. The On Message trigger opens the input again. The output of an object is a statistical value of

current.stats.output.value

or you can try the input statistical value. Alternatively

current.stats.input.value%200 == 0  

is logical expression that is true if the rest of the modulus division gets 0.

0 Likes
Message 3 of 6

boey_ts
Not applicable

Hi Jorg Vogel, i should add the down time is happen at every 200 runs?
Does the setup or On Exit trigger able to set repeated 1 hour additional downtime/delay at the end of every 200 runs?

Best regards

0 Likes
Message 4 of 6

joerg_vogel
Not applicable

Try it, and then if you have further questions ask them!

0 Likes
Message 5 of 6

benjamin_w2
Not applicable

Hi @Boey TS, Yes, the On Exit trigger should be able to trigger a state change of your processor. Try implementing the code that Joerg gave in his answer in this trigger.

0 Likes
Message 6 of 6

boey_ts
Not applicable

Hi, Sorry for the late reply, I try with setup, it is work.

For the second option, first trial not success may need more time to learn!

thanks a lot!

Best regards

Boey

0 Likes

Type a product name