Skip to content

Error in running examples #471

@ibrahim-hanif

Description

@ibrahim-hanif

Description

I received the following error when trying to run the example 02_generate_openfast_ / iea15mw_semi (here)
and the same error in 03_design_* / tower_design_driver.py

Steps to reproduce issue

Files are the same as the latest repo on WEIS main

Current behavior

Cell In[3], [line 6](vscode-notebook-cell:?execution_count=3&line=6)
      3 analysis_override["general"]["folder_output"] = "outputs/02_iea15_semi/0_strip_theory_modeling"
      5 fname_modeling_options = os.path.join(run_dir, "iea15_semi_modeling_strip.yaml")
----> [6](vscode-notebook-cell:?execution_count=3&line=6) wt_opt, modeling_options, opt_options = weis_main(fname_wt_input, 
      7                                                  fname_modeling_options, 
      8                                                  fname_analysis_options,
      9                                                  test_run=TEST_RUN,
     10                                                  analysis_override=analysis_override
     11                                                  )

...

File \\***\WEIS\weis\inputs\validation.py:34, in load_geometry_yaml(finput)
     32 def load_geometry_yaml(finput):
     33     merged_schema = get_geometry_schema()
---> [34](file://***/WEIS/weis/inputs/validation.py:34)     return wisval._validate(finput, merged_schema, defaults=True, restrictive=False)

...

ValidationError: Validation of schema instance failed for schema `WEIS_add-ons_geom`
The validation found 3 error(s) which are further detailed below.

Error 1: Failed at instance path `$.control` with error message: "'supervisory' is a required property"
Error 2: Failed at instance path `$.control` with error message: "'torque' is a required property"
Error 3: Failed at instance path `$.control` with error message: "'pitch' is a required property"

Code versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions