Counter Block

countsHelp

Description

The Counter block counts the number of entities that pass through it. If the OutCount value port has any connections to it, the Counter block pushes its count value to the port every time it changes.

After an entity enters the Counter block, the block determines whether any block downstream of the Counter block’s OutEntity port can accept the entity before pushing the entity out the OutEntity port. If this acceptance fails, the entity is either pushed out the OutBalk port or destroyed if there are no connections to the OutBalk port.

Fixed Ports

InEntity

Input entity port for entities to enter the Counter block.

OutEntity

Output entity port for entities that can be accepted by a downstream block.

OutBalk

Output entity port for entities that cannot leave using the OutEntity port.

OutCount

Output integer port for the number of entities that have passed through the Counter block.

Candidates for Design of Experiments

Factors

None

Responses

Count (integer)