-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Labels
B2Bbody-to-body interactions (simu.b2b = 1)body-to-body interactions (simu.b2b = 1)Bugbug in WEC-Sim source, high prioritybug in WEC-Sim source, high priorityMATLAB/SimulinkMATLAB or Simulink related issuesMATLAB or Simulink related issuesVersionMATLAB version issue, aka related to version compatibilityMATLAB version issue, aka related to version compatibility
Description
When running the WEC-Sim_Applications repo body-to-body case 4 (B2B and CI calculation). A dimension error is generated in the convolution integral calculation within the radiation force calculation block.
the full error message is:
Error using wecSim (line 292)
Non-singleton dimensions of the two input arrays must match each other.
Error in 'RM3/Float/Hydrodynamic Body/Wave Radiation Forces Calculation/SS CI and Constant-Damping-CoeVariant
Subsystem/Convolution Integral Calculation/MATLAB Function1'.
Within that function, line 21 throws an error because IRKB_interp and velocity are different dimensions:
time_series = bsxfun(@times, IRKB_interp, velocity);
Metadata
Metadata
Assignees
Labels
B2Bbody-to-body interactions (simu.b2b = 1)body-to-body interactions (simu.b2b = 1)Bugbug in WEC-Sim source, high prioritybug in WEC-Sim source, high priorityMATLAB/SimulinkMATLAB or Simulink related issuesMATLAB or Simulink related issuesVersionMATLAB version issue, aka related to version compatibilityMATLAB version issue, aka related to version compatibility