An integrated model for estimating energy cost of a tidal current turbine farm