Package jline.examples.java.basic
Class OpenNNPPModel
java.lang.Object
jline.examples.java.basic.OpenNNPPModel
Open queueing network with an NNPP (nonstationary non-Poisson) arrival process.
NNPP takes a rate function lambda(t) on [0, S] and a dispersion ratio C, the variance-to-mean ratio of the arrival counts. With C = 1 it is the nonhomogeneous Poisson process of rate lambda(t), generated by Lewis-Shedler thinning; with C != 1 it is generated by SCIATA (Liu, Kuhl, Liu and Wilson, WSC 2015). NNPP is supported by LDES only, as an arrival process.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OpenNNPPModel
public OpenNNPPModel()
-
-
Method Details
-
oqn_nnpp
Open M/M/1-like queue whose Source uses a cyclic NNPP arrival stream. The rate interpolates linearly through (0,10), (2,40), (5,5), (8,20) and repeats every 8 time units, with dispersion ratio 0.5. The time-average rate is 155/8 = 19.375, so the Exp(38.75) server runs at utilization 0.5.- Returns:
- configured open network with an NNPP arrival process
-
main
Solves the NNPP model with the LDES simulation engine and prints the average performance table.- Parameters:
args- command line arguments (not used)- Throws:
Exception- if the solver encounters an error
-