Greetings.
I'm working with a sheet for weather windows regarding offshore installation of windfarms.
It' consist of large amount of data for 30 years windclimate; Windspeed, Waveheight and temperature.
My current solution is too heavy for computing at this point, so I need help with a new approach to this problem.
I need to count the consecutive hours, in which the values of wind/waves/temp do not exceed the thresholds.
ATM, im using the approach =AND(U2<=$B$2;U3<=$B$2), creating 2 hours of values i U, being less than the threshold B2. The I just count the TRUE statements later for probability of it happening.
For a 4 hour window i use =AND(U2<=$B$2;U3<=$B$2;U4<=$B$2;U5<=$B$2) and so on and so on.
This results in way too much data, and I'm sure the must be an easier solution.
The model should be able to enter a value for; Hours, max windspeed, max waveheight and max. temperature.
I need a function that uses the hours (4), to search fx. for 4 consecutive hours of values under the threshold.
help.PNG
I hope you are able to help me.
Thank you.
I'm able to count.if, but unable to incorporate the criteria of fx. 4 consecutive hours.
Bookmarks