Traffic-Generation Blocks

Define the activity entering the system.

Review traffic generators and their parameters. Use documented arrival and output behavior when constructing an input workload.

Traffic Generators


Uniform_PulseTrain

UnifPulseTrn

File: general_blocks/Traffic_Generators/Uniform_Pulsetrain.sim
Description
The model generates a series of Trigger signals with a constant inter-pulse time.
The first output occurs when the simulation clock value equals of the Init_Time
parameter. Each succeeding Trigger output will occur after a delay which is
specified by the InterPulse_Time parameter. The model will cease generating
output signals when TNow reaches the value of the Stop_Time parameter.
Ports

Input Ports

  • none

Output Ports

  • out     Data Type: TRIGGER

Parameters

  • InterPulse_Time      Data Type: REAL
  • Init_Time Data Type: REAL
  • Stop_Time Data Type: REAL
  • MacroValueFile       Data Type: CHARACTER
  • Alarm_GOUT           Data Type: CHARACTER
  • Alarm_SOUT           Data Type: CHARACTER

Poisson_PulseTrain

PoissonPulTrn

File: general_blocks/Traffic_Generators/Poisson_PulseTrain.sim

Description
The model generate a series of Trigger signals with an exponentially distributed inter-pulse time. The first output occurs when the simulation clock value equals of the Init_Time parameter. After this first pulse, the time between pulses is an exponentially distributed random variable with a mean value set by the parameter mean. No pulses will be output after the simulation clock reaches the Stop_Time.
Description of seed parameters:

: seed = -2 Get random number from the Global Random Number Generator (part of Central Utilities)

: seed >= 0 Generate and use a private random number, with +1 as the seed

: seed < 0 (but not -2) Generate and use a private random number, with the number provided as the seed

Ports

Input Ports

  • none

Output Ports

  • out     Data Type: TRIGGER

Parameters

  • seed =-1        Data Type: INTEGER
  • mean Data Type: REAL
  • Init_Time      Data Type: REAL
  • Stop_Time    Data Type: REAL

Arbitrary_PulseTrain

ArbitPulseTrain

File: general_blocks/Traffic_Generators/Arbitrary_PulseTrain.sim

Description
The model generates a user defined series of Trigger signals. The simulation times at which
the triggers occur are read from a file.
Ports

Input Ports

  • none

Output Ports

  • out     Data Type: TRIGGER

Parameters

  • ArrivalsFile     Data Type: CHARACTER

Enabled_Uniform_PulseTrain

Enabled Uniform PulseTrain

File: general_blocks/Traffic_Generators/Enabled_Uniform_PulseTrain.sim
Description
The model generates a series of Trigger signals with a constant inter-pulse time. It allows the designer to choose between five different interfaces for enabling and disabling the pulse train: four interfaces consisting of combinations of wired and wireless start and stop signals 1> a "wireless" (synchron-based) interface, 2> a two pin interface (Start and Stop pins) 3> a one pin interface (inputs to the Start pin toggle the state between enabled and disabled), 4> a StartWireless, stop wired interface, and 5> a StartWired, stop wireless interface. At startup, it waits until Init_Time, and then, depending upon the chosen interface, waits for an appropriate signal to start. Once the start signal occurs, pulse generation begins. One pulse is output immediately. Each succeeding Trigger output occurs after a delay which is specified by the InterPulse_Time parameter. Simultaneously, the model waits for the occurance of a stop signal; when it is received, pulse generation is disabled until another start signal is received. The model may be started and stopped as required. The model will cease generating output signals when TNow reaches the value of the Stop_Time parameter.
Ports

Input Ports

  • Start    Data Type: TRIGGER
  • Stop     Data Type: TRIGGER

Output Ports

  • out     Data Type: TRIGGER

Parameters

  • InterPulse_Time       Data Type: REAL
  • Init_Time           Data Type: REAL
  • MacroValueFile      Data Type: CHARACTER
  • Stop_Time            Data Type: REAL
  • Start_Type        may be Wireless, Wired or One_Pin          Data Type: CHARACTER
  • Stop_Type       may be Wireless or Wired        Data Type: CHARACTER
  • Alarm_GO             Data Type:CHARACTER
  • Alarm_STOP          Data Type: CHARACTER
  • Alarm_GOUT          Data Type: CHARACTER
  • Alarm_SOUT Data Type: CHARACTER

Enabled_Poisson_PulseTrain

Enabled Poisson PulseTrain

File: general_blocks/Traffic_Generators/Enabled_Poisson_PulseTrain.sim
Description
The model generate a series of Trigger signals with an exponentially distributed inter-pulse time. At startup, it waits until Init_Time, and then waits for the specified alarm to occur. Once the alarm occurs, pulse generation begins. The first output is generated. After this first pulse, the time between pulses is an exponentially distributed random variable with a mean value set by the parameter mean. No pulses will be output after the simulation clock reaches the Stop_Time.
Description of seed parameters: seed = -2 Get random number from the Global Random Number Generator (part of Central Utilities) seed >= 0 Generate and use a private random number, with +1 as the seed seed < 0 (but not -2) Generate and use a private random number, with the number provided as the seed Ports

Input Ports

  • (none)

Output Ports

  • out     Data Type: TRIGGER

Parameters

  • seed =-2           Data Type: INTEGER
  • mean               Data Type: REAL
  • Init_Time          Data Type: REAL
  • Stop_Time          Data Type: REAL
  • Alarm_Name         Data Type: CHARACTER

Enabled_PulseTrain

Enabled PulseTrain

File: general_blocks/Traffic_Generators/Enabled_PulseTrain.sim
Description
The model generates pulses with distribution statistics which are specified by a parameter. The desigher can specify a Periodic (pulses generated at a fixed period), Uniform (pulses generated at random times with a Uniform distribution), or Poisson (pulses at random times with an exponential distribution). The designer may also choose between five different interfaces for enabling and disabling the pulse train: four interfaces consisting of combinations of wired and wireless start and stop signals 1> a "wireless" (synchron-based) interface, 2> a two pin interface (Start and Stop pins) 3> a one pin interface (inputs to the Start pin toggle the state between enabled and disabled), 4> a StartWireless, stop wired interface, and 5> a StartWired, stop wireless interface. At startup, it waits until Init_Time, and then, depending upon the chosen interface, waits for an appropriate signal to start. Once the start signal occurs, pulse generation begins. One pulse is output immediately. Each succeeding Trigger output occurs after a delay calculated according to the Generator-Type parameter. Simultaneously, the model waits for the occurance of a stop signal; when it is received, pulse generation is disabled until another start signal is received. The model may be started and stopped as required. The model will cease generating output signals when TNow reaches the value of the Stop_Time parameter.
Ports

Input Ports

  • Start                  Data Type: TRIGGER
  • Stop                   Data Type: TRIGGER

Output Ports

  • out                    Data Type: TRIGGER

Parameters

  • Generator_Type   May be Periodic, Uniform or Poisson   Data Type: CHARACTER
  • Periodic - Pulses generated with fixed period InterPulse_Time Data Type: REAL
  • *Uniform - Pulses generated at random times (uniformly distributed between lower_bound and upper_bound)

: seed =-2               Data Type: INTEGER

: lower_bound=0.0        Data Type: REAL

: upper_bound=1.0        Data Type: REAL* - *Poisson - Pulses generated at random times (exponential distribution with specified mean)

: seed =-2               Data Type: INTEGER

: mean                   Data Type: REAL* - MacroValueFile             Data Type: CHARACTER - Init_Time                  Data Type: REAL - Stop_Time                  Data Type: REAL - *Start_Type Data Type: CHARACTER

: may be Wireless, Wired or One_Pin* - *Stop_Type Data Type: CHARACTER

: may be Wireless, Wired* - Alarm_GO                   Data Type: CHARACTER - Alarm_STOP                 Data Type: CHARACTER - Alarm_GOUT                 Data Type: CHARACTER - Alarm_SOUT                 Data Type: CHARACTER

: Description of seed parameters:

: seed = -2    Get random number from the (part of Central Utilities)

: seed >= 0 Generate and use a private random number, with +1 as the seed

: seed < 0 (but not -2) Generate and use a private random number, with the number provided as the seed

This page is an editorial rewrite of source documentation. Historical status, availability, and platform notes are not independently verified for a current release. Technical examples are reference material, not a live simulator.