Dynamics of two tanks in series