tides and p