Analytical and computational modelling for wave energy systems: the example of oscillating wave surge converters