Module Definitions

Modules represent those parts of a communication node within which data are generated, consumed, or processed. There are several different types of modules, distinguished by their function within a node: processors, queues, generators, receivers, and transmitters. Some types of modules (processors, queues, and generators) have functions that are strictly internal to a node, while others (transmitters and receivers) have external connections to data transmission links. The behavior of processors and queues can be specified in precise detail by means of user-specified process models; other modules have predefined behavior which can be modified only by setting the values of their attributes. Some module types are limited in the way they can be connected to other modules.

A module’s internal algorithm is invoked when an external event that will affect the state of the module occurs. This is a consequence of the event-driven simulation methodology used in Modeler. For example, a module’s process model is invoked when a packet arrives on one of its packet input streams, or a statistic to which it is connected changes. Invocations can also be scheduled at regular intervals, or at specific times by the module itself (to model a timer expiring, for instance).

The following sections describe each module type, giving an overview of its capabilities and applications.

For additional details about specific types of modules, including attributes and output statistics, see “Node Reference” on page 8.