1function peak = getLimitedJointDependencePeak(self)
2% peak = GETLIMITEDJOINTDEPENDENCEPEAK()
4% Returns an (nstations x nclasses) matrix of the declared peak (maximum)
5% joint-dependent rate scaling per
class. Used to normalize utilization at
6% joint-dependent stations as Util = T*S/peak (the same T*S/c convention as
7% ordinary multiserver stations). A station
's scalar peak is broadcast across
8% all classes; non joint-dependent stations are left as NaN.
10% Copyright (c) 2012-2026, Imperial College London
13M = getNumberOfStations(self);
14K = getNumberOfClasses(self);
17 if ~isempty(self.stations{i}.ljdScaling)
18 pk = self.stations{i}.ljdScalingPeak;
20 line_error(mfilename, sprintf('Class-dependent station %d has no declared peak rate; use setJointDependence(beta, peakRatePerClass).
', i));
27 line_error(mfilename, sprintf(
'peakRatePerClass at station %d must be a scalar or a vector of length nclasses=%d.', i, K));