Skip to content

Wind "Define Turbine Design Characteristics" option causes UI callback error #877

@cpaulgilman

Description

@cpaulgilman

Describe the bug

For the Wind model, choosing the define turbine design characteristics option and changing some values causes a callback error.

https://sam.nrel.gov/forum/forum-general/3731

To Reproduce

  1. Create a Wind / Single Owner case.
  2. On the Wind Turbine page, choose Define turbine characteristics.
  3. Change Maximum tip-speed ratio to 6.8.
  4. Press Enter or switch between Select a turbine from library and Define turbine design characteristics.

equation engine: [32]: eval error in statement list\

fail: [wind_turbine_powercurve_windspeeds,wind_turbine_powercurve_powerout,wind_turbine_rated_wind_speed,wind_turbine_powercurve_err_msg,wind_turbine_powercurve_hub_efficiency] = f( wind.turbine.radio_list_or_design,wind_turbine_powercurve_windspeeds_from_lib,wind_turbine_powercurve_powerout_from_lib,wind_turbine_kw_rating_from_lib,wind_turbine_kw_rating_input,wind_turbine_rotor_diameter_input,wind_turbine_hub_ht,wind.turbine.elevation,wind_resource_model_choice,wind_turbine_max_cp,wind.turbine.max_tip_speed,wind.turbine.max_tspeed_ratio,wind_turbine_cutin,wind_turbine_cut_out,wind.turbine.drive_train )
no variables calculated in a single iteration, cannot make progress!
eqn not evaluated: [wind_turbine_powercurve_windspeeds,wind_turbine_powercurve_powerout,wind_turbine_rated_wind_speed,wind_turbine_powercurve_err_msg,wind_turbine_powercurve_hub_efficiency] = f( wind.turbine.radio_list_or_design,wind_turbine_powercurve_windspeeds_from_lib,wind_turbine_powercurve_powerout_from_lib,wind_turbine_kw_rating_from_lib,wind_turbine_kw_rating_input,wind_turbine_rotor_diameter_input,wind_turbine_hub_ht,wind.turbine.elevation,wind_resource_model_choice,wind_turbine_max_cp,wind.turbine.max_tip_speed,wind.turbine.max_tspeed_ratio,wind_turbine_cutin,wind_turbine_cut_out,wind.turbine.drive_train)

Expected behavior

SAM should accept different values for parameters, and return a message if there are problems with the value.

Screenshots

image

Operating System and Version

Tested in SAM 2021.12.02 on Windows 10

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions