wecopttool.WEC.residual

WEC.residual(x_wec, x_opt, waves)[source]

Return the residual of the dynamic equation (r = m⋅a-Σf).

Parameters:
Return type:

float