Vary Pass Fail Percentages with Possibility of Scrap

When you need to change the routing percentages with each pass through a looping section of your model with the possibility of permanently scraping the entity. Also see Vary Pass Fail Percentages Each Time Through Loop

Vary Pass Fail Percentages with Possibility of Scrap model image

Where to Find the Model Object

The following model object can be found in the model objects directory:

  • Inspection \ Vary Pass Fail Percentages with Possibility of Scrap

Difficulty Level

  • Ease of Use: Easy
  • Ease of Modification: Easy

How to Use the Model Object

  1. Open Your Model: Open your model or create a new blank model.
  2. Insert the Model Object into Your Model
    1. Locate the model object Vary Pass Fail Percentages with Possibility of Scrap and select the insert button.
    2. Move the cursor to the point of insertion and left mouse-click. The upper left corner of the model object will be inserted at the location of the mouse-click.
  3. Connect to Your Model
    1. Create a percentage route from the location in your model where you want the inspection to occur to Pass Inspection?.from your model to pas inpection with scrap
    2. Connect the No route from Pass Inspection? to the rework area in your model.from pass inpection to your rework with scrap
    3. Connect the Yes route from Pass Inspection? to the rest of your model.from pass inspection to rest of your model with scrap
  4. Update Action Logic: Modify the D2 distributions in the action logic located in Pass Inspection.

    Each time the same entity enters the Pass Inspection decision, the chance of success increases. The current settings give the following results: Pass Number Percent Successful 1 50% 2 75% 3 90% 4 95% 5 100% The “PASS”, “FAIL” or “SCRAP values for the a_Dir attribute, determined in Pass Inspection’s action logic, are tested in the Conditional routes leaving the decision. If a total number of failed inspections exceed a number you define at any of these inspection model objects in the model then the entity is scrapped and exits from the model.update action logic in pass inspection with scrap

  5. Define Values: Define the values for scenario parameters s_Total_Allowable_Failures based on the information provided under the heading Scenario Parameters below. The values for these Scenario Parameters must be provided to each entity before the simulation start.define scenario parameter in verify pass fail
  6. Completion: The model object is now integrated into your model, you should now be able to save and then simulate the model.

Controls Usage


  1. a_Count: The number of times an entity has been through the Pass Inspection?.
  2. a_Dir: Routing direction or selection “PASS” moves to the right “FAIL” goes back through the loop “SCRAP” goes to the Scrap1 activity
  3. a_Total_Failures: The number of times an entity fails in the entire model.

Scenario Parameters:

  1. s_Total_Allowable_Failures: The maximum number of failures that are allowed during the entire process for a single entity.
Was this article helpful?

Related Articles