version = 4.2 // // Saved by sw version: 2020.1 SP1 // Save timestamp: 18-May-2020 @ 04:40:30 PM // model "inverter_monofase" { configuration { hil_device = "HIL402" hil_configuration_id = 1 simulation_method = exact simulation_time_step = auto 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 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" } component Subsystem Root { component src_voltage Vs1 { init_rms_value = "230.0" init_source_nature = "Sine" } [ position = 7672, 8200 rotation = right ] component pas_inductor L1 { inductance = "1e-4" } [ position = 7896, 8104 ] component "core/Single Phase Diode Rectifier" "Single Phase Diode Rectifier1" { } [ position = 8024, 8200 size = 127, 256 ] component "core/Single Phase Inverter" "Single Phase Inverter1" { carr_ph_offset = "[0.0, 0.0]" ctrl_src = "Internal modulator" d_time = "1e-6" } [ position = 8616, 8200 size = 127, 256 ] component pas_capacitor C1 { capacitance = "8e-3" } [ position = 8208, 8200 rotation = right ] component pas_inductor Ll { inductance = "2e-2" } [ position = 8920, 8160 rotation = right ] component pas_resistor Rl { resistance = "15" } [ position = 8920, 8256 rotation = right ] component pas_resistor R2 { resistance = "1e-2" } [ position = 8152, 8104 ] component pas_resistor R3 { resistance = "1e-2" } [ position = 8480, 8104 ] component pas_resistor R4 { resistance = "1e-2" } [ position = 8152, 8296 ] component pas_resistor R5 { resistance = "1e-2" } [ position = 8480, 8296 ] component src_sine "Segnale modulante" { execution_rate = "1e-6" phase = "90" } [ position = 8464, 8368 ] component gen_product Product1 { } [ position = 8600, 8408 ] component src_scada_input M { execution_rate = "1e-6" max = "1" min = "0" unit = "" } [ position = 8464, 8448 ] component gen_gain Gain1 { gain = "-1" } [ position = 8800, 8352 ] component src_constant On { execution_rate = "1e-6" } [ position = 8496, 8040 ] component "core/Current Measurement" Io { } [ position = 8832, 8104 size = 64, 32 ] component "core/Voltage Measurement" Vo { } [ position = 8744, 8200 rotation = right size = 64, 32 ] component "core/Current Measurement" Idc { } [ position = 8368, 8104 size = 64, 32 ] component "core/Voltage Measurement" Vdc { } [ position = 8280, 8200 rotation = right size = 64, 32 ] component "core/Current Measurement" Is { } [ position = 7800, 8104 size = 64, 32 ] component "core/Voltage Measurement" Vs { } [ position = 7744, 8200 rotation = right size = 64, 32 ] junction Junction3 pe [ position = 8208, 8104 ] junction Junction4 pe [ position = 8208, 8296 ] junction Junction5 sp [ position = 8712, 8408 ] junction Junction6 pe [ position = 8744, 8104 ] junction Junction7 pe [ position = 8744, 8296 ] junction Junction9 pe [ position = 8280, 8296 ] junction Junction10 pe [ position = 7744, 8104 ] junction Junction11 pe [ position = 7744, 8296 ] junction Junction12 pe [ position = 8280, 8104 ] connect L1.n_node "Single Phase Diode Rectifier1.a_in" as Connection1 connect Ll.n_node Rl.p_node as Connection13 connect "Single Phase Diode Rectifier1.pos_out" R2.p_node as Connection16 connect R3.n_node "Single Phase Inverter1.pos_out" as Connection24 connect R2.n_node Junction3 as Connection26 connect C1.p_node Junction3 as Connection28 connect R5.n_node "Single Phase Inverter1.neg_out" as Connection29 connect R4.p_node "Single Phase Diode Rectifier1.neg_out" as Connection31 connect Junction4 R4.n_node as Connection33 connect C1.n_node Junction4 as Connection34 connect Product1.in "Segnale modulante.out" as Connection35 connect M.out Product1.in1 as Connection36 [ breakpoints = 8496, 8448; 8496, 8416 ] connect Product1.out Junction5 as Connection38 connect Junction5 "Single Phase Inverter1.InA" as Connection39 [ breakpoints = 9048, 8408; 9048, 8024; 8616, 8024 ] connect Gain1.in Junction5 as Connection40 connect Gain1.out "Single Phase Inverter1.InB" as Connection41 [ breakpoints = 9008, 8352; 9008, 8048; 8832, 8048; 8632, 8048 ] connect "Single Phase Inverter1.En" On.out as Connection42 connect Io.n_node Ll.p_node as Connection44 connect "Single Phase Inverter1.a_in" Junction6 as Connection45 connect Junction6 Io.p_node as Connection46 connect Vo.p_node Junction6 as Connection47 connect Rl.n_node Junction7 as Connection48 connect Junction7 "Single Phase Inverter1.b_in" as Connection49 connect Vo.n_node Junction7 as Connection50 connect R5.p_node Junction9 as Connection54 connect Junction9 Junction4 as Connection55 connect Vdc.n_node Junction9 as Connection56 connect L1.p_node Is.n_node as Connection57 connect Is.p_node Junction10 as Connection59 connect Junction10 Vs1.p_node as Connection60 connect Vs.p_node Junction10 as Connection61 connect Vs1.n_node Junction11 as Connection62 connect Junction11 "Single Phase Diode Rectifier1.b_in" as Connection63 connect Vs.n_node Junction11 as Connection64 connect Idc.n_node R3.p_node as Connection66 connect Junction3 Junction12 as Connection67 [ breakpoints = 8208, 8104 ] connect Junction12 Vdc.p_node as Connection68 [ breakpoints = 8280, 8104 ] connect Idc.p_node Junction12 as Connection69 } default { gen_gain { gain = "1" multiplication = "Element-wise(K.*u)" execution_rate = "inherit" } gen_product { signs = "2" 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" } src_constant { value = "1" signal_type = "real" execution_rate = "100e-6" } 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" } src_sine { amplitude = "1" dc_offset = "0" frequency = "50" phase = "0" execution_rate = "100e-6" } src_voltage { sig_input = "False" type = "signal generator" param_set = "1phase" parent_label = "" addr = "0" spc_nb = "0" execution_rate = "100e-6" cpd_visible = "True" enable_snb = "False" snb_type = "R2" R2 = "0.0" L1 = "0.1" override_signal_name = "False" signal_name = "" init_source_nature = "Constant" init_const_value = "0.0" init_rms_value = "0.0" init_frequency = "50.0" init_phase = "0.0" } "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" 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 Phase Diode Rectifier" { FSM_select = "converter" show_monitoring = "False" dynamic_ac_voltage = "False" pesb_optimization = "True" } "core/Single Phase Inverter" { ctrl_src = "Digital input per switch" op_mode = "Fixed carrier frequency" carrier_freq = "10000.0" phase_op_mode = "Fixed carrier phase offset" carr_ph_offset = "[0.0, 180.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" losses_estimation = "False" Import_igbt_xml = "not selected" Import_diode_xml = "not selected" 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]" 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" show_monitoring = "false" FSM_select = "converter" _control_property = "all high" pwm_enabling = "False" pwm_enable_di = "13" pwm_enable_inv = "active high" dtv_flag_en = "True" } "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" 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 = "" } } }