Skip to content

Commit

Permalink
FIX: Make schema require operating_modes and remove inflow angle range
Browse files Browse the repository at this point in the history
  • Loading branch information
thclark committed May 21, 2024
1 parent 555afc4 commit 5131cfa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 2 additions & 4 deletions power-curve-schema/examples/generic-117-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"rated_rpm": 12,
"cut_in_rpm": 2,
"rotor_diameter": 117.0,
"rotor_tilt": 5,
"number_of_blades": 3,
"available_hub_heights": [91.5, 116.5, 141.5],
"drive_type": "geared",
Expand Down Expand Up @@ -76,10 +77,7 @@
"reference_wind_speed": 37.5,
"weibull_shape_factor": 2.4,
"vertical_shear_exponent": 0.3,
"inflow_angle": {
"min": -2,
"max": 2
},
"inflow_angle": 8,
"design_lifetime": 25
},
"turbulence": {
Expand Down
1 change: 1 addition & 0 deletions power-curve-schema/examples/generic-274-20.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"rated_rpm": 6,
"cut_in_rpm": 1,
"rotor_diameter": 274.0,
"rotor_tilt": 5,
"available_hub_heights": [140, 145, 150],
"number_of_blades": 3,
"drive_type": "geared",
Expand Down
3 changes: 2 additions & 1 deletion power-curve-schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@
"rated_rpm",
"cut_in_rpm",
"rotor_diameter",
"rotor_tilt",
"model_description",
"available_hub_heights",
"drive_type",
Expand Down Expand Up @@ -773,7 +774,7 @@
"type": "object",
"title": "Power Curves",
"description": "Contains power and thrust curves along with data specific to each operating mode of the turbine",
"required": ["default_mode", "modes"],
"required": ["default_operating_mode", "operating_modes"],
"properties": {
"default_operating_mode": {
"type": "string",
Expand Down

0 comments on commit 5131cfa

Please sign in to comment.