Delmia DPM M3 - Create the Simulation
Short Description
Module 3 Create the Simulation © DELMIA Corp. 2005 Create the Simulation Overview In creating a simulation of an ass...
Description
1
2
Create the Working Environment
Create the Process Plan
3 Create the Simulation
4 5
6
Create Output files
Analyze the movements
Enhance the Simulation
7 Tool Validation
Module 3
Create the Simulation
© DELMIA Corp. 2005
R15AP2
1
3
Create the Simulation
Overview In creating a simulation of an assembly process, the manufacturing enterprise gains valuable information regarding the optimization of the process. Best trajectories to avoid clash conditions and part assembly sequencing are among the first, most critical information to be obtained. Now that the structure is set and the data ready, the movements of the simulation can be added. For the examples shown here, entire subassemblies are moved and conflicts will necessarily occur.
Objectives Topics in this module are:
Create move activities Use Dynamic clash to identify conflict conditions Edit and Delete move activities Add advanced part motion Run, Compile and Replay the simulation
DELMIA Corp. 2003
3 hours
2
Workbenches and Toolbars used in this Module Workbenches
Toolbars
© DELMIA Corp. 2005
R15AP2
3
3
Create the Simulation A
Create Basic Moves
B Add Dynamic Clash Detection
Hide Unused Resources View with Explode Create Move Activities
Activate Dynamic Clash Create Moves with Dynamic Clash
C
D Add Advanced Part Motion Refine Moves with Compass Manipulation Editor Change Compass Location Use Smart Target
Edit & Delete Moves
Edit Moves Delete Moves
E Run, Compile & Replay 3 hours Run the Simulation Compile the Simulation Replay the Simulation DELMIA Corp. 2003
Inst. 4
A
Create Basic Moves Hide Unused Resources View with Explode Create Movements
Inst. © DELMIA Corp. 2005
R15AP2
5
3
Create the Simulation
Create Basic Moves
About Move Activities Creating movement is the basis of the simulation. Movements generate the shots and tracks that the simulation will replay for analysis and visualization.
Because it is a virtual world, a basic move can be constructed without reference to other elements in the world. This can be refined with other tools.
Moves can only be created with reference to a process activity. They can be inserted before, after, or as a child of the process activity. This restriction guarantees that the process plan accurately reflects the intended movements of the parts for the assembly or disassembly sequence. This creates a valuable asset in Design for Assembly discussions. It also forms the preliminary information for the generation of work instructions for the shop floor production effort.
More about Move Activities can be found in the On-Line documentation © DELMIA Corp. 2005
R15AP2
6
Create the Simulation
3
Create Basic Moves
Hide Unused Resources – Procedure Before creating the movements of the simulation, it might be useful to do the following: 1. Hide unused resources to give a better view of the movements 2. Look at the original trajectory of all of the parts involved in the product
1
To Hide unused resources select the resource to be hidden, right click and select Hide/Show. The resource will remain in the PPR tree but be invisible in the world Repeating the process will return the visualization to the world
© DELMIA Corp. 2005
R15AP2
7
3
Create Basic Moves
Create the Simulation
View with Explode – Procedure Use Explode to look at all of the parts involved in the product. 1 Highlight the product in the PPR tree.
2
Select Explode from the Analysis Tools toolbar.
3 Observe the product in Exploded view. Notice that the explode sequence can be scrolled.
4 CANCEL the view after observation. If you selected OK above, the following Warning will appear
Select NO. The product will return to normal. © DELMIA Corp. 2005
Inst. R15AP2
8
3
Create Basic Moves
Create the Simulation
Create Basic Moves – Procedure A basic move activity can be created without consideration of other elements in the world. 1 These two steps can be done in either order
Locate the Create a Move Activity on the Simulation Activity Creation toolbar.
2 In the Process node highlight the process activity where the move will be created (NOT the ProductList).
3 Click the Create a Move Activity icon. When the Activity Creation Options box comes up, notice that a move activity can be inserted into the process before, as a child, or after the designated point in the process.
4
Select the insertion point and click OK. © DELMIA Corp. 2005
Inst. R15AP2
9
3
Create Basic Moves
Create the Simulation
Create Basic Moves – Procedure A Preview window, a Manipulation toolbar, and an Edit Shuttle box will open.
The Preview window should contain the representation of the part that was identified in the Process node of the PPR tree. If the product data has not been linked to the process activity by Assigning the Product the preview screen will be blank
© DELMIA Corp. 2005
5 For basic moves, click OK in the Edit Shuttle box
R15AP2
10
3
Create the Simulation
Create Basic Moves
Create Basic Moves – Procedure
When the Edit Shuttle dialog box is closed, the compass attaches to the geometry that will be moved, and the Track box open.
The track is automatically named as a move.
6 Grab an axis of the compass and move the mouse. The part will move as far as is desired on that axis. © DELMIA Corp. 2005
A Default cycle time of 5 seconds is assigned.
R15AP2
11
3
Create the Simulation
Create Basic Moves
Create Basic Moves – Procedure 7
8
When the desired distance is reached, let go of the compass and record the move by clicking on the Record icon located on the Recorder toolbar
When the move has been recorded, a line will appear showing the trajectory
© DELMIA Corp. 2005
R15AP2
12
3
Create the Simulation
Create Basic Moves
Create Basic Moves – Procedure 9 Continue making and recording movements by grabbing and moving the compass until the part is located in the desired position.
Each axis movement must be recorded separately
Once recorded, a move is called a shot
© DELMIA Corp. 2005
R15AP2
13
3
Create Basic Moves
Create the Simulation
Create Basic Moves – Procedure 10 View the moves (shots) by using the Player toolbar. The Player permits viewing of the movements in a variety of ways: Skip to beginning (home)
Play the simulation by time or by a single shot
Change loop mode will allow the play to be linear or looped
Step backwards One shot at a time
Stop play
Skip to end
Step forward one shot at a time Play forward
Play backwards
© DELMIA Corp. 2005
R15AP2
14
3
Create Basic Moves
Create the Simulation
Create Basic Moves – Procedure 11 When the movement activity is satisfactory, click OK in the Track box. The moved part and the trajectory line remain, and the PPR tree is updated.
© DELMIA Corp. 2005
R15AP2
15
3
Create the Simulation
Create Basic Moves
Reviewing the Move Activity - Procedure Once the move activity is part of the PPR tree, it can be accessed at any time by double clicking on it. Doing so will bring up the move activity environment, and the activity can be viewed with the player toolbar.
© DELMIA Corp. 2005
R15AP2
16
3
Create the Simulation
Create Basic Moves
Run the Simulation - Procedure After move activities for a simulation have been created, the simulation can be run. Each move activity is viewable separately: however, the run simulation command will go through the process in the sequence called for by the process activities.
1
The Initial State should have been saved when the working environment was created. If it was, then it is a good idea to restore the initial state before running the simulation.
2
Click OK on the Restore Initial Condition for all Products and Resources. This returns the world to the condition before any movements were introduced.
3
Locate the Process Simulation icon on the Simulation toolbar
4
Select the starting point of the simulation element by highlighting it in the PPR tree. Selecting the Process node (or nothing) will run the entire simulation. Inst.
© DELMIA Corp. 2005
R15AP2
17
3
Create Basic Moves
Create the Simulation
Run the Simulation - Procedure 5
Click the Process Simulation icon. Additional toolbars become visible. Notice that the Process Simulation toolbar permits the setting of the step size of simulation. It also tracks the elapsed time.
This will display a box that identifies each activity as it occurs.
Simulation options will be addressed in another module.
Allows viewing of nonprocess activities.
This toolbar works the same as the player toolbar and permits the playing of the simulation in sequence or in steps forward and backward, as well as jumping to the end points and looping.
Controls the visualization update rate. Continually adjusts the simulation step size to real time.
6
Play the simulation.
7
When the simulation is finished or you wish to stop, click the X to close the box or toggle the Process Simulation icon to off.
© DELMIA Corp. 2005
Inst. R15AP2
18
Create Basic Moves – Exercise
DELMIA Corp. 2003
19
3
Exercise – Create Basic Moves 20 min.
Scope: This exercise will give you practice in creating basic simulation moves. It will begin with an established environment containing a process plan and the 3.5 HP engine as the product. Although most resources are hidden, the workbenches remain as a reference point. In the interests of time, no attempt has been made to develop a complete simulation study involving all of the components of the engine. Conditions: V5 and DPM Assembly Process Simulation workbench must be open. Access to the files in R15 DPM Assembly / PROJECT DATA
In this exercise you will: Hide unused resources View the product parts with Explode Create basic move activities
DELMIA Corp. 2003
20
Do It Yourself (1/3)
Starting point
Ending point
Load: R15 DPM Assembly / Project Data / Process / Disassembly3 Hide Unused Resources Use the Hide/ Show selection. Right click on each item in the PPR tree to hide the CHAIR, TOOLCART, AND WRENCH
© DELMIA Corp. 2005
R15AP2
21
Do It Yourself (2/3) Use Explode to look at all of the parts in the Engine Examine the PPR tree for the process plan. If there is not a process activity and product data linked to every part, then there will be conflicts when move activities are created.
Use this process: 1. Highlight the Product node. 2. Select Explode from the Analysis tools toolbar. 3. Examine the parts. 4. Close the view. DO NOT alter the positions.
© DELMIA Corp. 2005
R15AP2
22
Do It Yourself (3/3) Create Basic Move Activities that will remove the following subassemblies from the engine: • • 1. 2. 3. 4. 5. 6. 7. 8. 9.
Cover Air Filter Highlight the Process Activity where the move will be created. Create a move activity and designate its position “as child”. Check that the preview window has the correct geometry then Close the Edit shuttle box. Grab the compass on an axis that will move the part away from the engine. Record the move. Repeat grabbing and moving the part until you can position it on the workbench. Record each shot. Use the player toolbar to reset and view the moves. When satisfied, close the track box to finish the move activity for that part.
SAVE As: R15 DPM Assembly / Project Data / Process / Simulation1 © DELMIA Corp. 2005
R15AP2
23
B
Add Dynamic Clash Detection Activate Dynamic Clash Create Moves using Dynamic Clash
Inst. © DELMIA Corp. 2005
R15AP2
24
3
Create the Simulation
Add Dynamic Clash Detection
About Dynamic Clash RECALL: A basic move activity can be created without consideration of other elements in the world. Dynamic Clash is a function that will identify clash conditions as a move is being performed. Critical information regarding the direction, axis orientation, and path that the part must travel to locate properly without conflicting with any of the surrounding geometry is obtained .
Activating Dynamic Clash when creating movements will assist in determining the viability of the intended movement by providing feedback when a clash condition is present. This information allows modification of the move before it is recorded and becomes part of the simulation. Using this functionality when creating moves in a simulation greatly reduces the need for editing later. Dynamic Clash can also provide early indicators of deficiencies in the process plan by demonstrating unsolvable clash conditions, thereby allowing modification of the process at an early stage of effort. While Dynamic Clash offers a great deal of visual input, it does not analyze or generate reports. This functionality will be addressed later in this course. © DELMIA Corp. 2005
More about Collision Detection can be found in the OnLine documentation R15AP2
25
3
Add Dynamic Clash Detection
Create the Simulation Activate Dynamic Clash - Procedure
1
Locate the Clash icon on the Simulation Analysis toolbar.
2
Using the Pull down arrow, pull the Clash toolbar out of the Simulation Analysis toolbar. All movement is stopped when a clash is encountered.
Clash Detection (off) No clash information is provided.
Clash Detection (on)
3
Turn on Clash Detection by selecting the Clash Detection (on) icon.
Inst. © DELMIA Corp. 2005
R15AP2
26
Create the Simulation
3
Add Dynamic Clash Detection
Create Moves using Dynamic Clash - Procedure 4
Create a move for a part that appears likely to cause conflict with its surroundings.
5 Attempt to move the part and notice that the places where the moving part will contact other parts become highlighted in red. The red highlighted contact area will disappear when the conflict no longer exists.
Inst. © DELMIA Corp. 2005
R15AP2
27
3
Create the Simulation
Add Dynamic Clash Detection
Create Moves using Dynamic Clash - Procedure
Working with Dynamic Clash Activated reduces the operating performance of the software. It is best to turn Dynamic Clash on only when required to visualize potential clash conditions, and then turn if off again.
Clash Detection (off) No clash information is provided.
© DELMIA Corp. 2005
R15AP2
28
C
Edit and Delete Moves Edit a Move Activity Delete a Move Activity
Inst. © DELMIA Corp. 2005
R15AP2
29
3
Create the Simulation
Edit and Delete Moves
About Editing and Deleting Move Activities The ability to modify movements greatly enhances the speed and utility of doing simulation studies. It is not uncharacteristic for a completed simulation study to be modified and reused in a slightly different context in order to have multiple scenarios to compare and evaluate. It is also not uncharacteristic for a simulation under construction to require modification based on information that becomes apparent with the use of Dynamic Clash or other downstream analyses. Whether using Hub or file based systems, this iterative interaction with the process plan is crucial to the development of a viable study. EXAMPLE: Dynamic Clash may reveal that the process activity calls for the movement of a sub-assembly which cannot be accomplished with the sub-assembly intact. In this case, the process plan requires modification to include process activities at the component level. Once accomplished, move activities can then be generated for individual parts, or part groups, in a sequence that will prevent clashing.
Moves can be modified or deleted at any point during or after construction of the simulation.
© DELMIA Corp. 2005
More about Editing and Deleting Move Activities can be found in the On- Line documentation R15AP2
30
Create the Simulation
3
Edit and Delete Moves
Delete a Move Activity - Procedure A complete move activity can be deleted in its entirety simply by highlighting it in the PPR tree and then using the Remove from PPR tree icon A shot ( or multiple shots ) within a move activity can also be deleted so that the move activity itself remains but is modified for some new influence in the environment, e.g. the addition of a resource like a tool, human, or robot.
1 Select the move activity that needs to be modified. Double click to open the activity. This will activate the player, recorder, and manipulation toolbars.
© DELMIA Corp. 2005
R15AP2
31
3
Edit and Delete Moves
Create the Simulation Delete a Move Activity - Procedure
The example shown has 5 recorded moves (shots)
Notice that the compass is attached to the part, as at the beginning of the move activity.
2
Click on the end point of the shot you wish to delete. The compass will move to that point
1
2
Example: to delete this move Click here
3 4
© DELMIA Corp. 2005
5
Inst. R15AP2
32
Create the Simulation
3
Edit and Delete Moves
Delete a Move Activity - Procedure The example shown now has 4 recorded moves (shots)
3 Click on the Delete move icon.
The shot disappears.
4 View the new trajectory by running the move activity from the Player toolbar.
5
Record the modification and close the track. The move activity will be updated to the new condition.
© DELMIA Corp. 2005
R15AP2
33
3
Create the Simulation
Edit and Delete Moves
Edit a Move Activity - Procedure
A shot ( or multiple shots ) within a move activity can also be edited so that the move activity itself remains but is modified for some new influence in the environment, e.g. the addition of a resource like a tool, human, or robot.
1 Select the move activity that needs to be modified. Double click to open the activity. This will activate the player, recorder, and manipulation toolbars.
© DELMIA Corp. 2005
R15AP2
34
3
Create the Simulation
Edit and Delete Moves
Edit a Move Activity - Procedure
Notice that the compass is attached to the part, as at the beginning of the move activity.
2
Click on the end point of the shot you wish to delete. The compass with the part will move to that point.
3 Use the compass to reposition the Part.
Inst. © DELMIA Corp. 2005
R15AP2
35
Create the Simulation
3
Edit and Delete Moves
Edit a Move Activity - Procedure 4
Click on the edit shot icon.
The trajectory will reorient to the new shot location. This can be done as many times as desired until recorded.
5
View the new trajectory by running play on the Player toolbar.
Each edit or delete must be recorded; however, any number of edits or deletes can be made until the new move activity is satisfactory. 6
When the new move activity has been modified to satisfaction, close the track dialog box with OK.
© DELMIA Corp. 2005
R15AP2
36
Use Dynamic Clash and Edit Movements – Exercise
DELMIA Corp. 2003
37
Exercise – Use Dynamic Clash & Edit 20 min.
Scope: This practice exercise is to familiarize you with the use of Dynamic Clash as a valuable tool for the creation of viable move activities. The feedback information from Dynamic Clash will cause re-evaluation and editing of movements that were intended or recorded and improve the reliability of new move creation. Conditions: V5 and DPM Assembly Process Simulation workbench must be open. Access to the files in R15 DPM Assembly / PROJECT DATA In this exercise you will: Turn on Dynamic Clash Edit existing movements Create additional move activities Examine collision conditions
DELMIA Corp. 2003
38
Do It Yourself (1/3)
Starting point
Ending point
Turn on Dynamic Clash and use the information to re-evaluate the existing move activities. Use Delete and Edit functions to modify existing move activities. Create move activities for the next set of parts that avoid collisions wherever possible.
Load: R15 DPM Assembly / Project Data / Process / Simulation1
© DELMIA Corp. 2005
R15AP2
39
Do It Yourself (2/3) 1. Turn on Dynamic clash detection
2. Play the move activities of the Cover and Air Filter parts that were disassembled in the previous exercise. Determine if there are clashes in those moves. Use the Delete and Edit functions on the Recorder toolbar to modify the moves to avoid clashes where possible. Improve time if possible.
3. Create Move Activities that will remove the following subassemblies from the engine. Avoid clashes where possible. Edit or Delete moves to obtain the optimal path and time.
• • • • •
Muffler Carburetor Flywheel Coil Crankcase cover
© DELMIA Corp. 2005
Question for consideration • If the grid size set in the environment is in smaller increments, will it influence whether or not a clash occurs?
R15AP2
40
Do It Yourself (3/3)
4. Discuss with your instructor which subassemblies have insolvable clash conditions and what would have to be done to resolve them. You do not need to be concerned about the location of the parts on the workbench
5. If time permits, modify the process plan and product data links to resolve one clash condition at the part level. •Add a component level activity •Manage the process sequence in the Pert Chart •Link the product geometry •Create a move activity for that part
Save As: R15 DPM Assembly / Project Data / Process / Simulation2
© DELMIA Corp. 2005
R15AP2
41
D
Add Advanced Part Motion Refine Moves with Compass Manipulation Editor Change Compass Location Use Smart Target
Inst. © DELMIA Corp. 2005
R15AP2
42
3
Add Advanced Part Motion
Create the Simulation
About Adding Advanced Part Motion Precision and efficiency are gained by using advanced part motion when creating move activities. Advanced part motion comes from sophisticated manipulation of the Compass. In an assembly study, if a part must end up in an absolute location, the move activity can be pre-set to that location. This eliminates the need for multiple move activities. If it is desirable for movements to be a some standard incremental unit of rotation (like 90 degrees) or translation (like 2 meters), then it is far more efficient to preset moves to meet these requirements. In some cases it is necessary to manipulate the part with respect to a local axis like a robot or human. In this case the part’s origin is not always useful and a change of placement of the compass is called for. Smart Target is a functionality that will permit the user to snap a move activity to an axis, a line or a plane. It gains efficiency by snapping into alignment rather than forcing the user to try to find it.
© DELMIA Corp. 2005
More about Compass Manipulation can be found in the On-Line documentation R15AP2
43
3
Create the Simulation
Add Advanced Part motion
About - Refine moves with Compass Manipulation Editor Basic moves are created by grabbing the geometry and moving it to a location that appears to be visually acceptable. This is called relative placement. If the geometry must move to a known location, it is far more efficient to define that location and eliminate the need for visual guesswork. Efficiency is also gained in the reduction of moves thereby influencing cycle time. Likewise, if parts must rotate or move along an axis in specific increments as in automated assembly, compass parameters can be set to reflect such situations. Compass manipulation refinements can be made at the shot level of a move activity and are available as part of shot modification with editing and deleting move activities.
1
Activate a Move Activity, the Manipulation toolbar comes up.
2 Select the Editor icon to open the Parameters for Compass Manipulation dialog box.
3
The top part of the dialog box will show the current coordinates of the part involved in the move activity relative to the world origin. Set the new coordinates and click Apply.
© DELMIA Corp. 2005
R15AP2
44
3
Create the Simulation
Add Advanced Part motion
About - Refine moves with Compass Manipulation Editor The top part of the box indicates the current location (relative to the world origin) of the part involved in the move activity.
The bottom part of the box permits the designation of the linear distance and/or the rotational angle for each compass move.
© DELMIA Corp. 2005
Revising these settings to a known set of coordinates will cause the part to move to the identified location and angle. Click Apply once changes are made.
Defining the position and angle of the move does not consider clash conditions.
If multiple moves are required, the absolute position can be set as the first or last shot of a move activity.
In this example any move activity that is initiated will only be able to move in 500 mm increments and any rotations will occur only every 45 degrees. The constraint was applied to every direction. R15AP2
45
3
Create the Simulation
Add Advanced Part motion
Refine Moves with Compass Manipulation Editor - Absolute Location - Procedure 1 2
Double click on a move activity to open it, then select the Editor from the Manipulation toolbar. For a new move activity, input the coordinates of the absolute position, or make basic moves to avoid clash, then set the absolute position. Click apply. 3 To edit a move activity, delete activities that are extraneous to the final location. 4
Position the compass on the shot point from which the move to the absolute location will begin.
5 Input the coordinates of the absolute location. Click apply. 6 Record the new shot. © DELMIA Corp. 2005
Inst. R15AP2
46
3
Add Advanced Part motion
Create the Simulation
Refine Moves with Compass Manipulation Editor – Incremental Units Procedure 1
Double click on a move activity to open it, then select the Editor from the Manipulation toolbar.
2
Input the desired linear translation increments along each axis.
3 Input the desired rotation increments along each axis.
4
Move the part using the compass and note the movement reflecting the designated increments.
5
Record each shot.
Inst. © DELMIA Corp. 2005
R15AP2
47
3
Add Advanced Part motion
Create the Simulation About – Change the Compass Location
When creating basic move activities, the part is manipulated with the part’s origin relative to the world origin. If there is another influence in the manipulation of the part, like a human hand, or automated pick and place, it will be more effective to see the move from the vantage point of the physical contact. Moving the compass to the location where the part will be handled will allow the simulation to represent more realistic visualization of the process, even without the resources being present. Identified point of contact for handling.
Moved compass.
Inst. © DELMIA Corp. 2005
R15AP2
48
3
Add Advanced Part motion
Create the Simulation Change Compass location - Procedure
1
2
3
Activate an activity so that the Manipulation toolbar comes up.
The compass is attached so the Attach/Detach icon is active (orange).
Detach the compass by clicking on the Attach/ Detach icon. The icon will change to a released hand and the compass will turn white. Place the cursor over the compass until the crossed arrows appear then move the compass to the desired new location and release.
4 Re-attach the compass to this location with the Attach/Detach icon. The icon show the attached hand and turns orange again. The compass will turn green again.
© DELMIA Corp. 2005
5
Notice that an open hand and a dot indicate the original position of the compass. Any movements created will now be in reference to this location on the part. R15AP2
49
3
Add Advanced Part motion
Create the Simulation
About – Using Smart Target Smart target is a functionality that will allow the user to snap a move activity to a plane, line or axis. It is useful for aligning a move with a location rather than estimating it visually. This reduces the recording and editing of unnecessary move activities, again influencing cycle time. As part of the Manipulation toolbar, once activated, the Smart Target function has a selection of ways to align a part location to the target location. The selection can be chosen to constrain the type of targeting or it can left at the default “any geometry.” The cursor will display the type of selection that will be made as it identifies legitimate selections for targeting.
The part can be inverted by symmetry which creates a mirror image but changes the data
The Dynamic Smart Target function will not display a dialog box because it permits free selection of a series of constraints to align. These constraints must be selected between the part to be moved and the final location of the part. All of the same features can be selected; lines, planes, axis, points, etc. Once selected, moving the part to proximity of the target will cause the part to snap into place. © DELMIA Corp. 2005
The part can be flipped
Inst. R15AP2
50
Add Advanced Part motion
Create the Simulation
3
Use Smart Target - Procedure 1
Open or Create a move activity. Click OK in the Edit shuttle dialog box.
2
Select Smart Target icon from the Manipulation toolbar.
3
Constrain the selection or leave the default set to Any geometry.
The cursor will designate: A Plane A line
4
Move the cursor over the part geometry until you find a plane, axis, line or point that you wish to align, then click to select.
In this example, the axis of the hole in the crankshaft cover was aligned with the axis of the crankshaft.
A point A cylinder A circle A V4 Axis © DELMIA Corp. 2005
R15AP2
51
3
Create the Simulation
Refining movements by using Smart Target - procedure 5
Add Advanced Part motion
Move the cursor to the destination location and identify a plane, axis, line or point that is to be aligned with the first selection. Click to set. The part will jump to the alignment designated.
A possible next target would be to align the top line of the part to the matching line on the block
Smart Target remains active until toggled off. This permits reuse of targeting until complete.
6 Record the move. Using Dynamic Smart Target allows the selection of multiple points to reference between the part and the target location rather than just one at a time. © DELMIA Corp. 2005
R15AP2
52
E
Run, Compile and Replay Run the Simulation Compile the Simulation Replay the Simulation
Inst. © DELMIA Corp. 2005
R15AP2
53
3
Create the Simulation
Run, Compile and Replay
About Running, Compiling and Replaying Simulations Once move activities for a simulation have been created, the simulation can be run. Each move activity is viewable separately. However, the run simulation command will go through the process in the sequence called for by the process activities. Compiling a simulation is the means to save a simulation in its current state. This is useful if variations on a baseline process are part of the study as this will save time in recreation. Compiling each variation of the process will capture that variation’s advantages and disadvantages and offer a potent tool for discussion and evaluation. It is sometimes necessary to compile the simulation in order to conduct analyses. Replay is a means of viewing a compiled simulation. The replay of a simulation can be captured as an AVI to facilitate communication.
More about Running, Compiling and Replaying simulations can be found in the On-Line documentation © DELMIA Corp. 2005
R15AP2
54
3
Run, Compile, and Replay
Create the Simulation
Run the Simulation - Procedure Once move activities have been created, the simulation can be viewed. The Initial State should have been saved when the working environment was created. If it was, then it is a good idea to restore the initial state before running the simulation.
1
Click OK on the Restore Initial Condition for all products and resources. This returns the world to the condition it was in prior to any movements being introduced.
2
Locate the Process Simulation icon on the Simulation toolbar.
3
Select the starting point of the simulation element by highlighting it in the PPR tree. Selecting the Process node (or nothing) will run the entire simulation.
Inst. © DELMIA Corp. 2005
R15AP2
55
3
Run, Compile, and Replay
Create the Simulation
Run the Simulation - Procedure 4
Click the Process Simulation icon. Additional toolbars become apparent. Notice that the Process Simulation toolbar permits the setting of the step size of simulation. It also tracks the elapsed time.
Turning this on will display a box that identifies each activity as it happens.
Simulation options will be addressed in another module.
This toolbar is works the same as the player toolbar and permits the playing of the simulation in sequence or in steps forward and backward as well as jumping to the end points and looping.
Allows viewing of non- process activities.
Continually adjusts the simulation step size to real time.
Controls the visualization update rate.
5
Play the simulation.
6
When the simulation is finished or you wish to stop, click the X to close the box or toggle the Process Simulation icon to off.
© DELMIA Corp. 2005
R15AP2
56
3
Run, Compile, and Replay
Create the Simulation
Compile the Simulation - Procedure When the simulation is satisfactory - Compile the simulation to save it. 1 From the Simulation toolbar select the Compile Simulation icon.
2 The Compile Simulation dialog box appears.
6 Click OK.
3
Name this iteration of the simulation some unique name.
4
Set the step size larger to run faster if desired.
5
If Retain Initial State is activated all elements present are retained. If not then only the products and resources assigned to activities are retained.
7 If the Applicative Data option was set through Tools/Options then the name of the replay will be seen in the PPR tree under the Applications node. © DELMIA Corp. 2005
R15AP2
57
3
Create the Simulation
Run, Compile, and Replay
Replay the Simulation - Procedure A compiled simulation is viewable through replay.
1
From the Simulation toolbar, select the Replay icon.
The Replay toolbar appears. It works like the other player toolbars.
The Replay options will allow you to change replays and the speed selection will allow you control the speed of the replay.
2 Play the simulation in the desired mode. A replay is a captured state of a compiled simulation. Changes made to the process after the replay was created will not be included. It is not unusual to have multiple replays of the process in various stages of development or in the context of various scenarios. © DELMIA Corp. 2005
R15AP2
58
Use Advanced Motion Techniques and Compile a Simulation – Exercise
DELMIA Corp. 2003
59
Exercise – Use Advanced Motion & Compile 20 min.
Scope: In this exercise you will finish the disassembly of the engine while practicing the use of Advanced Movement techniques. When you have completed the disassembly you will compile the simulation an run the replay Conditions: V5 and DPM Assembly Process Simulation workbench must be open. Access to the files in R15 DPM Assembly / PROJECT DATA
In this exercise you will: Create additional move activities that use absolute location and incremental units Change the compass location Use Smart Target to snap a part to an assembly
DELMIA Corp. 2003
60
Do It Yourself (1/5)
Starting point
Ending point
Use the advanced movement techniques to disassemble the rest of the engine, then compile the simulation for replay.
Load: R15 DPM Assembly / Project Data / Process / Simulation2 © DELMIA Corp. 2005
R15AP2
61
Do It Yourself (2/5) 1. Remove the Head Assembly to this Absolute location.
2 Remove the Exhaust valve, Intake valve, and Cam in these incremental units. Question for consideration. Is it possible to locate these parts on the workbench in these increments?
3. Detach the compass from the part origin and relocate it at the end of the Crankshaft.
© DELMIA Corp. 2005
R15AP2
62
Do It Yourself (3/5) 4. Remove the Crankshaft and put it on the workbench but DO NOT record the movements.
5. Use Smart Target to snap the axis of the Crankshaft to the hole in the block. • Select Smart Target. • Select the axis of the Crankshaft. • Select the axis of the hole in the block. • Record the move.
© DELMIA Corp. 2005
R15AP2
63
Do It Yourself (4/5)
6. Continue using Smart Target to snap the plane of the Crankshaft to the plane of the hole opening in the block. • Start position– the crankshaft axis is aligned with the hole axis. • Select the plane of the crankshaft. • Select the plane of the hole opening. • Record the move. Start position
Select the plane of the crankshaft. © DELMIA Corp. 2005
Select plane of the hole opening. R15AP2
64
Do It Yourself (5/5)
8. Your screen should have the Crankshaft correctly placed in the hole of the block.
9. Compile the simulation and name it Engine Replay 1.
Save As: R15 DPM Assembly / Project Data / Process / Simulation3 © DELMIA Corp. 2005
R15AP2
65
3
Create the Simulation – Module Summary
Summary This module is the heart of creating a basic simulation. There is much more that can be done; however, the process can now be viewed and initial conclusions can be drawn.
Coming Up
Enhance the simulation Add text, change viewpoints, create pauses and delays, insert messages, and other enhancements. 3 hours
DELMIA Corp. 2003
66
View more...
Comments