Wind rose data

Hi Darren, (sorry to bother you again…)

I have been looking into your epw_to_stat method so that I can code it myself. I have been looking at the ladybug data for new york central park, and (using my python code) I can generate data from the EPW file which is in good agreement with the STAT file for this location.

BUT if I use the Simscale method for epw_to_stat, it seems to give different values for the wind frequencies at given directions. I have been using this setup for your python script:

image

I mean its probably a logical explanation but in the end it means I’m getting different Weibull parameters (using my method compared with yours). So it would be interesting to know why the 2 methods are different. Could you use your method epw_to_stat, on this testcase to get good agreement between the calculated values (annual.stat), and the reference STAT file?

image

PS. for this testcase/location the dominant wind direction is 180deg (southerly), and the highest wind frequency for that direction, is 5.7% (for the wind speed range 4-6m/sec). So I have been using that as a reference point. Your method seems to give a peak value of 4.7% for the same wind direction/speed, so there is significant difference.

Kind Regards Giles.

Hi Giles,

So just to clarify, there is no ‘SimScale method’, since it’s not supported by the product. The code here is my code that helps me automate my workflows, just to make sure readers are aware of that :slight_smile:

It’s great that you are comparing this to ladybug techniques. I am not so familiar with the ladybug code for the same thing so maybe you could summarise it? Let me summarise mine:

  • Take EPW file and read the time stamp, speed and direction
  • with a given set of centre directions and intervals, bin the data into directions (for example, north 0 degrees, for 8 uniform wind directions, is actually 315 - 45 degrees)
  • for each of those now directionally binned data sets, fit the Weibull distribution and store the values
  • based on the size of each of these bins, create a directional probability Pdir
  • Using the cumulative Weibull distribution, calculate the probability of occurrence for each direction and the given speed bins. Store it as a standard table
  • format the standard table into a .stat format.

Best,
Darren

I suppose it’s worth mentioning at this point that I remove 0m/s entries as they cause errors in the Weibull calculation. However, I do not add anything back to probabilities. Is this similar?

Best,
Darren

Hi Darren, thanks very much again your thorough reply - thats very useful.

I was able to get an exact match with your directional probability numbers, but (for me) the speed bin probabilities did not match your values - but your explanation explains that for me. I did not realise that you are printing the probability stats after the weibull curve fit. So this means your data is a kind of sanitised version of the actual wind frequency data. I just created this plot for the GBR Hartland Point data at 270 deg, and compared my data (gar) with yours (dlynch) with the ladybug data. And yes - I also had to remove/ignore the zero wind speed values.

image

1 Like

Hi @garcfd , excellent. I am actually quite happy with the way that looks :slight_smile:

Thanks for sharing!
Darren

1 Like

I noticed getting quite high Weibull values for “c” for this wind direction 270-deg GBR-Hartland-Point - I didnt expect it to go upto 10 !

image

1 Like

How does it look when plotted like before in the line plot?

It looks ok actually, the profile is just more stretched out in the x-axis
(compared with the more usual k=2 & c=6 values)
image

1 Like