i'm using a three processor system giving each product a Due Date using label , for knowing if the Earliest Due Date (dispatching rule) is effective i need to know the Tardiness ( Lateness ) of the products according to their due dates
i'm using a three processor system giving each product a Due Date using label , for knowing if the Earliest Due Date (dispatching rule) is effective i need to know the Tardiness ( Lateness ) of the products according to their due dates
Hi @Ahmed T,
Here's a basic idea to get you started. In the attached model, you will find custom code under the Source1 properties and Processor1 properties that will essentially time stamp your items. In the source, the items are assign a "due date" based on their creation time + 20 seconds.
Then, at the processor, the items' processing times are evaluated. If the "due date" is a larger value than the current time, then these items are not late, so they receive a "0" for their tardiness label. If the current time is larger than the "due date," the difference between those times is calculated to assign a tardiness value to the item. Additionally, tardy items are colored red for the purpose of this example.
Hopefully this makes sense and helps. Let me know of any questions you might have.
Model: time-stamp-example.fsm
10 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved