-
Notifications
You must be signed in to change notification settings - Fork 1
Comment does not match function signature (Velocity_RW_with_Mean) #7
Copy link
Copy link
Open
Description
The comment mentions the parameters iT and t, but the function header does not show these parameters.
Either the code of the function or the comment must be wrong.
Also unclear: What is WindVel.MeanPull supposed to be?
You can find this function in the folder Velocity_RW_with_Mean.
function Vel = getWindSpeedT(WindVelNow,WindVel)
% %GETWINDSPEEDT returns the wind speed at the respective turbine(s)
% % ======================================================================= %
% % Random walk model with mean implementation
% % ======= Input ======
% % WindVel.Init = Mean velocity
% % WindVel.CholSig = Tn x Tn = col(Covariance Matrix)
% % WindVelNow = Current value
% % iT = Index/Indeces of the turbines
% % t = time of request
% % ======================================================================= %
% weigthedRandN = randn(1,length(WindVelNow));
% Vel = WindVelNow + (weigthedRandN*WindVel.CholSig)' + ...
% WindVel.MeanPull*(WindVel.Init - WindVelNow);
% end
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels