Optimal causal control of wave energy converters in stochastic waves – Accommodating nonlinear dynamic and loss models