Professional Documents
Culture Documents
I would like to model a system where parts of different types arrive in a certain order.
Categories:
Arrival Logic, Data Tables
Key Concepts:
AvailableRowCount, Before Creating Entities, Before Exiting, Condition, Data Table, Dynamic Object Property,
Entity Type, Math.If, Real State Variable, Source, State Assignments, Table Reference Assignments
Assumption:
This is a simply Source, Server, Sink model that simply demonstrates controlling the order of arriving entities.
Technical Approach:
The Source reads information from a Data Table to determine which entity type to create for each arrival.
Details:
Simple System Setup
Place a Source, a Server and a Sink into the Facility window and connect them with Paths.
Place 4 ModelEntity objects into the Facility window and name them PartA, PartB, PartC and PartD.
o Ensure that the color of each entity is different to help with model verification. To change the
color of an entity, select the entity and then select a color from the Color drop down in the
Symbols ribbon and click back onto the entity. It should then change colors.
Create Data Table
The Data Table will contain the order in which the different entities should arrive.
Go to the Data window and click the Add Data Table icon in the ribbon to add a new table.
Add a column that is an Entity property by selecting Entity from the Object Reference drop down in the
ribbon. The column can be renamed to Parts.
Fill the table with any orders youd like in this example, they arrive in the order A A A A B B B C C D and
this pattern repeats.