Stability and Sensitivity Analysis of Traffic-Shaping Algorithms inspired by Chemical Engineering