Lab Module 12

Download Report

Transcript Lab Module 12

Learning Simio Lab Series
Lab Module 12
Defining and Using Custom Objects
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
1
Objectives and Outline
• Lab Objectives
– Continue learning basic Simio modeling
– Learn to create custom objects using the Hierarchical method
– Learn to create custom objects using the Processor base object definition
• Lab Outline
–
–
–
–
Video 1 – Building Hierarchical Objects
Video 2 – Building Hierarchical Objects (cont.)
Video 3 – Using the Processor Object Definition
Assignment
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
2
Anatomy of an Object
External View
Graphical
representation for
the object.
Attached queues
animate queue
states.
Associated nodes
provide entry/exit to
the object.
Properties
Object
Picture
Static inputs
to the model
logic.
States/Events
Logic
Object behavior is
defined by a model
built using processes
and/or objects.
Object
Interface
Dynamic values
that change
during the run.
Object
Object
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
3
Entry/Exit via Nodes
Process Logic
Object Logic
Properties
Input Logic Type is
Process Station
Properties
Input Logic Type is
Facility Node
External
View
External
View
Object
This process is
triggered by the
station Entered
event.
The token’s
associated
object is the
arriving entity.
Transfer out
from the exit
node is done
using the
Transfer step
The arriving entity
is sent to the
Facility Node that
is specified.
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
Object
Transfer out from
the exit node is
done using Auto
Transfer On Entry
4
Video 1 – Building Hierarchical Objects
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
5
Video 2 - Building Hierarchical Objects (cont.)
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
6
Video 2 - Building Hierarchical Objects (cont.)
• Steps for building hierarchical object definitions:
1.
2.
3.
4.
Develop the object logic using object instances from the Standard Library, Processes, Definitions,
and Data
Define the External View
Add the External node(s) for input and output (where appropriate)
Optionally save the project to be loaded in other projects as a library
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
7
Video 3 – Using the Processor Object Definition
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
8
Video 3 – Using the Processor Object Definition (cont.)
Input and Output Nodes
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
9
Video 4 - Assignment
• Create a project with two custom objects
– Cell – Using the Hierarchical method
– Lathe – Using the Processor method
• Cell
– Four servers, each with capacity 1
– Processing Times should be object properties
– Routing from Server1 to either Server2 or
Server3 should use the AssociatedStationOverload function (hint: you will need to define a node list
and the ‘Select FromList’ Entity Destination Type)
• Lathe
– Use the InitialCapacity property to define the capacity of the lathe
– Processing Time should be an object property
– Animate the lathe using a symbol from the standard symbol library
Copyright © 2013 - Jeffrey S. Smith and Simio LLC | All Rights Reserved
10