Different turbine types combined with large wind farm running in chunks
Dear
I have a problem running a large wind farm with different types of turbines with the Jensen wake model. My site contains 569 turbines of 9 different turbine types and uses a Weibull-distributed wind rose.
noj_weibull = NOJ(site_weibull, windTurbines, k=0.04, turbulenceModel=CrespoHernandez(), superpositionModel=SquaredSum(), deflectionModel=JimenezWakeDeflection())
SR_NOJ_weibull_neig = noj_weibull(wt_x,wt_y, type = types, wd_chunks = 8)
When I run it like this I get the following error:
operands could not be broadcast together with remapped shapes [original->remapped]: (569,) and requested shape (569,45,23)
When I run it without the chunks I get the following error:
Unable to allocate 564. MiB for an array with shape (1, 470, 19, 360, 23) and data type float64
I had the same allocation problem when I ran the same site with just one turbine type, but this was then solved by adding the chunks. So I just think there is a problem with using the chunkification combined with different turbine types. Does anyone know how to fix this?
Kind regards, Jarne