From 15a71c1153e7a036fde03addd5e17eecda0807eb Mon Sep 17 00:00:00 2001 From: pibo Date: Thu, 14 Dec 2023 15:00:41 -0700 Subject: [PATCH] fix bug with DT_Out, which is a number, nto a str --- weis/aeroelasticse/openmdao_openfast.py | 2 ++ weis/inputs/modeling_schema.yaml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/weis/aeroelasticse/openmdao_openfast.py b/weis/aeroelasticse/openmdao_openfast.py index 2e4f7faad..f3aab3a9d 100644 --- a/weis/aeroelasticse/openmdao_openfast.py +++ b/weis/aeroelasticse/openmdao_openfast.py @@ -856,6 +856,8 @@ def load_FAST_model_opts(self,fst_vt,modeling_options={}): fst_vt['AeroDyn15']['OLAF'] = {} if fst_vt['ElastoDyn']['DT'] == 0.: fst_vt['ElastoDyn']['DT'] = 'Default' + if fst_vt['Fst']['DT_Out'] == 0.: + fst_vt['Fst']['DT_Out'] = 'Default' return fst_vt diff --git a/weis/inputs/modeling_schema.yaml b/weis/inputs/modeling_schema.yaml index 47e2c0cb7..92fc6e8c4 100644 --- a/weis/inputs/modeling_schema.yaml +++ b/weis/inputs/modeling_schema.yaml @@ -360,8 +360,8 @@ properties: units: s description: Amount of time between creating checkpoint files for potential restart (s) DT_Out: - type: string - default: default + type: number + default: 0 description: Time step for tabular output (s) (or 'default') OutFileFmt: type: integer