wecopttool.inertia

inertia(f1, nfreq, inertia_matrix)[source]

Create the inertia “force” from the inertia matrix.

Parameters:
  • f1 (float) – Fundamental frequency f1 [\(Hz\)].

  • nfreq (int) – Number of frequencies.

  • inertia_matrix (ArrayLike) – Inertia matrix.

Return type:

StateFunction