Skip to content

Commit

Permalink
ANN with saturation current definition
Browse files Browse the repository at this point in the history
  • Loading branch information
otvam committed May 25, 2020
1 parent 45c124b commit 2f38a3f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion run_2_assemble.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function run_2_assemble()
init_toolbox();

% run the thermal model
% run_sub('ht');
run_sub('ht');

% run the magnetic model
run_sub('mf');
Expand Down
2 changes: 1 addition & 1 deletion source_input/get_fem_ann_data_fem.m
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
sweep.var.V_box = struct('type', 'span', 'var_trf', 'log', 'var_type', 'float', 'span', span, 'lb', 10e-6, 'ub', 1000e-6, 'n', n);
end
if strcmp(model_type, 'mf')
% total current in the inductor divided by the saturation current
% ratio between the inductor current and the saturation current
sweep.var.r_sat = struct('type', 'span', 'var_trf', 'log', 'var_type', 'float', 'span', span, 'lb', 0.001, 'ub', 1.0, 'n', n);

% permeability of the core for the FEM simulation
Expand Down
8 changes: 4 additions & 4 deletions source_input/get_fem_ann_data_train.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
var_inp{end+1} = struct('name', 'V_box', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*10e-6, 'max', 1.01.*1000e-6);
end
if strcmp(model_type, 'mf')
% current density in the winding for the magnetic FEM simulation
var_inp{end+1} = struct('name', 'J_winding', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*0.001e6, 'max', 1.01.*20e6);
% ratio between the inductor current and the saturation current
var_inp{end+1} = struct('name', 'r_sat', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*0.001, 'max', 1.01.*1.0);

% permeability of the core for the FEM simulation
var_inp{end+1} = struct('name', 'mu_core', 'var_trf', 'none', 'var_norm', 'min_max', 'min', 0.99.*1500.0, 'max', 1.01.*3000.0);
Expand All @@ -62,10 +62,10 @@
end
if strcmp(model_type, 'ht')
% total losses (core and winding) divided by the area of the boxed inductor
var_inp{end+1} = struct('name', 'p_density_tot', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*0.001e4, 'max', 1e4);
var_inp{end+1} = struct('name', 'p_surface', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*0.001e4, 'max', 1e4);

% ratio between the winding losses and core losses
var_inp{end+1} = struct('name', 'r_ratio_winding_core', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*0.02, 'max', 1.01.*50.0);
var_inp{end+1} = struct('name', 'r_winding_core', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*0.02, 'max', 1.01.*50.0);

% convection coefficient reference value
var_inp{end+1} = struct('name', 'h_convection', 'var_trf', 'none', 'var_norm', 'min_max', 'min', 0.99.*15.0, 'max', 1.01.*30.0);
Expand Down

0 comments on commit 2f38a3f

Please sign in to comment.