When Will You Need This?
When you would like to transfer the attributes from a child entity to a parent entity.
The following model object can be found in the model objects directory: Misc \ Transfer Attributes from Child to Parent.
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 Transfer Attributes from Child to Parent 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. Connect a percentage route from the part of your model where you attach and transfer attributes from child to parent entity, to Match Child.
2. Connect a percentage route from Match Child to the rest of your model.
4. Update Objects
1. Change the names of Match Child, and Queue Child Entity to what maybe appropriate for your model.
5. Define Values
1. Change the example attribute (a_PassFail1) and variable (v_Txr_Cost1, v_Txr_VATime1, and v_Txr_PassFail1) to what is required in your model.
2. If there are more than one attributes assigned to the child entity, add the corresponding variables to store the values of attributes.
1. If you change/add attributes/variables for the child entity make sure that the values of attributes get stored in variables, see route between Queue Child Entity to Match Child.
2. If you change/add attributes for the child entity, make sure that the values of attributes are incremented or set as appropriate to the transfer variable. See Match Child.
Two types of attribute transfers are shown. The first type “adds” (Example: Inc Cost, v_Txr_Cost1) the value of the child attribute to the parent and is used for the cost and the value-added time transfer. This would allow the built-up of costs and value-added time for a complex assembly. The second type “transfers” the value of the child to the parent and is used pass quality (Example: a_PassFail1 = v_Txr_PassFail1) information from the child to the parent. Now that you have been given the pattern, existing variables can be changed and additional transfer variables can be added to support your modeling needs.
3. Change the type of attach route:
1. Attach to any entity — for general assembly.
2. Attach to the entity that created it — for matching corresponding elements.
The model object is now integrated into your model, you should now be able to save and then simulate the model.
Attributes, Variables, Scenario Parameters and Scenarios Usage
1. a_PassFail1: Can be removed. Example quality attribute used to assign a quality value to child entities.
1. v_Txr_Cost1: Can be removed. Temporary variable used to transfer the Cost of the child entity.
2. v_Txr_VATime1: Can be removed. Temporary variable used to transfer the Value Added Time of the child entity.
3. v_Txr_PassFail1: Can be removed. Temporary example variable used to transfer the quality information of the child entity.