-
Notifications
You must be signed in to change notification settings - Fork 12
/
fsi_ipwkbz_vf_vecsv_main.m
78 lines (59 loc) · 2.32 KB
/
fsi_ipwkbz_vf_vecsv_main.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
%% Here are the main simulations for IPKWBZ_VF_VECSV:
% 1. benchmark: benchmark not very accurate but useful for comparing against latnerative algorithms
% 2. precise
% 3. operational
%% Benchmark Simulation, used in Main Testing Files
% benchmark not very accurate but useful for comparing against latnerative algorithms
it_param_set = 4;
[param_map, support_map] = ffs_ipwkbz_set_default_param(it_param_set);
% Simulation Accuracy
param_map('it_w_perc_n') = 50;
param_map('it_ak_perc_n') = param_map('it_w_perc_n');
param_map('it_z_n') = 11;
param_map('fl_coh_interp_grid_gap') = 0.1;
param_map('fl_w_interp_grid_gap') = 0.1;
param_map('it_c_interp_grid_gap') = 10^-4;
% Display Parameters
support_map('bl_display') = false;
support_map('bl_display_final') = false;
support_map('bl_time') = true;
support_map('bl_profile') = false;
% Call Program
ff_ipwkbz_vf_vecsv(param_map, support_map);
%% Operational Simulation
% fast and accurate enough as main simulation parameters
% see fsi_ikwz_vf_vecsv_coh_interp_grid_gap.m, fsi_ikwz_vf_vecsv_w_n.m, fsi_ikwz_vf_vecsv_z_n.m
it_param_set = 4;
[param_map, support_map] = ffs_ipwkbz_set_default_param(it_param_set);
% Simulation Accuracy
param_map('it_w_perc_n') = 100;
param_map('it_ak_perc_n') = param_map('it_w_perc_n');
param_map('it_z_n') = 15;
param_map('fl_coh_interp_grid_gap') = 0.05;
param_map('fl_w_interp_grid_gap') = 0.05;
param_map('it_c_interp_grid_gap') = 10^-4;
% Display Parameters
support_map('bl_display') = false;
support_map('bl_display_final') = false;
support_map('bl_time') = true;
support_map('bl_profile') = false;
% Call Program
ff_ipwkbz_vf_vecsv(param_map, support_map);
%% High Precision Simulation
% see fsi_ikwz_vf_vecsv_coh_interp_grid_gap.m, fsi_ikwz_vf_vecsv_w_n.m, fsi_ikwz_vf_vecsv_z_n.m
it_param_set = 4;
[param_map, support_map] = ffs_ipwkbz_set_default_param(it_param_set);
% Simulation Accuracy
param_map('it_w_perc_n') = 500;
param_map('it_ak_perc_n') = param_map('it_w_perc_n');
param_map('it_z_n') = 15;
param_map('fl_coh_interp_grid_gap') = 0.01;
param_map('fl_w_interp_grid_gap') = 0.01;
param_map('it_c_interp_grid_gap') = 10^-4;
% Display Parameters
support_map('bl_display') = false;
support_map('bl_display_final') = false;
support_map('bl_time') = true;
support_map('bl_profile') = false;
% Call Program
ff_ipwkbz_vf_vecsv(param_map, support_map);