pywasp.wasp.set_hgts
- pywasp.wasp.set_hgts(height_from=10.0, height_to=None)[source]
Set generalized lib heights automatically
- Parameters:
height_from (
numpy
, optional) – 1D array of lib heights of source site in meter, by default 10 (m)height_to (
numpy
, optional) – 1D array of lib heights of target site in meter, by default None
- Returns:
new_gen_hgts (
numpy
) – 1D array of standard heights
Notes
The standard heights are set according to the following procedure: - we always know the height where we generalize from, so this is a required argument and the height of standard heights that is closest to this value is modified to height_from. - if we also know the height where we apply our generalize climate it can be specified
The standard heights used in WAsP are [10., 25., 50., 100., 200.]. These heights should span typical turbine heights and are for applying the generalized wind climate: it will interpolate from the four cornerpoints in which the target height and roughness are located by simple logarithmic interpolation.