Dynamics of the vascular system