Hi Folks,
I was wondering if anyone knew if there was a minimum size of rotor that Harp_Opt can give reasonable results for. My problem is that when I try to design a rotor of 12cm diameter, the water depth must be at least 3m before it will run or I get an error message reading…
??? Error using ==>times
Matrix dimensions must agree.
Error in ==> Main at 128
OmgCC = TSR_Opt.*V.*30/(pi.*RotorRad);
Error in ==> gaCustom_Creation at 212
F = Main(X);
Error in ==> makeState at 31
state.Population =
feval(options.CreationFcn,GenomeLength,FitnessFcn,options,options.CreationFcnArgs{:});
Error in ==> galincon at 18
state = makeState(GenomeLength,FitnessFcn,Iterate,output.problemtype,options);
Error in ==> ga at 306
[x,fval,exitFlag,output,population,scores] = galincon(FitnessFcn,nvars,
…
Error in ==> HARP_Opt>Optimize_Callback at 828
[x_final] = ga(@Main,NumVars,A,b,,,LB,UB,,GAoptions);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> HARP_Opt at 47
gui_mainfcn(gui_State, varargin{:});
Error in ==>
@(hObject,eventdata)HARP_Opt(‘Optimize_Callback’,hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
When I do manage to get the code to run with reasonable water depth, the blade it creates has a less than desirable power curve. Is HARP_Opt primarily optimised for large scale devices? or should it spit out good results for small scale also?