diff --git a/windIO/examples/plant/plant_energy_resource/DirectionalShearResource.yaml b/windIO/examples/plant/plant_energy_resource/DirectionalShearResource.yaml new file mode 100644 index 00000000..31e1ebf7 --- /dev/null +++ b/windIO/examples/plant/plant_energy_resource/DirectionalShearResource.yaml @@ -0,0 +1,81 @@ +name: Directional Shear Energy Resource +wind_resource: + shear: + alpha: + data: + - 0.12 + - 0.14 + - 0.16 + - 0.18 + - 0.20 + - 0.22 + - 0.20 + - 0.18 + - 0.16 + - 0.14 + - 0.12 + - 0.10 + dims: + - wind_direction + h_ref: 100.0 + sector_probability: + data: + - 0.03597152 + - 0.03948682 + - 0.051673949999999996 + - 0.07000154 + - 0.08364547 + - 0.0643485 + - 0.08643194 + - 0.1177051 + - 0.1515757 + - 0.14737920000000002 + - 0.1001205 + - 0.051659750000000004 + dims: + - wind_direction + weibull_a: + data: + - 9.176929 + - 9.782334 + - 9.531809 + - 9.909545 + - 10.04269 + - 9.593921 + - 9.584007 + - 10.51499 + - 11.39895 + - 11.68746 + - 11.63732 + - 10.08803 + dims: + - wind_direction + weibull_k: + data: + - 2.392578 + - 2.447266 + - 2.412109 + - 2.591797 + - 2.755859 + - 2.595703 + - 2.583984 + - 2.548828 + - 2.470703 + - 2.607422 + - 2.626953 + - 2.326172 + dims: + - wind_direction + wind_direction: + - 0.0 + - 30.0 + - 60.0 + - 90.0 + - 120.0 + - 150.0 + - 180.0 + - 210.0 + - 240.0 + - 270.0 + - 300.0 + - 330.0 diff --git a/windIO/schemas/plant/energy_resource.yaml b/windIO/schemas/plant/energy_resource.yaml index 361a1423..6fdadd20 100644 --- a/windIO/schemas/plant/energy_resource.yaml +++ b/windIO/schemas/plant/energy_resource.yaml @@ -100,7 +100,10 @@ properties: properties: alpha: title: Alpha - type: number + description: Shear exponent; scalar or dependent on wind_direction + oneOf: + - type: number + - $ref: "./common.yaml#/definitions/multi_dimensional_data" h_ref: title: Shear ref height type: number