Paul Toone avatar image
Paul Toone posted

FluidToItem Page   

Maximum Content - The maximum amount of fluid material that this object can hold at any time.

Flowitem - This is the class of flowitem that the fluidtoitem will create.

Adjust Input Rates - This function is called every tick and allows the user to change the input rates and scale factors during a model run. There are access variables that are references to the nodes that hold the rates and scale factors. To read the current rate (object or port) the getnodenum() command should be used. To change the rate the setnodenum() should be used. To read or change the scale factors getnodenum() and setnodenum() should be used in conjunction with the rank() command.

Input Ports

These properties affect how the object receives material from upstream objects.

Maximum Object Rate - The maximum rate that material will enter this object through all output ports combined.

Maximum Port Rate - The maximum rate that material will enter this object through any one port.

Input port scale factor - Each row of the table is the scale factor for a single input port. The value is multiplied by the maximum port rate to determine the actual maximum rate for that specific port. This allows the modeler to change the rate of individual input ports during a model run.

Flowitem Output

These properties define when the fluidtoitem creates a flowitem and some information that will be defined on the flowitem when it is created.

Fluid per Discrete Unit - This is the number of units of fluid material that are in a single discrete unit in the flowitem. For example: 5 gallons per can.

Discrete Units per Flowitem - This is the number of discrete units of material that are in each flowitem. For example: 10 cans per case, where a flowitem is a single case.

Flowitem ItemType - This value will be assigned to the itemtype of the flowitems as they are created. It can be changed using the OnCreation or OnExit triggers.

Flowitem Name - This name will be assigned to the flowitems that are created. It can be changed later using triggers.

This Page is Used By


flexsim users manual
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.



paul.t contributed to this article


FlexSim 2016.1