From 0c300f744672ec44de934450620d8bfeaeb7a003 Mon Sep 17 00:00:00 2001 From: Madison Dietrich Date: Wed, 17 Apr 2024 17:34:29 -0400 Subject: [PATCH] not done yet; just added something for myself to count number of non-zero lambdas --- mdocean/inputs/var_bounds.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mdocean/inputs/var_bounds.m b/mdocean/inputs/var_bounds.m index d6918b46..d24b7335 100644 --- a/mdocean/inputs/var_bounds.m +++ b/mdocean/inputs/var_bounds.m @@ -55,10 +55,10 @@ 'pos_power','spar_damping','spar_height','LCOE_max','irrelevant_max_force'}; % modify nominal control inputs to so power and force matches actual -[F_max_nom, B_p_nom, w_n_nom] = find_nominal_inputs(b, false); -b.F_max_nom = F_max_nom; -b.B_p_nom = B_p_nom; -b.w_n_nom = w_n_nom; +%[F_max_nom, B_p_nom, w_n_nom] = find_nominal_inputs(b, false); +b.F_max_nom = 1e6%F_max_nom; +b.B_p_nom = 1e6%B_p_nom; +b.w_n_nom = 1%w_n_nom; b.X_noms = [b.D_f_nom b.D_s_ratio_nom b.h_f_ratio_nom b.T_s_ratio_nom b.F_max_nom b.B_p_nom b.w_n_nom]';