Skip to content

Commit 2f38a3f

Browse files
committed
ANN with saturation current definition
1 parent 45c124b commit 2f38a3f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

run_2_assemble.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function run_2_assemble()
1010
init_toolbox();
1111

1212
% run the thermal model
13-
% run_sub('ht');
13+
run_sub('ht');
1414

1515
% run the magnetic model
1616
run_sub('mf');

source_input/get_fem_ann_data_fem.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
sweep.var.V_box = struct('type', 'span', 'var_trf', 'log', 'var_type', 'float', 'span', span, 'lb', 10e-6, 'ub', 1000e-6, 'n', n);
9696
end
9797
if strcmp(model_type, 'mf')
98-
% total current in the inductor divided by the saturation current
98+
% ratio between the inductor current and the saturation current
9999
sweep.var.r_sat = struct('type', 'span', 'var_trf', 'log', 'var_type', 'float', 'span', span, 'lb', 0.001, 'ub', 1.0, 'n', n);
100100

101101
% permeability of the core for the FEM simulation

source_input/get_fem_ann_data_train.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
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);
5252
end
5353
if strcmp(model_type, 'mf')
54-
% current density in the winding for the magnetic FEM simulation
55-
var_inp{end+1} = struct('name', 'J_winding', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*0.001e6, 'max', 1.01.*20e6);
54+
% ratio between the inductor current and the saturation current
55+
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);
5656

5757
% permeability of the core for the FEM simulation
5858
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);
@@ -62,10 +62,10 @@
6262
end
6363
if strcmp(model_type, 'ht')
6464
% total losses (core and winding) divided by the area of the boxed inductor
65-
var_inp{end+1} = struct('name', 'p_density_tot', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*0.001e4, 'max', 1e4);
65+
var_inp{end+1} = struct('name', 'p_surface', 'var_trf', 'log', 'var_norm', 'min_max', 'min', 0.99.*0.001e4, 'max', 1e4);
6666

6767
% ratio between the winding losses and core losses
68-
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);
68+
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);
6969

7070
% convection coefficient reference value
7171
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);

0 commit comments

Comments
 (0)