Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wind speed and direction calculation in DDY calculation #747

Open
hongyuanjia opened this issue Sep 14, 2020 · 0 comments
Open

Wind speed and direction calculation in DDY calculation #747

hongyuanjia opened this issue Sep 14, 2020 · 0 comments

Comments

@hongyuanjia
Copy link

Thanks for this great plugin!

I am trying to manually calculate DDY data using EPW files. And I found createDdyFromEPW being quite useful. I got a little bit confused by how the wind speed and direction calculation.

coldStdDevTemp = sortedDB[1384]
hotStdDevTemp = sortedDB[-1385]
winSpBelowTemp = []
windDirBelowTemp = []
winSpAboveTemp = []
windDirAboveTemp = []
for i, tem in enumerate(dbTemp):
if tem < coldStdDevTemp:
winSpBelowTemp.append(windSpeed[i])
windDirBelowTemp.append(windDir[i])
elif tem > hotStdDevTemp:
winSpAboveTemp.append(windSpeed[i])
windDirAboveTemp.append(windDir[i])
winSpBelowTemp.sort()
coldMonWind = winSpBelowTemp[922]
coldMonWinDir = int(sum(windDirBelowTemp)/len(windDirBelowTemp))
maxWind = winSpBelowTemp[-5] # Design Condition 3
winSpAboveTemp.sort()
hotMonWind = winSpAboveTemp[922]
hotMonWinDir = int(sum(windDirAboveTemp)/len(windDirAboveTemp))

In createDdyFromEPW, coldStdDevTemp and hotStdDevTemp was selected as the 18.5% (1385/8760) of dry-bulb temperature. I did not find any reference on this selection in ASHRAE HOF. Also failed to find any reference why coldMonWind was selected as the 923 of winSpBelowTemp. It would be great if you could provide some insights into this. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant