function uplant = SRblock(v,pSR)
% v   - internal signl to the splt range block
% pSR - parameters
% u(1) - charging valve; u(2) discharge valve

N       = pSR(end);                                         % number of MVs
u0      = pSR(1:N);                                      % bias for each MV
alpha   = pSR(N+1:2*N);                                 % slope for each MV
u       = (u0+alpha.*v)/100;                                         % MV
uplant  = min(max(0,u),1);                      % MV with saturation limits

end