Evaluation of the effect of flexible demand and wave energy converters on the design of hybrid energy systems