This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Conveyor System

Transport entities

  • Library:
  • SimEvents

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: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean | enumerated | bus

Output

expand all

Output entity port for entities leaving the queue

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean | enumerated | 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 value 1 for a pending entity in the block, and 0 otherwise.

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.

Programmatic Use

Block Parameter: mConveyorLength
Type: character vector
Values: '100' | scalar
Default: '100'

Speed of surface that entities travel on.

Programmatic Use

Block Parameter: mConveyorSpeed
Type: character vector
Values: '1000' | scalar
Default: '1000'

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

Programmatic Use

Block Parameter: mMinDisBetEntity
Type: character vector
Values: '0' | scalar
Default: '0'

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.

Programmatic Use

Block Parameter: mEntityLengthSource
Type: character vector
Values: 'Dialog' | 'Attribute'
Default: 'Dialog'

Length of entities, specified as a numeric value.

Dependencies

To enable this parameter, select Dialog for Entity length source.

Programmatic Use

Block Parameter: mEntityLength
Type: character vector
Values: '1' | scalar
Default: '1'

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

Dependencies

To enable this parameter, select Attribute for Entity length source.

Programmatic Use

Block Parameter: mEntityLengthAttrName
Type: character vector
Values: 'Length' | character vector
Default: 'Length'

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

  • Accumulate — Accumulate entities.

  • Pause — Pause conveyor system.

  • Error — Return an error.

Programmatic Use

Block Parameter: mOutputBlockedOpt
Type: character vector
Values: 'Accumulate' | 'Pause' | 'Error'
Default: 'Accumulate'

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.

Programmatic Use

Block Parameter: mErrorUponFullOpt
Type: character vector
Values: 'on' | 'off'
Default: 'on'

Number of entities that have departed the block.

Programmatic Use

Block Parameter: mNumEntitiesDepOpt
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Outputs the number of entities present in the block.

Programmatic Use

Block Parameter: mNumEntitiesInBlockOpt
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Indicates whether an entity that is yet to depart is present in the block. The value is 1 for a pending entity, and 0 otherwise.

Programmatic Use

Block Parameter: mEntityPendingOpt
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Outputs the number of extracted entities which are pulled out from this block by the Entity Find block. When an entity is extracted, Number of entities departed, d,and Number of entities in block, n statistics are updated accordingly. For more information about finding and extracting entities, see Find and Extract Entities in SimEvents Models.

Programmatic Use

Block Parameter: mNumExtractedFromBlockOpt
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Introduced in R2017b