Documentation

Conveyor System

Transport entities

  • Library:
  • Other

Description

The Conveyor System block transports entities across a surface. Use this block to model transportation applications.

When using the Conveyor length, Conveyor speed, Minimum distance between entities, and Entity length value parameters, ensure that the values are consistent with each other. For example, if you want an entity length of 10 cm using a conveyor system of length 100 m, use these values:

  • Conveyor length to 100

  • Entity length to 0.1

Ports

Input

expand all

Input entity port for entities entering the queue.

Data Types: bus

Output

expand all

Output entity port for entities leaving the queue

Data Types: bus

Selecting this check box outputs the number of entities that have exited the block.

Dependencies

To enable this port, select the Statistics > Number of entities departed, d check box.

Data Types: double

Selecting this check box outputs the number of entities in the block.

Dependencies

To enable this block, select the Statistics > Number of entities in block, n check box.

Data Types: double

Selecting this check box outputs the number of pending entities in the conveyor system.

Dependencies

To enable this port, select the Statistics > Pending entity in block, pe.

Data Types: double

Parameters

expand all

Length of surface that entities travel on.

Speed of surface that entities travel on.

Minimum physical separation entities maintain while moving across the conveyor system.

Provide entity length, selected from the drop-down list.

Dependencies

  • Dialog — Selecting this option enables the Entity length value parameter.

  • Attribute — Selecting this option enables the Entity length attribute name parameter.

Length of entities, specified as a numeric value.

Dependencies

To enable this parameter, select Entity length valueDialog.

Name of entity length attribute, specified as a character vector.

Behavior when output is blocked, selected from drop-down list:

  • Accumulate — Accumulate entities.

  • Pause — Pause conveyor system.

  • Error — Return an error.

Conveyor behavior when system is full.

on

Return an error if the conveyor system is full.

off

Do not return an error if the conveyor system is full.

Select the simulation mode.

Code generation

On the first model run, simulate and generate code for using only MATLAB® functions supported for code generation. If the structure of the block does not change, subsequent model runs do not regenerate the code.

Interpreted execution

Simulate model using all supported MATLAB functions. Choosing this option can slow simulation performance.

Number of entities that have departed the block.

Outputs the number of entities present in the block.

Indicates whether there are entities present in the block that have yet to depart.

Introduced in R2017b

Was this topic helpful?