I think I'm almost done, the state of my model now,
I want to define it as the number of deferred order but I'm a bit confused on how to do it?
And I define my actions I take six different actions
The part about the reward may be to minimize the tardness or to calculate the average of the overall tardness (but I don't know how to calculate the average in flexsim)
As for the label part, I have defined four labels in the source
ArrivalTime is the arrival time of the goods
date is the delivery time
total arrival total arrival time
mark the order in which goods enter
I want to calculate the average tardness in the global table of flexsim. How should I do it?