version = 4.2 // // Saved by sw version: 2021.2 // Save timestamp: 25-Jun-2021 @ 04:23:44 PM // model "filtro_attivo" { configuration { hil_device = "VHIL+" hil_configuration_id = 1 simulation_method = exact simulation_time_step = 2e-6 simulation_discret_scaling = 1.0 dsp_timer_periods = 100e-6, 50e-3 ss_calc_method = "systematic elimination" enb_pole_shift = True enb_gds_oversampling = True show_modes = False device_ao_limit_enable = False reset_analog_outputs_on_sim_stop = True reset_digital_outputs_on_sim_stop = True cpl_stb = False enb_dep_sw_detect = False code_section = "internal memory" data_section = "internal memory" sys_sp_rate_1 = 0.0001 sys_sp_rate_2 = 0.05 sys_real_type_precision = "default" user_real_type_precision = "default" sys_cpu_optimization = "high" user_cpu_optimization = "high" user_cpu_part_option = "default" matrix_based_reduction = True cpl_dynamics_analysis = False export_ss_to_pickle = False cce_platform = "generic" cce_use_relative_names = False cce_type_mapping_real = "double" cce_type_mapping_uint = "unsigned int" cce_type_mapping_int = "int" cce_directory = "" cce_custom_type_int = "" cce_custom_type_uint = "" cce_custom_type_real = "" tunable_params = "component defined" } component Subsystem Root { component "core/Three Phase Voltage Source" Vs { init_rms_value = "230.0" } [ position = 7920, 8160 size = 62, 256 ] component "core/Three Phase Diode Rectifier" "Three Phase Diode Rectifier1" { } [ position = 9336, 8160 size = 127, 256 ] component pas_capacitor C1 { capacitance = "1e-3" initial_voltage = "500" } [ position = 9456, 8160 rotation = right ] component pas_resistor R1 { resistance = "30" } [ position = 9512, 8208 rotation = right ] component "core/Three Phase Inverter" "Three Phase Inverter1" { carrier_freq = "20000.0" ctrl_src = "Internal modulator" d_time = "5e-7" fvd_def_method = "LUT" } [ position = 8056, 8576 size = 127, 256 ] component pas_capacitor C2 { capacitance = "750e-6" initial_voltage = "700" } [ position = 7920, 8568 rotation = right ] component pas_inductor L1 { inductance = "5e-3" } [ position = 8192, 8480 ] component pas_inductor L2 { inductance = "5e-3" } [ position = 8192, 8576 ] component pas_inductor L3 { inductance = "5e-3" } [ position = 8192, 8672 ] component "core/Current Measurement" If1 { execution_rate = "2e-6" feed_forward = "true" sig_output = "True" } [ position = 8288, 8480 scale = 1, -1 size = 64, 32 ] component "core/Current Measurement" If2 { execution_rate = "2e-6" feed_forward = "true" sig_output = "True" } [ position = 8352, 8576 scale = 1, -1 size = 64, 32 ] component "core/Current Measurement" If3 { execution_rate = "2e-6" feed_forward = "true" sig_output = "True" } [ position = 8416, 8672 scale = 1, -1 size = 64, 32 ] component "core/Current Measurement" Ic1 { execution_rate = "2e-6" feed_forward = "true" sig_output = "True" } [ position = 9040, 8064 scale = 1, -1 size = 64, 32 ] component "core/Current Measurement" Ic2 { execution_rate = "2e-6" feed_forward = "true" sig_output = "True" } [ position = 8992, 8160 scale = 1, -1 size = 64, 32 ] component "core/Current Measurement" Ic3 { execution_rate = "2e-6" feed_forward = "true" sig_output = "True" } [ position = 8944, 8256 scale = 1, -1 size = 64, 32 ] component "core/Voltage Measurement" Vdc { bw_limit = "True" execution_rate = "2e-6" sig_output = "True" } [ position = 7848, 8568 rotation = right scale = -1, 1 size = 64, 32 ] component "core/Voltage Measurement" Vs1 { execution_rate = "2e-6" sig_output = "True" } [ position = 8600, 8304 rotation = right size = 64, 32 ] component "core/Voltage Measurement" Vs2 { execution_rate = "2e-6" sig_output = "True" } [ position = 8672, 8352 rotation = right size = 64, 32 ] component "core/Voltage Measurement" Vs3 { execution_rate = "2e-6" sig_output = "True" } [ position = 8744, 8400 rotation = right size = 64, 32 ] component src_ground gnd1 { } [ position = 8672, 8512 ] component src_ground gnd2 { } [ position = 7832, 8160 rotation = right ] component "core/Current Measurement" Is1 { } [ position = 8264, 8064 size = 64, 32 ] component "core/Current Measurement" Is2 { } [ position = 8264, 8160 size = 64, 32 ] component "core/Current Measurement" Is3 { } [ position = 8264, 8256 size = 64, 32 ] component gen_sum Sum1 { signs = "+-" } [ position = 10272, 8488 ] component gen_abc2alpha_beta "abc to alpha beta1" { } [ position = 8480, 9032 ] component gen_sum Sum2 { signs = "+-" } [ position = 10288, 8648 ] component gen_abc2alpha_beta "abc to alpha beta i" { power_form = "invariant" } [ position = 9168, 8440 ] component gen_abc2alpha_beta "abc to alpha beta v" { power_form = "invariant" } [ position = 9168, 8616 ] component gen_product Product1 { } [ position = 9408, 8424 ] component gen_product Product2 { } [ position = 9408, 8528 ] component gen_sum pl { } [ position = 9528, 8472 ] component gen_product Product3 { } [ position = 9336, 8720 ] component gen_product Product4 { } [ position = 9336, 8816 ] component gen_sum ql { signs = "-+" } [ position = 9432, 8776 ] component gen_sum pf { signs = "+-" } [ position = 9728, 8440 ] component gen_sum qf { signs = "+-" } [ position = 9728, 8744 ] component gen_product valpha_x_pf { } [ position = 9944, 8584 ] component gen_product vbeta_x_qf { } [ position = 9944, 8680 ] component gen_sum Sum7 { } [ position = 10040, 8632 ] component gen_product Product7 { } [ position = 9632, 8864 ] component gen_product Product8 { } [ position = 9632, 8944 ] component gen_sum "valpha^2+vbeta^2" { } [ position = 9752, 8904 ] component gen_product i_ref_alpha { signs = "*/" } [ position = 10152, 8640 ] component gen_product vbeta_x_pf { } [ position = 9944, 8440 ] component gen_product i_ref_beta { signs = "*/" } [ position = 10152, 8480 ] component gen_product valpha_x_qf { } [ position = 9944, 8512 ] component gen_sum sum8 { signs = "+-" } [ position = 10040, 8472 ] component gen_terminator Termination1 { } [ position = 9168, 8704 scale = -1, 1 ] component gen_terminator Termination2 { } [ position = 9168, 8528 scale = -1, 1 ] component gen_terminator Termination3 { } [ position = 8584, 9056 ] component gen_alpha_beta2abc Vabc_ref { } [ position = 10616, 8560 scale = 1, -1 ] component gen_product "Vdc^2" { } [ position = 9640, 8216 scale = -1, 1 ] component gen_pid_controller R_Vdc { controller_type = "PI" ki = "3e-3" kp = "3e-4" } [ position = 9728, 8312 ] component gen_sum pf1 { signs = "-+" } [ position = 9824, 8432 ] component gen_sum ql2 { signs = "-+" } [ position = 9640, 8312 ] component gen_product Product10 { } [ position = 9560, 8320 ] component src_constant Vdc_ref { execution_rate = "2e-6" value = "1000" } [ position = 9408, 8328 ] component gen_gain Gain1 { gain = "0.8165" } [ position = 9424, 8592 ] component gen_gain Gain2 { gain = "0.8165" } [ position = 9424, 8672 ] component src_constant Const { execution_rate = "2e-6" value = "0" } [ position = 10608, 8464 scale = -1, 1 ] component pas_inductor L4 { inductance = "3e-3" } [ position = 9184, 8064 ] component pas_inductor L5 { inductance = "3e-3" } [ position = 9184, 8160 ] component pas_inductor L6 { inductance = "3e-3" } [ position = 9184, 8256 ] component "core/Three Phase Core Coupling" "Core Coupling 1" { C1 = "10e-06" L1 = "0.01" R1 = "10e3" R2 = "0.01" snb_type_i = "R1-C1" snb_type_u = "R2||L1" } [ position = 9112, 8160 size = 12, 256 ] component src_scada_input "Active filter" { execution_rate = "2e-6" max = "1" min = "0" unit = "" } [ position = 7888, 8416 ] component "core/Single Pole Single Throw Contactor" S1 { ctrl_src = "Model" } [ position = 9512, 8120 rotation = right size = 64, 32 ] component src_scada_input Load { execution_rate = "2e-6" max = "1" min = "0" unit = "" } [ position = 9576, 8120 scale = -1, 1 ] component gen_sum sum_Vs_alpha { } [ position = 10520, 8616 ] component gen_sum sum_Vs_beta { } [ position = 10520, 8528 ] component pas_resistor R2 { resistance = "1e6" } [ position = 8672, 8000 rotation = right ] component pas_resistor R3 { resistance = "1e6" } [ position = 8744, 8000 rotation = right ] component pas_resistor R4 { resistance = "1e6" } [ position = 8600, 8000 rotation = right ] component src_ground gnd3 { } [ position = 8672, 7888 rotation = down ] component gen_probe Ri_alfa { } [ position = 10360, 8552 scale = -1, 1 ] component gen_gain Gain4 { gain = "0.002" } [ position = 10448, 8688 rotation = left ] component gen_pid_controller "PID controller1" { controller_type = "PI" enb_anti_windup_out = "True" ki = "25" kp = "0.1" lower_sat_lim = "-70" signal_out_type = "real" upper_sat_lim = "70" } [ position = 10368, 8488 ] component gen_pid_controller "PID controller2" { controller_type = "PI" enb_anti_windup_out = "True" ki = "25" kp = "0.1" lower_sat_lim = "-70" signal_out_type = "real" upper_sat_lim = "70" } [ position = 10368, 8648 ] component gen_limiter Limit1 { lower_limit = "1e-3" } [ position = 10000, 8904 ] component gen_gain Gain5 { gain = "0.002" } [ position = 10448, 8464 rotation = left scale = 1, -1 ] component gen_z_domain_transfer "Discrete Transfer Function2" { a_coeff = "[2.81e-5,7.43e-3,1]" b_coeff = "[1]" domain = "S-domain" method = "Bilinear" } [ position = 9640, 8472 ] component gen_z_domain_transfer "Discrete Transfer Function3" { a_coeff = "[2.81e-5,7.43e-3,1]" b_coeff = "[1]" domain = "S-domain" method = "Bilinear" } [ position = 9640, 8776 ] tag Goto1 { value = "v_alpha" scope = local kind = sp direction = in } [ position = 9792, 8552 ] tag From1 { value = "v_alpha" scope = local kind = sp direction = out } [ position = 10376, 8736 ] tag Goto2 { value = "v_beta" scope = local kind = sp direction = in } [ position = 9792, 8632 ] tag From2 { value = "v_beta" scope = local kind = sp direction = out } [ position = 10376, 8416 ] tag From3 { value = "vfa" scope = local kind = sp direction = out } [ position = 8256, 8320 scale = -1, 1 ] tag From4 { value = "vfb" scope = local kind = sp direction = out } [ position = 8256, 8368 scale = -1, 1 ] tag From5 { value = "vfc" scope = local kind = sp direction = out } [ position = 8256, 8416 scale = -1, 1 ] tag Goto3 { value = "vfa" scope = local kind = sp direction = in } [ position = 10704, 8608 ] tag Goto4 { value = "vfb" scope = local kind = sp direction = in } [ position = 10704, 8560 ] tag Goto5 { value = "vfc" scope = local kind = sp direction = in } [ position = 10704, 8512 ] tag Goto6 { value = "Vdc" scope = local kind = sp direction = in } [ position = 7760, 8568 scale = -1, 1 ] tag From6 { value = "Vdc" scope = local kind = sp direction = out } [ position = 9736, 8216 scale = -1, 1 ] junction Junction7 pe [ position = 8440, 8064 ] junction Junction8 pe [ position = 8480, 8160 ] junction Junction10 pe [ position = 7920, 8480 ] junction Junction11 pe [ position = 7920, 8672 ] junction Junction12 pe [ position = 8600, 8064 ] junction Junction13 pe [ position = 8672, 8160 ] junction Junction14 pe [ position = 8744, 8256 ] junction Junction15 sp [ position = 9296, 8592 ] junction Junction16 sp [ position = 9272, 8440 ] junction Junction17 sp [ position = 9248, 8616 ] junction Junction18 sp [ position = 9224, 8416 ] junction Junction30 sp [ position = 9832, 8744 ] junction Junction34 sp [ position = 9888, 8432 ] junction Junction35 sp [ position = 9464, 8328 ] junction Junction37 sp [ position = 9744, 8592 ] junction Junction39 sp [ position = 9336, 8616 ] junction Junction40 sp [ position = 9864, 8672 ] junction Junction41 pe [ position = 8520, 8256 ] junction Junction42 pe [ position = 8672, 8440 ] junction Junction43 pe [ position = 8672, 8440 ] junction Junction56 pe [ position = 9456, 8064 ] junction Junction57 pe [ position = 9456, 8256 ] junction Junction59 sp [ position = 9744, 8672 ] junction Junction60 sp [ position = 9744, 8552 ] junction Junction61 sp [ position = 9680, 8216 ] junction Junction64 pe [ position = 8600, 8064 ] junction Junction65 pe [ position = 8672, 8160 ] junction Junction66 pe [ position = 8744, 8256 ] junction Junction73 sp [ position = 9296, 8592 ] junction Junction74 sp [ position = 9560, 8672 ] junction Junction75 sp [ position = 9560, 8856 ] junction Junction89 sp [ position = 10416, 8536 ] junction Junction94 sp [ position = 9584, 8472 ] junction Junction95 sp [ position = 9584, 8776 ] junction Junction96 sp [ position = 9512, 8592 ] junction Junction97 sp [ position = 9512, 8936 ] junction Junction98 sp [ position = 10088, 8648 ] connect "Three Phase Inverter1.a_in" L1.p_node as Connection21 connect "Three Phase Inverter1.b_in" L2.p_node as Connection22 connect "Three Phase Inverter1.c_in" L3.p_node as Connection23 connect L1.n_node If1.p_node as Connection41 connect L2.n_node If2.p_node as Connection43 connect L3.n_node If3.p_node as Connection45 connect Junction7 If1.n_node as Connection50 [ breakpoints = 8440, 8064 ] connect Junction8 If2.n_node as Connection56 [ breakpoints = 8480, 8160 ] connect C2.p_node Junction10 as Connection62 connect Junction10 "Three Phase Inverter1.pos_out" as Connection63 connect C2.n_node Junction11 as Connection65 connect Junction11 "Three Phase Inverter1.neg_out" as Connection66 connect Ic1.p_node Junction12 as Connection68 connect Junction12 Junction7 as Connection69 [ breakpoints = 8608, 8064; 8448, 8064 ] connect Ic2.p_node Junction13 as Connection71 connect Junction13 Junction8 as Connection72 connect Ic3.p_node Junction14 as Connection74 connect Vs3.p_node Junction14 as Connection76 connect Vs.n_node gnd2.node as Connection80 connect Is1.n_node Junction7 as Connection82 connect Is2.n_node Junction8 as Connection84 connect If1.out "abc to alpha beta1.A" as Connection85 [ breakpoints = 8288, 8472; 8288, 8720 ] connect If2.out "abc to alpha beta1.B" as Connection86 connect If3.out "abc to alpha beta1.C" as Connection87 connect Ic1.out "abc to alpha beta i.A" as Connection88 [ breakpoints = 9040, 8136; 9040, 8232; 9048, 8416 ] connect Ic3.out "abc to alpha beta i.C" as Connection90 connect Vs1.out "abc to alpha beta v.A" as Connection91 [ breakpoints = 8888, 8304; 8888, 8592 ] connect Vs2.out "abc to alpha beta v.B" as Connection92 [ breakpoints = 8848, 8352; 8848, 8616 ] connect Vs3.out "abc to alpha beta v.C" as Connection93 [ breakpoints = 8808, 8400; 8808, 8640 ] connect Product1.out pl.in as Connection98 [ breakpoints = 9480, 8456 ] connect Product2.out pl.in1 as Connection99 [ breakpoints = 9480, 8528; 9480, 8480 ] connect "abc to alpha beta v.alpha" Junction15 as Connection100 connect Junction15 Product1.in1 as Connection101 [ breakpoints = 9296, 8592; 9296, 8432 ] connect "abc to alpha beta i.beta" Junction16 as Connection103 connect Junction16 Product2.in as Connection104 [ breakpoints = 9336, 8440; 9336, 8520 ] connect Product3.in1 Junction16 as Connection105 connect "abc to alpha beta v.beta" Junction17 as Connection106 connect "abc to alpha beta i.alpha" Junction18 as Connection109 connect Junction18 Product1.in as Connection110 connect Product4.in1 Junction18 as Connection111 connect ql.in Product3.out as Connection113 connect valpha_x_pf.out Sum7.in as Connection133 connect Sum7.in1 vbeta_x_qf.out as Connection134 connect "valpha^2+vbeta^2.in" Product7.out as Connection163 connect "valpha^2+vbeta^2.in1" Product8.out as Connection164 connect Sum7.out i_ref_alpha.in as Connection165 connect qf.out Junction30 as Connection181 connect Junction30 vbeta_x_qf.in1 as Connection182 [ breakpoints = 9832, 8744; 9904, 8744 ] connect vbeta_x_pf.out sum8.in as Connection196 connect sum8.in1 valpha_x_qf.out as Connection197 connect i_ref_beta.in sum8.out as Connection201 connect "abc to alpha beta v.gamma" Termination1.in as Connection202 connect Termination2.in "abc to alpha beta i.gamma" as Connection203 connect Termination3.in "abc to alpha beta1.gamma" as Connection208 connect vbeta_x_pf.in Junction34 as Connection216 connect Junction34 valpha_x_pf.in as Connection217 [ breakpoints = 9888, 8432; 9888, 8576 ] connect ql2.out R_Vdc.in as Connection222 connect Product10.out ql2.in1 as Connection223 connect Vdc_ref.out Junction35 as Connection225 connect Junction35 Product10.in1 as Connection226 connect Product10.in Junction35 as Connection227 connect ql2.in "Vdc^2.out" as Connection228 connect valpha_x_pf.in1 Junction37 as Connection235 connect Product2.in1 Junction39 as Connection242 [ breakpoints = 9336, 8536; 9336, 8568; 9336, 8616; 9336, 8616 ] connect Junction39 Junction17 as Connection243 [ breakpoints = 9336, 8616; 9336, 8616 ] connect Gain2.in Junction39 as Connection244 [ breakpoints = 9336, 8672; 9336, 8616 ] connect Junction40 vbeta_x_qf.in as Connection247 connect vbeta_x_pf.in1 Junction40 as Connection248 connect Vabc_ref.gamma Const.out as Connection249 connect Junction41 If3.n_node as Connection253 [ breakpoints = 8520, 8256 ] connect Is3.n_node Junction41 as Connection254 connect Vs2.n_node Junction42 as Connection263 connect Junction42 gnd1.node as Connection264 [ breakpoints = 8672, 8432 ] connect Vs3.n_node Junction43 as Connection266 connect Junction43 Junction42 as Connection267 connect Vs1.n_node Junction43 as Connection268 connect L4.n_node "Three Phase Diode Rectifier1.a_in" as Connection275 connect L5.n_node "Three Phase Diode Rectifier1.b_in" as Connection277 connect L6.n_node "Three Phase Diode Rectifier1.c_in" as Connection279 connect "Core Coupling 1.a_out" L4.p_node as Connection280 connect "Core Coupling 1.b_out" L5.p_node as Connection281 connect "Core Coupling 1.c_out" L6.p_node as Connection282 connect "Core Coupling 1.c_in" Ic3.n_node as Connection283 connect "Core Coupling 1.b_in" Ic2.n_node as Connection284 connect "Core Coupling 1.a_in" Ic1.n_node as Connection285 connect pf.out pf1.in1 as Connection295 [ breakpoints = 9768, 8440 ] connect "Active filter.out" "Three Phase Inverter1.En" as Connection328 connect R1.p_node S1.a_out as Connection340 connect C1.p_node Junction56 as Connection341 connect Junction56 "Three Phase Diode Rectifier1.pos_out" as Connection342 connect S1.a_in Junction56 as Connection343 connect "Three Phase Diode Rectifier1.neg_out" Junction57 as Connection344 connect Junction57 C1.n_node as Connection345 connect R1.n_node Junction57 as Connection346 connect Load.out S1.ctrl_in as Connection347 connect Junction59 Junction40 as Connection357 connect Goto2 Junction59 as Connection358 connect Junction37 Junction60 as Connection360 [ breakpoints = 9744, 8592 ] connect Junction60 valpha_x_qf.in as Connection361 [ breakpoints = 9744, 8504; 9904, 8504 ] connect Goto1 Junction60 as Connection362 connect From3 "Three Phase Inverter1.InA" as Connection365 connect From4 "Three Phase Inverter1.InB" as Connection366 connect From5 "Three Phase Inverter1.InC" as Connection367 connect Goto3 Vabc_ref.A as Connection368 connect Vabc_ref.B Goto4 as Connection369 connect Vabc_ref.C Goto5 as Connection370 [ breakpoints = 10656, 8536; 10656, 8512 ] connect Goto6 Vdc.out as Connection372 connect From6 Junction61 as Connection374 connect Junction61 "Vdc^2.in" as Connection375 connect "Vdc^2.in1" Junction61 as Connection376 connect Ic2.out "abc to alpha beta i.B" as Connection383 connect R4.p_node R2.p_node as Connection384 [ breakpoints = 8600, 7944; 8672, 7944 ] connect R3.p_node R2.p_node as Connection385 [ breakpoints = 8744, 7944; 8672, 7944 ] connect Vs1.p_node Junction64 as Connection386 connect Junction64 Junction12 as Connection387 connect R4.n_node Junction64 as Connection388 connect Vs2.p_node Junction65 as Connection389 connect Junction65 Junction13 as Connection390 connect R2.n_node Junction65 as Connection391 connect Junction14 Junction66 as Connection392 connect Junction66 Junction41 as Connection393 [ breakpoints = 8744, 8256 ] connect R3.n_node Junction66 as Connection394 connect gnd3.node R2.p_node as Connection395 [ breakpoints = 8672, 7928; 8672, 7960 ] connect Product4.in Junction17 as Connection432 [ breakpoints = 9248, 8808; 9248, 8808; 9248, 8808 ] connect Junction15 Junction73 as Connection435 connect Junction73 Product3.in as Connection436 [ breakpoints = 9296, 8592; 9296, 8592; 9296, 8592; 9296, 8592; 9296, 8592; 9296, 8592; 9296, 8712; 9296, 8712; 9296, 8712 ] connect Gain1.in Junction73 as Connection437 connect Product4.out ql.in1 as Connection438 [ breakpoints = 9376, 8784; 9392, 8784 ] connect Gain2.out Junction74 as Connection446 connect Junction74 Junction59 as Connection447 connect Product7.in Junction75 as Connection449 connect Product7.in1 Junction75 as Connection451 connect Junction74 Junction75 as Connection505 [ breakpoints = 9560, 8672; 9560, 8696 ] connect "PID controller1.out" Junction89 as Connection563 connect Junction89 Ri_alfa.in as Connection564 [ breakpoints = 10416, 8536; 10392, 8536 ] connect sum_Vs_beta.in1 Junction89 as Connection565 connect sum_Vs_alpha.in1 Gain4.out as Connection571 connect Gain5.out sum_Vs_beta.in as Connection577 connect "valpha^2+vbeta^2.out" Limit1.in as Connection589 connect Junction94 pl.out as Connection592 [ breakpoints = 9584, 8472; 9584, 8472; 9584, 8472; 9584, 8472; 9584, 8472; 9584, 8472 ] connect "Discrete Transfer Function2.in" Junction94 as Connection593 [ breakpoints = 9608, 8472 ] connect Junction95 ql.out as Connection597 [ breakpoints = 9584, 8776; 9584, 8776; 9584, 8776; 9584, 8776; 9584, 8776; 9584, 8776; 9584, 8776; 9584, 8776; 9560, 8776 ] connect "Discrete Transfer Function3.in" Junction95 as Connection598 connect Is1.p_node Vs.a_node as Connection606 connect Is2.p_node Vs.b_node as Connection607 connect Is3.p_node Vs.c_node as Connection608 connect Vdc.n_node Junction11 as Connection609 [ breakpoints = 7848, 8672; 7848, 8672 ] connect Vdc.p_node Junction10 as Connection610 [ breakpoints = 7848, 8480; 7848, 8480; 7920, 8480 ] connect qf.in Junction95 as Connection616 [ breakpoints = 9688, 8736; 9584, 8736; 9584, 8776 ] connect qf.in1 "Discrete Transfer Function3.out" as Connection617 [ breakpoints = 9688, 8776 ] connect Junction94 pf.in as Connection618 [ breakpoints = 9584, 8472; 9584, 8472; 9584, 8472; 9584, 8472 ] connect pf.in1 "Discrete Transfer Function2.out" as Connection619 [ breakpoints = 9672, 8472 ] connect pf1.in R_Vdc.out as Connection620 [ breakpoints = 9776, 8312 ] connect Junction34 pf1.out as Connection621 [ breakpoints = 9888, 8432; 9888, 8432; 9888, 8432; 9888, 8432 ] connect i_ref_beta.out Sum1.in as Connection622 [ breakpoints = 10200, 8480 ] connect "PID controller1.in" Sum1.out as Connection623 [ breakpoints = 10328, 8488; 10328, 8488; 10328, 8488 ] connect Gain5.in From2 as Connection624 [ breakpoints = 10448, 8416; 10448, 8416 ] connect From1 Gain4.in as Connection625 connect sum_Vs_beta.out Vabc_ref.beta as Connection626 [ breakpoints = 10568, 8528; 10568, 8528; 10568, 8560 ] connect Vabc_ref.alpha sum_Vs_alpha.out as Connection627 [ breakpoints = 10568, 8584; 10568, 8608; 10568, 8616 ] connect Gain1.out Junction96 as Connection629 connect Junction96 Junction37 as Connection630 [ breakpoints = 9520, 8592; 9744, 8592 ] connect Product8.in Junction97 as Connection632 connect Junction97 Junction96 as Connection633 connect Product8.in1 Junction97 as Connection634 connect i_ref_alpha.in1 Junction98 as Connection636 connect Junction98 i_ref_beta.in1 as Connection637 [ breakpoints = 10088, 8648 ] connect Limit1.out Junction98 as Connection638 connect Sum1.in1 "abc to alpha beta1.beta" as Connection639 [ breakpoints = 10200, 8496; 10200, 9032 ] connect Sum2.in1 "abc to alpha beta1.alpha" as Connection640 [ breakpoints = 10232, 8656; 10232, 9008 ] connect i_ref_alpha.out Sum2.in as Connection641 [ breakpoints = 10208, 8640 ] connect "PID controller2.in" Sum2.out as Connection642 [ breakpoints = 10328, 8648 ] connect sum_Vs_alpha.in "PID controller2.out" as Connection643 [ breakpoints = 10416, 8608 ] connect Junction30 valpha_x_qf.in1 as Connection644 [ breakpoints = 9832, 8736; 9832, 8736; 9832, 8736 ] } default { gen_abc2alpha_beta { power_form = "variant - Clarke\'s original" execution_rate = "inherit" } gen_alpha_beta2abc { power_form = "variant - Clarke\'s original" execution_rate = "inherit" } gen_gain { gain = "1" multiplication = "Element-wise(K.*u)" _tunable = "False" execution_rate = "inherit" } gen_limiter { upper_limit = "[\'inf\']" lower_limit = "[\'-inf\']" execution_rate = "inherit" } gen_pid_controller { controller_type = "PID" kp = "1" kp_source = "internal" ki = "1" ki_source = "internal" kd = "0" kd_source = "internal" filt_coef = "100" int_init_value = "0" filt_init_value = "0" enb_output_limit_out = "False" show_reset = "none" upper_sat_lim = "1" upper_sat_lim_source = "internal" lower_sat_lim = "-1" lower_sat_lim_source = "internal" enb_anti_windup_out = "False" signal_out_type = "inherit" _tunable = "False" execution_rate = "inherit" } gen_probe { addr = "0" override_signal_name = "False" signal_name = "" signal_type = "generic" streaming_en = "False" streaming_er_idx = "0" execution_rate = "inherit" } gen_product { signs = "2" execution_rate = "inherit" } gen_sum { signs = "2" execution_rate = "inherit" } gen_terminator { execution_rate = "inherit" } gen_z_domain_transfer { domain = "Z-domain" method = "Zero-order hold" b_coeff = "[1,1]" a_coeff = "[1,1]" signal_out_type = "inherit" execution_rate = "inherit" } pas_capacitor { capacitance = "1e-6" initial_voltage = "0" pole_shift_ignore = "False" visible = "True" } pas_inductor { inductance = "1e-3" initial_current = "0.0" pole_shift_ignore = "False" visible = "True" } pas_resistor { resistance = "1" param_set = "" } src_constant { value = "1" signal_type = "real" execution_rate = "100e-6" _tunable = "False" } src_scada_input { addr = "0" format = "real" override_signal_name = "False" signal_name = "" signal_type = "real" min = "-1e6" max = "1e6" def_value = "0" unit = " " execution_rate = "100e-6" } "core/Current Measurement" { bw_limit = "False" frequency = "10e3" comparator_enable = "False" operator = "greater" threshold = "0" cmp_abs_value = "False" feed_forward = "false" sig_output = "False" sig_output_filt_and_full_bw = "False" execution_rate = "100e-6" addr = "0" nd_msr_estimation = "false" dev_cpl_msr = "false" host_device = "0" output_to_device = "0" dev_cpl_index = "0" dev_cpl_var_nb = "0" visible = "True" override_signal_name = "False" signal_name = "" } "core/Single Pole Single Throw Contactor" { ctrl_src = "Digital input" Sa = "1" Sa_logic = "active high" enable_fb_out = "False" fb_out_type = "real" execution_rate = "inherit" initial_state = "off" on_delay = "0" off_delay = "0" switching = "any current" } "core/Three Phase Core Coupling" { snb_type_i = "none" R1 = "100e3" C1 = "1e-06" C2 = "1e-06" fixed_snb_i = "false" snb_type_u = "none" R2 = "0.1" L1 = "0.1" L2 = "0.1" fixed_snb_u = "false" cpl_connection = "star" } "core/Three Phase Inverter" { ctrl_src = "Digital input per switch" op_mode = "Fixed carrier frequency" carrier_freq = "10000.0" carr_ph_offset = "0.0" d_time = "5e-6" ref_sig_min_max = "[-1.0, 1.0]" load_mode = "on min" execution_rate = "inherit" Sa_top = "1" Sa_top_logic = "active high" Sa_bot = "2" Sa_bot_logic = "active high" Sb_top = "3" Sb_top_logic = "active high" Sb_bot = "4" Sb_bot_logic = "active high" Sc_top = "5" Sc_top_logic = "active high" Sc_bot = "6" Sc_bot_logic = "active high" delay_enabled = "False" fixed_delay = "1e-6" var_delay_lut = "[-10.0, 1e-6, 10.0, 1e-6]" preview_var_delay = "Preview" Sa_top_I = "False" Sa_bot_I = "False" Sb_top_I = "False" Sb_bot_I = "False" Sc_top_I = "False" Sc_bot_I = "False" fvd = "False" losses_estimation = "False" fvd_def_method = "Voltage and Resistance" Import_igbt_xml = "not selected" Import_diode_xml = "not selected" Switch_type = "IGBT" Vce = "1.3" Rce = "0" Vd = "1.2" Rd = "0" i_sw = "[0.0, 6.0, 12.0, 18.0, 24.0]" v_sw = "[0.0, 600.0]" temp_sw = "[25.0, 50.0, 75.0, 100.0, 125.0]" vce_table_out = "[1.3, 1.3, 1.3, 1.3, 1.3]" vd_table_out = "[1.2, 1.2, 1.2, 1.2, 1.2]" et_on_table_out = "[[0.0, 0.0275e-3, 0.15e-3, 0.275e-3, 0.3e-3], [0.35*3.8e-3, 0.4*3.8e-3, 0.8*3.8e-3, 0.68*3.8e-3, 0.9*3.8e-3], [0.65*3.8e-3, 0.9*3.8e-3, 1.2*3.8e-3, 1.5*3.8e-3, 1.7*3.8e-3], [0.9*3.8e-3, 1.3*3.8e-3, 1.7*3.8e-3, 1.9*3.8e-3, 2.25*3.8e-3], [1.1*3.8e-3, 1.7*3.8e-3, 2.1*3.8e-3, 2.3*3.8e-3, 2.5*3.8e-3]]" et_off_table_out = "[[0.0, 0.0275e-3, 0.15e-3, 0.275e-3, 0.3e-3], [0.35*2.1e-3, 0.4*2.1e-3, 0.8*2.1e-3, 0.68*2.1e-3, 0.9*2.1e-3], [0.65*2.1e-3, 0.9*2.1e-3, 1.2*2.1e-3, 1.5*2.1e-3, 1.7*2.1e-3], [0.9*2.1e-3, 1.3*2.1e-3, 1.7*2.1e-3, 1.9*2.1e-3, 2.25*2.1e-3], [1.1*2.1e-3, 1.7*2.1e-3, 2.1*2.1e-3, 2.3*2.1e-3, 2.5*2.1e-3]]" ed_off_table_out = "[[0.0, 0.0275e-3, 0.15e-3, 0.275e-3, 0.3e-3], [0.35*2.2e-3, 0.4*2.2e-3, 0.8*2.2e-3, 0.68*2.2e-3, 0.9*2.2e-3], [0.65*2.2e-3, 0.9*2.2e-3, 1.2*2.2e-3, 1.5*2.2e-3, 1.7*2.2e-3], [0.9*2.2e-3, 1.3*2.2e-3, 1.7*2.2e-3, 1.9*2.2e-3, 2.25*2.2e-3], [1.1*2.2e-3, 1.7*2.2e-3, 2.1*2.2e-3, 2.3*2.2e-3, 2.5*2.2e-3]]" temp_estimation = "False" thermal_networks_type = "Foster" switch_Rth = "[0.159, 0.133, 0.120, 0.038]" switch_Tth = "[1.1e-1, 1.56e-2, 1.35e-3, 1.51e-4]" switch_Cth = "[0.0029, 0.0097, 0.1068, 0.8500]" diode_Rth = "[0.159, 0.133, 0.120, 0.038]" diode_Tth = "[1.1e-1, 1.56e-2, 1.35e-3, 1.51e-4]" diode_Cth = "[0.0029, 0.0097, 0.1068, 0.8500]" loss_exec_rate = "100e-6" vout_cmp_pullup_mode = "False" show_cnt_out = "False" show_monitoring = "False" _control_property = "all high" pwm_enabling = "False" pwm_enable_di = "13" pwm_enable_inv = "active high" dtv_flag_en = "True" } "core/Three Phase Voltage Source" { init_rms_value = "0.0" init_frequency = "50.0" init_phase = "0.0" } "core/Voltage Measurement" { bw_limit = "False" frequency = "10e3" comparator_enable = "False" operator = "greater" threshold = "0" cmp_abs_value = "False" feed_forward = "false" sig_output = "False" sig_output_filt_and_full_bw = "False" execution_rate = "100e-6" addr = "0" nd_msr_estimation = "false" dev_cpl_msr = "false" host_device = "0" output_to_device = "0" dev_cpl_index = "0" dev_cpl_var_nb = "0" visible = "True" override_signal_name = "False" signal_name = "" } } }