Re: How to Revoke source in Interval Adjustable??

Ok, so basically you want your source stop after a certain moment of the day and start the day after?If so, have a look at the shift calendar. You can stop your object for example at 8.00 PM and start againg at 10.00 AM.

If you need something else maybe it could be useful see your model to understand what exactly you're modeling.

Re: How to Revoke source in Interval Adjustable??

I would also suggest using the ShiftCalendar, like @Alessio stated above. What you are doing seems a bit too complicated to me. However, your approach is working for me (in Plant 12.0; also remember to set the "Interval" of the Generator to 1 day [no need to change the other values]).

You could try the following to re-start the source, after changing Start/Stop during the runtime (note that I have moved "Days := Days + 1;" to the end, because I would model it as integer-variable with initial value of zero):

Re: How to Revoke source in Interval Adjustable??

uncheck the Blocking-checkbox of the source. Else the source will remember, when it tried to produce parts but was not able to (--> during the pause/unplanned times), and create all those MU's at once when the pause/unplanned time is over. I would in that case recommend putting an infinite-capacity buffer behind all sources to ensure the source is never blocked by its successors, or else the throughput may again not be as expected.