1function peak = getLimitedClassDependencePeak(self)
2% peak = GETLIMITEDCLASSDEPENDENCEPEAK()
4% Returns an (nstations x nclasses) matrix of
the declared peak (maximum)
5%
class-dependent rate scaling per
class. Used to normalize utilization at
6%
class-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 class-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}.lcdScaling)
18 pk = self.stations{i}.lcdScalingPeak;
20 line_error(mfilename, sprintf('Class-dependent station %d has no declared peak rate; use setClassDependence(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));