Hello,
We usually use a poisson process model for task generation.
Therefore, the default load generator model (IdleActiveLoadGenerator.java) uses exponentially distributed values.
You can use your own load generator model such as FixedLoadGenerator.java that extends the LoadGeneratorModel class.
In your load generation model, you can take advantage of some application properties defined in the applications.xml file.
I guess the following values can be used in your model.
But this is not mandatory, you can also use a completely different business logic.
double poissonMean = SimSettings.getInstance().getTaskLookUpTable()[TaskType][2];
double activePeriod = SimSettings.getInstance().getTaskLookUpTable()[TaskType][3];
double idlePeriod = SimSettings.getInstance().getTaskLookUpTable()[TaskType][4];
6 Nisan 2021 Salı tarihinde saat 13:48:31 UTC+3 itibarıyla
sara....@gmail.com şunları yazdı: