cancel
Showing results for 
Search instead for 
Did you mean: 

Backward scheduling logic via Simtalk

Creator
Creator

Hey everyone,

 

I need your help in building the following logic for my model. 

 

Batches(BatchN) are booked/reserved on a specific Machine(M1 or M2) for a specific future date. If M1 is not available on that preferred date, check a day earlier, till it is available , then book on that date. 

 

Setup:

This logic is on MethodN(Entrance control for BufferN), checking M1availability(date/boolean: true available, false not) and creating the batch for the delivery table(Table1) of source1. 

 

Thanks in advance. 

 

Kind regards, 

 

Orxan

1 REPLY

Re: Backward scheduling logic via Simtalk

Phenom
Phenom
the shiftcalendar offers a scheduling function (see help --> schedule), it returns a start date if you set the third parameter to "backward"), this date you can compare with your stored jobs...

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net