Linear and nonlinear damping effects on the stability of discrete and continuous circulatory systems