wecopttool.utilities

Functions that are useful for WEC analysis and design.

Functions

plot_hydrodynamic_coefficients

Plots hydrodynamic coefficients (added mass, radiation damping,

plot_bode_impedance

Plot Bode graph from wecoptool impedance data array.

calculate_power_flows

Calculate power flows into a wecopttool.WEC

plot_power_flow

Plot power flow through a WEC as Sankey diagram.

linear_solve

Solve a linear problem in the frequency domain with optimal controller.

create_dataarray

Create a DataArray from excitation and impedance data.