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 calculation with shelters and target wind speed #224

Open
jamesramsden-bh opened this issue Jul 22, 2024 · 2 comments
Open

Wind speed calculation with shelters and target wind speed #224

jamesramsden-bh opened this issue Jul 22, 2024 · 2 comments
Assignees
Labels
type:feature New capability or enhancement

Comments

@jamesramsden-bh
Copy link
Contributor

jamesramsden-bh commented Jul 22, 2024

When running an ExternalComfort, where a typology contains both windspeed-modifying shelters and a target_wind_speed, the following happens:

  • Annual wind speed is calculated based upon the epw wind speeds and the shelters
  • The wind speed is then replaced with the target_wind_speed

This is possibly unintuitive. I wanted to modify the weatherfile wind speed, then have the shelters modify this new wind speed, while the current behaviour essentially ignores the effect of the shelters when setting the target_wind_speed.

I propose that, instead:

  • The weatherfile wind speed is modified via the target_wind_speed
  • This new wind speed is then modified as normal via the shelters.

Discussion welcome. cc @tg359

@jamesramsden-bh jamesramsden-bh added the type:feature New capability or enhancement label Jul 22, 2024
@jamesramsden-bh
Copy link
Contributor Author

Following discussion with @tg359 , this is by design. We could instead rename target_wind_speed to wind_speed_override. @Tom-Kingstone

@Tom-Kingstone
Copy link
Contributor

bhom/wrapped methods will only need a simple change to modify the input epw data, instead of using the target wind speed.

epw._data[21] = epw.wind_speed * wind_speed_multiplier

And will rename target_wind_speed to wind_speed_override

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New capability or enhancement
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants