Manual Plant Simulation Parte 2
Manual Plant Simulation Parte 2
Manual Plant Simulation Parte 2
Show MU Names
Show Predecessors
Show Successors
Show Comments
Show Connections
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Select Options in the Frame
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Model with Objects from the
Class Library
You can:
• Insert an Object from the Class Library
• Insert an Object from the Toolbox
Back to Working with the Frame
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Model with Objects from the
Class Library
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Model with Objects from the
Class Library > Insert an Object from the Class Library
• Click the object of your choice with the left mouse button to select it. The insert cursor looks like this .
• While holding the mouse button down, drag the object to the target position in the Frame window and drop it.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 72 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Model with Objects from the
Class Library > Insert an Object from the Class Library
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Model with Objects from the
Class Library > Insert an Object from the Toolbox
• Click the toolbar, i.e., the tab, which contains the object you would like to insert.
• Move the mouse to the icon of the object.
• Click the object with the left mouse button to select it.
• Move the mouse to the target position in the Frame window and click the mouse button once.
• To insert several instances of the same object class, hold down the Shift or the Ctrl key while you click the mouse button in the Frame window. This
way you do not have to return to the Toolbox each time after inserting an object.
• To go to the class of an object, press the Ctrl key and click the object in the Toolbox. Note that Plant Simulation highlights the class object in the
tree window in the Class Library. Double-click that object in the tree window to edit class properties or hold down the Ctrl+Alt keys and click the
object in the Toolbox. Note that this does not work, when the object is already selected.
Go to Insert an Object from the Class Library
Back to Model with Objects from the Class Library
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Model with Objects from the
Class Library > Insert an Object from the Toolbox
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Add a Graphic and a Color to the
Background or the Icon of the Frame
Add a Graphic and a Color to the Background or the Icon of the Frame
To add a graphic to the background of a Frame, do one of the following:
• Drag a .gif, .bmp, .ppm, .ppm raw, .dgn, .dxf, or a .dwg file from the Windows Explorer, the Internet Browser, the icon library etc. over the
background of the Frame and drop it there.
This new graphic will then replace the icon named background of the Frame. If you have not assigned a background icon, Plant Simulation
automatically creates a background icon. Note that Plant Simulation does not automatically scale the size of the background icon to the size of the
Frame!
You can also add a background picture with the method setBackgroundImage.
• Drag a layout drawing you created in Autodesk over the background of the Frame and drop it there.
You can use this layout drawing as the actual background of the Frame and insert the Plant Simulation objects on top of it. This is feasible when
your simulation model is not too complex.
If you are modeling a complex plant, this might not be practicable, as it might lead to a very cluttered layout. Then, you might want the layout
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 73 of 624
drawing to be one of the icons of the Frame, and have the MUs move through the plant on the animation lines you define in the class of that
Frame.
Be aware that the .dxf, .dgn or .dwg files are vector based, whereas Plant Simulation uses pixel based graphics. This means that you have to think
about how to transfer one size to the other.
Proceed as follows to scale an AutoCAD drawing so that it fits onto the background of your Frame:
• Measure the dimensions of your AutoCAD drawing with the AutoCAD measurement tools and convert these dimensions to meters! Then compare
the x-dimension with the y-dimension and establish the maximum value, let’s say 90 meters.
• Divide this value by the Frame size you want to use. In our example we divide 90 by 6000 which results in the value 0.015. This is the required
scaling factor for our Frame.
• Click Scaling Factor on the General ribbon tab of the Frame and enter the scaling factor 0.015.
• When you drag the .dwg drawing onto the background of the Frame and drop it there, a dialog opens asking for the scaling factor of the drawing.
Enter the factor to convert the drawing units to meters. If the drawing units are millimeters for example, you will enter 0.001.
To make the background graphic transparent, so that the background color of the Frame shines through:
• Click Icons on the Home ribbon tab to open the Icon Editor.
• Click the color picker and click in the background of the icon. This makes that color the active drawing color, which we want to replace.
• Click Replace Color on the Home ribbon tab.
• Select the transparency color in the Color Palette that replaces the active drawing color.
If the transparency color is not part of the color palette, double-click any field in the Color Palette that contains a color you do not need, and enter
0, 128, 128 into the dialog Colors > Custom and click OK.
• Click Transparent on the Home ribbon tab.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 74 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Add a Graphic and a Color to the
Background or the Icon of the Frame
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Draw Vector Graphics or Text
onto the Background of the Frame
• Click the Vector Graphics ribbon tab of the Frame. The shape of the cursor changes to .
As long as vector graphics mode is active, you cannot manipulate any objects in the Frame. To deactivate it, click another ribbon tab.
To do this Click
Draw a line.
• Drag the mouse into the Frame window, click the left mouse button once and drag the mouse until the shape has the form you need.
• To change the properties of the shape/text you drew, double-click it and edit its settings in the dialog Graphic Settings.
• To change the form of the shape or to move it, select it, click one of the handles and drag the mouse.
• To place an object onto a different layer, click and enter the number of the layer into the text box Layer.
The layers serve two purposes: They allow you to define the drawing order of the item you placed onto a layer.
• When you enter a negative number, -1 for example, Plant Simulation draws the shape you created onto the foreground of the Frame.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 75 of 624
• When you enter a positive number Plant Simulation draws the shape onto the background of the Frame.
They allow you to delete all objects on a certain layer: Click and enter the number of the layer you would like to delete into the text box Layer.
• To group any number of objects, hold down Shift and click each object with the left mouse button, or drag a marquee over them, and click .
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Draw Vector Graphics or Text
onto the Background of the Frame
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Create Your Own Ribbon
Tab/Context Menu in the Frame
When a user-defined ribbon tab exists, the button on the General ribbon tab is dark olive gray.
To create a user-defined ribbon tab in a Frame, which you inserted into another Frame, deactivate the command Inherit, so that it does not
show a check mark to the left.
• Enter the Title of the user-defined ribbon tab with which Plant Simulation shows the user-defined ribbon tab. We entered My Ribbon Tab.
• To show the user-defined ribbon tab for the Frame, for which you defined it, select Active.
• Enter the name of the command that Plant Simulation shows on the user-defined ribbon tab in the Frame. Enter an & (ampersand) in front of a
letter to make this letter the access key. You can select this ribbon command by holding down the Alt key, by pressing the predefined key
combination U and T, and by the pressing that letter. The built-in Plant Simulation access keys take precedence over any access keys you define!
You can also enter a formula as a ribbon command or a context menu command. A formula is designated by a leading question mark. When you
enter ?Method1 for example, the method named Method1 will be called. The return value of this method has to be of data type string. This way
you can toggle between different texts, for example between Activate and Deactivate and you can translate the ribbon or context menu commands
into different languages. If the methods return an empty string (""), Plant Simulation hides the respective ribbon or context menu command.
You can use any formulas, even for example a method call with parameters, such as ?Method1(42) or a table access, such as ?
TableFile[1,3].
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 76 of 624
• Enter the Methods, which the ribbon/context menu commands execute into the text boxes below method to be executed.
If the method expects a parameter, Plant Simulation automatically passes it. To this parameter, which has to be of data type list, the selected
objects, which are located within the same Frame as the Frame whose ribbon tab or context menu is opened, are passed.
When Methods are called from the user-defined ribbon tab, the anonymous identifier ? (question mark) points to the Frame in which you selected
the command. This way you can access objects within the respective Frame.
The commands on the user-defined context menu only apply to the selected object(s) within the Frame for which you defined the context
menu.
• To create the user-defined ribbon tab or the user-defined context menu, click OK. Plant Simulation shows the ribbon tab to the right of the pre-
defined ribbon tabs.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 77 of 624
• Create a Method with the name you entered above and enter <name_of_your_user_defined_dialog>.open.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 78 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Create Your Own Ribbon
Tab/Context Menu in the Frame
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Work with Objects in the Frame
Window
• To show or hide the grid in the Frame window, click . Showing the grid makes it easier to insert an object at exactly the position you need it to be
at.
• To select an object, click it with the left mouse button. You can then move it in the Frame by dragging the mouse.
• To nudge the selected object one pixel at a time in a direction, press the respective arrow keys on the keyboard. To move the selected object one
grid unit at a time, press Shift+the respective arrow key.
• To deselect a selected object, click another object or click anywhere in the Frame.
• To select more than one object in a Frame at a time, hold down Shift, and click the objects you wish to mark or drag a marquee over the objects:
Hold the left mouse button down, and drag the mouse over the objects, making sure the marquee encloses all of them, and then release the mouse
button. You can also combine both methods.
To select all objects in the Frame window, press Ctrl+A or use the method selectContents.
• To search for any object in the Frame window, click in the Frame window and start typing its name. Plant Simulation then finds and selects the
object.
• To connect objects, use the Connector. The Connector displays handles after you select it. Click a handle to change its shape, i.e., to make
the Connector longer or shorter or to move the anchor point up or down.
• To show or hide connections between objects which you established with the Connector, click on the General ribbon tab.
• To show or hide the names of the objects you inserted into the Frame, click .
• To prevent another user from modifying the structure of the model, click .
• To edit the icons of the Frame, and to add animation structures to it, click .
• To model transitions between Frames use the Interface. When you connect Frames, which have several Interfaces, with objects, Plant Simulation
opens the dialog Select Interface. Select the Interface the Connector attaches to and click OK.
• To change the size of the icon of an object you inserted in a Frame, hold down Ctrl and Shift. Then, click anywhere on the border of the icon and
drag the mouse until the size of the icon meets your needs. To return to the original size of the icon, select Icon > Original Size.
• To open the Frame you double-click and to close the Frame it is contained in, press the Shift key and double-click a Frame located within a Frame.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 79 of 624
• To move down in the hierarchy of Frames, closing the active Frame, and opening the next Frame one level down in the structure, select Down one
Level on the context menu.
• To open the window of the Frame from which the current Frame was derived, click Open Origin on the Home ribbon tab.
• To close the active Frame and open its location, click Open Location .
• To assign the different states a Frame can be in, you can use the attributes StateBlocked, StateEntryShut, StateResourceMissing, StateSetup,
StateWorking, Stopped, and Unplanned. The Frame then shows the state it is in in the LED area along the top of the icon.
red Failed
pink Stopped
blue Paused
green Working
yellow Blocked
brown Setting-Up
• To manipulate any of the vector graphics, click the Vector Graphics ribbon tab, double-click the shape and edit the Graphic Settings.
• To show the stacking order of the mobile objects in the Frame in a tooltip, drag the mouse over the part.
The menus Objects and Icons are active only after you select an object in the Frame window.
After you start 3D Viewer, the 2D Frame window shows the x-axis and the y-axis in red. The point where these two red lines intersect is the point,
which will be mapped to the zero point, i.e., the Position of the grid, in 3D.
You can set the origin of the grid in 2D with the attribute AxesOrigin.
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Work with Objects in the Frame
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 80 of 624
Window
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Connect Objects with the
Connector
Plant Simulation only shows the connection, when you select > Show Connections on the General ribbon tab.
• To connect several objects one after the other without having to return to the Toolbox each time you established a connection, hold down Ctrl,
while you establish the connection.
• To automatically connect the objects while you insert them, place the objects right next to each other, when you insert them. You will then have to
manually move the objects to their final position.
This only works, when File > Preferences > Modeling > Connect automatically is active. In addition the position of the exit of the one and
the entrance of the other object are to be no more than 3 pixels apart.
• To tell Plant Simulation where and how to place the Connector in the Frame, hold down Shift, Ctrl, or Alt while you establish the connection:
• Connector, no key: Plant Simulation aligns the connection to the grid, i.e., to the grid points next to the location where you click the mouse button.
• Connector+Ctrl: Plant Simulation stays in connect mode, so you can connect several objects one after the other without having to return to the
Toolbox each time you established a connection.
• Connector+Shift: Plant Simulation inserts the connection at a right angle, regardless of where you click.
• Connector+Alt: Plant Simulation sets anchor points of the connection at the location where you click. Note that this is similar to the freehand
drawing feature.
• To create a non-straight connection, set one or more anchor points: First, click object A, proceed to point 1 and click once, then proceed to point
2, click once, and finally move to object B and click the mouse button once to establish the connection.
• To create a right-angled connection, hold down Shift and click the left mouse button to set the anchor point.
• To move an anchor point, click it, hold the mouse button down, and drag the handle to the desired location. Plant Simulation also moves the
Connector.
• To check if all connections between the objects really have been established, click Unconnected Objects on the General ribbon tab. Plant
Simulation selects all objects with unconnected entrance and exit points.
• To make the connecting line thicker, enter a higher number into the text box Weight.
To make the connecting line thinner, enter a lower number into the text box Weight.
• To select another color than the default black, in the dialog Colors, click the field next to Color.
You can select one of the predefined colors or you can click More Colors and click the Select button to select a color in the color matrix. Then click
OK. Plant Simulation shows this color next to More Colors and uses it as the active color.
Or you can click Custom and select a color in the color matrix. Move the mouse in the color matrix over the area that is similar to the color you
want. You can set the attributes of the color with the scrollbar on the right hand side. Click OK to make this color the active color in the program.
• To show the source and the target of the Connector in the Frame as a Tooltip, drag the mouse over the Connector.
• To exchange the successor of a Connector, select the end point of the Connector and drag it to another object.
To exchange the predecessor of a Connector, select the starting point of the Connector and drag it to another object
• To place an object, which you insert from the Class Library into a Frame, in between two already connected objects, drag that object onto that
spot of the Connector and drop it there. In this process Plant Simulation exchanges the successor of the original Connector.
This also works when you drag a Frame, which contains exactly one suitable entrance Interface and exactly one suitable exit Interface, onto the
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 81 of 624
Connector.
• To automatically connect predecessor and successor when deleting an object located between other connected objects, hold down the Ctrl
key while you delete the object with the context menu command Delete.
When you work with the Delete key, select the object(s) you want to delete, and press Delete. Follow the instructions in the dialog that opens.
This does not work when an object has more than one predecessor and successor. If the object has a successor, Plant Simulation
exchanges the successor of all preceding Connectors. If the object has a predecessor, Plant Simulation exchanges the predecessor of all
succeeding Connectors.
• To reorder the sequence of the succeeding objects, i.e., the sequence of the Connectors, click the object with the right mouse button and select
Reorder Successors.
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Connect Objects with the
Connector
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Model Transitions between
Frames
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 82 of 624
In this case, you will have to connect the component (Frame) to the material flow objects or Frames that precede and succeed it in the sequence of
stations with the object Interface . The transitions are the places where MUs move from one Frame to another or from a material flow object to a
Frame and vice versa. Plant Simulation shows if the Interface you inserted into a Frame is connected to another object with a Connector or not
connected . Plant Simulation also recognizes if an Interface is an entrance or an exit.
You can insert the Interface into your simulation model from the folder MaterialFlow in the Class Library or from the toolbar Material Flow in the
Toolbox.
To model transitions, click the folder or the toolbar Material Flow and insert as many objects of type Interface anywhere in the Frame.
• Select the side of the icon of the Frame at which the Interface is to be located: on the Top, on the Right hand side, on the Bottom, or on the Left
hand side of the Frame.
• Enter the maximum number of external connections the Interface may have. Depending on the type, any number of Interfaces may have more than
one predecessor or successor.
The predecessor is the object that is connected to the selected object with a Connector and that is located in front of it in the sequence of stations
in the simulation model.
The successor is the object that is connected to the selected object with a Connector and that is located after it in the sequence of stations in the
simulation model.
• Enter the position of the Interface on the side of the Frame it is inserted into in percent into the text box Position in %. You can enter a value
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 83 of 624
between 0 and 100 percent. Plant Simulation uses the value you enter, when you activate File > Preferences > Modeling > Connect
automatically. Connecting objects automatically only works when the exit of FrameA and the entrance of FrameB are not more three pixels apart.
• An Interface object you insert into a Frame and connect with a Connector shows its Type in the dialog: either Entrance or Exit.
• If need be, you can also select an exit strategy on the tab Exit Strategy.
Compare Modeling Hierarchically
Compare Transferring Parts from Station to Station
Back to Working with the Frame
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Working with the Frame > Model Transitions between
Frames
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController
• Plant Simulation shows the current simulation time of the simulation run in the box next to Time. Click Time to change the display of the time
between the:
• Relative time: Plant Simulation resets the relative time to zero, when it starts the simulation run. This is the default.
• Current time plus simulation time: Plant Simulation adds the simulation time to the time and date at which it started the simulation run.
Let us assume today is March 13, 12 o’clock noon and the simulation is to run for two days:
• For the setting relative time Plant Simulation shows 2:00:00:0000, i.e., two days.
• For the setting current time plus simulation time Plant Simulation shows 15.03.2003 12:00:00.00, i.e., March 15, 12 o’clock noon, after the
simulation run is finished.
• To initialize your simulation model, click Start/Stop Simulation. Plant Simulation executes all Methods named Init. Methods being executed when
you click Start/Stop Simulation will be processed first.
Plant Simulation initializes the simulation model before it executes the next scheduled event.
Plant Simulation automatically executes init methods when you start the simulation for the first time or when you stopped the simulation and
clicked Reset Simulation and you did not click Start/Stop Simulation before you started the simulation.
To start the simulation without animating objects and MUs, click Start Fast Forward Simulation on the Home ribbon tab.
• To stop the simulation after the active simulation event has been processed, do one of the following:
• Click Start/Stop Simulation.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 84 of 624
•
Click on the Home ribbon tab.
• Double-click the icon of the EventController while holding the Shift key down.
• To process one simulation event at a time and to proceed through your model step by step, click Single Step Simulation .
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Select Settings for the Simulation
• Plant Simulation shows the current simulation time of the simulation run in the box next to Time.
Click Time to change the display of the time between the:
• Relative time: Plant Simulation resets the relative time to zero, when it starts the simulation run. This is the default.
• Current time plus simulation time: Plant Simulation adds the simulation time to the time and date at which it started the simulation run.
Let us assume today is March 13, 12 o’clock noon and the simulation is to run for two days:
• For the setting relative time Plant Simulation shows 2:00:00:0000, i.e., two days.
• For the setting current time plus simulation time Plant Simulation shows 15.03.2003 12:00:00.00, i.e., March 15, 12 o’clock noon, after the
simulation run is finished.
• Enter the Date and the time the absolute time during the simulation is based on.
• Enter the time when the simulation run will be finished. Enter a relative time, i.e., the period of time the simulation runs. Plant Simulation compares
this period with the simulation time and stops the simulation run when both are identical. Let us assume it is March 13, 12 o'clock noon and the
simulation is to run for two days. Enter 2:00:00:00 into the text box End. If you do not want to write this out in full, you can also just type 2:::
and click Apply to have Plant Simulation translate this to the full format 2:00:00:00.0000.
• Enter the time the EventController resets the statistics. Plant Simulation starts collecting statistical data for all material flow objects anew from this
time on.
• To subtract the simulation time from the active absolute time during the simulation run, select Backwards. The absolute time, which the
EventController shows then appears to be running backwards. The simulation itself still uses positive times.
• To delete all MUs from all Frames, when you reset the simulation model by clicking the Reset Simulation button or by calling the method reset,
select Delete MUs on reset.
• To step over animation events and to stop at the next event relevant to the simulation, select Step over animation events and click Single Step
Simulation on the tab Controls.
• To pause the simulation until the time span between two events has elapsed in real-time, select Real-time.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 85 of 624
Normally Plant Simulation does not take the time span in between events into account, as it is a discrete event simulation system.
Enter the scaling factor for real-time mode. The scaling factor sets the time that elapses between two events in real-time.
The duration of an event in real-time is the simulation time divided by the scaling factor you entered. The resulting duration is an integer.
Back to Controlling the Simulation with the EventController
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Select Settings for the Simulation
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger
The EventDebugger is a tool that lets you accurately control the execution of simulation events, when you click Single Step Simulation . This way
you can follow how Plant Simulation processes the individual events during the simulation run and detect errors in your simulation model. As opposed
to clicking Start/Stop Simulation on the tab Controls of the EventController you can, for example, enter a condition when the Event Debugger is to
Stop the simulation. Then, you can follow the execution of the events in the Event Debugger.
The following examples demonstrate a number of typical usages for the Event Debugger.
To open the Event Debugger, to define breakpoints and to step through the scheduled events:
• Open the EventController.
• Click the List button on the tab Controls. The event list contains the types of scheduled events, which the objects in your simulation model
entered and which the EventController has to process. It is sorted ascending by time, tells the type of event, the scheduled processing time, and
lists recipient and sender of the event.
Double-click a cell in the row where you would like to insert a single breakpoint. Then, the Event Debugger stops the simulation run immediately
before the EventController processes that event. Double-click the row again to delete the breakpoint.
• Select the check box Breakpoints active.
• Click Breakpoints to open the list of the breakpoints you defined.
• Click Insert in the dialog Breakpoint to add an additional breakpoint.
• You can also use an event from the list in the EventController to define breakpoints. Select the event in the list and click Stop at Selected Event.
This adds this event to the list of defined event breakpoints. You can also edit the selected event.
• To process a single event and stop the simulation again, click Single Step Simulation .
• To proceed with the simulation until the EventController reaches the next breakpoint, click Start/Stop Simulation.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 86 of 624
Go to Example 1
Go to Example 2
Go to Example 3
Go to Example 4
Go to Example 5
Back to Working with the Event Debugger
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 1
Example 1
In this example we watch all exit (Out) events for the Entity with the ID 1, meaning that we track the course the Entity takes through the plant.
If you would like to create a breakpoint for each Entity, delete the ID of the MU.
Go to Example 2
Go to Example 3
Go to Example 4
Go to Example 5
Back to Working with the Event Debugger
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 1
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 2
Example 2
In this example all MUs leaving SingleProc1 define a breakpoint.
This time we do not enter a Receiver, as we want the EventController to insert a breakpoint for each leaving part. The Sender is SingleProc1.
Go to Example 1
Go to Example 3
Go to Example 4
Go to Example 5
Back to Working with the Event Debugger
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 87 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 2
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 3
Example 3
In this example only MUs of a certain class located on SingleProc1 insert a breakpoint during a certain time span.
Plant Simulation inserts a breakpoint when a part of the class .MUs.Entity located on SingleProc1 creates an Out event between 1 hour and 3
hours.
At times you only want to insert breakpoints when certain conditions are met. Enter these conditions into the text box next to Condition. A condition
may be a certain value or certain states of the simulation model or properties, i.e., attributes, of mobile parts. You can also enter methods, returning a
boolean value as a result, which will then be evaluated.
Go to Example 1
Go to Example 2
Go to Example 4
Go to Example 5
Back to Working with the Event Debugger
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 3
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 4
Example 4
In this example we use a property of the part as a condition for a breakpoint.
Plant Simulation inserts a breakpoint, when a part of the class .MUs.Entity, which is less than 100 meters long, causes an Out event on
SingleProc1. Note that the unit depends on the settings you selected under File > Model Settings/Preferences > Units > Length.
If you would like Plant Simulation to create a trace file that tracks all events, enter a name into the text box Trace File in the dialog Event Debugger
and select the check box Trace active.
If you would to only create a trace file for a certain event, enter a file name into the text box Trace File in the dialog Breakpoint.
Go to Example 1
Go to Example 2
Go to Example 3
Go to Example 5
Back to Working with the Event Debugger
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 88 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 4
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 5
Example 5
In this example we track the course the Entity with the ID 9 takes through a simulation model and write the stations to a trace file.
With the settings shown in the dialog above, Plant Simulation inserts a breakpoint for each Out event of the Entity with the ID 3 and writes this event to
the file c:\Exercises\trace3.txt. Note that this only works when you selected the check box Trace active in the dialog Event Debugger.
When you clear the check box Breakpoints active, Plant Simulation writes the trace file without stopping your simulation using a breakpoint.
In the examples above we only used Out events. You can, of course, also use any of the available types of events, compare the List of scheduled
events.
Go to Example 1
Go to Example 2
Go to Example 3
Go to Example 4
Back to Working with the Event Debugger
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Controlling the Simulation with the EventController >
Working with the Event Debugger > Example 5
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Delete Parts with the Mouse or when Resetting the Model
• To delete all MUs on all objects in the active Frame and its sub-Frames, click on the Home ribbon tab.
• To delete all mobile objects (MUs), when you reset the simulation model by clicking the Reset Simulation button or by calling the method reset, you
can enter deleteMovables into a Method, which you name Reset and which you insert into your simulation model.
• To delete all mobile objects when you reset your simulation model, select the check box Delete MUs on reset in the EventController.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 89 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Delete Parts with the Mouse or when Resetting the Model
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Work with Drag-and-Drop
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Work with Drag-and-Drop
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Work with Drag-and-Drop > Drag an Object Onto Another
Object and Drop It There
If you would like to use an object reference instead of the absolute path, type an asterisk in front of the path. For the example above you
would type *.Models.MyPlantAnytown.MyBroker.
If you do not want to use the absolute path, but the relative path, click and select the object you would like to use in the dialog Select
Object.
• Duplicate i.e., to copy the selected object or model and create a new class: Hold down the Ctrl key, drag the object to another location in the Class
Library, and release Ctrl.
Go to Use a Drag-and-Drop Control for Several Objects
Back to Work with Drag-and-Drop
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Work with Drag-and-Drop > Drag an Object Onto Another
Object and Drop It There
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Work with Drag-and-Drop > Use a Drag-and-Drop Control
for Several Objects
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 90 of 624
Plant Simulation supports multiple drag-and-drop, allowing you to select a number of objects, drag them onto the target object and drop them there.
You can do this for:
• Each object which has a Drag-and-drop control which accepts the selected objects as a parameter of data type array.
• The AttributeExplorer
• The Method. Here the selected objects to be passed have to be contained in an array.
• The Chart
• The object Cycle. It accepts a maximum of two objects, one for the first station and one for the last station.
• The ShiftCalendar
• The LockoutZone
You can also drag several object to the structure in the Class Library to create class objects from the copied objects.
Below we demonstrate how to use multiple drag-and-drop with a drag-and-drop control.
We want to execute the drag-and-drop control, which we entered for the Frame MyFrame, when we drag our production line onto the Frame and
drop it there.
Proceed as follows to create a simple simulation model:
• Insert the material flow objects you want to work with and connect them. We inserted a Source, a SingleProc, a Line, and a Drain. We used them
with their default settings.
• Insert a Frame for which to define the drag-and-drop control. We renamed our Frame to MyFrame.
The finished simulation model looks like this:
• Define the drag-and-drop control for the Frame. Open the Frame and click Edit Interaction Controls on the Home ribbon tab.
• Right-click in the text box next to drag-and-drop and select Create Control.
• Change the source code of the control so that it matches the instructions below:
SimTalk 2.0 notation looks like this:
• Select the production line, drag it over the Frame, and drop it there.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 91 of 624
The Console then shows the dragged objects that were dropped.
• To actually see the array containing the dropped objects, we added debug; to the source code.
This opens the Method debugger when you drag the objects over the Frame and drop them there. The row with the name draggedObjects on the
tab Variables then shows the array containing these objects.
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Creating a Simulation Model > Work with Drag-and-Drop > Use a Drag-and-Drop Control
for Several Objects
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics
• How to create or introduce parts into your model with the object Source .
• How to select and enter for how long a station processes the parts that move onto it.
• How to set a station up to process another type of part.
• How to transfer the parts from processing station to processing station .
• How to model failures and failure times of the processing stations.
• How to remove the processed parts from your model with the object Drain .
Go to Active and Passive Objects
Go to Producing Parts with the Source
Go to Producing and Processing Parts with a Work Plan
Go to Removing Parts from the Plant with the Drain
Go to Transferring Parts from Station to Station
Go to Setting a Station Up
Go to Defining Processing Times
Go to Modeling Failures
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 92 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Active and Passive Objects
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Active and Passive Objects
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source
To create the MUs, which the material flow objects in your simulation model handle, we use the object Source . It might, for example, represent the
receiving department of your plant that introduces parts produced at another location into the plant. Or it can be a machine, which produces the parts
that the other stations process.
To remove these parts from the factory to model, for example, the shipping department, we use the object Drain .
You can insert the Source into your simulation model from the folder MaterialFlow in the Class Library or from the toolbar Material Flow in the
Toolbox.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 93 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Select How
the Source Proceeds, When it Cannot Produce MUs
• Clear Blocking, so that the Source creates another MU exclusively at the time of creation you entered.
When the Source is temporarily not operational because it is Failed, Paused, or Blocked, the times of creation may shift, when you select
Blocking. Then, the settings for the times of creation cannot be realized.
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Select How
the Source Proceeds, When it Cannot Produce MUs
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
According to a Delivery Table
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 94 of 624
Next to information about the name and number of the produced entities, the Delivery Table may also contain values of their attributes. The Delivery
Table has five columns.
Instead of the data type time for the Delivery Time you can also use the data types date, dateTime, or real. When you use date or dateTime, the
start time of the simulation has to be before the time you enter.
Each row of the Delivery Table defines a single order for producing MUs:
• Enter the time at which the Source produces the MUs into the column Delivery Time.
• Enter the class of the MU into the column MU. You can also use drag-and-drop of the MU class to accomplish this.
• Enter the number of MUs to be produced into the column Number.
When you enter 0 as Number into a row, Plant Simulation does take the specified interval for the next creating cycle into account. This
means that it does not skip this row, but does not produce a part during this cycle.
• Enter a name for the MUs to be produced into the column Name.
You have to enter the Delivery Time and the MU. When you do not enter a Number, Plant Simulation produces a single MU. When you do
not enter a Name, the MUs, which the Source produces, use the name of their class.
• In addition you can, but you do not have to enter the name of a sub-table into the column Attributes. Enter the attributes whose value the Source
sets and the user-defined attributes that it creates, when it produces the MUs, into that sub-table.
Plant Simulation assigns the data type of the column containing the value of the attribute to the data type of the attribute itself. Plant
Simulation assigns the value you enter into the cell to the generated attribute.
To produce MUs according to the time, the type, and the number of parts you entered into a Delivery Table:
• Select Time of creation > Delivery Table.
• Click and select the delivery table you would like to use in the dialog Select Object. Or
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 95 of 624
Drag your delivery table over the text box Table and drop it there.
• Click OK.
Back to Producing Parts with the Source
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
According to a Delivery Table
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define
The Source:
• Produces the first MU at the time you enter for Start.
• Produces the next MU after the time you enter for Interval has elapsed.
• Stops producing MUs at the point in time you enter for Stop. Enter 0 into the text box Stop if you do not want to apply a time limit.
When you select Time of creation > Interval Adjustable or Time of creation > Number Adjustable you can also select how the Source produces
which types of MUs.
• Produce a Single Part Type Only
• Produce Parts in a Fixed Sequence Over and Over Again
• Produce Parts in a Fixed Sequence One Time Only
• Produce Parts According to a Random Frequency Entered into a Table
• Produce Parts According to a Percentage Entered into a TableC
Compare Enter Times
Back to Producing Parts with the Source
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce a Single Part Type Only
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 96 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce a Single Part Type Only
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce Parts in a Fixed Sequence Over and Over Again
• Enter the names of the MU classes to be produced into the cells below MU of the table.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 97 of 624
• Enter the number of MUs to be produced into the cells below Number.
• You can, but you do not have to enter a Name and Attributes into columns 3 and 4 of the table.
When you do not enter a Name, the MUs that the Source produces use the name of their class.
• To make the Source produce the number of MUs you specified in a row of the sequence table all at once in a single batch before moving the entire
batch on, select Generate as batch. Once the Source has processed the entire sequence, it starts processing the information in the table again
starting at the beginning of the sequence.
To make the Source produce the MUs as a sequence of individual MUs, clear the check box. When the Source produces the MUs as a batch, it
attempts to produce the entire set of entities at the given start time and to move them on to the next object.
Back to Produce Parts During an Interval Which You Define
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce Parts in a Fixed Sequence Over and Over Again
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce Parts in a Fixed Sequence One Time Only
The setting Sequence is not available, when you set Time of Generation to Number Adjustable.
• Enter the names of the MU classes to be produced into the cells below MU into the table.
• Enter the number of MUs to be produced into the cells below Number.
• You can, but you do not have to enter a Name and Attributes into columns 3 and 4 of the table.
When you do not enter a Name, the MUs that the Source produces use the name of their class.
• To make the Source produce the number of MUs you specified in a row of the sequence table all at once in a single batch before moving the entire
batch on, select Generate as batch.
To make the Source produce the MUs as a sequence of individual MUs, clear the check box. When the Source produces the MUs as a batch, it
attempts to produce the entire set of entities at the given start time and to move them on to the next object.
Back to Produce Parts During an Interval Which You Define
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce Parts in a Fixed Sequence One Time Only
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 98 of 624
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce Parts According to a Random Frequency Entered into a Table
• Enter the names of the MU classes to be produced into the cells below MU into the table.
• Enter the frequency number for each class of MU to be produced into the cells below Frequency.
When the Source produces the MUs, Plant Simulation selects and processes a random generation order according to the frequency you entered
here.
• Enter the number of MUs to be produced into the column Number.
• You can, but you do not have to enter a Name or an Attributes table.
When you do not enter a Name, the MUs that the Source produces use the name of their class.
To check which part types were produced at which point in time, you can activate the check box Creation table on the tab Statistics and then open
the table.
Back to Produce Parts During an Interval Which You Define
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce Parts According to a Random Frequency Entered into a Table
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce Parts According to a Percentage Entered into a Table
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 99 of 624
• Enter the names of the MU classes to be produced into the cells below MU into the table.
• Enter the percentage portion for each class of MU to be produced into the cells below Portion.
• Enter the number of parts to be produced into the cells below Number.
• You can, but you do not have to enter a Name or an Attributes table.
When you do not enter a Name, the MUs that the Source produces use the name of their class.
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
During an Interval Which You Define > Produce Parts According to a Percentage Entered into a Table
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce the
Number of Parts You Need
When you enter a very large Amount of MUs, the list of MUs to be created, including the time of generation, is very long also, which might
result in a large consumption of memory. The Source creates the amount of MUs at the different times, which the random number generator
generated at the beginning of the simulation.
• Select the Creation times, which determine the points in time at which the Source creates the MUs.
Select a distribution from the drop-down list Creation times and enter the values that the distribution requires into the text box.
As opposed to Interval Adjustable, here the Creation times are a range, within which the Source creates MUs, and not a repeating
interval.
When you select the Constant distribution, the Source creates the number of MUs all at one point in time, as here the Creation times are a
point in time, not a range!
For this setting you cannot select Sequence from the drop-down list MU selection.
• Click OK.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018
Step-by-Step Help Page 100 of 624
When you select Time of creation > Interval Adjustable or Time of creation > Number Adjustable you can also select how the Source produces
which types of MUs.
Go to Produce a Single Part Type Only
Go to Produce Parts in a Fixed Sequence Over and Over Again
Go to Produce Parts in a Fixed Sequence One Time Only
Go to Produce Parts According to a Random Frequency Entered into a Table
Compare Enter Times
Back to Producing Parts with the Source
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce the
Number of Parts You Need
Step-by-Step Help > Modeling in Tecnomatix Plant Simulation 2D > Modeling the Flow of Materials, Basics > Producing Parts with the Source > Produce Parts
Using a Trigger Object
Before you can enter the Trigger, click the toggle button Inheritance, so that it looks like this .
• Click Trigger, drag the Trigger that controls the Source from the Frame over the list that opens and drop it there.
• In the dialog of the Trigger enter the Active interval, i.e., the interval during which the Trigger will be active.
file:///C:/Users/jacie/AppData/Local/Temp/~hh752B.htm 28/11/2018