The Flow To Item is designed to interface between FloWorks objects and FlexSim's discrete objects. It receives flow from a FloWorks object, and converts it to discrete flow items that it sends downstream. An example of a real-life process represented by a Flow To Item could be a bottling machine.
The input side of the flow to item looks like a regular FloWorks object. You can specify an inflow rule, maximum inflow rate and a fluid amount per item. You can select one of two ways to specify this amount. The first is 'By Default' and the second 'Production Plan'. The option 'By Default' allows you to set the item type of the flowitems produced and allows an expression to be entered for the flow amount per item. Of course this expression can give different values from one flow item to the next. The option 'Production Plan' is similar to the 'Arrival Sequence' option of the source; it allows you to have more control in the flowitems created. Within this option you can define different flow items with different details in the arrivals table. For each arrival the amount of flow items produced can be set, as well as the name of the flowitems, the item type and the flow amount needed to release such an item. Note that within this option the flow amount per item has to be a constant. You can also add additional labels to the items to be produced. Flow items will be generated according to the schedule and will start with the first defined arrival and will create the specified number of flowitems before using the next arrival. When all arrivals have been used the schedule may be repeated.
Once the given amount of fluid has been collected, a flow item is released. On the output side the object looks like a regular FlexSim source: it allows you to determine the flow item class and item type of the released object. The standard Send To Port logic is used to send the item downstream, which means that the flow to item can send flow items to any of the discrete objects and can call operators to do the transporting. We do not recommended this, as it will also stop the inflow when waiting for a transport.
Optionally a maximum buffer size can be assigned to the Flow To Item. In that case, the input will not immediately block when the produced flow item cannot be released. Instead the inflow will continue up to the assigned buffer size. When the buffer is full, the inflow will be stopped and will only be restarted when all completed items have been released.
The visual representation of the flow to item includes a progress bar and in the statistics of the object the progress of the filling process of the current flowitem is shown. The bar is a level indicator using the following colors:
For statistical purposes, the flow to item's FloWorks state profile will be in one of the following states at various points during a simulation run:
The flow to item object has five tabs with various properties. The first three tabs are standard tabs that are common to all flow objects. For more information about the properties on these tabs, see:
The last two tabs are the standard tabs that are common to all fixed resources. For more information about the properties on these tabs, see:
These settings are described here.
The class of flow items to be generated on the output side of the flow to item.
When this is set to zero, the Flow To Item will only accept the exact amount needed to produce a flow item. When that flow item cannot immediately exit, the input flow will block. If you specify a maximum buffer size, it is possible to buffer at most this content before the inflow will be stopped. When the max. buffer is reached, the inflow stops until all completed items have been released.
When an item production plan is selected, a table similar to the Arrival Schedule table of the source is shown. It allows you to create a list of "arrivals" that will be executed in sequence. Each row can create multiple flow items, the amount to be collected for each of them is fixed.
The following triggers from the FlexSim source object are also available for the flow to item:
For more information see Fixed Resource - Events.
In addition the On Rate Change trigger is available for the FloWorks side - of course it will only fire when the inflow rate of the flow to item changes.
You may control the behavior of the flow to item dynamically by writing FlexScript, for example in a Script window or by changing the code behind one of the options in an object trigger.
The flow to item is an instance of the
FlowObject class, see the class reference
for information about its properties.