A box model to represent estuarine dynamics in mesoscale resolution ocean models