You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Floris in a controller in which the model is updated at each time-step with new wind speeds and directions, and it looks like _reinitialize is a bottleneck, specifically the from_dict call at the end of the method. Would it be possible to set a flag to not update the parameters of floris unless necessary? I only need to update wind speed and direction.
Code profile:
and the rest of the code profile...
The text was updated successfully, but these errors were encountered:
I'm using Floris in a controller in which the model is updated at each time-step with new wind speeds and directions, and it looks like
_reinitialize
is a bottleneck, specifically thefrom_dict
call at the end of the method. Would it be possible to set a flag to not update the parameters of floris unless necessary? I only need to update wind speed and direction.Code profile:
and the rest of the code profile...
The text was updated successfully, but these errors were encountered: