Skip to content

Commit

Permalink
not done yet; just added something for myself to count number of non-…
Browse files Browse the repository at this point in the history
…zero lambdas
  • Loading branch information
MadisonDietrich committed Apr 17, 2024
1 parent 4aab084 commit 0c300f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mdocean/inputs/var_bounds.m
Original file line number Diff line number Diff line change
Expand Up @@ -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]';

Expand Down

0 comments on commit 0c300f7

Please sign in to comment.