Conditional Routing, Changeover, MTBF, Extensions
		simulation training & tutorials
		Author: CreateASoft Inc./Friday, May 23, 2014/Categories: Object Routing
		
		
		
		
		
		
		
		
			
 - Start with the 'Process Setup and Change Over' model
 
  - Switch to the Flow Properties tab
  
   - Select Additional Properties Definition
   
    - Switch Parameter Context to Object
    
     - Create a new variable here
     
     
 
 
 
 
- Select both 'P1' and 'P2' and Customize
 
  - Select Process Extensions/Event Handling
  
   - Under ObjectActivated Insert five lines
   
    - Line 1 - Condition Action, Edit and Enter -
    
    
- Line 2 - Expression Action, Edit
    
     - Select Obj_PartType from the left
- Enter 1 on the right
 
- Line 3 - Condition Action, Edit
    
     - If there are more conditions you can select Else IF and enter a new condition. However because we only have two parts select Else
 
- Line 4 - Expression Action, Edit
    
     - Select Obj_PartType from the left
- Enter 2 on the right
 
- Line 5 - Condition Action, Edit
    
    
 
 
 
- Next select 'Router'
 
  - Go into Process/Object/Condition Routing
  
   - Switch to Condition Based Routing
   
    - Delete the Default Routing
- For Line 2 - Edit
    
     - Enter Obj_PartType Smaller then 2
- Then set the Next Process to 'P3'
 
- For Line 3 - Edit
    
     - Enter Obj_PartType > 1
- Then set the Next Process to 'P4'
 
 
 
 
- Select 'P1' and Customize
 
  - Go into MTBF/MTTR/Priority/Availability/...
  
   - Check Enable MTBF and Gate Behavior
   
    - Change Time Based in to Seconds
- Set the Process Recovery Period to 20/30 Seconds
- Check Process Fails every
    
    
 
 
 
- Now select 'P2' and Customize
 
  - Go into MTBF/MTTR/Priority/Availability/...
  
   - Check Enable MTBF and Gate Behavior
- Change the Time Based in to Seconds
- Set Process Recovery Period to 20/30 Seconds
- Then check Process Fails
   
    - Enter 5/10 times in a period of 3600 Seconds (1 hour)
 
 
- Switch to the Simulation tab
  
  
 
- As the model runs use the Selected Item Analysis window to view when 'P1' and 'P2' go from Running to Failure.