wind_model_simple
Calculate wind speeds at multiple altitudes with logarithmic or power law wind models. Provide surface wind data and roughness length to get wind profile.
Instructions
Calculate wind speeds at different altitudes using logarithmic or power law models.
Args: altitudes_m: List of altitudes in meters surface_wind_speed_ms: Wind speed at 10m reference height in m/s surface_wind_direction_deg: Wind direction at surface in degrees (0=North, 90=East) model_type: Wind model type ('logarithmic' or 'power_law') roughness_length_m: Surface roughness length in meters
Returns: Formatted string with wind profile data at each requested altitude.
Raises: No exceptions are raised directly; errors are returned as formatted strings.
Note: The logarithmic wind profile (Ref: Stull, "Meteorology for Scientists and Engineers", 2000) models wind speed as: U(z) = (u* / kappa) * ln(z / z0) where u* is friction velocity, kappa ~0.4 is the von Karman constant, and z0 is the aerodynamic roughness length.
The **power-law wind profile** (empirical approximation) models wind as:
U(z) = U_ref * (z / z_ref) ^ alpha
where alpha (Hellmann exponent) depends on terrain roughness, typically
~0.14 for open terrain and ~0.40 for urban areas.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| altitudes_m | Yes | ||
| surface_wind_speed_ms | No | ||
| surface_wind_direction_deg | No | ||
| model_type | No | logarithmic | |
| roughness_length_m | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |