Package jline.api.sn

Class SnArvRStateDependentBalance

java.lang.Object
jline.api.sn.SnArvRStateDependentBalance

public final class SnArvRStateDependentBalance extends Object
Arrival rates at stations fed by a JSQ or SQ(d) dispatcher, from flow balance. Port of MATLAB sn_arvr_state_dependent_balance.m.

snGetArvRFromTput reads the routing matrix, which for a state-dependent dispatcher holds only the static RAND split: under JSQ it reported ArvR 0.5/0.5 at two stations whose throughputs were 0.57/0.42. At a station a job leaves only by completing service (no finite buffer, no impatience, no retrial) arrivals and departures balance in steady state, so ArvR = Tput there whatever the routing. Residence times derived from the same static visit ratios are rescaled by Tput over the STATIC arrival rate, recomputed here from TN: the AN passed in may be measured (JMT, LDES, SSA), and scaling by Tput/measured ArvR (~1) left WN at the static visit ratio. Other stations are left as computed.