Example: 'Vary an average demand set according to a Gaussian distribution'

Brief description

This generator modifies the average offered-traffic volume per demand according to a Gaussian distribution, with mean the initial value of the offered traffic, and standard deviation obtained from the coefficient of variation (input parameter)

Algorithm description table

Algorithm inputs

Requires a demand set within the netPlan object.

Algorithm parameters:

  • cv. Coefficient of variation (quotient between standard deviation and mean value). Default: 1
  • truncationParameter. Maximum deviation from the mean value (measured in units of the number of standard deviations away from the mean). Default: 5
  • randomSeed. Seed for the random generator (-1 means random). Default: -1
Algorithm outputsThe initial demand set varied with a value obtained from a Gaussian distribution
Required librariesNone
KeywordsNone
AuthorsPablo Pavón Mariño, José Luis Izquierdo Zaragoza
DateJanuary 2014
CodeTVSim_EG_basicTrafficChangeGenerator.java

Detailed description

Updates the current traffic demand volumes at each time slot using a random Gaussian model of mean value equal to the original offered demand volume and coefficient of variation (quotient between standard deviation and mean value) given as a parameter. The coefficient of variation is useful because the standard deviation of data must always be understood in the context of the mean of the data. In contrast, the actual value of the CV is independent of the unit in which the measurement has been taken, so it is a dimensionless number.