Maximising value of electrical networks for wave energy converter arrays