wecopttool.waves.pierson_moskowitz_params

pierson_moskowitz_params(fp, hs)[source]

Return the two PM parameters for the general spectrum formulation.

Parameters:
  • fp (float) – Peak frequency in \(Hz\).

  • hs (float) – Significant wave height in \(m\).

Returns:

  • a_param – Parameter \(A\) in the general spectrum equation.

  • b_param – Parameter \(B\) in the general spectrum equation.

Return type:

float | ndarray

See also

general_spectrum