wecopttool.pto.PTO.transduced_flow
- PTO.transduced_flow(wec, x_wec, x_opt, wave=None, nsubsteps=1)[source]
Calculate the transduced flow variable time-series in each PTO DOF for a given system state. Equals the PTO velocity if no impedance is defined.
Examples for PTO impedance and corresponding flow variables:
OWC: (pneumatic admittance)^-1 : flow = volumetric air flow
Drive-train: rotational impedance : flow = rotational velocity
Generator: winding impedance: flow = electric current
Drive-train and Generator combined: flow = electric current
- Parameters:
wec (WEC) –
wecopttool.WECobject.x_wec (ndarray) – WEC dynamic state.
x_opt (ndarray) – Optimization (control) state.
wave (DataArray | None) – 2D
xarray.DataArraycontaining the wave’s complex amplitude for a single realization as a function of wave angular frequencyomega(rad/s) and directionwave_direction(rad).nsubsteps (int | None) – Number of steps between the default (implied) time steps. A value of
1corresponds to the default step length.
- Return type: