Page 383 - ExtendSim User Guide
P. 383

Creating Flow 357
Flow attributes
table and on its value output connectors. What the Get(R) block reports and where, depends on the type of attribute:
• Layerattributes.ThevaluefortheattributeispostedintheValuecolumnoftheattribute table and on the value output connector that corresponds to the attribute.
• Stringlayerattributes.ThestringtextisdisplayedintheValuecolumnoftheattribute table and the number that corresponds to the string is posted on the appropriate value output connector.
In addition to the Time Changed column in its dialog, the Get(R) block has a  (delta) connec- tor for reporting when a flow attribute’s value changes. The  connector outputs a 1 when the value of the first flow attribute specified in the dialog changes. Otherwise it outputs 0.
Flow attributes and item attributes
It is common for systems to exhibit mixed-mode behaviors, where items from the discrete event arena intermingle with discrete rate processes. The Interchange block provides a matrix for converting item attributes into flow attributes and vice versa. See its Flow Attributes tab.
Example models
Two models that use flow attributes are located in the Examples\Tutorial\Discrete Rate folder: • Yogurt Production with Flavors
• Yogurt Production with Flavors Plus
Both models are a continuation of the Yogurt Production model discussed in the tutorial that starts on page 332. They use attributes to simulate the production of five different flavors of yogurt. The model named Yogurt Production with Flavors Plus uses the item/flow attribute mapping capability of the Interchange block to preempt items, avoiding mixed pallets of fla- vored yogurt.
Discrete Rate

   381   382   383   384   385