LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
da_traffic_superpos.m
1function d2 = da_traffic_superpos(lambda, a2)
2% D2 = DA_TRAFFIC_SUPERPOS(LAMBDA, A2)
3%
4% Asymptotic-method superposition of independent flows with rates LAMBDA
5% and squared coefficients of variation A2: returns the rate-weighted SCV
6% mixture of the merged flow (Whitt's QNA stationary-interval formula).
7% Entries with non-finite rates are ignored.
8%
9% Copyright (c) 2012-2026, Imperial College London
10% All rights reserved.
11
12a2 = a2(isfinite(lambda));
13lambda = lambda(isfinite(lambda));
14d2 = a2(:)' * lambda(:) / sum(lambda);
15end
Definition Station.m:245